Files
speckle-sharp-connectors/Converters/Plant3d/Speckle.Converters.Plant3dShared/ToSpeckle/Geometry/FallbackEntityToSpeckleConverter.cs
T
Mucahit Bilal GOKER a1f392a33b
.NET Build and Publish / build-connectors (push) Has been cancelled
.NET Build and Publish / deploy-installers (push) Has been cancelled
feat: plant 3d connector (#1344)
* wip

* feat: data extraction from db

* Fallback conversions

* Fix line segments

* Fix: do not skip empty values

* Remove claude generated receive boilerplates and civil related extractor

* Fix compile errors and custom assembly resolver

* Guids for bundle

* Nuget

* Use TagValue as object name

* add plant3d to slnx (#1347)

* add plant3d to slnx

* format

* and the local (#1348)

* Resolve comments

* final comments

* lockfiles

* don't swallow image exception

---------

Co-authored-by: oguzhankoral <oguzhankoral@gmail.com>
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com>
2026-04-02 16:20:49 +01:00

19 lines
788 B
C#

using Speckle.Converters.Common;
using Speckle.Converters.Common.Objects;
using Speckle.Converters.Common.Registration;
//using Speckle.Objects.Data;
//using Speckle.Sdk.Models;
namespace Speckle.Converters.Plant3dShared.ToSpeckle.Geometry;
/// <summary>
/// Fallback converter for any ADB.Entity that doesn't have a specific Plant3D converter.
/// Uses a rank lower than SPECKLE_DEFAULT_RANK so specific converters always win.
/// </summary>
[NameAndRankValue(typeof(ADB.Entity), NameAndRankValueAttribute.SPECKLE_DEFAULT_RANK - 1)]
public class FallbackEntityToSpeckleConverter(
IConverterManager<IToSpeckleTopLevelConverter> converterManager,
IConverterSettingsStore<Plant3dConversionSettings> settingsStore
) : Plant3dEntityToSpeckleConverter(converterManager, settingsStore);