feat: add p-rec-annot Plant component geometry adapter
This commit is contained in:
@@ -87,6 +87,20 @@ public sealed record GeometrySnapshot
|
||||
public double? Elevation { get; init; }
|
||||
}
|
||||
|
||||
// Platform-neutral result of the legacy GetComponentGeometry contract. The
|
||||
// Plant adapter is responsible for reading Parts/Pipes and normalising units;
|
||||
// consumers do not take a dependency on Autodesk managed assemblies.
|
||||
public sealed record ComponentGeometryDefinition(
|
||||
string Kind,
|
||||
IReadOnlyDictionary<string, string> Parameters,
|
||||
Bounds3Dto Bounds,
|
||||
bool ImperialDimensions);
|
||||
public sealed record ComponentGeometryReadResult(bool Success, ComponentGeometryDefinition? Geometry, string? FailureCode = null);
|
||||
public interface IPlantComponentGeometryReader
|
||||
{
|
||||
ComponentGeometryReadResult Read(string stableEntityId, bool convertToMetric);
|
||||
}
|
||||
|
||||
public sealed record OrthoViewportInfo
|
||||
{
|
||||
public required string Id { get; init; }
|
||||
|
||||
Reference in New Issue
Block a user