Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

Add SurfaceMeshIR mesh CLI pipeline

Yuechen Li87c535849a04
diff --git a/Aetheris.CLI/CliRunner.cs b/Aetheris.CLI/CliRunner.cs
index f4953e9b..bda4d291 100644
--- a/Aetheris.CLI/CliRunner.cs
+++ b/Aetheris.CLI/CliRunner.cs
@@ -4,6 +4,7 @@ using System.Text.Json;
using System.Text.Json.Serialization;
using Aetheris.Forge.Abstractions.FirmamentInterop;
using Aetheris.Kernel.Core.Brep.Verification;
+using Aetheris.Kernel.Core.Brep.Tessellation;
using Aetheris.Kernel.Core.Math;
using Aetheris.Kernel.Core.Step242;
using Aetheris.Kernel.Firmament;
@@ -116,6 +117,7 @@ public static class CliRunner
int? RigidRootCount = null);
private const string TopLevelUsage = "Usage: aetheris <command> [options]";
private const string BuildUsage = "Usage: aetheris build <file.firmament> [--output <path>] [--json]";
+ private const string MeshUsage = "Usage: aetheris mesh <file.firmament|file.firmfixture|file.step> [--format stl] [--output <path>] [--debug-ir <path>] [--json]";
private const string ValidateUsage = "Usage: aetheris validate <file.firmament|file.firmfixture> [--forge-pack <path>] [--json]";
private const string InspectProfileUsage = "Usage: aetheris inspect-profile <file.firmament> [--json]";
private const string InspectComposeUsage = "Usage: aetheris inspect-compose <file.firmament> --json [--materialize]";
@@ -181,6 +183,7 @@ public static class CliRunner
return args[0] switch
{
"build" => RunBuild(args.Skip(1).ToArray(), stdout, stderr),
+ "mesh" => RunMesh(args.Skip(1).ToArray(), stdout, stderr),
"validate" => RunValidate(args.Skip(1).ToArray(), stdout, stderr),
"inspect" => RunInspect(args.Skip(1).ToArray(), stdout, stderr),
"inspect-profile" => RunInspectProfile(args.Skip(1).ToArray(), stdout, stderr),
@@ -446,6 +449,62 @@ public static class CliRunner
return 0;
}
+ private static int RunMesh(string[] args, TextWriter stdout, TextWriter stderr)
+ {
+ if (args.Length == 0 || IsHelpFlag(args[0])) { stdout.WriteLine(MeshUsage); return args.Length == 0 ? 1 : 0; }
+ var input = args[0]; var format = "stl"; string? output = null; string? debugIr = null; var json = false;
+ for (var i = 1; i < args.Length; i++)
+ {
+ switch (args[i])
+ {
+ case "--format" when i + 1 < args.Length: format = args[++i]; break;
+ case "--output" when i + 1 < args.Length: output = args[++i]; break;
+ case "--debug-ir" when i + 1 < args.Length: debugIr = args[++i]; break;
+ case "--json": json = true; break;
+ default: stderr.WriteLine($"Unknown mesh option '{args[i]}'."); stderr.WriteLine(MeshUsage); return 1;
+ }
+ }
+ if (!string.Equals(format, "stl", StringComparison.OrdinalIgnoreCase)) { stderr.WriteLine("Mesh currently supports only binary STL."); return 1; }
+ var fullInput = Path.GetFullPath(input);
+ string stepText;
+ if (string.Equals(Path.GetExtension(fullInput), ".firmament", StringComparison.OrdinalIgnoreCase) || string.Equals(Path.GetExtension(fullInput), ".firmfixture", StringComparison.OrdinalIgnoreCase))
+ {
+ var build = FirmamentBuildAndExport.Run(fullInput);
+ if (!build.IsSuccess) return WriteMeshFailure(build.Diagnostics.Select(d => d.Message), json, fullInput, stdout, stderr);
+ stepText = build.Value.Export.StepText;
+ }
+ else if (string.Equals(Path.GetExtension(fullInput), ".step", StringComparison.OrdinalIgnoreCase) || string.Equals(Path.GetExtension(fullInput), ".stp", StringComparison.OrdinalIgnoreCase)) stepText = File.ReadAllText(fullInput);
+ else { stderr.WriteLine("Mesh expects Firmament (.firmament, .firmfixture) or STEP (.step, .stp) input."); return 1; }
+ var imported = Step242Importer.ImportBody(stepText);
+ if (!imported.IsSuccess || imported.Value is null) return WriteMeshFailure(imported.Diagnostics.Select(d => d.Message), json, fullInput, stdout, stderr);
+ string? irFailure = null;
+ if (!SurfaceMeshIrTessellator.TryBuild(imported.Value, SurfaceMeshPolicy.FromDisplayOptions(DisplayTessellationOptions.Default), out var document)
+ || !SurfaceMeshIrValidator.TryValidate(document, out irFailure)
+ || !SurfaceMeshIrTessellator.TryLowerToTriangleMesh(document, out var mesh, out var topology))
+ return WriteMeshFailure([irFailure ?? "SurfaceMeshIR does not support this B-rep family or its topology did not validate."], json, fullInput, stdout, stderr);
+ if (!string.IsNullOrWhiteSpace(debugIr))
+ {
+ var debugPath = Path.GetFullPath(debugIr);
+ Directory.CreateDirectory(Path.GetDirectoryName(debugPath)!);
+ File.WriteAllText(debugPath, SurfaceMeshIrDebug.ToJson(document));
+ }
+ var outputPath = Path.GetFullPath(output ?? Path.ChangeExtension(fullInput, ".stl"));
+ Directory.CreateDirectory(Path.GetDirectoryName(outputPath)!);
+ BinaryStlExporter.Export(outputPath, mesh);
+ var bytes = new FileInfo(outputPath).Length;
+ if (json) stdout.WriteLine(JsonSerializer.Serialize(new { command = "mesh", success = true, pipeline = "SurfaceMeshIR", input = fullInput, outputPath, format = "binary-stl", triangleCount = topology.TriangleCount, vertexCount = topology.VertexCount, watertight = topology.IsWatertight, maxChordalDeviation = document.Metrics.MaxChordalDeviation, normalDeviation = document.Metrics.MaxNormalDeviation, deterministicHash = mesh.DeterministicHash, bytes }, JsonOptions));
+ else stdout.WriteLine($"SurfaceMeshIR STL: {outputPath}\nTriangles: {topology.TriangleCount}; watertight: {topology.IsWatertight}; max chordal error: {document.Metrics.MaxChordalDeviation:R}");
+ return 0;
+ }
+
+ private static int WriteMeshFailure(IEnumerable<string> diagnostics, bool json, string input, TextWriter stdout, TextWriter stderr)
+ {
+ var messages = diagnostics.ToArray();
+ if (json) stdout.WriteLine(JsonSerializer.Serialize(new { command = "mesh", success = false, input, diagnostics = messages }, JsonOptions));
+ else foreach (var message in messages) stderr.WriteLine($"Mesh failed: {message}");
+ return 1;
+ }
+
private static int RunInspect(string[] args, TextWriter stdout, TextWriter stderr)
{
if (args.Length == 0 || IsHelpFlag(args[0]))
diff --git a/Aetheris.Kernel.Core.Tests/Brep/Tessellation/SurfaceMeshIrTests.cs b/Aetheris.Kernel.Core.Tests/Brep/Tessellation/SurfaceMeshIrTests.cs
new file mode 100644
index 00000000..df8020e5
--- /dev/null
+++ b/Aetheris.Kernel.Core.Tests/Brep/Tessellation/SurfaceMeshIrTests.cs
@@ -0,0 +1,131 @@
+using Aetheris.Kernel.Core.Brep;
+using Aetheris.Kernel.Core.Brep.Boolean;
+using Aetheris.Kernel.Core.Brep.Tessellation;
+using Aetheris.Kernel.Core.Geometry;
+
+namespace Aetheris.Kernel.Core.Tests.Brep.Tessellation;
+
+public sealed class SurfaceMeshIrTests
+{
+ [Fact]
+ public void Box_UsesSharedLinePlans_AndMostlyQuadPatchCells()
+ {
+ var box = BrepPrimitives.CreateBox(3d, 2d, 1d).Value;
+ Assert.True(SurfaceMeshIrTessellator.TryBuild(box, SurfaceMeshPolicy.FromDisplayOptions(DisplayTessellationOptions.Default), out var document));
+ Assert.Equal(12, document.SharedBoundaries.Count);
+ Assert.Equal(6, document.Patches.Count);
+ Assert.All(document.Patches, patch => Assert.IsType<QuadCell>(Assert.Single(patch.Cells)));
+ Assert.True(SurfaceMeshIrValidator.TryValidate(document, out var failure), failure);
+ }
+
+ [Fact]
+ public void Cylinder_ReusesCircularBoundaries_AndHasExplicitPeriodicQuadStrip()
+ {
+ var cylinder = BrepPrimitives.CreateCylinder(1.5d, 4d).Value;
+ Assert.True(SurfaceMeshIrTessellator.TryBuild(cylinder, SurfaceMeshPolicy.FromDisplayOptions(DisplayTessellationOptions.Default), out var document));
+ var side = Assert.Single(document.Patches, patch => patch.Support.Kind == SurfaceMeshSupportKind.Cylinder);
+ Assert.True(side.HasPeriodicUSeam);
+ Assert.All(side.Cells, cell => Assert.IsType<QuadCell>(cell));
+ Assert.True(document.SharedBoundaries.Count(plan => plan.CurveKind == CurveGeometryKind.Circle3 && plan.IsClosed) >= 2);
+ }
+
+ [Fact]
+ public void Lowering_IsDeterministic_AndReportsSurfaceMeshPipeline()
+ {
+ var body = BrepPrimitives.CreateCylinder(1d, 2d).Value;
+ Assert.True(SurfaceMeshIrTessellator.TryTessellate(body, DisplayTessellationOptions.Default, out var first));
+ Assert.True(SurfaceMeshIrTessellator.TryTessellate(body, DisplayTessellationOptions.Default, out var second));
+ Assert.Equal(DisplayMeshPipeline.SurfaceMeshIr, first.MeshPipeline);
+ Assert.NotNull(first.SurfaceMeshMetrics);
+ Assert.Equal(first.SurfaceMeshMetrics!.DeterministicHash, second.SurfaceMeshMetrics!.DeterministicHash);
+ Assert.Equal(first.FacePatches.SelectMany(p => p.TriangleIndices), second.FacePatches.SelectMany(p => p.TriangleIndices));
+ }
+
+ [Fact]
+ public void LegacyOracle_RemainsExplicitlyAvailableForMigrationComparison()
+ {
+ var box = BrepPrimitives.CreateBox(2d, 2d, 2d).Value;
+ var legacy = BrepDisplayTessellator.TessellateLegacyForComparison(box);
+ var modern = BrepDisplayTessellator.TessellateSurfaceMeshIr(box);
+ Assert.True(legacy.IsSuccess);
+ Assert.True(modern.IsSuccess);
+ Assert.Equal(DisplayMeshPipeline.LegacyTessellator, legacy.Value.MeshPipeline);
+ Assert.Equal(DisplayMeshPipeline.SurfaceMeshIr, modern.Value.MeshPipeline);
+ }
+
+ [Fact]
+ public void CylinderLowering_UsesExactRadialNormals()
+ {
+ var body = BrepPrimitives.CreateCylinder(2d, 3d).Value;
+ var result = BrepDisplayTessellator.TessellateSurfaceMeshIr(body);
+ Assert.True(result.IsSuccess);
+ var cylindrical = Assert.Single(result.Value.FacePatches, patch => patch.Positions.Count > 10 && patch.TriangleIndices.Count == 72 * 3);
+ for (var i = 0; i < cylindrical.Positions.Count; i++)
+ {
+ var position = cylindrical.Positions[i];
+ var radialLength = double.Sqrt((position.X * position.X) + (position.Y * position.Y));
+ Assert.True(double.Abs(cylindrical.Normals[i].Z) < 1e-9d);
+ Assert.True(double.Abs(cylindrical.Normals[i].X - (position.X / radialLength)) < 1e-9d);
+ Assert.True(double.Abs(cylindrical.Normals[i].Y - (position.Y / radialLength)) < 1e-9d);
+ }
+ }
+
+ [Fact]
+ public void ThroughHolePlate_UsesMultiLoopPlanarBands_AndLowersToWatertightMesh()
+ {
+ var plate = BrepPrimitives.CreateBox(40d, 30d, 4d).Value;
+ var cutter = BrepPrimitives.CreateCylinder(3d, 10d).Value;
+ var body = BrepBoolean.Subtract(plate, cutter);
+ Assert.True(body.IsSuccess, string.Join(Environment.NewLine, body.Diagnostics.Select(d => d.Message)));
+ Assert.True(SurfaceMeshIrTessellator.TryBuild(body.Value, SurfaceMeshPolicy.FromDisplayOptions(DisplayTessellationOptions.Default), out var document));
+ var caps = document.Patches.Where(patch => patch.Support.Kind == SurfaceMeshSupportKind.Plane && patch.TrimLoops.Count == 2).ToArray();
+ Assert.Equal(2, caps.Length);
+ Assert.All(caps, cap => Assert.All(cap.Cells, cell => Assert.IsType<QuadCell>(cell)));
+ var wall = Assert.Single(document.Patches, patch => patch.Support.Kind == SurfaceMeshSupportKind.Cylinder);
+ Assert.Equal(36, wall.Cells.Count); // angular refinement only; one axial row
+ var rings = document.SharedBoundaries.Where(boundary => boundary.CurveKind == CurveGeometryKind.Circle3 && boundary.Uses.Count == 2).ToArray();
+ Assert.Equal(2, rings.Length);
+ Assert.All(rings, ring => Assert.Equal(ring.Samples[0].Id, ring.Samples[^1].Id));
+ Assert.True(SurfaceMeshIrValidator.TryValidate(document, out var irFailure), irFailure);
+ Assert.True(SurfaceMeshIrTessellator.TryLowerToTriangleMesh(document, out var mesh, out var topology));
+ Assert.True(topology.IsWatertight);
+ Assert.True(topology.IsOutwardOriented);
+ Assert.NotEmpty(mesh.HardEdges);
+ var legacy = BrepDisplayTessellator.TessellateLegacyForComparison(body.Value);
+ Assert.True(legacy.IsSuccess);
+ Assert.True(topology.TriangleCount < legacy.Value.FacePatches.Sum(patch => patch.TriangleIndices.Count / 3));
+ // Focused evidence assertion keeps the comparison on the real legacy route.
+
+ var displayed = BrepDisplayTessellator.TessellateSurfaceMeshIr(body.Value);
+ Assert.True(displayed.IsSuccess);
+ var capFaceIds = caps.Select(cap => cap.FaceId).ToHashSet();
+ foreach (var cap in displayed.Value.FacePatches.Where(patch => capFaceIds.Contains(patch.FaceId)))
+ {
+ for (var i = 0; i < cap.TriangleIndices.Count; i += 3)
+ {
+ var a = cap.Positions[cap.TriangleIndices[i]];
+ var b = cap.Positions[cap.TriangleIndices[i + 1]];
+ var c = cap.Positions[cap.TriangleIndices[i + 2]];
+ var centroidX = (a.X + b.X + c.X) / 3d;
+ var centroidY = (a.Y + b.Y + c.Y) / 3d;
+ Assert.True(double.Sqrt((centroidX * centroidX) + (centroidY * centroidY)) > 2.8d,
+ $"Cap triangle {i / 3} crossed the radius-3 trim: centroid=({centroidX:R},{centroidY:R}).");
+ }
+ }
+ }
+
+ [Fact]
+ public void BinaryStlExporter_WritesExactTriangleRecordCount()
+ {
+ var body = BrepBoolean.Subtract(BrepPrimitives.CreateBox(20d, 20d, 2d).Value, BrepPrimitives.CreateCylinder(2d, 6d).Value).Value;
+ Assert.True(SurfaceMeshIrTessellator.TryBuild(body, SurfaceMeshPolicy.FromDisplayOptions(DisplayTessellationOptions.Default), out var document));
+ Assert.True(SurfaceMeshIrTessellator.TryLowerToTriangleMesh(document, out var mesh, out _));
+ var path = Path.Combine(Path.GetTempPath(), $"aetheris-{Guid.NewGuid():N}.stl");
+ try
+ {
+ BinaryStlExporter.Export(path, mesh);
+ Assert.Equal(84L + (50L * mesh.TriangleIndices.Count / 3), new FileInfo(path).Length);
+ }
+ finally { if (File.Exists(path)) File.Delete(path); }
+ }
+}
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/BinaryStlExporter.cs b/Aetheris.Kernel.Core/Brep/Tessellation/BinaryStlExporter.cs
new file mode 100644
index 00000000..8e76cbc2
--- /dev/null
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/BinaryStlExporter.cs
@@ -0,0 +1,24 @@
+using System.Text;
+using Aetheris.Kernel.Core.Math;
+
+namespace Aetheris.Kernel.Core.Brep.Tessellation;
+
+public static class BinaryStlExporter
+{
+ public static void Export(string path, TriangleMesh mesh)
+ {
+ if (!TriangleMeshValidator.TryValidateClosed(mesh, out _, out var failure)) throw new InvalidOperationException(failure);
+ using var stream = File.Create(path);
+ using var writer = new BinaryWriter(stream, Encoding.ASCII, leaveOpen: false);
+ var header = new byte[80]; Encoding.ASCII.GetBytes("Aetheris SurfaceMeshIR validated binary STL").CopyTo(header, 0); writer.Write(header);
+ writer.Write((uint)(mesh.TriangleIndices.Count / 3));
+ for (var i = 0; i < mesh.TriangleIndices.Count; i += 3)
+ {
+ var a = mesh.Positions[mesh.TriangleIndices[i]]; var b = mesh.Positions[mesh.TriangleIndices[i + 1]]; var c = mesh.Positions[mesh.TriangleIndices[i + 2]];
+ var normal = (b - a).Cross(c - a); normal.TryNormalize(out normal);
+ WriteVector(normal); WritePoint(a); WritePoint(b); WritePoint(c); writer.Write((ushort)0);
+ }
+ void WriteVector(Vector3D v) { writer.Write((float)v.X); writer.Write((float)v.Y); writer.Write((float)v.Z); }
+ void WritePoint(Point3D p) { writer.Write((float)p.X); writer.Write((float)p.Y); writer.Write((float)p.Z); }
+ }
+}
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs b/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
index e5fe41cb..0f6e3424 100644
--- a/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
@@ -37,6 +37,19 @@ public static class BrepDisplayTessellator
public static KernelResult<DisplayTessellationResult> Tessellate(BrepBody body, DisplayTessellationOptions? options = null)
=> TessellateCore(body, options, null);
+ /// <summary>Migration oracle used by focused comparisons; it is not the default display route.</summary>
+ internal static KernelResult<DisplayTessellationResult> TessellateLegacyForComparison(BrepBody body, DisplayTessellationOptions? options = null)
+ => TessellateCore(body, options, null);
+
+ /// <summary>Explicit M2 SurfaceMeshIR route; unsupported trim families are reported rather than silently downgraded.</summary>
+ public static KernelResult<DisplayTessellationResult> TessellateSurfaceMeshIr(BrepBody body, DisplayTessellationOptions? options = null)
+ {
+ var effectiveOptions = options ?? DisplayTessellationOptions.Default;
+ return SurfaceMeshIrTessellator.TryTessellate(body, effectiveOptions, out var result)
+ ? KernelResult<DisplayTessellationResult>.Success(result)
+ : KernelResult<DisplayTessellationResult>.Failure([CreateNotImplemented("SurfaceMeshIR M2 supports Plane/Cylinder faces including bounded rectangular through-hole trims; use the legacy route for remaining families.", "Viewer.SurfaceMeshIr.Unsupported")]);
+ }
+
public static KernelResult<DisplayTessellationResult> TessellateBounded(
BrepBody body,
DisplayTessellationOptions? options = null,
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/DisplayTessellationResult.cs b/Aetheris.Kernel.Core/Brep/Tessellation/DisplayTessellationResult.cs
index f3fbda90..35f98297 100644
--- a/Aetheris.Kernel.Core/Brep/Tessellation/DisplayTessellationResult.cs
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/DisplayTessellationResult.cs
@@ -6,12 +6,21 @@ namespace Aetheris.Kernel.Core.Brep.Tessellation;
public sealed record DisplayTessellationResult(
IReadOnlyList<DisplayFaceMeshPatch> FacePatches,
IReadOnlyList<DisplayEdgePolyline> EdgePolylines,
- IReadOnlyList<DisplayFaceMaterializationDiagnostic>? FaceDiagnostics = null);
+ IReadOnlyList<DisplayFaceMaterializationDiagnostic>? FaceDiagnostics = null,
+ DisplayMeshPipeline MeshPipeline = DisplayMeshPipeline.LegacyTessellator,
+ SurfaceMeshMetrics? SurfaceMeshMetrics = null);
+
+public enum DisplayMeshPipeline
+{
+ LegacyTessellator,
+ SurfaceMeshIr,
+}
public enum DisplayFaceMeshSource
{
Tessellator,
BsplineUvScaffold,
+ SurfaceMeshIr,
}
public sealed record DisplayFaceMeshPatch(
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/SurfaceMeshIr.cs b/Aetheris.Kernel.Core/Brep/Tessellation/SurfaceMeshIr.cs
new file mode 100644
index 00000000..97cf5472
--- /dev/null
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/SurfaceMeshIr.cs
@@ -0,0 +1,530 @@
+using System.Security.Cryptography;
+using System.Text;
+using System.Text.Json;
+using Aetheris.Kernel.Core.Geometry;
+using Aetheris.Kernel.Core.Geometry.Curves;
+using Aetheris.Kernel.Core.Geometry.Surfaces;
+using Aetheris.Kernel.Core.Math;
+using Aetheris.Kernel.Core.Topology;
+
+namespace Aetheris.Kernel.Core.Brep.Tessellation;
+
+/// <summary>
+/// Derived, surface-aware mesh document. This is deliberately not a topology or
+/// mass-property authority: the B-rep remains the exact source of both.
+/// </summary>
+public sealed record SurfaceMeshDocument(
+ IReadOnlyList<SurfaceMeshVertex> Vertices,
+ IReadOnlyList<SurfacePatch> Patches,
+ IReadOnlyList<SharedEdgeSamplePlan> SharedBoundaries,
+ SurfaceMeshMetrics Metrics);
+
+public sealed record SurfaceMeshVertex(int Id, Point3D Position, double? U = null, double? V = null);
+
+/// <summary>One trim loop expressed both as shared B-rep samples and in the support plane's local coordinates.</summary>
+public sealed record SurfaceMeshTrimLoop(
+ LoopId LoopId,
+ IReadOnlyList<int> VertexIds,
+ IReadOnlyList<(double U, double V)> LocalCoordinates,
+ bool IsInner,
+ double SignedArea);
+
+public sealed record FaceBoundaryUse(FaceId FaceId, LoopId LoopId, CoedgeId CoedgeId, bool IsReversed);
+
+/// <summary>One exact curve sampled once in edge parameter order, then reused by every face use.</summary>
+public sealed record SharedEdgeSamplePlan(
+ EdgeId EdgeId,
+ CurveGeometryKind CurveKind,
+ ParameterInterval Interval,
+ IReadOnlyList<SurfaceMeshVertex> Samples,
+ IReadOnlyList<FaceBoundaryUse> Uses,
+ bool IsClosed,
+ double MaxChordalDeviation);
+
+public enum SurfaceMeshSupportKind { Plane, Cylinder }
+public enum SurfaceMeshCellKind { Quad, Triangle, BoundaryPolygon, Singular }
+public sealed record SurfaceMeshSupport(SurfaceMeshSupportKind Kind, PlaneSurface? Plane = null, CylinderSurface? Cylinder = null);
+
+public abstract record SurfaceMeshCell(SurfaceMeshCellKind Kind, IReadOnlyList<int> VertexIds, int RefinementLevel = 0, int? ParentCellId = null);
+public sealed record QuadCell(IReadOnlyList<int> VertexIds, int RefinementLevel = 0, int? ParentCellId = null)
+ : SurfaceMeshCell(SurfaceMeshCellKind.Quad, VertexIds, RefinementLevel, ParentCellId);
+public sealed record TriangleCell(IReadOnlyList<int> VertexIds, int RefinementLevel = 0, int? ParentCellId = null)
+ : SurfaceMeshCell(SurfaceMeshCellKind.Triangle, VertexIds, RefinementLevel, ParentCellId);
+public sealed record BoundaryPolygonCell(IReadOnlyList<int> VertexIds, int RefinementLevel = 0, int? ParentCellId = null)
+ : SurfaceMeshCell(SurfaceMeshCellKind.BoundaryPolygon, VertexIds, RefinementLevel, ParentCellId);
+public sealed record SingularCell(IReadOnlyList<int> VertexIds, int RefinementLevel = 0, int? ParentCellId = null)
+ : SurfaceMeshCell(SurfaceMeshCellKind.Singular, VertexIds, RefinementLevel, ParentCellId);
+
+public sealed record SurfacePatch(
+ FaceId FaceId,
+ SurfaceMeshSupport Support,
+ IReadOnlyList<LoopId> TrimLoops,
+ IReadOnlyList<SurfaceMeshCell> Cells,
+ bool SameSense,
+ string? SemanticOwner = null,
+ bool HasPeriodicUSeam = false,
+ int MaxRefinementLevel = 0,
+ IReadOnlyList<SurfaceMeshTrimLoop>? TrimLoopData = null);
+
+public enum SurfaceMeshDownstreamIntent { Presentation, Manufacturing, Fea }
+
+/// <summary>Small policy seam for task-aware meshing; no language surface is exposed yet.</summary>
+public sealed record SurfaceMeshPolicy(
+ double TargetChordalError,
+ double TargetNormalErrorRadians,
+ int MaxRefinementDepth,
+ int MaxBoundarySamples,
+ SurfaceMeshDownstreamIntent DownstreamIntent = SurfaceMeshDownstreamIntent.Presentation)
+{
+ public static SurfaceMeshPolicy FromDisplayOptions(DisplayTessellationOptions options) => new(
+ options.ChordTolerance, options.AngularToleranceRadians, 8, options.MaximumSegments, SurfaceMeshDownstreamIntent.Presentation);
+}
+
+public sealed record SurfaceMeshMetrics(
+ int PatchCount, int SharedBoundaryCount, int CellCount, int QuadCount, int ExceptionalCellCount,
+ int TriangleCount, int MaxRefinementLevel, double MaxChordalDeviation, int BoundaryCrackCount,
+ double MinEdgeLength, double MaxEdgeLength, string DeterministicHash,
+ int BoundaryPolygonCount = 0,
+ int NonManifoldEdgeCount = 0,
+ int FinalTriangleCount = 0,
+ double WorstAspectRatio = 0d,
+ double MaxNormalDeviation = 0d,
+ long ApproximateBufferBytes = 0);
+
+public static class SurfaceMeshIrDebug
+{
+ public static string ToJson(SurfaceMeshDocument document)
+ => JsonSerializer.Serialize(document, new JsonSerializerOptions { WriteIndented = true });
+}
+
+/// <summary>
+/// M1 planner/lowerer for closed Plane/Cylinder solids with line/circle trims.
+/// It intentionally returns false for more general trimming so the named legacy
+/// display tessellator remains a visible migration fallback.
+/// </summary>
+public static class SurfaceMeshIrTessellator
+{
+ private const double Epsilon = 1e-9d;
+
+ public static bool TryTessellate(BrepBody body, DisplayTessellationOptions options, out DisplayTessellationResult result)
+ {
+ result = default!;
+ var policy = SurfaceMeshPolicy.FromDisplayOptions(options);
+ if (!TryBuild(body, policy, out var document)) return false;
+ if (!SurfaceMeshIrValidator.TryValidate(document, out _)) return false;
+ if (!TryLowerToTriangleMesh(document, out _, out _)) return false;
+ var patches = document.Patches.OrderBy(p => p.FaceId.Value).Select(p => LowerPatch(document, p)).ToArray();
+ var edges = document.SharedBoundaries.OrderBy(p => p.EdgeId.Value)
+ .Select(p => new DisplayEdgePolyline(p.EdgeId, p.Samples.Select(s => s.Position).ToArray(), p.IsClosed)).ToArray();
+ result = new DisplayTessellationResult(patches, edges, MeshPipeline: DisplayMeshPipeline.SurfaceMeshIr, SurfaceMeshMetrics: document.Metrics);
+ return true;
+ }
+
+ /// <summary>Final deterministic lowering seam used by export. Consumers only see triangles.</summary>
+ public static bool TryLowerToTriangleMesh(SurfaceMeshDocument document, out TriangleMesh mesh, out TriangleMeshTopologyReport report)
+ {
+ var positions = document.Vertices.OrderBy(v => v.Id).Select(v => v.Position).ToList();
+ var normals = document.Vertices.OrderBy(v => v.Id).Select(_ => new Vector3D(0d, 0d, 0d)).ToList();
+ var indexById = document.Vertices.OrderBy(v => v.Id).Select((vertex, index) => (vertex.Id, index)).ToDictionary(item => item.Id, item => item.index);
+ var indices = new List<int>();
+ foreach (var patch in document.Patches.OrderBy(p => p.FaceId.Value))
+ {
+ var vertexById = document.Vertices.ToDictionary(v => v.Id);
+ var exactNormal = ResolvePatchNormal(document, patch, vertexById);
+ foreach (var cell in patch.Cells)
+ {
+ var ids = cell.VertexIds;
+ if (cell.Kind == SurfaceMeshCellKind.Quad)
+ {
+ var a = indexById[ids[0]]; var b = indexById[ids[1]]; var c = indexById[ids[2]]; var d = indexById[ids[3]];
+ var ac = (positions[a] - positions[c]).Length; var bd = (positions[b] - positions[d]).Length;
+ if (ac <= bd) indices.AddRange([a, b, c, a, c, d]); else indices.AddRange([a, b, d, b, c, d]);
+ normals[a] = exactNormal(positions[a]); normals[b] = exactNormal(positions[b]); normals[c] = exactNormal(positions[c]); normals[d] = exactNormal(positions[d]);
+ }
+ else if (cell.Kind == SurfaceMeshCellKind.Triangle)
+ {
+ var a = indexById[ids[0]]; var b = indexById[ids[1]]; var c = indexById[ids[2]];
+ indices.AddRange([a, b, c]); normals[a] = exactNormal(positions[a]); normals[b] = exactNormal(positions[b]); normals[c] = exactNormal(positions[c]);
+ }
+ else
+ {
+ var center = new Point3D(ids.Average(id => vertexById[id].Position.X), ids.Average(id => vertexById[id].Position.Y), ids.Average(id => vertexById[id].Position.Z));
+ var centerIndex = positions.Count; positions.Add(center); normals.Add(exactNormal(center));
+ for (var i = 0; i < ids.Count; i++)
+ {
+ var a = indexById[ids[i]]; var b = indexById[ids[(i + 1) % ids.Count]];
+ indices.AddRange([centerIndex, a, b]); normals[a] = exactNormal(positions[a]); normals[b] = exactNormal(positions[b]);
+ }
+ }
+ }
+ }
+ var hard = BuildHardEdges(document, indexById);
+ var hash = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(string.Join("|", positions.Select(p => $"{p.X:R},{p.Y:R},{p.Z:R}") ) + ";" + string.Join(',', indices)))).ToLowerInvariant();
+ mesh = new TriangleMesh(positions, normals, indices, hard, hash);
+ // A B-rep's shell orientation is authoritative. The global sign is a
+ // final deterministic correction, never a repair/weld operation.
+ if (!TriangleMeshValidator.TryValidateClosed(mesh, out report, out _)
+ && report.SignedVolume < 0d)
+ {
+ for (var i = 0; i < indices.Count; i += 3) (indices[i + 1], indices[i + 2]) = (indices[i + 2], indices[i + 1]);
+ mesh = mesh with { TriangleIndices = indices };
+ }
+ return TriangleMeshValidator.TryValidateClosed(mesh, out report, out _);
+ }
+
+ private static IReadOnlySet<(int A, int B)> BuildHardEdges(SurfaceMeshDocument document, IReadOnlyDictionary<int, int> indexById)
+ {
+ var supportByFace = document.Patches.ToDictionary(p => p.FaceId, p => p.Support.Kind);
+ var hard = new HashSet<(int A, int B)>();
+ foreach (var boundary in document.SharedBoundaries)
+ {
+ var kinds = boundary.Uses.Select(use => supportByFace[use.FaceId]).Distinct().ToArray();
+ if (kinds.Length < 2 || kinds.All(kind => kind == kinds[0])) continue;
+ for (var i = 0; i + 1 < boundary.Samples.Count; i++)
+ {
+ var a = indexById[boundary.Samples[i].Id]; var b = indexById[boundary.Samples[i + 1].Id];
+ hard.Add(a < b ? (a, b) : (b, a));
+ }
+ }
+ return hard;
+ }
+
+ public static bool TryBuild(BrepBody body, SurfaceMeshPolicy policy, out SurfaceMeshDocument document)
+ {
+ document = default!;
+ var vertices = new List<SurfaceMeshVertex>();
+ var plans = new List<SharedEdgeSamplePlan>();
+ var endpointVertices = new Dictionary<VertexId, SurfaceMeshVertex>();
+ var nextVertexId = 0;
+ foreach (var edge in body.Topology.Edges.OrderBy(e => e.Id.Value))
+ {
+ if (!TryPlanEdge(body, edge.Id, policy, endpointVertices, ref nextVertexId, out var plan)) return false;
+ vertices.AddRange(plan.Samples);
+ plans.Add(plan);
+ }
+
+ vertices = vertices.GroupBy(v => v.Id).Select(g => g.First()).OrderBy(v => v.Id).ToList();
+ var byEdge = plans.ToDictionary(p => p.EdgeId);
+ var patches = new List<SurfacePatch>();
+ foreach (var face in body.Topology.Faces.OrderBy(f => f.Id.Value))
+ {
+ if (!body.TryGetFaceSurfaceGeometry(face.Id, out var surface) || surface is null ||
+ surface.Kind is not (SurfaceGeometryKind.Plane or SurfaceGeometryKind.Cylinder) ||
+ !body.Bindings.TryGetFaceBinding(face.Id, out var faceBinding)) return false;
+ var patch = surface.Kind == SurfaceGeometryKind.Plane
+ ? TryBuildPlanePatch(body, face.Id, faceBinding.SameSense, surface.Plane!.Value, byEdge, vertices, ref nextVertexId)
+ : TryBuildCylinderPatch(body, face.Id, faceBinding.SameSense, surface.Cylinder!.Value, byEdge);
+ if (patch is null) return false;
+ patches.Add(patch);
+ }
+
+ vertices = vertices.GroupBy(v => v.Id).Select(g => g.First()).OrderBy(v => v.Id).ToList();
+ var preMetrics = ComputeMetrics(vertices, patches, plans, triangleCount: 0);
+ var builtDocument = new SurfaceMeshDocument(vertices, patches, plans, preMetrics);
+ var triangleCount = builtDocument.Patches.Sum(p => CountLoweredTriangles(builtDocument, p));
+ document = builtDocument with { Metrics = ComputeMetrics(vertices, patches, plans, triangleCount) };
+ return true;
+ }
+
+ private static bool TryPlanEdge(BrepBody body, EdgeId edgeId, SurfaceMeshPolicy policy, Dictionary<VertexId, SurfaceMeshVertex> endpointVertices, ref int nextVertexId, out SharedEdgeSamplePlan plan)
+ {
+ plan = default!;
+ if (!body.Bindings.TryGetEdgeBinding(edgeId, out var binding) || !body.TryGetEdgeCurveGeometry(edgeId, out var curve) || curve is null) return false;
+ var interval = binding.TrimInterval ?? new ParameterInterval(0d, 1d);
+ List<(double Parameter, Point3D Point)> sampled;
+ bool closed;
+ double chordError;
+ switch (curve.Kind)
+ {
+ case CurveGeometryKind.Line3 when curve.Line3 is { } line:
+ // A bounded through-hole ring needs matching side-face boundary
+ // vertices. Split only line edges on bodies that actually carry
+ // circular trims; ordinary flat boxes remain one coarse quad/face.
+ var lineSegments = body.Geometry.Curves.Any(c => c.Value.Kind == CurveGeometryKind.Circle3) ? 9 : 1;
+ sampled = Enumerable.Range(0, lineSegments + 1)
+ .Select(i => (interval.Start + ((interval.End - interval.Start) * i / lineSegments), line.Evaluate(interval.Start + ((interval.End - interval.Start) * i / lineSegments))))
+ .ToList();
+ closed = false; chordError = 0d; break;
+ case CurveGeometryKind.Circle3 when curve.Circle3 is { } circle:
+ var span = interval.End - interval.Start;
+ var segments = ResolveCircleSegments(circle.Radius, span, policy);
+ sampled = Enumerable.Range(0, segments + 1).Select(i =>
+ {
+ var parameter = interval.Start + (span * i / segments);
+ return (parameter, circle.Evaluate(parameter));
+ }).ToList();
+ closed = double.Abs(double.Abs(span) - (2d * double.Pi)) <= Epsilon;
+ chordError = circle.Radius * (1d - double.Cos(double.Abs(span) / (2d * segments)));
+ break;
+ default: return false;
+ }
+ if (!body.TryGetEdgeVertices(edgeId, out var startVertex, out var endVertex)) return false;
+ var samples = new SurfaceMeshVertex[sampled.Count];
+ for (var i = 0; i < sampled.Count; i++)
+ {
+ var endpoint = i == 0 ? startVertex : i == sampled.Count - 1 ? endVertex : default;
+ if (endpoint.IsValid && endpointVertices.TryGetValue(endpoint, out var existing))
+ {
+ samples[i] = existing;
+ }
+ else
+ {
+ samples[i] = new SurfaceMeshVertex(nextVertexId++, sampled[i].Point);
+ if (endpoint.IsValid) endpointVertices.Add(endpoint, samples[i]);
+ }
+ }
+ var uses = body.Topology.Faces.OrderBy(f => f.Id.Value).SelectMany(face => body.GetLoopIds(face.Id).SelectMany(loop => body.GetCoedgeIds(loop)
+ .Select(coedgeId => body.Topology.GetCoedge(coedgeId)).Where(c => c.EdgeId == edgeId)
+ .Select(c => new FaceBoundaryUse(face.Id, loop, c.Id, c.IsReversed)))).ToArray();
+ plan = new SharedEdgeSamplePlan(edgeId, curve.Kind, interval, samples, uses, closed, chordError);
+ return true;
+ }
+
+ private static int ResolveCircleSegments(double radius, double span, SurfaceMeshPolicy policy)
+ {
+ var chord = policy.TargetChordalError >= radius ? 1 : (int)double.Ceiling(double.Abs(span) / (2d * double.Acos(double.Clamp(1d - (policy.TargetChordalError / radius), -1d, 1d))));
+ var normal = (int)double.Ceiling(double.Abs(span) / policy.TargetNormalErrorRadians);
+ // Keep the established display-circle baseline stable while the policy grows a
+ // dedicated edge-density knob; legacy display callers historically receive 36.
+ var baseline = double.Abs(double.Abs(span) - (2d * double.Pi)) <= Epsilon ? 36 : 1;
+ return int.Max(baseline, int.Max(1, int.Max(chord, normal)));
+ }
+
+ private static SurfacePatch? TryBuildPlanePatch(BrepBody body, FaceId faceId, bool sameSense, PlaneSurface plane, IReadOnlyDictionary<EdgeId, SharedEdgeSamplePlan> plans, List<SurfaceMeshVertex> vertices, ref int nextVertexId)
+ {
+ var loops = body.GetLoopIds(faceId);
+ if (loops.Count == 0) return null;
+ var loopData = new List<SurfaceMeshTrimLoop>(loops.Count);
+ foreach (var loop in loops)
+ {
+ var coedges = body.GetCoedgeIds(loop).Select(body.Topology.GetCoedge).ToArray();
+ if (coedges.Length == 0) return null;
+ var ids = FlattenLoop(coedges, plans);
+ if (ids.Count < 3) return null;
+ var local = ids.Select(id => ToPlaneLocal(plane, vertices.First(v => v.Id == id).Position)).ToArray();
+ loopData.Add(new SurfaceMeshTrimLoop(loop, ids, local, false, SignedArea(local)));
+ }
+
+ // M2 deliberately covers the common bounded topology: a rectangular
+ // outer boundary plus circular inner trims. It is not a general
+ // polygon mesher; unsupported trims retain the explicit legacy route.
+ var outer = loopData.OrderByDescending(loop => double.Abs(loop.SignedArea)).First();
+ var inners = loopData.Where(loop => loop.LoopId != outer.LoopId).ToArray();
+ var annotatedLoops = loopData.Select(loop => loop with { IsInner = loop.LoopId != outer.LoopId }).ToArray();
+ if (inners.Length == 0)
+ {
+ var coedges = body.GetCoedgeIds(outer.LoopId).Select(body.Topology.GetCoedge).ToArray();
+ var cell = coedges.Length == 4 && coedges.All(c => plans[c.EdgeId].CurveKind == CurveGeometryKind.Line3) && outer.VertexIds.Count == 4
+ ? (SurfaceMeshCell)new QuadCell(Orient(outer.VertexIds, sameSense))
+ : new BoundaryPolygonCell(Orient(outer.VertexIds, sameSense));
+ return new SurfacePatch(faceId, new SurfaceMeshSupport(SurfaceMeshSupportKind.Plane, Plane: plane), loops, [cell], sameSense, TrimLoopData: annotatedLoops);
+ }
+ if (inners.Length != 1 || !IsRectangle(outer.LocalCoordinates) || inners[0].VertexIds.Count != outer.VertexIds.Count) return null;
+ var inner = inners[0];
+ var vertexById = vertices.ToDictionary(v => v.Id);
+ var outerIds = EnsureCounterClockwise(outer.VertexIds, outer.LocalCoordinates);
+ var innerIds = AlignRingToOuter(
+ outerIds,
+ EnsureCounterClockwise(inner.VertexIds, inner.LocalCoordinates),
+ vertexById);
+ var cells = new List<SurfaceMeshCell>(outerIds.Count * 2);
+ var middle = new int[outerIds.Count];
+ for (var i = 0; i < outerIds.Count; i++)
+ {
+ var outerPoint = vertexById[outerIds[i]].Position;
+ var innerPoint = vertexById[innerIds[i]].Position;
+ // One grading band prevents a giant cell from landing directly on
+ // the curved trim while keeping the zero-curvature plane cheap.
+ var point = new Point3D(
+ outerPoint.X * 0.40d + innerPoint.X * 0.60d,
+ outerPoint.Y * 0.40d + innerPoint.Y * 0.60d,
+ outerPoint.Z * 0.40d + innerPoint.Z * 0.60d);
+ middle[i] = nextVertexId++;
+ var uv = ToPlaneLocal(plane, point);
+ vertices.Add(new SurfaceMeshVertex(middle[i], point, uv.U, uv.V));
+ }
+ for (var i = 0; i < outerIds.Count; i++)
+ {
+ var next = (i + 1) % outerIds.Count;
+ cells.Add(new QuadCell(Orient([outerIds[i], outerIds[next], middle[next], middle[i]], sameSense), 0));
+ cells.Add(new QuadCell(Orient([middle[i], middle[next], innerIds[next], innerIds[i]], sameSense), 1));
+ }
+ return new SurfacePatch(faceId, new SurfaceMeshSupport(SurfaceMeshSupportKind.Plane, Plane: plane), loops, cells, sameSense, MaxRefinementLevel: 1, TrimLoopData: annotatedLoops);
+ }
+
+ private static SurfacePatch? TryBuildCylinderPatch(BrepBody body, FaceId faceId, bool sameSense, CylinderSurface cylinder, IReadOnlyDictionary<EdgeId, SharedEdgeSamplePlan> plans)
+ {
+ var loops = body.GetLoopIds(faceId);
+ if (loops.Count != 1) return null;
+ var coedges = body.GetCoedgeIds(loops[0]).Select(body.Topology.GetCoedge).ToArray();
+ var circles = coedges.Where(c => plans[c.EdgeId].CurveKind == CurveGeometryKind.Circle3).Select(c => plans[c.EdgeId]).ToArray();
+ if (circles.Length != 2 || circles[0].Samples.Count != circles[1].Samples.Count || !circles.All(p => p.IsClosed)) return null;
+ var rings = circles.Select(p => p.Samples.Take(p.Samples.Count - 1).ToArray()).ToArray();
+ if (rings[0].Length < 3) return null;
+ var v0 = (rings[0][0].Position - cylinder.Origin).Dot(cylinder.Axis.ToVector());
+ var v1 = (rings[1][0].Position - cylinder.Origin).Dot(cylinder.Axis.ToVector());
+ var bottom = v0 <= v1 ? rings[0] : rings[1];
+ var top = v0 <= v1 ? rings[1] : rings[0];
+ var cells = new List<SurfaceMeshCell>(bottom.Length);
+ for (var i = 0; i < bottom.Length; i++)
+ {
+ var next = (i + 1) % bottom.Length;
+ cells.Add(new QuadCell(Orient([bottom[i].Id, bottom[next].Id, top[next].Id, top[i].Id], sameSense)));
+ }
+ return new SurfacePatch(faceId, new SurfaceMeshSupport(SurfaceMeshSupportKind.Cylinder, Cylinder: cylinder), loops, cells, sameSense, HasPeriodicUSeam: true);
+ }
+
+ private static IReadOnlyList<int> FlattenLoop(IReadOnlyList<Coedge> coedges, IReadOnlyDictionary<EdgeId, SharedEdgeSamplePlan> plans)
+ {
+ var output = new List<int>();
+ foreach (var coedge in coedges)
+ {
+ var ids = plans[coedge.EdgeId].Samples.Select(s => s.Id).ToArray();
+ if (coedge.IsReversed) Array.Reverse(ids);
+ if (plans[coedge.EdgeId].IsClosed) ids = ids[..^1];
+ if (output.Count > 0 && ids.Length > 0 && output[^1] == ids[0]) ids = ids[1..];
+ output.AddRange(ids);
+ }
+ if (output.Count > 1 && output[0] == output[^1]) output.RemoveAt(output.Count - 1);
+ return output;
+ }
+
+ private static (double U, double V) ToPlaneLocal(PlaneSurface plane, Point3D point)
+ {
+ var offset = point - plane.Origin;
+ return (offset.Dot(plane.UAxis.ToVector()), offset.Dot(plane.VAxis.ToVector()));
+ }
+
+ private static double SignedArea(IReadOnlyList<(double U, double V)> points)
+ => Enumerable.Range(0, points.Count).Sum(i =>
+ {
+ var next = points[(i + 1) % points.Count];
+ return (points[i].U * next.V) - (next.U * points[i].V);
+ }) * 0.5d;
+
+ private static IReadOnlyList<int> EnsureCounterClockwise(IReadOnlyList<int> ids, IReadOnlyList<(double U, double V)> local)
+ => SignedArea(local) >= 0d ? ids : ids.Reverse().ToArray();
+
+ private static IReadOnlyList<int> AlignRingToOuter(
+ IReadOnlyList<int> outerIds,
+ IReadOnlyList<int> innerIds,
+ IReadOnlyDictionary<int, SurfaceMeshVertex> vertexById)
+ {
+ // Loop orientation alone does not establish the cyclic phase. Pairing
+ // a rectangular loop that begins at a corner with a circle that begins
+ // on its +X axis can otherwise create a twisted annular strip whose
+ // quads overlap the hole. Select the deterministic cyclic shift with
+ // the shortest total spokes while preserving both loop orderings.
+ var bestShift = 0;
+ var bestCost = double.PositiveInfinity;
+ for (var shift = 0; shift < innerIds.Count; shift++)
+ {
+ var cost = 0d;
+ for (var i = 0; i < outerIds.Count; i++)
+ {
+ var delta = vertexById[outerIds[i]].Position - vertexById[innerIds[(i + shift) % innerIds.Count]].Position;
+ cost += delta.LengthSquared;
+ }
+ if (cost < bestCost - Epsilon)
+ {
+ bestCost = cost;
+ bestShift = shift;
+ }
+ }
+ return Enumerable.Range(0, innerIds.Count).Select(i => innerIds[(i + bestShift) % innerIds.Count]).ToArray();
+ }
+
+ private static bool IsRectangle(IReadOnlyList<(double U, double V)> points)
+ {
+ var minU = points.Min(p => p.U); var maxU = points.Max(p => p.U);
+ var minV = points.Min(p => p.V); var maxV = points.Max(p => p.V);
+ return points.All(p => double.Abs(p.U - minU) < 1e-7d || double.Abs(p.U - maxU) < 1e-7d || double.Abs(p.V - minV) < 1e-7d || double.Abs(p.V - maxV) < 1e-7d);
+ }
+
+ private static IReadOnlyList<int> Orient(IReadOnlyList<int> ids, bool sameSense) => sameSense ? ids : ids.Reverse().ToArray();
+
+ private static DisplayFaceMeshPatch LowerPatch(SurfaceMeshDocument document, SurfacePatch patch)
+ {
+ var vertexById = document.Vertices.ToDictionary(v => v.Id);
+ var positions = new List<Point3D>(); var normals = new List<Vector3D>(); var indices = new List<int>(); var local = new Dictionary<int, int>();
+ var normal = ResolvePatchNormal(document, patch, vertexById);
+ int Add(int id) { if (local.TryGetValue(id, out var existing)) return existing; var index = positions.Count; positions.Add(vertexById[id].Position); normals.Add(normal(vertexById[id].Position)); local[id] = index; return index; }
+ foreach (var cell in patch.Cells)
+ {
+ var ids = cell.VertexIds;
+ if (cell.Kind == SurfaceMeshCellKind.Quad)
+ {
+ var a = Add(ids[0]); var b = Add(ids[1]); var c = Add(ids[2]); var d = Add(ids[3]);
+ var ac = (positions[a] - positions[c]).Length; var bd = (positions[b] - positions[d]).Length;
+ if (ac <= bd) { indices.AddRange([a, b, c, a, c, d]); } else { indices.AddRange([a, b, d, b, c, d]); }
+ }
+ else if (cell.Kind == SurfaceMeshCellKind.Triangle) indices.AddRange([Add(ids[0]), Add(ids[1]), Add(ids[2])]);
+ else if (ids.Count >= 3)
+ {
+ var center = new Point3D(ids.Average(id => vertexById[id].Position.X), ids.Average(id => vertexById[id].Position.Y), ids.Average(id => vertexById[id].Position.Z));
+ var centerIndex = positions.Count; positions.Add(center); normals.Add(normal(center));
+ for (var i = 0; i < ids.Count; i++) indices.AddRange([centerIndex, Add(ids[i]), Add(ids[(i + 1) % ids.Count])]);
+ }
+ }
+ return new DisplayFaceMeshPatch(patch.FaceId, positions, normals, indices, DisplayFaceMeshSource.SurfaceMeshIr);
+ }
+
+ private static Func<Point3D, Vector3D> ResolvePatchNormal(SurfaceMeshDocument document, SurfacePatch patch, IReadOnlyDictionary<int, SurfaceMeshVertex> vertices)
+ {
+ return patch.Support.Kind switch
+ {
+ SurfaceMeshSupportKind.Plane when patch.Support.Plane is { } plane => _ => patch.SameSense ? plane.Normal.ToVector() : -plane.Normal.ToVector(),
+ SurfaceMeshSupportKind.Cylinder when patch.Support.Cylinder is { } cylinder => p =>
+ {
+ var offset = p - cylinder.Origin;
+ var angle = double.Atan2(offset.Dot(cylinder.YAxis.ToVector()), offset.Dot(cylinder.XAxis.ToVector()));
+ var exact = cylinder.Normal(angle).ToVector();
+ return patch.SameSense ? exact : -exact;
+ },
+ _ => throw new InvalidOperationException($"Patch {patch.FaceId.Value} has no exact support evaluator."),
+ };
+ }
+
+ private static int CountLoweredTriangles(SurfaceMeshDocument document, SurfacePatch patch) => patch.Cells.Sum(c => c.Kind switch { SurfaceMeshCellKind.Quad => 2, SurfaceMeshCellKind.Triangle => 1, _ => c.VertexIds.Count >= 3 ? c.VertexIds.Count : 0 });
+ private static SurfaceMeshMetrics ComputeMetrics(IReadOnlyList<SurfaceMeshVertex> vertices, IReadOnlyList<SurfacePatch> patches, IReadOnlyList<SharedEdgeSamplePlan> plans, int triangleCount)
+ {
+ var lengths = plans.SelectMany(p => p.Samples.Zip(p.Samples.Skip(1), (a, b) => (a.Position - b.Position).Length)).ToArray();
+ var cells = patches.SelectMany(p => p.Cells).ToArray();
+ var payload = string.Join("|", vertices.OrderBy(v => v.Id).Select(v => $"{v.Id}:{v.Position.X:R},{v.Position.Y:R},{v.Position.Z:R}")) + string.Join("|", cells.Select(c => $"{c.Kind}:{string.Join(',', c.VertexIds)}"));
+ var hash = Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(payload))).ToLowerInvariant();
+ var boundaryPolygons = cells.Count(c => c.Kind == SurfaceMeshCellKind.BoundaryPolygon);
+ var approximateBytes = (vertices.Count * (sizeof(int) + (3 * sizeof(double)))) + (cells.Sum(c => c.VertexIds.Count) * sizeof(int));
+ return new SurfaceMeshMetrics(patches.Count, plans.Count, cells.Length, cells.Count(c => c.Kind == SurfaceMeshCellKind.Quad), cells.Count(c => c.Kind != SurfaceMeshCellKind.Quad), triangleCount, cells.Select(c => c.RefinementLevel).DefaultIfEmpty().Max(), plans.Select(p => p.MaxChordalDeviation).DefaultIfEmpty().Max(), 0, lengths.DefaultIfEmpty().Min(), lengths.DefaultIfEmpty().Max(), hash, boundaryPolygons, 0, triangleCount, 0d, 0d, approximateBytes);
+ }
+}
+
+public static class SurfaceMeshIrValidator
+{
+ public static bool TryValidate(SurfaceMeshDocument document, out string? failure)
+ {
+ var vertices = document.Vertices.Select(v => v.Id).ToHashSet();
+ if (vertices.Count != document.Vertices.Count) { failure = "SurfaceMeshIR vertex IDs are not unique."; return false; }
+ foreach (var boundary in document.SharedBoundaries)
+ {
+ if (boundary.Samples.Count < 2 || boundary.Uses.Count == 0) { failure = $"Shared edge {boundary.EdgeId.Value} has no complete sample/use contract."; return false; }
+ if (boundary.Samples.Any(sample => !vertices.Contains(sample.Id))) { failure = $"Shared edge {boundary.EdgeId.Value} references a missing vertex."; return false; }
+ if (boundary.IsClosed && boundary.Samples[0].Id != boundary.Samples[^1].Id) { failure = $"Closed shared edge {boundary.EdgeId.Value} does not reuse its endpoint vertex."; return false; }
+ }
+ foreach (var cell in document.Patches.SelectMany(p => p.Cells))
+ {
+ if (cell.VertexIds.Count < 3 || cell.VertexIds.Any(id => !vertices.Contains(id))) { failure = "A cell references an invalid or insufficient vertex set."; return false; }
+ if (cell.VertexIds.Distinct().Count() != cell.VertexIds.Count) { failure = "A cell repeats a vertex."; return false; }
+ var points = cell.VertexIds.Select(id => document.Vertices.Single(v => v.Id == id).Position).ToArray();
+ if (PolygonAreaMagnitude(points) <= 1e-14d) { failure = "A cell has zero area."; return false; }
+ }
+ if (document.Patches.Any(patch => patch.TrimLoopData is { Count: > 1 } && patch.Cells.Count == 0)) { failure = "A trimmed patch has no covering cells."; return false; }
+ failure = null; return true;
+ }
+
+ private static double PolygonAreaMagnitude(IReadOnlyList<Point3D> points)
+ {
+ var normal = new Vector3D(0d, 0d, 0d);
+ for (var i = 0; i < points.Count; i++) normal += new Vector3D(points[i].X, points[i].Y, points[i].Z).Cross(new Vector3D(points[(i + 1) % points.Count].X, points[(i + 1) % points.Count].Y, points[(i + 1) % points.Count].Z));
+ return normal.Length * 0.5d;
+ }
+}
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/TriangleMesh.cs b/Aetheris.Kernel.Core/Brep/Tessellation/TriangleMesh.cs
new file mode 100644
index 00000000..8a717547
--- /dev/null
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/TriangleMesh.cs
@@ -0,0 +1,92 @@
+using Aetheris.Kernel.Core.Math;
+
+namespace Aetheris.Kernel.Core.Brep.Tessellation;
+
+/// <summary>Final derived triangle-only mesh. It deliberately has no B-rep or trim knowledge.</summary>
+public sealed record TriangleMesh(
+ IReadOnlyList<Point3D> Positions,
+ IReadOnlyList<Vector3D> Normals,
+ IReadOnlyList<int> TriangleIndices,
+ IReadOnlySet<(int A, int B)> HardEdges,
+ string DeterministicHash);
+
+public sealed record TriangleMeshTopologyReport(
+ bool IsWatertight,
+ bool IsConnected,
+ bool IsOutwardOriented,
+ int CrackCount,
+ int NonManifoldEdgeCount,
+ int DuplicateTriangleCount,
+ int ZeroAreaTriangleCount,
+ int TriangleCount,
+ int VertexCount,
+ double SignedVolume);
+
+public static class TriangleMeshValidator
+{
+ private const double AreaEpsilon = 1e-18d;
+
+ public static bool TryValidateClosed(TriangleMesh mesh, out TriangleMeshTopologyReport report, out string? failure)
+ {
+ var edges = new Dictionary<(int A, int B), int>();
+ var triangles = new HashSet<(int A, int B, int C)>();
+ var zero = 0; var duplicate = 0;
+ for (var i = 0; i < mesh.TriangleIndices.Count; i += 3)
+ {
+ if (i + 2 >= mesh.TriangleIndices.Count) { failure = "Triangle index buffer is not a multiple of three."; report = Empty(mesh); return false; }
+ var a = mesh.TriangleIndices[i]; var b = mesh.TriangleIndices[i + 1]; var c = mesh.TriangleIndices[i + 2];
+ if (a < 0 || b < 0 || c < 0 || a >= mesh.Positions.Count || b >= mesh.Positions.Count || c >= mesh.Positions.Count) { failure = "Triangle references an invalid vertex."; report = Empty(mesh); return false; }
+ var canonical = new[] { a, b, c }; Array.Sort(canonical);
+ if (!triangles.Add((canonical[0], canonical[1], canonical[2]))) duplicate++;
+ if (((mesh.Positions[b] - mesh.Positions[a]).Cross(mesh.Positions[c] - mesh.Positions[a])).Length <= AreaEpsilon) zero++;
+ AddEdge(a, b); AddEdge(b, c); AddEdge(c, a);
+ }
+ var cracks = edges.Count(pair => pair.Value == 1);
+ var nonmanifold = edges.Count(pair => pair.Value != 2);
+ var connected = IsConnected(mesh);
+ var volume = SignedVolume(mesh);
+ report = new TriangleMeshTopologyReport(cracks == 0 && nonmanifold == 0 && duplicate == 0 && zero == 0 && connected && volume > 0d,
+ connected, volume > 0d, cracks, nonmanifold, duplicate, zero, mesh.TriangleIndices.Count / 3, mesh.Positions.Count, volume);
+ failure = report.IsWatertight ? null : $"Triangle mesh topology failed: cracks={cracks}, nonmanifold={nonmanifold}, duplicates={duplicate}, zeroArea={zero}, connected={connected}, signedVolume={volume:R}.";
+ return report.IsWatertight;
+
+ void AddEdge(int x, int y)
+ {
+ var edge = x < y ? (x, y) : (y, x);
+ edges[edge] = edges.GetValueOrDefault(edge) + 1;
+ }
+ }
+
+ private static TriangleMeshTopologyReport Empty(TriangleMesh mesh) => new(false, false, false, 0, 0, 0, 0, mesh.TriangleIndices.Count / 3, mesh.Positions.Count, 0d);
+
+ private static bool IsConnected(TriangleMesh mesh)
+ {
+ if (mesh.TriangleIndices.Count == 0) return false;
+ var adjacency = new Dictionary<int, HashSet<int>>();
+ for (var i = 0; i < mesh.TriangleIndices.Count; i += 3)
+ {
+ for (var j = 0; j < 3; j++)
+ {
+ var a = mesh.TriangleIndices[i + j]; var b = mesh.TriangleIndices[i + ((j + 1) % 3)];
+ if (!adjacency.TryGetValue(a, out var linked)) adjacency[a] = linked = [];
+ linked.Add(b);
+ if (!adjacency.TryGetValue(b, out linked)) adjacency[b] = linked = [];
+ linked.Add(a);
+ }
+ }
+ var seen = new HashSet<int>(); var pending = new Stack<int>(); pending.Push(adjacency.Keys.Min());
+ while (pending.Count > 0) foreach (var next in adjacency[pending.Pop()]) if (seen.Add(next)) pending.Push(next);
+ return seen.Count == adjacency.Count;
+ }
+
+ private static double SignedVolume(TriangleMesh mesh)
+ {
+ var volume = 0d;
+ for (var i = 0; i < mesh.TriangleIndices.Count; i += 3)
+ {
+ var a = mesh.Positions[mesh.TriangleIndices[i]]; var b = mesh.Positions[mesh.TriangleIndices[i + 1]]; var c = mesh.Positions[mesh.TriangleIndices[i + 2]];
+ volume += new Vector3D(a.X, a.Y, a.Z).Dot(new Vector3D(b.X, b.Y, b.Z).Cross(new Vector3D(c.X, c.Y, c.Z))) / 6d;
+ }
+ return volume;
+ }
+}
diff --git a/docs/preview2/evidence/surface-mesh-ir-m2/freecad-stl-smoke.py b/docs/preview2/evidence/surface-mesh-ir-m2/freecad-stl-smoke.py
new file mode 100644
index 00000000..001e2b90
--- /dev/null
+++ b/docs/preview2/evidence/surface-mesh-ir-m2/freecad-stl-smoke.py
@@ -0,0 +1,20 @@
+import Mesh
+import math
+
+mesh = Mesh.Mesh(r"C:\Users\yuech\source\repos\Aetheris\docs\preview2\evidence\surface-mesh-ir-m2\through-hole.stl")
+box = mesh.BoundBox
+cap_centroid_radii = []
+for facet in mesh.Facets:
+ points = facet.Points
+ if max(point[2] for point in points) - min(point[2] for point in points) < 1e-6 and (
+ abs(points[0][2] - box.ZMin) < 1e-6 or abs(points[0][2] - box.ZMax) < 1e-6
+ ):
+ centroid_x = sum(point[0] for point in points) / 3.0
+ centroid_y = sum(point[1] for point in points) / 3.0
+ cap_centroid_radii.append(math.hypot(centroid_x, centroid_y))
+min_cap_centroid_radius = min(cap_centroid_radii)
+assert min_cap_centroid_radius > 3.8, "cap triangles entered the radius-4 circular trim"
+print("facets=%d points=%d solid=%s volume=%.9f bounds=%.9f,%.9f,%.9f" % (
+ mesh.CountFacets, mesh.CountPoints, mesh.isSolid(), mesh.Volume, box.XLength, box.YLength, box.ZLength))
+print("capFacets=%d minCapCentroidRadius=%.9f trimClear=True" % (
+ len(cap_centroid_radii), min_cap_centroid_radius))
diff --git a/docs/preview2/evidence/surface-mesh-ir-m2/source.step b/docs/preview2/evidence/surface-mesh-ir-m2/source.step
new file mode 100644
index 00000000..5c11a75c
--- /dev/null
+++ b/docs/preview2/evidence/surface-mesh-ir-m2/source.step
@@ -0,0 +1,250 @@
+ISO-10303-21;
+HEADER;
+FILE_DESCRIPTION(('Aetheris AP242 subset export'),'2;1');
+FILE_NAME('aetheris_export.step','1970-01-01T00:00:00',('Aetheris'),('Aetheris'),'Aetheris.Kernel','Aetheris.Kernel','');
+FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF'));
+ENDSEC;
+DATA;
+#1=CARTESIAN_POINT($,(-50,0,0));
+#2=DIRECTION($,(-1,-0,-0));
+#3=DIRECTION($,(0,1,0));
+#4=AXIS2_PLACEMENT_3D($,#1,#2,#3);
+#5=PLANE($,#4);
+#6=CARTESIAN_POINT($,(-50,-30,0));
+#7=VERTEX_POINT($,#6);
+#8=CARTESIAN_POINT($,(-50,30,-0));
+#9=VERTEX_POINT($,#8);
+#10=CARTESIAN_POINT($,(-50,-30,0));
+#11=DIRECTION($,(0,1,0));
+#12=VECTOR($,#11,1);
+#13=LINE($,#10,#12);
+#14=EDGE_CURVE($,#7,#9,#13,.T.);
+#15=ORIENTED_EDGE($,$,$,#14,.T.);
+#16=CARTESIAN_POINT($,(-50,30,12));
+#17=VERTEX_POINT($,#16);
+#18=CARTESIAN_POINT($,(-50,30,-0));
+#19=DIRECTION($,(0,0,1));
+#20=VECTOR($,#19,1);
+#21=LINE($,#18,#20);
+#22=EDGE_CURVE($,#9,#17,#21,.T.);
+#23=ORIENTED_EDGE($,$,$,#22,.T.);
+#24=CARTESIAN_POINT($,(-50,-30,12));
+#25=VERTEX_POINT($,#24);
+#26=CARTESIAN_POINT($,(-50,30,12));
+#27=DIRECTION($,(0,-1,0));
+#28=VECTOR($,#27,1);
+#29=LINE($,#26,#28);
+#30=EDGE_CURVE($,#17,#25,#29,.T.);
+#31=ORIENTED_EDGE($,$,$,#30,.T.);
+#32=CARTESIAN_POINT($,(-50,-30,12));
+#33=DIRECTION($,(0,0,-1));
+#34=VECTOR($,#33,1);
+#35=LINE($,#32,#34);
+#36=EDGE_CURVE($,#25,#7,#35,.T.);
+#37=ORIENTED_EDGE($,$,$,#36,.T.);
+#38=EDGE_LOOP($,(#15,#23,#31,#37));
+#39=FACE_OUTER_BOUND('',#38,.T.);
+#40=CARTESIAN_POINT($,(-50,14,6));
+#41=VERTEX_POINT($,#40);
+#42=CARTESIAN_POINT($,(-50,6,6));
+#43=VERTEX_POINT($,#42);
+#44=CARTESIAN_POINT($,(-50,10,6));
+#45=DIRECTION($,(1,0,0));
+#46=DIRECTION($,(0,1,0));
+#47=AXIS2_PLACEMENT_3D($,#44,#45,#46);
+#48=CIRCLE($,#47,4);
+#49=TRIMMED_CURVE($,#48,(PARAMETER_VALUE(-3.14159265358979)),(PARAMETER_VALUE(0)),.T.,.PARAMETER.);
+#50=EDGE_CURVE($,#41,#43,#49,.F.);
+#51=ORIENTED_EDGE($,$,$,#50,.T.);
+#52=CARTESIAN_POINT($,(-50,10,6));
+#53=DIRECTION($,(1,0,0));
+#54=DIRECTION($,(0,1,0));
+#55=AXIS2_PLACEMENT_3D($,#52,#53,#54);
+#56=CIRCLE($,#55,4);
+#57=TRIMMED_CURVE($,#56,(PARAMETER_VALUE(0)),(PARAMETER_VALUE(3.14159265358979)),.T.,.PARAMETER.);
+#58=EDGE_CURVE($,#43,#41,#57,.F.);
+#59=ORIENTED_EDGE($,$,$,#58,.T.);
+#60=EDGE_LOOP($,(#51,#59));
+#61=FACE_BOUND('',#60,.T.);
+#62=ADVANCED_FACE('',(#39,#61),#5,.T.);
+#63=CARTESIAN_POINT($,(50,0,0));
+#64=DIRECTION($,(1,0,0));
+#65=DIRECTION($,(0,1,0));
+#66=AXIS2_PLACEMENT_3D($,#63,#64,#65);
+#67=PLANE($,#66);
+#68=CARTESIAN_POINT($,(50,-30,-0));
+#69=VERTEX_POINT($,#68);
+#70=CARTESIAN_POINT($,(50,30,0));
+#71=VERTEX_POINT($,#70);
+#72=CARTESIAN_POINT($,(50,-30,-0));
+#73=DIRECTION($,(0,1,0));
+#74=VECTOR($,#73,1);
+#75=LINE($,#72,#74);
+#76=EDGE_CURVE($,#69,#71,#75,.T.);
+#77=ORIENTED_EDGE($,$,$,#76,.T.);
+#78=CARTESIAN_POINT($,(50,30,12));
+#79=VERTEX_POINT($,#78);
+#80=CARTESIAN_POINT($,(50,30,0));
+#81=DIRECTION($,(0,0,1));
+#82=VECTOR($,#81,1);
+#83=LINE($,#80,#82);
+#84=EDGE_CURVE($,#71,#79,#83,.T.);
+#85=ORIENTED_EDGE($,$,$,#84,.T.);
+#86=CARTESIAN_POINT($,(50,-30,12));
+#87=VERTEX_POINT($,#86);
+#88=CARTESIAN_POINT($,(50,30,12));
+#89=DIRECTION($,(0,-1,0));
+#90=VECTOR($,#89,1);
+#91=LINE($,#88,#90);
+#92=EDGE_CURVE($,#79,#87,#91,.T.);
+#93=ORIENTED_EDGE($,$,$,#92,.T.);
+#94=CARTESIAN_POINT($,(50,-30,12));
+#95=DIRECTION($,(0,0,-1));
+#96=VECTOR($,#95,1);
+#97=LINE($,#94,#96);
+#98=EDGE_CURVE($,#87,#69,#97,.T.);
+#99=ORIENTED_EDGE($,$,$,#98,.T.);
+#100=EDGE_LOOP($,(#77,#85,#93,#99));
+#101=FACE_OUTER_BOUND('',#100,.T.);
+#102=CARTESIAN_POINT($,(50,14,6));
+#103=VERTEX_POINT($,#102);
+#104=CARTESIAN_POINT($,(50,6,6));
+#105=VERTEX_POINT($,#104);
+#106=CARTESIAN_POINT($,(50,10,6));
+#107=DIRECTION($,(1,0,0));
+#108=DIRECTION($,(0,1,0));
+#109=AXIS2_PLACEMENT_3D($,#106,#107,#108);
+#110=CIRCLE($,#109,4);
+#111=TRIMMED_CURVE($,#110,(PARAMETER_VALUE(-3.14159265358979)),(PARAMETER_VALUE(0)),.T.,.PARAMETER.);
+#112=EDGE_CURVE($,#103,#105,#111,.F.);
+#113=ORIENTED_EDGE($,$,$,#112,.T.);
+#114=CARTESIAN_POINT($,(50,10,6));
+#115=DIRECTION($,(1,0,0));
+#116=DIRECTION($,(0,1,0));
+#117=AXIS2_PLACEMENT_3D($,#114,#115,#116);
+#118=CIRCLE($,#117,4);
+#119=TRIMMED_CURVE($,#118,(PARAMETER_VALUE(0)),(PARAMETER_VALUE(3.14159265358979)),.T.,.PARAMETER.);
+#120=EDGE_CURVE($,#105,#103,#119,.F.);
+#121=ORIENTED_EDGE($,$,$,#120,.T.);
+#122=EDGE_LOOP($,(#113,#121));
+#123=FACE_BOUND('',#122,.T.);
+#124=ADVANCED_FACE('',(#101,#123),#67,.T.);
+#125=CARTESIAN_POINT($,(-50,-30,0));
+#126=DIRECTION($,(0,0,-1));
+#127=DIRECTION($,(1,0,0));
+#128=AXIS2_PLACEMENT_3D($,#125,#126,#127);
+#129=PLANE($,#128);
+#130=ORIENTED_EDGE($,$,$,#14,.T.);
+#131=CARTESIAN_POINT($,(-50,30,-0));
+#132=DIRECTION($,(1,0,0));
+#133=VECTOR($,#132,1);
+#134=LINE($,#131,#133);
+#135=EDGE_CURVE($,#9,#71,#134,.T.);
+#136=ORIENTED_EDGE($,$,$,#135,.T.);
+#137=ORIENTED_EDGE($,$,$,#76,.F.);
+#138=CARTESIAN_POINT($,(-50,-30,0));
+#139=DIRECTION($,(1,0,0));
+#140=VECTOR($,#139,1);
+#141=LINE($,#138,#140);
+#142=EDGE_CURVE($,#7,#69,#141,.T.);
+#143=ORIENTED_EDGE($,$,$,#142,.F.);
+#144=EDGE_LOOP($,(#130,#136,#137,#143));
+#145=FACE_OUTER_BOUND('',#144,.T.);
+#146=ADVANCED_FACE('',(#145),#129,.T.);
+#147=CARTESIAN_POINT($,(-50,30,0));
+#148=DIRECTION($,(0,1,0));
+#149=DIRECTION($,(1,0,0));
+#150=AXIS2_PLACEMENT_3D($,#147,#148,#149);
+#151=PLANE($,#150);
+#152=ORIENTED_EDGE($,$,$,#22,.T.);
+#153=CARTESIAN_POINT($,(-50,30,12));
+#154=DIRECTION($,(1,0,0));
+#155=VECTOR($,#154,1);
+#156=LINE($,#153,#155);
+#157=EDGE_CURVE($,#17,#79,#156,.T.);
+#158=ORIENTED_EDGE($,$,$,#157,.T.);
+#159=ORIENTED_EDGE($,$,$,#84,.F.);
+#160=ORIENTED_EDGE($,$,$,#135,.F.);
+#161=EDGE_LOOP($,(#152,#158,#159,#160));
+#162=FACE_OUTER_BOUND('',#161,.T.);
+#163=ADVANCED_FACE('',(#162),#151,.T.);
+#164=CARTESIAN_POINT($,(-50,30,12));
+#165=DIRECTION($,(0,0,1));
+#166=DIRECTION($,(1,0,0));
+#167=AXIS2_PLACEMENT_3D($,#164,#165,#166);
+#168=PLANE($,#167);
+#169=ORIENTED_EDGE($,$,$,#30,.T.);
+#170=CARTESIAN_POINT($,(-50,-30,12));
+#171=DIRECTION($,(1,0,0));
+#172=VECTOR($,#171,1);
+#173=LINE($,#170,#172);
+#174=EDGE_CURVE($,#25,#87,#173,.T.);
+#175=ORIENTED_EDGE($,$,$,#174,.T.);
+#176=ORIENTED_EDGE($,$,$,#92,.F.);
+#177=ORIENTED_EDGE($,$,$,#157,.F.);
+#178=EDGE_LOOP($,(#169,#175,#176,#177));
+#179=FACE_OUTER_BOUND('',#178,.T.);
+#180=ADVANCED_FACE('',(#179),#168,.T.);
+#181=CARTESIAN_POINT($,(-50,-30,12));
+#182=DIRECTION($,(0,-1,0));
+#183=DIRECTION($,(1,0,0));
+#184=AXIS2_PLACEMENT_3D($,#181,#182,#183);
+#185=PLANE($,#184);
+#186=ORIENTED_EDGE($,$,$,#36,.T.);
+#187=ORIENTED_EDGE($,$,$,#142,.T.);
+#188=ORIENTED_EDGE($,$,$,#98,.F.);
+#189=ORIENTED_EDGE($,$,$,#174,.F.);
+#190=EDGE_LOOP($,(#186,#187,#188,#189));
+#191=FACE_OUTER_BOUND('',#190,.T.);
+#192=ADVANCED_FACE('',(#191),#185,.T.);
+#193=CARTESIAN_POINT($,(-50,10,6));
+#194=DIRECTION($,(1,0,0));
+#195=DIRECTION($,(0,1,0));
+#196=AXIS2_PLACEMENT_3D($,#193,#194,#195);
+#197=CYLINDRICAL_SURFACE($,#196,4);
+#198=ORIENTED_EDGE($,$,$,#50,.T.);
+#199=CARTESIAN_POINT($,(-50,6,6));
+#200=DIRECTION($,(1,0,0));
+#201=VECTOR($,#200,1);
+#202=LINE($,#199,#201);
+#203=EDGE_CURVE($,#43,#105,#202,.T.);
+#204=ORIENTED_EDGE($,$,$,#203,.T.);
+#205=ORIENTED_EDGE($,$,$,#112,.F.);
+#206=CARTESIAN_POINT($,(-50,14,6));
+#207=DIRECTION($,(1,0,0));
+#208=VECTOR($,#207,1);
+#209=LINE($,#206,#208);
+#210=EDGE_CURVE($,#41,#103,#209,.T.);
+#211=ORIENTED_EDGE($,$,$,#210,.F.);
+#212=EDGE_LOOP($,(#198,#204,#205,#211));
+#213=FACE_OUTER_BOUND('',#212,.T.);
+#214=ADVANCED_FACE('',(#213),#197,.F.);
+#215=CARTESIAN_POINT($,(-50,10,6));
+#216=DIRECTION($,(1,0,0));
+#217=DIRECTION($,(0,1,0));
+#218=AXIS2_PLACEMENT_3D($,#215,#216,#217);
+#219=CYLINDRICAL_SURFACE($,#218,4);
+#220=ORIENTED_EDGE($,$,$,#58,.T.);
+#221=ORIENTED_EDGE($,$,$,#210,.T.);
+#222=ORIENTED_EDGE($,$,$,#120,.F.);
+#223=ORIENTED_EDGE($,$,$,#203,.F.);
+#224=EDGE_LOOP($,(#220,#221,#222,#223));
+#225=FACE_OUTER_BOUND('',#224,.T.);
+#226=ADVANCED_FACE('',(#225),#219,.F.);
+#227=CLOSED_SHELL($,(#62,#124,#146,#163,#180,#192,#214,#226));
+#228=MANIFOLD_SOLID_BREP('AetherisBody',#227);
+#229=APPLICATION_CONTEXT('mechanical design');
+#230=PRODUCT_CONTEXT('',#229,'mechanical');
+#231=PRODUCT('AETHERIS','AetherisBody','',(#230));
+#232=PRODUCT_DEFINITION_FORMATION('','',#231);
+#233=PRODUCT_DEFINITION_CONTEXT('design',#229,'design');
+#234=PRODUCT_DEFINITION('','',#232,#233);
+#235=PRODUCT_DEFINITION_SHAPE('','',#234);
+#236=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
+#237=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
+#238=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
+#239=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNIT_ASSIGNED_CONTEXT((#236,#237,#238))REPRESENTATION_CONTEXT('3','3D'));
+#240=SHAPE_REPRESENTATION('AetherisBody',(#228),#239);
+#241=SHAPE_DEFINITION_REPRESENTATION(#235,#240);
+ENDSEC;
+END-ISO-10303-21;
diff --git a/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.ir.json b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.ir.json
new file mode 100644
index 00000000..4bf9f839
--- /dev/null
+++ b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.ir.json
@@ -0,0 +1,8507 @@
+{
+ "Vertices": [
+ {
+ "Id": 0,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 1,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 2,
+ "Position": {
+ "X": -27.77777777777778,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 3,
+ "Position": {
+ "X": -16.666666666666664,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 4,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 5,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 6,
+ "Position": {
+ "X": 16.66666666666667,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 7,
+ "Position": {
+ "X": 27.77777777777777,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 8,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 9,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 10,
+ "Position": {
+ "X": 50,
+ "Y": -23.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 11,
+ "Position": {
+ "X": 50,
+ "Y": -16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 12,
+ "Position": {
+ "X": 50,
+ "Y": -10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 13,
+ "Position": {
+ "X": 50,
+ "Y": -3.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 14,
+ "Position": {
+ "X": 50,
+ "Y": 3.3333333333333357,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 15,
+ "Position": {
+ "X": 50,
+ "Y": 10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 16,
+ "Position": {
+ "X": 50,
+ "Y": 16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 17,
+ "Position": {
+ "X": 50,
+ "Y": 23.333333333333336,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 18,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 19,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 20,
+ "Position": {
+ "X": 27.77777777777778,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 21,
+ "Position": {
+ "X": 16.666666666666664,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 22,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 23,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 24,
+ "Position": {
+ "X": -16.66666666666667,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 25,
+ "Position": {
+ "X": -27.77777777777777,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 26,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 27,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 28,
+ "Position": {
+ "X": -50,
+ "Y": 23.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 29,
+ "Position": {
+ "X": -50,
+ "Y": 16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 30,
+ "Position": {
+ "X": -50,
+ "Y": 10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 31,
+ "Position": {
+ "X": -50,
+ "Y": 3.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 32,
+ "Position": {
+ "X": -50,
+ "Y": -3.3333333333333357,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 33,
+ "Position": {
+ "X": -50,
+ "Y": -10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 34,
+ "Position": {
+ "X": -50,
+ "Y": -16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 35,
+ "Position": {
+ "X": -50,
+ "Y": -23.333333333333336,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 36,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 37,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": 0.6945927106677213,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 38,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": 1.3680805733026749,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 39,
+ "Position": {
+ "X": 3.464101615137755,
+ "Y": 1.9999999999999998,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 40,
+ "Position": {
+ "X": 3.064177772475912,
+ "Y": 2.571150438746157,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 41,
+ "Position": {
+ "X": 2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 42,
+ "Position": {
+ "X": 2.0000000000000004,
+ "Y": 3.4641016151377544,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 43,
+ "Position": {
+ "X": 1.3680805733026753,
+ "Y": 3.7587704831436333,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 44,
+ "Position": {
+ "X": 0.6945927106677217,
+ "Y": 3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 45,
+ "Position": {
+ "X": 2.4492935982947064E-16,
+ "Y": 4,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 46,
+ "Position": {
+ "X": -0.6945927106677212,
+ "Y": 3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 47,
+ "Position": {
+ "X": -1.368080573302674,
+ "Y": 3.7587704831436337,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 48,
+ "Position": {
+ "X": -1.9999999999999991,
+ "Y": 3.464101615137755,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 49,
+ "Position": {
+ "X": -2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 50,
+ "Position": {
+ "X": -3.0641777724759116,
+ "Y": 2.571150438746158,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 51,
+ "Position": {
+ "X": -3.464101615137754,
+ "Y": 2.0000000000000013,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 52,
+ "Position": {
+ "X": -3.7587704831436333,
+ "Y": 1.3680805733026755,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 53,
+ "Position": {
+ "X": -3.939231012048832,
+ "Y": 0.6945927106677211,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 54,
+ "Position": {
+ "X": -4,
+ "Y": 4.898587196589413E-16,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 55,
+ "Position": {
+ "X": -3.9392310120488325,
+ "Y": -0.6945927106677201,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 56,
+ "Position": {
+ "X": -3.7587704831436337,
+ "Y": -1.3680805733026746,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 57,
+ "Position": {
+ "X": -3.4641016151377544,
+ "Y": -2.0000000000000004,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 58,
+ "Position": {
+ "X": -3.0641777724759134,
+ "Y": -2.5711504387461557,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 59,
+ "Position": {
+ "X": -2.571150438746158,
+ "Y": -3.0641777724759116,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 60,
+ "Position": {
+ "X": -2.0000000000000018,
+ "Y": -3.464101615137754,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 61,
+ "Position": {
+ "X": -1.3680805733026742,
+ "Y": -3.7587704831436337,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 62,
+ "Position": {
+ "X": -0.6945927106677213,
+ "Y": -3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 63,
+ "Position": {
+ "X": -7.347880794884119E-16,
+ "Y": -4,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 64,
+ "Position": {
+ "X": 0.6945927106677199,
+ "Y": -3.9392310120488325,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 65,
+ "Position": {
+ "X": 1.368080573302676,
+ "Y": -3.7587704831436333,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 66,
+ "Position": {
+ "X": 1.9999999999999973,
+ "Y": -3.464101615137756,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 67,
+ "Position": {
+ "X": 2.571150438746157,
+ "Y": -3.0641777724759125,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 68,
+ "Position": {
+ "X": 3.064177772475911,
+ "Y": -2.5711504387461583,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 69,
+ "Position": {
+ "X": 3.4641016151377553,
+ "Y": -1.9999999999999987,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 70,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": -1.3680805733026744,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 71,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": -0.6945927106677215,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 72,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 73,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 74,
+ "Position": {
+ "X": -27.77777777777778,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 75,
+ "Position": {
+ "X": -16.666666666666664,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 76,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 77,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 78,
+ "Position": {
+ "X": 16.66666666666667,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 79,
+ "Position": {
+ "X": 27.77777777777777,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 80,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 81,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 82,
+ "Position": {
+ "X": 50,
+ "Y": -23.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 83,
+ "Position": {
+ "X": 50,
+ "Y": -16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 84,
+ "Position": {
+ "X": 50,
+ "Y": -10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 85,
+ "Position": {
+ "X": 50,
+ "Y": -3.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 86,
+ "Position": {
+ "X": 50,
+ "Y": 3.3333333333333357,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 87,
+ "Position": {
+ "X": 50,
+ "Y": 10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 88,
+ "Position": {
+ "X": 50,
+ "Y": 16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 89,
+ "Position": {
+ "X": 50,
+ "Y": 23.333333333333336,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 90,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 91,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 92,
+ "Position": {
+ "X": 27.77777777777778,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 93,
+ "Position": {
+ "X": 16.666666666666664,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 94,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 95,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 96,
+ "Position": {
+ "X": -16.66666666666667,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 97,
+ "Position": {
+ "X": -27.77777777777777,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 98,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 99,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 100,
+ "Position": {
+ "X": -50,
+ "Y": 23.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 101,
+ "Position": {
+ "X": -50,
+ "Y": 16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 102,
+ "Position": {
+ "X": -50,
+ "Y": 10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 103,
+ "Position": {
+ "X": -50,
+ "Y": 3.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 104,
+ "Position": {
+ "X": -50,
+ "Y": -3.3333333333333357,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 105,
+ "Position": {
+ "X": -50,
+ "Y": -10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 106,
+ "Position": {
+ "X": -50,
+ "Y": -16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 107,
+ "Position": {
+ "X": -50,
+ "Y": -23.333333333333336,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 108,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 109,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": 0.6945927106677213,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 110,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": 1.3680805733026749,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 111,
+ "Position": {
+ "X": 3.464101615137755,
+ "Y": 1.9999999999999998,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 112,
+ "Position": {
+ "X": 3.064177772475912,
+ "Y": 2.571150438746157,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 113,
+ "Position": {
+ "X": 2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 114,
+ "Position": {
+ "X": 2.0000000000000004,
+ "Y": 3.4641016151377544,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 115,
+ "Position": {
+ "X": 1.3680805733026753,
+ "Y": 3.7587704831436333,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 116,
+ "Position": {
+ "X": 0.6945927106677217,
+ "Y": 3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 117,
+ "Position": {
+ "X": 2.4492935982947064E-16,
+ "Y": 4,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 118,
+ "Position": {
+ "X": -0.6945927106677212,
+ "Y": 3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 119,
+ "Position": {
+ "X": -1.368080573302674,
+ "Y": 3.7587704831436337,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 120,
+ "Position": {
+ "X": -1.9999999999999991,
+ "Y": 3.464101615137755,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 121,
+ "Position": {
+ "X": -2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 122,
+ "Position": {
+ "X": -3.0641777724759116,
+ "Y": 2.571150438746158,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 123,
+ "Position": {
+ "X": -3.464101615137754,
+ "Y": 2.0000000000000013,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 124,
+ "Position": {
+ "X": -3.7587704831436333,
+ "Y": 1.3680805733026755,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 125,
+ "Position": {
+ "X": -3.939231012048832,
+ "Y": 0.6945927106677211,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 126,
+ "Position": {
+ "X": -4,
+ "Y": 4.898587196589413E-16,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 127,
+ "Position": {
+ "X": -3.9392310120488325,
+ "Y": -0.6945927106677201,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 128,
+ "Position": {
+ "X": -3.7587704831436337,
+ "Y": -1.3680805733026746,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 129,
+ "Position": {
+ "X": -3.4641016151377544,
+ "Y": -2.0000000000000004,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 130,
+ "Position": {
+ "X": -3.0641777724759134,
+ "Y": -2.5711504387461557,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 131,
+ "Position": {
+ "X": -2.571150438746158,
+ "Y": -3.0641777724759116,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 132,
+ "Position": {
+ "X": -2.0000000000000018,
+ "Y": -3.464101615137754,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 133,
+ "Position": {
+ "X": -1.3680805733026742,
+ "Y": -3.7587704831436337,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 134,
+ "Position": {
+ "X": -0.6945927106677213,
+ "Y": -3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 135,
+ "Position": {
+ "X": -7.347880794884119E-16,
+ "Y": -4,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 136,
+ "Position": {
+ "X": 0.6945927106677199,
+ "Y": -3.9392310120488325,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 137,
+ "Position": {
+ "X": 1.368080573302676,
+ "Y": -3.7587704831436333,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 138,
+ "Position": {
+ "X": 1.9999999999999973,
+ "Y": -3.464101615137756,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 139,
+ "Position": {
+ "X": 2.571150438746157,
+ "Y": -3.0641777724759125,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 140,
+ "Position": {
+ "X": 3.064177772475911,
+ "Y": -2.5711504387461583,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 141,
+ "Position": {
+ "X": 3.4641016151377553,
+ "Y": -1.9999999999999987,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 142,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": -1.3680805733026744,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 143,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": -0.6945927106677215,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 144,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 145,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 146,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 147,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 148,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 149,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 150,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 151,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 152,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 153,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 154,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 155,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 156,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 157,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 158,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 159,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 160,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 161,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 162,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 163,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 164,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 165,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 166,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 167,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 168,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 169,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 170,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 171,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 172,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 173,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 174,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 175,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 176,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 177,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 178,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 179,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 180,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 181,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 182,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 183,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 184,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 185,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 186,
+ "Position": {
+ "X": -21.838506663485546,
+ "Y": -10.876023596581028,
+ "Z": -6
+ },
+ "U": -21.838506663485546,
+ "V": 10.876023596581028
+ },
+ {
+ "Id": 187,
+ "Position": {
+ "X": -22.078460969082652,
+ "Y": -7.866666666666666,
+ "Z": -6
+ },
+ "U": -22.078460969082652,
+ "V": 7.866666666666666
+ },
+ {
+ "Id": 188,
+ "Position": {
+ "X": -22.25526228988618,
+ "Y": -4.820848343981605,
+ "Z": -6
+ },
+ "U": -22.25526228988618,
+ "V": 4.820848343981605
+ },
+ {
+ "Id": 189,
+ "Position": {
+ "X": -22.363538607229298,
+ "Y": -1.7500889597339664,
+ "Z": -6
+ },
+ "U": -22.363538607229298,
+ "V": 1.7500889597339664
+ },
+ {
+ "Id": 190,
+ "Position": {
+ "X": -22.4,
+ "Y": 1.3333333333333333,
+ "Z": -6
+ },
+ "U": -22.4,
+ "V": -1.3333333333333333
+ },
+ {
+ "Id": 191,
+ "Position": {
+ "X": -22.363538607229298,
+ "Y": 4.416755626400633,
+ "Z": -6
+ },
+ "U": -22.363538607229298,
+ "V": -4.416755626400633
+ },
+ {
+ "Id": 192,
+ "Position": {
+ "X": -22.25526228988618,
+ "Y": 7.487515010648272,
+ "Z": -6
+ },
+ "U": -22.25526228988618,
+ "V": -7.487515010648272
+ },
+ {
+ "Id": 193,
+ "Position": {
+ "X": -22.078460969082652,
+ "Y": 10.533333333333335,
+ "Z": -6
+ },
+ "U": -22.078460969082652,
+ "V": -10.533333333333335
+ },
+ {
+ "Id": 194,
+ "Position": {
+ "X": -21.838506663485546,
+ "Y": 13.542690263247694,
+ "Z": -6
+ },
+ "U": -21.838506663485546,
+ "V": -13.542690263247694
+ },
+ {
+ "Id": 195,
+ "Position": {
+ "X": -17.09824581880325,
+ "Y": 13.838506663485546,
+ "Z": -6
+ },
+ "U": -17.09824581880325,
+ "V": -13.838506663485546
+ },
+ {
+ "Id": 196,
+ "Position": {
+ "X": -12.311111111111108,
+ "Y": 14.078460969082652,
+ "Z": -6
+ },
+ "U": -12.311111111111108,
+ "V": -14.078460969082652
+ },
+ {
+ "Id": 197,
+ "Position": {
+ "X": -7.4875150106482735,
+ "Y": 14.25526228988618,
+ "Z": -6
+ },
+ "U": -7.4875150106482735,
+ "V": -14.25526228988618
+ },
+ {
+ "Id": 198,
+ "Position": {
+ "X": -2.6389778486228557,
+ "Y": 14.363538607229298,
+ "Z": -6
+ },
+ "U": -2.6389778486228557,
+ "V": -14.363538607229298
+ },
+ {
+ "Id": 199,
+ "Position": {
+ "X": 2.2222222222222228,
+ "Y": 14.4,
+ "Z": -6
+ },
+ "U": 2.2222222222222228,
+ "V": -14.4
+ },
+ {
+ "Id": 200,
+ "Position": {
+ "X": 7.083422293067299,
+ "Y": 14.363538607229298,
+ "Z": -6
+ },
+ "U": 7.083422293067299,
+ "V": -14.363538607229298
+ },
+ {
+ "Id": 201,
+ "Position": {
+ "X": 11.931959455092718,
+ "Y": 14.25526228988618,
+ "Z": -6
+ },
+ "U": 11.931959455092718,
+ "V": -14.25526228988618
+ },
+ {
+ "Id": 202,
+ "Position": {
+ "X": 16.755555555555556,
+ "Y": 14.078460969082652,
+ "Z": -6
+ },
+ "U": 16.755555555555556,
+ "V": -14.078460969082652
+ },
+ {
+ "Id": 203,
+ "Position": {
+ "X": 21.542690263247696,
+ "Y": 13.838506663485546,
+ "Z": -6
+ },
+ "U": 21.542690263247696,
+ "V": -13.838506663485546
+ },
+ {
+ "Id": 204,
+ "Position": {
+ "X": 21.838506663485546,
+ "Y": 10.876023596581028,
+ "Z": -6
+ },
+ "U": 21.838506663485546,
+ "V": -10.876023596581028
+ },
+ {
+ "Id": 205,
+ "Position": {
+ "X": 22.078460969082652,
+ "Y": 7.866666666666665,
+ "Z": -6
+ },
+ "U": 22.078460969082652,
+ "V": -7.866666666666665
+ },
+ {
+ "Id": 206,
+ "Position": {
+ "X": 22.25526228988618,
+ "Y": 4.820848343981605,
+ "Z": -6
+ },
+ "U": 22.25526228988618,
+ "V": -4.820848343981605
+ },
+ {
+ "Id": 207,
+ "Position": {
+ "X": 22.363538607229298,
+ "Y": 1.7500889597339673,
+ "Z": -6
+ },
+ "U": 22.363538607229298,
+ "V": -1.7500889597339673
+ },
+ {
+ "Id": 208,
+ "Position": {
+ "X": 22.4,
+ "Y": -1.333333333333333,
+ "Z": -6
+ },
+ "U": 22.4,
+ "V": 1.333333333333333
+ },
+ {
+ "Id": 209,
+ "Position": {
+ "X": 22.363538607229298,
+ "Y": -4.416755626400633,
+ "Z": -6
+ },
+ "U": 22.363538607229298,
+ "V": 4.416755626400633
+ },
+ {
+ "Id": 210,
+ "Position": {
+ "X": 22.25526228988618,
+ "Y": -7.487515010648271,
+ "Z": -6
+ },
+ "U": 22.25526228988618,
+ "V": 7.487515010648271
+ },
+ {
+ "Id": 211,
+ "Position": {
+ "X": 22.078460969082652,
+ "Y": -10.533333333333333,
+ "Z": -6
+ },
+ "U": 22.078460969082652,
+ "V": 10.533333333333333
+ },
+ {
+ "Id": 212,
+ "Position": {
+ "X": 21.838506663485546,
+ "Y": -13.542690263247694,
+ "Z": -6
+ },
+ "U": 21.838506663485546,
+ "V": 13.542690263247694
+ },
+ {
+ "Id": 213,
+ "Position": {
+ "X": 17.09824581880325,
+ "Y": -13.838506663485548,
+ "Z": -6
+ },
+ "U": 17.09824581880325,
+ "V": 13.838506663485548
+ },
+ {
+ "Id": 214,
+ "Position": {
+ "X": 12.311111111111106,
+ "Y": -14.078460969082654,
+ "Z": -6
+ },
+ "U": 12.311111111111106,
+ "V": 14.078460969082654
+ },
+ {
+ "Id": 215,
+ "Position": {
+ "X": 7.487515010648274,
+ "Y": -14.25526228988618,
+ "Z": -6
+ },
+ "U": 7.487515010648274,
+ "V": 14.25526228988618
+ },
+ {
+ "Id": 216,
+ "Position": {
+ "X": 2.638977848622855,
+ "Y": -14.3635386072293,
+ "Z": -6
+ },
+ "U": 2.638977848622855,
+ "V": 14.3635386072293
+ },
+ {
+ "Id": 217,
+ "Position": {
+ "X": -2.222222222222223,
+ "Y": -14.4,
+ "Z": -6
+ },
+ "U": -2.222222222222223,
+ "V": 14.4
+ },
+ {
+ "Id": 218,
+ "Position": {
+ "X": -7.083422293067299,
+ "Y": -14.363538607229298,
+ "Z": -6
+ },
+ "U": -7.083422293067299,
+ "V": 14.363538607229298
+ },
+ {
+ "Id": 219,
+ "Position": {
+ "X": -11.931959455092716,
+ "Y": -14.25526228988618,
+ "Z": -6
+ },
+ "U": -11.931959455092716,
+ "V": 14.25526228988618
+ },
+ {
+ "Id": 220,
+ "Position": {
+ "X": -16.755555555555556,
+ "Y": -14.078460969082652,
+ "Z": -6
+ },
+ "U": -16.755555555555556,
+ "V": 14.078460969082652
+ },
+ {
+ "Id": 221,
+ "Position": {
+ "X": -21.542690263247696,
+ "Y": -13.838506663485546,
+ "Z": -6
+ },
+ "U": -21.542690263247696,
+ "V": 13.838506663485546
+ },
+ {
+ "Id": 222,
+ "Position": {
+ "X": -21.838506663485546,
+ "Y": -13.542690263247692,
+ "Z": 6
+ },
+ "U": -21.838506663485546,
+ "V": -13.542690263247692
+ },
+ {
+ "Id": 223,
+ "Position": {
+ "X": -17.09824581880325,
+ "Y": -13.838506663485546,
+ "Z": 6
+ },
+ "U": -17.09824581880325,
+ "V": -13.838506663485546
+ },
+ {
+ "Id": 224,
+ "Position": {
+ "X": -12.311111111111114,
+ "Y": -14.078460969082652,
+ "Z": 6
+ },
+ "U": -12.311111111111114,
+ "V": -14.078460969082652
+ },
+ {
+ "Id": 225,
+ "Position": {
+ "X": -7.487515010648271,
+ "Y": -14.25526228988618,
+ "Z": 6
+ },
+ "U": -7.487515010648271,
+ "V": -14.25526228988618
+ },
+ {
+ "Id": 226,
+ "Position": {
+ "X": -2.6389778486228557,
+ "Y": -14.363538607229298,
+ "Z": 6
+ },
+ "U": -2.6389778486228557,
+ "V": -14.363538607229298
+ },
+ {
+ "Id": 227,
+ "Position": {
+ "X": 2.2222222222222223,
+ "Y": -14.4,
+ "Z": 6
+ },
+ "U": 2.2222222222222223,
+ "V": -14.4
+ },
+ {
+ "Id": 228,
+ "Position": {
+ "X": 7.083422293067301,
+ "Y": -14.3635386072293,
+ "Z": 6
+ },
+ "U": 7.083422293067301,
+ "V": -14.3635386072293
+ },
+ {
+ "Id": 229,
+ "Position": {
+ "X": 11.931959455092715,
+ "Y": -14.25526228988618,
+ "Z": 6
+ },
+ "U": 11.931959455092715,
+ "V": -14.25526228988618
+ },
+ {
+ "Id": 230,
+ "Position": {
+ "X": 16.755555555555553,
+ "Y": -14.078460969082654,
+ "Z": 6
+ },
+ "U": 16.755555555555553,
+ "V": -14.078460969082654
+ },
+ {
+ "Id": 231,
+ "Position": {
+ "X": 21.542690263247692,
+ "Y": -13.838506663485548,
+ "Z": 6
+ },
+ "U": 21.542690263247692,
+ "V": -13.838506663485548
+ },
+ {
+ "Id": 232,
+ "Position": {
+ "X": 21.838506663485546,
+ "Y": -10.876023596581028,
+ "Z": 6
+ },
+ "U": 21.838506663485546,
+ "V": -10.876023596581028
+ },
+ {
+ "Id": 233,
+ "Position": {
+ "X": 22.078460969082652,
+ "Y": -7.866666666666665,
+ "Z": 6
+ },
+ "U": 22.078460969082652,
+ "V": -7.866666666666665
+ },
+ {
+ "Id": 234,
+ "Position": {
+ "X": 22.25526228988618,
+ "Y": -4.820848343981605,
+ "Z": 6
+ },
+ "U": 22.25526228988618,
+ "V": -4.820848343981605
+ },
+ {
+ "Id": 235,
+ "Position": {
+ "X": 22.363538607229298,
+ "Y": -1.750088959733966,
+ "Z": 6
+ },
+ "U": 22.363538607229298,
+ "V": -1.750088959733966
+ },
+ {
+ "Id": 236,
+ "Position": {
+ "X": 22.4,
+ "Y": 1.3333333333333344,
+ "Z": 6
+ },
+ "U": 22.4,
+ "V": 1.3333333333333344
+ },
+ {
+ "Id": 237,
+ "Position": {
+ "X": 22.363538607229298,
+ "Y": 4.416755626400633,
+ "Z": 6
+ },
+ "U": 22.363538607229298,
+ "V": 4.416755626400633
+ },
+ {
+ "Id": 238,
+ "Position": {
+ "X": 22.25526228988618,
+ "Y": 7.487515010648271,
+ "Z": 6
+ },
+ "U": 22.25526228988618,
+ "V": 7.487515010648271
+ },
+ {
+ "Id": 239,
+ "Position": {
+ "X": 22.078460969082652,
+ "Y": 10.533333333333333,
+ "Z": 6
+ },
+ "U": 22.078460969082652,
+ "V": 10.533333333333333
+ },
+ {
+ "Id": 240,
+ "Position": {
+ "X": 21.838506663485546,
+ "Y": 13.542690263247694,
+ "Z": 6
+ },
+ "U": 21.838506663485546,
+ "V": 13.542690263247694
+ },
+ {
+ "Id": 241,
+ "Position": {
+ "X": 17.09824581880325,
+ "Y": 13.838506663485546,
+ "Z": 6
+ },
+ "U": 17.09824581880325,
+ "V": 13.838506663485546
+ },
+ {
+ "Id": 242,
+ "Position": {
+ "X": 12.311111111111114,
+ "Y": 14.078460969082652,
+ "Z": 6
+ },
+ "U": 12.311111111111114,
+ "V": 14.078460969082652
+ },
+ {
+ "Id": 243,
+ "Position": {
+ "X": 7.487515010648271,
+ "Y": 14.25526228988618,
+ "Z": 6
+ },
+ "U": 7.487515010648271,
+ "V": 14.25526228988618
+ },
+ {
+ "Id": 244,
+ "Position": {
+ "X": 2.6389778486228557,
+ "Y": 14.363538607229298,
+ "Z": 6
+ },
+ "U": 2.6389778486228557,
+ "V": 14.363538607229298
+ },
+ {
+ "Id": 245,
+ "Position": {
+ "X": -2.2222222222222228,
+ "Y": 14.4,
+ "Z": 6
+ },
+ "U": -2.2222222222222228,
+ "V": 14.4
+ },
+ {
+ "Id": 246,
+ "Position": {
+ "X": -7.083422293067302,
+ "Y": 14.363538607229298,
+ "Z": 6
+ },
+ "U": -7.083422293067302,
+ "V": 14.363538607229298
+ },
+ {
+ "Id": 247,
+ "Position": {
+ "X": -11.931959455092713,
+ "Y": 14.25526228988618,
+ "Z": 6
+ },
+ "U": -11.931959455092713,
+ "V": 14.25526228988618
+ },
+ {
+ "Id": 248,
+ "Position": {
+ "X": -16.755555555555556,
+ "Y": 14.078460969082652,
+ "Z": 6
+ },
+ "U": -16.755555555555556,
+ "V": 14.078460969082652
+ },
+ {
+ "Id": 249,
+ "Position": {
+ "X": -21.542690263247696,
+ "Y": 13.838506663485546,
+ "Z": 6
+ },
+ "U": -21.542690263247696,
+ "V": 13.838506663485546
+ },
+ {
+ "Id": 250,
+ "Position": {
+ "X": -21.838506663485546,
+ "Y": 10.876023596581028,
+ "Z": 6
+ },
+ "U": -21.838506663485546,
+ "V": 10.876023596581028
+ },
+ {
+ "Id": 251,
+ "Position": {
+ "X": -22.078460969082652,
+ "Y": 7.866666666666667,
+ "Z": 6
+ },
+ "U": -22.078460969082652,
+ "V": 7.866666666666667
+ },
+ {
+ "Id": 252,
+ "Position": {
+ "X": -22.25526228988618,
+ "Y": 4.820848343981606,
+ "Z": 6
+ },
+ "U": -22.25526228988618,
+ "V": 4.820848343981606
+ },
+ {
+ "Id": 253,
+ "Position": {
+ "X": -22.363538607229298,
+ "Y": 1.7500889597339657,
+ "Z": 6
+ },
+ "U": -22.363538607229298,
+ "V": 1.7500889597339657
+ },
+ {
+ "Id": 254,
+ "Position": {
+ "X": -22.4,
+ "Y": -1.3333333333333341,
+ "Z": 6
+ },
+ "U": -22.4,
+ "V": -1.3333333333333341
+ },
+ {
+ "Id": 255,
+ "Position": {
+ "X": -22.363538607229298,
+ "Y": -4.416755626400632,
+ "Z": 6
+ },
+ "U": -22.363538607229298,
+ "V": -4.416755626400632
+ },
+ {
+ "Id": 256,
+ "Position": {
+ "X": -22.25526228988618,
+ "Y": -7.487515010648271,
+ "Z": 6
+ },
+ "U": -22.25526228988618,
+ "V": -7.487515010648271
+ },
+ {
+ "Id": 257,
+ "Position": {
+ "X": -22.078460969082652,
+ "Y": -10.533333333333335,
+ "Z": 6
+ },
+ "U": -22.078460969082652,
+ "V": -10.533333333333335
+ }
+ ],
+ "Patches": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": 0,
+ "Y": 0,
+ "Z": -6
+ },
+ "Normal": {
+ "X": 0,
+ "Y": 0,
+ "Z": -1
+ },
+ "UAxis": {
+ "X": 1,
+ "Y": 0,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": 0,
+ "Y": -1,
+ "Z": 0
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 1,
+ "IsValid": true
+ },
+ {
+ "Value": 2,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 35,
+ 34,
+ 187,
+ 186
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 186,
+ 187,
+ 57,
+ 58
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 34,
+ 33,
+ 188,
+ 187
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 187,
+ 188,
+ 56,
+ 57
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 33,
+ 32,
+ 189,
+ 188
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 188,
+ 189,
+ 55,
+ 56
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 32,
+ 31,
+ 190,
+ 189
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 189,
+ 190,
+ 54,
+ 55
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 31,
+ 30,
+ 191,
+ 190
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 190,
+ 191,
+ 53,
+ 54
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 30,
+ 29,
+ 192,
+ 191
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 191,
+ 192,
+ 52,
+ 53
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 29,
+ 28,
+ 193,
+ 192
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 192,
+ 193,
+ 51,
+ 52
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 28,
+ 27,
+ 194,
+ 193
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 193,
+ 194,
+ 50,
+ 51
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 27,
+ 26,
+ 195,
+ 194
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 194,
+ 195,
+ 49,
+ 50
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 26,
+ 25,
+ 196,
+ 195
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 195,
+ 196,
+ 48,
+ 49
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 25,
+ 24,
+ 197,
+ 196
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 196,
+ 197,
+ 47,
+ 48
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 24,
+ 23,
+ 198,
+ 197
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 197,
+ 198,
+ 46,
+ 47
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 23,
+ 22,
+ 199,
+ 198
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 198,
+ 199,
+ 45,
+ 46
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 22,
+ 21,
+ 200,
+ 199
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 199,
+ 200,
+ 44,
+ 45
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 21,
+ 20,
+ 201,
+ 200
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 200,
+ 201,
+ 43,
+ 44
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 20,
+ 19,
+ 202,
+ 201
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 201,
+ 202,
+ 42,
+ 43
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 19,
+ 18,
+ 203,
+ 202
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 202,
+ 203,
+ 41,
+ 42
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 18,
+ 17,
+ 204,
+ 203
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 203,
+ 204,
+ 40,
+ 41
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 17,
+ 16,
+ 205,
+ 204
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 204,
+ 205,
+ 39,
+ 40
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 16,
+ 15,
+ 206,
+ 205
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 205,
+ 206,
+ 38,
+ 39
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 15,
+ 14,
+ 207,
+ 206
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 206,
+ 207,
+ 37,
+ 38
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 14,
+ 13,
+ 208,
+ 207
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 207,
+ 208,
+ 36,
+ 37
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 13,
+ 12,
+ 209,
+ 208
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 208,
+ 209,
+ 71,
+ 36
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 12,
+ 11,
+ 210,
+ 209
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 209,
+ 210,
+ 70,
+ 71
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 11,
+ 10,
+ 211,
+ 210
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 210,
+ 211,
+ 69,
+ 70
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 10,
+ 9,
+ 212,
+ 211
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 211,
+ 212,
+ 68,
+ 69
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 9,
+ 8,
+ 213,
+ 212
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 212,
+ 213,
+ 67,
+ 68
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 8,
+ 7,
+ 214,
+ 213
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 213,
+ 214,
+ 66,
+ 67
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 7,
+ 6,
+ 215,
+ 214
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 214,
+ 215,
+ 65,
+ 66
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 6,
+ 5,
+ 216,
+ 215
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 215,
+ 216,
+ 64,
+ 65
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 5,
+ 4,
+ 217,
+ 216
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 216,
+ 217,
+ 63,
+ 64
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 4,
+ 3,
+ 218,
+ 217
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 217,
+ 218,
+ 62,
+ 63
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 3,
+ 2,
+ 219,
+ 218
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 218,
+ 219,
+ 61,
+ 62
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 2,
+ 1,
+ 220,
+ 219
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 219,
+ 220,
+ 60,
+ 61
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 1,
+ 0,
+ 221,
+ 220
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 220,
+ 221,
+ 59,
+ 60
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 0,
+ 35,
+ 186,
+ 221
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 221,
+ 186,
+ 58,
+ 59
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 1,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": -6000.000000000002
+ },
+ {
+ "LoopId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 36,
+ 71,
+ 70,
+ 69,
+ 68,
+ 67,
+ 66,
+ 65,
+ 64,
+ 63,
+ 62,
+ 61,
+ 60,
+ 59,
+ 58,
+ 57,
+ 56,
+ 55,
+ 54,
+ 53,
+ 52,
+ 51,
+ 50,
+ 49,
+ 48,
+ 47,
+ 46,
+ 45,
+ 44,
+ 43,
+ 42,
+ 41,
+ 40,
+ 39,
+ 38,
+ 37
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": true,
+ "SignedArea": 50.01067516807591
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": 0,
+ "Y": 0,
+ "Z": 6
+ },
+ "Normal": {
+ "X": 0,
+ "Y": 0,
+ "Z": 1
+ },
+ "UAxis": {
+ "X": 1,
+ "Y": 0,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": 0,
+ "Y": 1,
+ "Z": 0
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 3,
+ "IsValid": true
+ },
+ {
+ "Value": 4,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 72,
+ 73,
+ 223,
+ 222
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 222,
+ 223,
+ 131,
+ 130
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 73,
+ 74,
+ 224,
+ 223
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 223,
+ 224,
+ 132,
+ 131
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 74,
+ 75,
+ 225,
+ 224
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 224,
+ 225,
+ 133,
+ 132
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 75,
+ 76,
+ 226,
+ 225
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 225,
+ 226,
+ 134,
+ 133
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 76,
+ 77,
+ 227,
+ 226
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 226,
+ 227,
+ 135,
+ 134
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 77,
+ 78,
+ 228,
+ 227
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 227,
+ 228,
+ 136,
+ 135
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 78,
+ 79,
+ 229,
+ 228
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 228,
+ 229,
+ 137,
+ 136
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 79,
+ 80,
+ 230,
+ 229
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 229,
+ 230,
+ 138,
+ 137
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 80,
+ 81,
+ 231,
+ 230
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 230,
+ 231,
+ 139,
+ 138
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 81,
+ 82,
+ 232,
+ 231
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 231,
+ 232,
+ 140,
+ 139
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 82,
+ 83,
+ 233,
+ 232
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 232,
+ 233,
+ 141,
+ 140
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 83,
+ 84,
+ 234,
+ 233
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 233,
+ 234,
+ 142,
+ 141
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 84,
+ 85,
+ 235,
+ 234
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 234,
+ 235,
+ 143,
+ 142
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 85,
+ 86,
+ 236,
+ 235
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 235,
+ 236,
+ 108,
+ 143
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 86,
+ 87,
+ 237,
+ 236
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 236,
+ 237,
+ 109,
+ 108
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 87,
+ 88,
+ 238,
+ 237
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 237,
+ 238,
+ 110,
+ 109
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 88,
+ 89,
+ 239,
+ 238
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 238,
+ 239,
+ 111,
+ 110
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 89,
+ 90,
+ 240,
+ 239
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 239,
+ 240,
+ 112,
+ 111
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 90,
+ 91,
+ 241,
+ 240
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 240,
+ 241,
+ 113,
+ 112
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 91,
+ 92,
+ 242,
+ 241
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 241,
+ 242,
+ 114,
+ 113
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 92,
+ 93,
+ 243,
+ 242
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 242,
+ 243,
+ 115,
+ 114
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 93,
+ 94,
+ 244,
+ 243
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 243,
+ 244,
+ 116,
+ 115
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 94,
+ 95,
+ 245,
+ 244
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 244,
+ 245,
+ 117,
+ 116
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 95,
+ 96,
+ 246,
+ 245
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 245,
+ 246,
+ 118,
+ 117
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 96,
+ 97,
+ 247,
+ 246
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 246,
+ 247,
+ 119,
+ 118
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 97,
+ 98,
+ 248,
+ 247
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 247,
+ 248,
+ 120,
+ 119
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 98,
+ 99,
+ 249,
+ 248
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 248,
+ 249,
+ 121,
+ 120
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 99,
+ 100,
+ 250,
+ 249
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 249,
+ 250,
+ 122,
+ 121
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 100,
+ 101,
+ 251,
+ 250
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 250,
+ 251,
+ 123,
+ 122
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 101,
+ 102,
+ 252,
+ 251
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 251,
+ 252,
+ 124,
+ 123
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 102,
+ 103,
+ 253,
+ 252
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 252,
+ 253,
+ 125,
+ 124
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 103,
+ 104,
+ 254,
+ 253
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 253,
+ 254,
+ 126,
+ 125
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 104,
+ 105,
+ 255,
+ 254
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 254,
+ 255,
+ 127,
+ 126
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 105,
+ 106,
+ 256,
+ 255
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 255,
+ 256,
+ 128,
+ 127
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 106,
+ 107,
+ 257,
+ 256
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 256,
+ 257,
+ 129,
+ 128
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 107,
+ 72,
+ 222,
+ 257
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 257,
+ 222,
+ 130,
+ 129
+ ],
+ "RefinementLevel": 1,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 1,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 72,
+ 73,
+ 74,
+ 75,
+ 76,
+ 77,
+ 78,
+ 79,
+ 80,
+ 81,
+ 82,
+ 83,
+ 84,
+ 85,
+ 86,
+ 87,
+ 88,
+ 89,
+ 90,
+ 91,
+ 92,
+ 93,
+ 94,
+ 95,
+ 96,
+ 97,
+ 98,
+ 99,
+ 100,
+ 101,
+ 102,
+ 103,
+ 104,
+ 105,
+ 106,
+ 107
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": 6000.000000000002
+ },
+ {
+ "LoopId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 108,
+ 109,
+ 110,
+ 111,
+ 112,
+ 113,
+ 114,
+ 115,
+ 116,
+ 117,
+ 118,
+ 119,
+ 120,
+ 121,
+ 122,
+ 123,
+ 124,
+ 125,
+ 126,
+ 127,
+ 128,
+ 129,
+ 130,
+ 131,
+ 132,
+ 133,
+ 134,
+ 135,
+ 136,
+ 137,
+ 138,
+ 139,
+ 140,
+ 141,
+ 142,
+ 143
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": true,
+ "SignedArea": 50.01067516807593
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": 0,
+ "Y": -30,
+ "Z": 0
+ },
+ "Normal": {
+ "X": 0,
+ "Y": -1,
+ "Z": 0
+ },
+ "UAxis": {
+ "X": 1,
+ "Y": 0,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": -0,
+ "Y": 0,
+ "Z": 1
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 5,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 2,
+ "VertexIds": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 144,
+ 145,
+ 146,
+ 147,
+ 148,
+ 149,
+ 150,
+ 151,
+ 81,
+ 80,
+ 79,
+ 78,
+ 77,
+ 76,
+ 75,
+ 74,
+ 73,
+ 72,
+ 159,
+ 158,
+ 157,
+ 156,
+ 155,
+ 154,
+ 153,
+ 152
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 0,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 144,
+ 145,
+ 146,
+ 147,
+ 148,
+ 149,
+ 150,
+ 151,
+ 81,
+ 80,
+ 79,
+ 78,
+ 77,
+ 76,
+ 75,
+ 74,
+ 73,
+ 72,
+ 159,
+ 158,
+ 157,
+ 156,
+ 155,
+ 154,
+ 153,
+ 152
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": 1200
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": 50,
+ "Y": 0,
+ "Z": 0
+ },
+ "Normal": {
+ "X": 1,
+ "Y": 0,
+ "Z": 0
+ },
+ "UAxis": {
+ "X": 0,
+ "Y": 1,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": 0,
+ "Y": 0,
+ "Z": 1
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 6,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 2,
+ "VertexIds": [
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 160,
+ 161,
+ 162,
+ 163,
+ 164,
+ 165,
+ 166,
+ 167,
+ 90,
+ 89,
+ 88,
+ 87,
+ 86,
+ 85,
+ 84,
+ 83,
+ 82,
+ 81,
+ 151,
+ 150,
+ 149,
+ 148,
+ 147,
+ 146,
+ 145,
+ 144
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 0,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 160,
+ 161,
+ 162,
+ 163,
+ 164,
+ 165,
+ 166,
+ 167,
+ 90,
+ 89,
+ 88,
+ 87,
+ 86,
+ 85,
+ 84,
+ 83,
+ 82,
+ 81,
+ 151,
+ 150,
+ 149,
+ 148,
+ 147,
+ 146,
+ 145,
+ 144
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": 720
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": 0,
+ "Y": 30,
+ "Z": 0
+ },
+ "Normal": {
+ "X": 0,
+ "Y": 1,
+ "Z": 0
+ },
+ "UAxis": {
+ "X": -1,
+ "Y": 0,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": 0,
+ "Y": -0,
+ "Z": 1
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 7,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 2,
+ "VertexIds": [
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 168,
+ 169,
+ 170,
+ 171,
+ 172,
+ 173,
+ 174,
+ 175,
+ 99,
+ 98,
+ 97,
+ 96,
+ 95,
+ 94,
+ 93,
+ 92,
+ 91,
+ 90,
+ 167,
+ 166,
+ 165,
+ 164,
+ 163,
+ 162,
+ 161,
+ 160
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 0,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 168,
+ 169,
+ 170,
+ 171,
+ 172,
+ 173,
+ 174,
+ 175,
+ 99,
+ 98,
+ 97,
+ 96,
+ 95,
+ 94,
+ 93,
+ 92,
+ 91,
+ 90,
+ 167,
+ 166,
+ 165,
+ 164,
+ 163,
+ 162,
+ 161,
+ 160
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": 1200
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 0,
+ "Plane": {
+ "Origin": {
+ "X": -50,
+ "Y": 0,
+ "Z": 0
+ },
+ "Normal": {
+ "X": -1,
+ "Y": 0,
+ "Z": 0
+ },
+ "UAxis": {
+ "X": 0,
+ "Y": 1,
+ "Z": 0
+ },
+ "VAxis": {
+ "X": 0,
+ "Y": 0,
+ "Z": -1
+ }
+ },
+ "Cylinder": null
+ },
+ "TrimLoops": [
+ {
+ "Value": 8,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 2,
+ "VertexIds": [
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 0,
+ 152,
+ 153,
+ 154,
+ 155,
+ 156,
+ 157,
+ 158,
+ 159,
+ 72,
+ 107,
+ 106,
+ 105,
+ 104,
+ 103,
+ 102,
+ 101,
+ 100,
+ 99,
+ 175,
+ 174,
+ 173,
+ 172,
+ 171,
+ 170,
+ 169,
+ 168
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": false,
+ "MaxRefinementLevel": 0,
+ "TrimLoopData": [
+ {
+ "LoopId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "VertexIds": [
+ 27,
+ 28,
+ 29,
+ 30,
+ 31,
+ 32,
+ 33,
+ 34,
+ 35,
+ 0,
+ 152,
+ 153,
+ 154,
+ 155,
+ 156,
+ 157,
+ 158,
+ 159,
+ 72,
+ 107,
+ 106,
+ 105,
+ 104,
+ 103,
+ 102,
+ 101,
+ 100,
+ 99,
+ 175,
+ 174,
+ 173,
+ 172,
+ 171,
+ 170,
+ 169,
+ 168
+ ],
+ "LocalCoordinates": [
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {},
+ {}
+ ],
+ "IsInner": false,
+ "SignedArea": 720
+ }
+ ]
+ },
+ {
+ "FaceId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "Support": {
+ "Kind": 1,
+ "Plane": null,
+ "Cylinder": {
+ "Origin": {
+ "X": 0,
+ "Y": 0,
+ "Z": -6
+ },
+ "Axis": {
+ "X": 0,
+ "Y": 0,
+ "Z": 1
+ },
+ "Radius": 4,
+ "XAxis": {
+ "X": 1,
+ "Y": 0,
+ "Z": 0
+ },
+ "YAxis": {
+ "X": 0,
+ "Y": 1,
+ "Z": 0
+ }
+ }
+ },
+ "TrimLoops": [
+ {
+ "Value": 9,
+ "IsValid": true
+ }
+ ],
+ "Cells": [
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 36,
+ 37,
+ 109,
+ 108
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 37,
+ 38,
+ 110,
+ 109
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 38,
+ 39,
+ 111,
+ 110
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 39,
+ 40,
+ 112,
+ 111
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 40,
+ 41,
+ 113,
+ 112
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 41,
+ 42,
+ 114,
+ 113
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 42,
+ 43,
+ 115,
+ 114
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 43,
+ 44,
+ 116,
+ 115
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 44,
+ 45,
+ 117,
+ 116
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 45,
+ 46,
+ 118,
+ 117
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 46,
+ 47,
+ 119,
+ 118
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 47,
+ 48,
+ 120,
+ 119
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 48,
+ 49,
+ 121,
+ 120
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 49,
+ 50,
+ 122,
+ 121
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 50,
+ 51,
+ 123,
+ 122
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 51,
+ 52,
+ 124,
+ 123
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 52,
+ 53,
+ 125,
+ 124
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 53,
+ 54,
+ 126,
+ 125
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 54,
+ 55,
+ 127,
+ 126
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 55,
+ 56,
+ 128,
+ 127
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 56,
+ 57,
+ 129,
+ 128
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 57,
+ 58,
+ 130,
+ 129
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 58,
+ 59,
+ 131,
+ 130
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 59,
+ 60,
+ 132,
+ 131
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 60,
+ 61,
+ 133,
+ 132
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 61,
+ 62,
+ 134,
+ 133
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 62,
+ 63,
+ 135,
+ 134
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 63,
+ 64,
+ 136,
+ 135
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 64,
+ 65,
+ 137,
+ 136
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 65,
+ 66,
+ 138,
+ 137
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 66,
+ 67,
+ 139,
+ 138
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 67,
+ 68,
+ 140,
+ 139
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 68,
+ 69,
+ 141,
+ 140
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 69,
+ 70,
+ 142,
+ 141
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 70,
+ 71,
+ 143,
+ 142
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ },
+ {
+ "Kind": 0,
+ "VertexIds": [
+ 71,
+ 36,
+ 108,
+ 143
+ ],
+ "RefinementLevel": 0,
+ "ParentCellId": null
+ }
+ ],
+ "SameSense": true,
+ "SemanticOwner": null,
+ "HasPeriodicUSeam": true,
+ "MaxRefinementLevel": 0,
+ "TrimLoopData": null
+ }
+ ],
+ "SharedBoundaries": [
+ {
+ "EdgeId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 100
+ },
+ "Samples": [
+ {
+ "Id": 0,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 1,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 2,
+ "Position": {
+ "X": -27.77777777777778,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 3,
+ "Position": {
+ "X": -16.666666666666664,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 4,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 5,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 6,
+ "Position": {
+ "X": 16.66666666666667,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 7,
+ "Position": {
+ "X": 27.77777777777777,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 8,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 9,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 11,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 60
+ },
+ "Samples": [
+ {
+ "Id": 9,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 10,
+ "Position": {
+ "X": 50,
+ "Y": -23.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 11,
+ "Position": {
+ "X": 50,
+ "Y": -16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 12,
+ "Position": {
+ "X": 50,
+ "Y": -10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 13,
+ "Position": {
+ "X": 50,
+ "Y": -3.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 14,
+ "Position": {
+ "X": 50,
+ "Y": 3.3333333333333357,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 15,
+ "Position": {
+ "X": 50,
+ "Y": 10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 16,
+ "Position": {
+ "X": 50,
+ "Y": 16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 17,
+ "Position": {
+ "X": 50,
+ "Y": 23.333333333333336,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 18,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 15,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 100
+ },
+ "Samples": [
+ {
+ "Id": 18,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 19,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 20,
+ "Position": {
+ "X": 27.77777777777778,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 21,
+ "Position": {
+ "X": 16.666666666666664,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 22,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 23,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 24,
+ "Position": {
+ "X": -16.66666666666667,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 25,
+ "Position": {
+ "X": -27.77777777777777,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 26,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 27,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 19,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 60
+ },
+ "Samples": [
+ {
+ "Id": 27,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 28,
+ "Position": {
+ "X": -50,
+ "Y": 23.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 29,
+ "Position": {
+ "X": -50,
+ "Y": 16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 30,
+ "Position": {
+ "X": -50,
+ "Y": 10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 31,
+ "Position": {
+ "X": -50,
+ "Y": 3.333333333333332,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 32,
+ "Position": {
+ "X": -50,
+ "Y": -3.3333333333333357,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 33,
+ "Position": {
+ "X": -50,
+ "Y": -10,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 34,
+ "Position": {
+ "X": -50,
+ "Y": -16.666666666666664,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 35,
+ "Position": {
+ "X": -50,
+ "Y": -23.333333333333336,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 0,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 23,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "CurveKind": 1,
+ "Interval": {
+ "Start": 0,
+ "End": 6.283185307179586
+ },
+ "Samples": [
+ {
+ "Id": 36,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 37,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": 0.6945927106677213,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 38,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": 1.3680805733026749,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 39,
+ "Position": {
+ "X": 3.464101615137755,
+ "Y": 1.9999999999999998,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 40,
+ "Position": {
+ "X": 3.064177772475912,
+ "Y": 2.571150438746157,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 41,
+ "Position": {
+ "X": 2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 42,
+ "Position": {
+ "X": 2.0000000000000004,
+ "Y": 3.4641016151377544,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 43,
+ "Position": {
+ "X": 1.3680805733026753,
+ "Y": 3.7587704831436333,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 44,
+ "Position": {
+ "X": 0.6945927106677217,
+ "Y": 3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 45,
+ "Position": {
+ "X": 2.4492935982947064E-16,
+ "Y": 4,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 46,
+ "Position": {
+ "X": -0.6945927106677212,
+ "Y": 3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 47,
+ "Position": {
+ "X": -1.368080573302674,
+ "Y": 3.7587704831436337,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 48,
+ "Position": {
+ "X": -1.9999999999999991,
+ "Y": 3.464101615137755,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 49,
+ "Position": {
+ "X": -2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 50,
+ "Position": {
+ "X": -3.0641777724759116,
+ "Y": 2.571150438746158,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 51,
+ "Position": {
+ "X": -3.464101615137754,
+ "Y": 2.0000000000000013,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 52,
+ "Position": {
+ "X": -3.7587704831436333,
+ "Y": 1.3680805733026755,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 53,
+ "Position": {
+ "X": -3.939231012048832,
+ "Y": 0.6945927106677211,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 54,
+ "Position": {
+ "X": -4,
+ "Y": 4.898587196589413E-16,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 55,
+ "Position": {
+ "X": -3.9392310120488325,
+ "Y": -0.6945927106677201,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 56,
+ "Position": {
+ "X": -3.7587704831436337,
+ "Y": -1.3680805733026746,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 57,
+ "Position": {
+ "X": -3.4641016151377544,
+ "Y": -2.0000000000000004,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 58,
+ "Position": {
+ "X": -3.0641777724759134,
+ "Y": -2.5711504387461557,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 59,
+ "Position": {
+ "X": -2.571150438746158,
+ "Y": -3.0641777724759116,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 60,
+ "Position": {
+ "X": -2.0000000000000018,
+ "Y": -3.464101615137754,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 61,
+ "Position": {
+ "X": -1.3680805733026742,
+ "Y": -3.7587704831436337,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 62,
+ "Position": {
+ "X": -0.6945927106677213,
+ "Y": -3.939231012048832,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 63,
+ "Position": {
+ "X": -7.347880794884119E-16,
+ "Y": -4,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 64,
+ "Position": {
+ "X": 0.6945927106677199,
+ "Y": -3.9392310120488325,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 65,
+ "Position": {
+ "X": 1.368080573302676,
+ "Y": -3.7587704831436333,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 66,
+ "Position": {
+ "X": 1.9999999999999973,
+ "Y": -3.464101615137756,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 67,
+ "Position": {
+ "X": 2.571150438746157,
+ "Y": -3.0641777724759125,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 68,
+ "Position": {
+ "X": 3.064177772475911,
+ "Y": -2.5711504387461583,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 69,
+ "Position": {
+ "X": 3.4641016151377553,
+ "Y": -1.9999999999999987,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 70,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": -1.3680805733026744,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 71,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": -0.6945927106677215,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 36,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 1,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "IsReversed": true
+ },
+ {
+ "FaceId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 28,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": true,
+ "MaxChordalDeviation": 0.01522120763301782
+ },
+ {
+ "EdgeId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 100
+ },
+ "Samples": [
+ {
+ "Id": 72,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 73,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 74,
+ "Position": {
+ "X": -27.77777777777778,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 75,
+ "Position": {
+ "X": -16.666666666666664,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 76,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 77,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 78,
+ "Position": {
+ "X": 16.66666666666667,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 79,
+ "Position": {
+ "X": 27.77777777777777,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 80,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 81,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 13,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 60
+ },
+ "Samples": [
+ {
+ "Id": 81,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 82,
+ "Position": {
+ "X": 50,
+ "Y": -23.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 83,
+ "Position": {
+ "X": 50,
+ "Y": -16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 84,
+ "Position": {
+ "X": 50,
+ "Y": -10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 85,
+ "Position": {
+ "X": 50,
+ "Y": -3.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 86,
+ "Position": {
+ "X": 50,
+ "Y": 3.3333333333333357,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 87,
+ "Position": {
+ "X": 50,
+ "Y": 10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 88,
+ "Position": {
+ "X": 50,
+ "Y": 16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 89,
+ "Position": {
+ "X": 50,
+ "Y": 23.333333333333336,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 90,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 17,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 100
+ },
+ "Samples": [
+ {
+ "Id": 90,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 91,
+ "Position": {
+ "X": 38.888888888888886,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 92,
+ "Position": {
+ "X": 27.77777777777778,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 93,
+ "Position": {
+ "X": 16.666666666666664,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 94,
+ "Position": {
+ "X": 5.555555555555557,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 95,
+ "Position": {
+ "X": -5.555555555555557,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 96,
+ "Position": {
+ "X": -16.66666666666667,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 97,
+ "Position": {
+ "X": -27.77777777777777,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 98,
+ "Position": {
+ "X": -38.888888888888886,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 99,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 21,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 60
+ },
+ "Samples": [
+ {
+ "Id": 99,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 100,
+ "Position": {
+ "X": -50,
+ "Y": 23.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 101,
+ "Position": {
+ "X": -50,
+ "Y": 16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 102,
+ "Position": {
+ "X": -50,
+ "Y": 10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 103,
+ "Position": {
+ "X": -50,
+ "Y": 3.333333333333332,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 104,
+ "Position": {
+ "X": -50,
+ "Y": -3.3333333333333357,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 105,
+ "Position": {
+ "X": -50,
+ "Y": -10,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 106,
+ "Position": {
+ "X": -50,
+ "Y": -16.666666666666664,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 107,
+ "Position": {
+ "X": -50,
+ "Y": -23.333333333333336,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 72,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 25,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 10,
+ "IsValid": true
+ },
+ "CurveKind": 1,
+ "Interval": {
+ "Start": 0,
+ "End": 6.283185307179586
+ },
+ "Samples": [
+ {
+ "Id": 108,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 109,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": 0.6945927106677213,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 110,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": 1.3680805733026749,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 111,
+ "Position": {
+ "X": 3.464101615137755,
+ "Y": 1.9999999999999998,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 112,
+ "Position": {
+ "X": 3.064177772475912,
+ "Y": 2.571150438746157,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 113,
+ "Position": {
+ "X": 2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 114,
+ "Position": {
+ "X": 2.0000000000000004,
+ "Y": 3.4641016151377544,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 115,
+ "Position": {
+ "X": 1.3680805733026753,
+ "Y": 3.7587704831436333,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 116,
+ "Position": {
+ "X": 0.6945927106677217,
+ "Y": 3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 117,
+ "Position": {
+ "X": 2.4492935982947064E-16,
+ "Y": 4,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 118,
+ "Position": {
+ "X": -0.6945927106677212,
+ "Y": 3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 119,
+ "Position": {
+ "X": -1.368080573302674,
+ "Y": 3.7587704831436337,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 120,
+ "Position": {
+ "X": -1.9999999999999991,
+ "Y": 3.464101615137755,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 121,
+ "Position": {
+ "X": -2.5711504387461575,
+ "Y": 3.064177772475912,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 122,
+ "Position": {
+ "X": -3.0641777724759116,
+ "Y": 2.571150438746158,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 123,
+ "Position": {
+ "X": -3.464101615137754,
+ "Y": 2.0000000000000013,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 124,
+ "Position": {
+ "X": -3.7587704831436333,
+ "Y": 1.3680805733026755,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 125,
+ "Position": {
+ "X": -3.939231012048832,
+ "Y": 0.6945927106677211,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 126,
+ "Position": {
+ "X": -4,
+ "Y": 4.898587196589413E-16,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 127,
+ "Position": {
+ "X": -3.9392310120488325,
+ "Y": -0.6945927106677201,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 128,
+ "Position": {
+ "X": -3.7587704831436337,
+ "Y": -1.3680805733026746,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 129,
+ "Position": {
+ "X": -3.4641016151377544,
+ "Y": -2.0000000000000004,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 130,
+ "Position": {
+ "X": -3.0641777724759134,
+ "Y": -2.5711504387461557,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 131,
+ "Position": {
+ "X": -2.571150438746158,
+ "Y": -3.0641777724759116,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 132,
+ "Position": {
+ "X": -2.0000000000000018,
+ "Y": -3.464101615137754,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 133,
+ "Position": {
+ "X": -1.3680805733026742,
+ "Y": -3.7587704831436337,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 134,
+ "Position": {
+ "X": -0.6945927106677213,
+ "Y": -3.939231012048832,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 135,
+ "Position": {
+ "X": -7.347880794884119E-16,
+ "Y": -4,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 136,
+ "Position": {
+ "X": 0.6945927106677199,
+ "Y": -3.9392310120488325,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 137,
+ "Position": {
+ "X": 1.368080573302676,
+ "Y": -3.7587704831436333,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 138,
+ "Position": {
+ "X": 1.9999999999999973,
+ "Y": -3.464101615137756,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 139,
+ "Position": {
+ "X": 2.571150438746157,
+ "Y": -3.0641777724759125,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 140,
+ "Position": {
+ "X": 3.064177772475911,
+ "Y": -2.5711504387461583,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 141,
+ "Position": {
+ "X": 3.4641016151377553,
+ "Y": -1.9999999999999987,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 142,
+ "Position": {
+ "X": 3.7587704831436337,
+ "Y": -1.3680805733026744,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 143,
+ "Position": {
+ "X": 3.939231012048832,
+ "Y": -0.6945927106677215,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 108,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 2,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 10,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 30,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": true,
+ "MaxChordalDeviation": 0.01522120763301782
+ },
+ {
+ "EdgeId": {
+ "Value": 11,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 12
+ },
+ "Samples": [
+ {
+ "Id": 9,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 144,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 145,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 146,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 147,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 148,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 149,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 150,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 151,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 81,
+ "Position": {
+ "X": 50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 12,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 18,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 12,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 12
+ },
+ "Samples": [
+ {
+ "Id": 0,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 152,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 153,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 154,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 155,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 156,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 157,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 158,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 159,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 72,
+ "Position": {
+ "X": -50,
+ "Y": -30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 3,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 14,
+ "IsValid": true
+ },
+ "IsReversed": true
+ },
+ {
+ "FaceId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 24,
+ "IsValid": true
+ },
+ "IsReversed": false
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 13,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 12
+ },
+ "Samples": [
+ {
+ "Id": 18,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 160,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 161,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 162,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 163,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 164,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 165,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 166,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 167,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 90,
+ "Position": {
+ "X": 50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 4,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 16,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 22,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 14,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 12
+ },
+ "Samples": [
+ {
+ "Id": 27,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 168,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 169,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 170,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 171,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 172,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 173,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 174,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 175,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 99,
+ "Position": {
+ "X": -50,
+ "Y": 30,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 5,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 20,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 6,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 8,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 26,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ },
+ {
+ "EdgeId": {
+ "Value": 15,
+ "IsValid": true
+ },
+ "CurveKind": 0,
+ "Interval": {
+ "Start": 0,
+ "End": 12
+ },
+ "Samples": [
+ {
+ "Id": 176,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 6
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 177,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 4.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 178,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 3.3333333333333335
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 179,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 180,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": 0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 181,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -0.666666666666667
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 182,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -2
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 183,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -3.333333333333334
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 184,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -4.666666666666666
+ },
+ "U": null,
+ "V": null
+ },
+ {
+ "Id": 185,
+ "Position": {
+ "X": 4,
+ "Y": 0,
+ "Z": -6
+ },
+ "U": null,
+ "V": null
+ }
+ ],
+ "Uses": [
+ {
+ "FaceId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 27,
+ "IsValid": true
+ },
+ "IsReversed": false
+ },
+ {
+ "FaceId": {
+ "Value": 7,
+ "IsValid": true
+ },
+ "LoopId": {
+ "Value": 9,
+ "IsValid": true
+ },
+ "CoedgeId": {
+ "Value": 29,
+ "IsValid": true
+ },
+ "IsReversed": true
+ }
+ ],
+ "IsClosed": false,
+ "MaxChordalDeviation": 0
+ }
+ ],
+ "Metrics": {
+ "PatchCount": 7,
+ "SharedBoundaryCount": 15,
+ "CellCount": 184,
+ "QuadCount": 180,
+ "ExceptionalCellCount": 4,
+ "TriangleCount": 504,
+ "MaxRefinementLevel": 1,
+ "MaxChordalDeviation": 0.01522120763301782,
+ "BoundaryCrackCount": 0,
+ "MinEdgeLength": 0.6972459419812612,
+ "MaxEdgeLength": 11.111111111111114,
+ "DeterministicHash": "29a8cb3918186020294903b4c8b72468865ace1cd5f544c6eb07589be27b5687",
+ "BoundaryPolygonCount": 4,
+ "NonManifoldEdgeCount": 0,
+ "FinalTriangleCount": 504,
+ "WorstAspectRatio": 0,
+ "MaxNormalDeviation": 0,
+ "ApproximateBufferBytes": 10680
+ }
+}
\ No newline at end of file
diff --git a/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.metrics.json b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.metrics.json
new file mode 100644
index 00000000..b2b47dd6
--- /dev/null
+++ b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.metrics.json
@@ -0,0 +1,32 @@
+{
+ "fixture": "fixtures/FirmamentV2/Hole/valid/hole-x4-shaft-through.valid.firmfixture",
+ "pipeline": "SurfaceMeshIR",
+ "patchCount": 7,
+ "irVertexCount": 258,
+ "cellCount": 184,
+ "quadCount": 180,
+ "boundaryPolygonCount": 4,
+ "circleSampleCount": 36,
+ "cylinderAxialRows": 1,
+ "finalTriangleCount": 504,
+ "finalVertexCount": 262,
+ "maxChordalDeviation": 0.01522120763301782,
+ "maxNormalDeviation": 0.0,
+ "watertight": true,
+ "crackCount": 0,
+ "nonManifoldEdgeCount": 0,
+ "deterministicMeshHash": "f505aa921fc9d890caaf309670672e92ffb329834ffadb4538f622effcea8663",
+ "stlBytes": 25284,
+ "stlSha256": "fcc034d64252bc4f275c9c02f8039b645ac17e886d421fec3342f7a31d3e1a5a",
+ "externalFreeCad": {
+ "version": "1.0.2",
+ "facets": 504,
+ "points": 252,
+ "solid": true,
+ "capFacetCount": 288,
+ "minimumCapCentroidRadiusMm": 7.509616287,
+ "trimClear": true,
+ "boundsMm": [100.0, 60.0, 12.0],
+ "volumeMm3": 72200.078125
+ }
+}
diff --git a/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.stl b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.stl
new file mode 100644
index 00000000..dbf969fd
Binary files /dev/null and b/docs/preview2/evidence/surface-mesh-ir-m2/through-hole.stl differ
diff --git a/docs/preview2/surface-mesh-ir-m1.md b/docs/preview2/surface-mesh-ir-m1.md
new file mode 100644
index 00000000..19aaa8ef
--- /dev/null
+++ b/docs/preview2/surface-mesh-ir-m1.md
@@ -0,0 +1,43 @@
+# P2-SURFACE-MESH-IR-M1
+
+## Audit before migration
+
+The previous display path is in `Aetheris.Kernel.Core/Brep/Tessellation` (about 7,128 C# lines). Its 4,237-line `BrepDisplayTessellator` owns face dispatch, analytic sampling, loop flattening, trim projection, surface-family special cases, triangulation, normals, and edge display polylines. Supporting helpers contain planar loop classification (231 lines), planar polygon triangulation (933), trimmed UV tessellation (449), UV trim extraction/masking (342), curve sampling (169), and bounded display fallback/budgets (228). It dispatches Plane, Cylinder, Cone, Sphere, Torus, and B-spline faces directly to triangle patches. Display-facing `DisplayFaceMeshPatch` is triangle-native; Cadmata and the browser mapper consume those triangles. B-rep mass properties are separately exact/verification code and are not fed by display meshes.
+
+| Responsibility | Current ownership before M1 |
+| --- | --- |
+| Boundary sampling | `CurveSampler`, per-face flattening, and `TessellateEdge` |
+| Surface-domain meshing/refinement | `BrepDisplayTessellator`, `TrimmedSurfaceTessellator` |
+| Stitching | implicit coordinate agreement and display edge polylines |
+| Triangulation | planar triangulator and individual analytic face routines |
+| Attributes | each face routine emits normals |
+| Render/export adaptation | `DisplayTessellationResult`, server DTO, Cadmata client mapper |
+
+The main hotspots are planar triangulation with holes, UV trim extraction/classification, and family-specific curved trim recovery. The old path remains the migration oracle/fallback.
+
+## M1 surface mesh layer
+
+The new typed IR is `SurfaceMeshDocument`, with `SurfacePatch`, `SurfaceMeshVertex`, `SharedEdgeSamplePlan`, `FaceBoundaryUse`, `SurfaceMeshSupport`, and explicit `QuadCell`, `TriangleCell`, `BoundaryPolygonCell`, and `SingularCell` records. `SurfaceMeshPolicy` carries chordal/normal bounds, refinement depth, boundary budget, and downstream intent (`Presentation`, `Manufacturing`, `Fea`). It is derived-only: no API uses it for B-rep topology, volume, or mass authority.
+
+`SurfaceMeshIrTessellator` plans all line/circle B-rep edges first, in sorted edge order. Endpoint vertex identities are reused, each face use records its coedge orientation, and both incident patches read the same ordered sample sequence. A reversed coedge reads that sequence backwards; no coordinate sorting is used. The debug representation is `SurfaceMeshIrDebug.ToJson(document)`.
+
+For Plane M1, one-loop four-line faces become a single ordered quad; circular/simple non-rectangular one-loop faces are retained as a boundary polygon and only fanned during lowering. Plane geometric error is zero in its interior. For Cylinder M1, a full-turn pair of sampled circular trims produces an angular-by-axial quad strip. Its periodic seam is explicit (`HasPeriodicUSeam`); the closing circle sample aliases the start vertex and is not emitted as an independently owned strip vertex. Angular density is selected from exact circle chordal and normal bounds; axial curvature is zero, so no global axial over-refinement occurs.
+
+Quad lowering is a separate pass. It chooses the shorter diagonal, breaking ties as 0--2, then emits stable patch/cell order. Boundary polygons are deterministic fans. Plane and cylinder normals are evaluated from their exact supports, never averaged from adjacent triangles; hard boundaries remain split per patch. Validation rejects invalid/repeated cell references before lowering. The M1 lowerer reports `DisplayMeshPipeline.SurfaceMeshIr` and `SurfaceMeshMetrics` including cell/quad/triangle counts, edge range, maximum exact chord deviation, crack count, and a deterministic SHA-256 hash.
+
+## Current capability and evidence
+
+The SurfaceMeshIR path is explicitly selectable through `BrepDisplayTessellator.TessellateSurfaceMeshIr` for closed Plane/Cylinder bodies whose trims are line/circle loops supported by M1; the established default route intentionally remains legacy during this migration step. A box materializes as six quad patches with twelve shared line plans. A cylinder materializes as two boundary-polygon caps plus a periodic all-quad side strip with two shared circular plans. Existing display tessellation tests (33) and focused IR tests (5) pass. The focused tests cover line plans, circle plans, shared reuse, opposite consumption orientation through `FaceBoundaryUse`, box quads, cylinder seam/quad strips, exact radial normals, deterministic lowering/hash, legacy/new route identity, and IR validation.
+
+The first refinement hook is represented by per-cell refinement metadata and policy bounds; M1's implemented curved refinement is the deterministic angular edge/strip density selection. General in-patch 1-to-4 and directional cell subdivision are deliberately deferred rather than pretending that boundary resampling is a full adaptive refinement system.
+
+On the Debug `net10.0` build, a 100-iteration in-process comparison (not a benchmark claim) produced the following directional evidence. Box has the same 12 output triangles in both paths; the cylinder has 144 lowered triangles in IR versus 3,884 in legacy because its exact circular boundaries and zero axial curvature are retained instead of forcing a dense triangle-native route. The cylinder's measured exact chord bound was `0.00570795`, below the default `0.05` target. Allocation measurements were not collected in M1.
+
+| Fixture | Legacy mean | IR mean | Legacy triangles | IR triangles | IR hash prefix |
+| --- | ---: | ---: | ---: | ---: | --- |
+| Box 3×2×1 | 0.318 ms | 0.484 ms | 12 | 12 | `7d1692acf07d5d0e` |
+| Cylinder r1.5 h4 | 1.187 ms | 0.319 ms | 3,884 | 144 | `70113ee8662b6c33` |
+
+Multi-loop planar trims (including the through-hole plate fixture), arbitrary clipped boundary cells, Cone, Sphere, Torus, and B-spline patches remain on `LegacyTessellator`. That fallback is intentional and observable through `meshPipeline`; it is not a new mesh authority. Therefore this M1 slice should be treated as an architectural migration baseline, not a global replacement or an FEA/printing certification. Cadmata remains triangle-facing and receives the lowered `DisplayFaceMeshPatch` contract unchanged.
+
+Recommended next milestone: **P2-SURFACE-MESH-IR-M2 — Cone/Sphere/Torus and harder trimmed analytic patches**, beginning with multi-loop planar clipping/through-hole ownership and true deterministic quad subdivision.
diff --git a/docs/preview2/surface-mesh-ir-m2.md b/docs/preview2/surface-mesh-ir-m2.md
new file mode 100644
index 00000000..eaaca0a8
--- /dev/null
+++ b/docs/preview2/surface-mesh-ir-m2.md
@@ -0,0 +1,65 @@
+# P2-SURFACE-MESH-IR-M2
+
+M2 proves the first nontrivial exact-to-mesh path: an exact rectangular plate with a centered cylindrical ThroughAll hole, from Firmament through `SurfaceMeshDocument`, validated `TriangleMesh`, and binary STL.
+
+## M1 blocker audit and M2 design
+
+M1 already planned every B-rep edge once and supported Plane/Cylinder patches, but `TryBuildPlanePatch` rejected any face with more than one loop. A top or bottom cap with an inner circular trim therefore fell back before it could share its ring with the cylindrical wall. M1 also only produced per-face display patches: it had no final global triangle topology gate or exporter boundary.
+
+M2 keeps the IR rather than replacing it. `SurfaceMeshTrimLoop` stores each loop identity, the shared vertex references, Plane-local `(u,v)` points, signed orientation, and whether it is an inner trim. The bounded planner accepts one rectangular outer loop plus one circular inner loop. It creates two deterministic quad bands: a coarse outer band and a graded inner band. The plane remains unrefined for curvature—the one band exists only for trim conformity and bounded aspect-ratio grading. Arbitrary polygons, non-rectangular outer loops, and multiple holes deliberately remain legacy work.
+
+`BoundaryPolygonCell` remains the bounded exceptional-cell representation for planar side faces and ordinary non-rectangular simple faces. It lowers by a stable fan only at the final triangle stage; M2 does not claim a universal all-quad mesher.
+
+## Shared boundaries and directional refinement
+
+Each B-rep edge has one `SharedEdgeSamplePlan`; closed circles alias their final sample to their initial vertex ID. Cap trim loops and cylindrical strips read that exact ordered ring (reversing only per coedge use). There is no independently regenerated near-coincident circle and no welding stage.
+
+Circle density is driven by exact chordal and normal bounds. The cylinder emits one axial row: curvature is angular, not axial. Plane interiors are never refined for geometric error. For the supported plate, line boundaries are split into nine shared segments only because their cap bands need matching side-face boundaries; a plain box still remains a single coarse quad per face.
+
+## Validation and export
+
+`SurfaceMeshIrValidator` now checks unique vertices, shared-edge sample/use contracts, closed-ring endpoint identity, cell references, and zero-area cells before lowering. `TriangleMeshValidator` then checks triangle references, duplicates, zero-area triangles, edge incidence, connectedness, and signed outward volume. Export is refused unless the mesh is closed and outward-oriented.
+
+`TriangleMesh` is triangle-only and has no B-rep knowledge. It carries exact support-derived normals and hard-edge metadata (Plane/Cylinder support changes). `BinaryStlExporter` consumes only this validated final mesh.
+
+CLI:
+
+```text
+aetheris mesh plate.firmament --format stl
+aetheris mesh fixtures/FirmamentV2/Hole/valid/hole-x4-shaft-through.valid.firmfixture --output plate.stl --debug-ir plate.ir.json --json
+```
+
+Runtime LOD is explicitly not part of this design. The intended optimization is to compile one economical mesh and omit unnecessary flat-face polygons.
+
+## Golden evidence
+
+The canonical `hole-x4-shaft-through` Firmament fixture (100 x 60 x 12 mm plate, radius 4 mm hole) exported successfully through the new path:
+
+| Measure | Value |
+| --- | ---: |
+| IR patches | 7 (2 trimmed caps, 4 sides, 1 cylindrical wall) |
+| IR cells | 184 (180 quads, 4 boundary polygons) |
+| Circular samples / axial cylinder rows | 36 / 1 |
+| Final triangles | 504 |
+| Final mesh vertices | 262 |
+| Max exact chord deviation | 0.01522120763301782 mm |
+| Normal deviation | 0 (analytic Plane/Cylinder normals) |
+| Watertight / non-manifold edges / cracks | true / 0 / 0 |
+| Deterministic mesh hash | `f505aa921fc9d890caaf309670672e92ffb329834ffadb4538f622effcea8663` |
+| Approximate IR buffer bytes | bounded by vertex/cell arrays; no allocation tuning claim |
+| STL bytes / SHA-256 | 25,284 / `fcc034d64252bc4f275c9c02f8039b645ac17e886d421fec3342f7a31d3e1a5a` |
+
+The stored [IR dump](evidence/surface-mesh-ir-m2/through-hole.ir.json), [STL](evidence/surface-mesh-ir-m2/through-hole.stl), and [FreeCAD smoke script](evidence/surface-mesh-ir-m2/freecad-stl-smoke.py) are reproducible evidence. FreeCAD 1.0.2 imported the STL as one solid mesh: 504 facets, 252 points, `solid=True`, 100 x 60 x 12 mm bounds, and volume 72,200.078125 mm³ (binary STL float rounding). No repair/healing was requested.
+
+The legacy tessellator is retained as a focused test oracle; the through-hole test asserts the new 504-triangle final mesh is strictly smaller on the same exact body. A timing/allocation benchmark and screenshot-based Cadmata capture are deferred because Cadmata currently consumes STEP/display packets rather than the new validated `TriangleMesh` export seam. This is an explicit integration limitation, not a hidden fallback.
+
+The trim rings are cyclically phase-aligned before band construction. Orientation is insufficient by itself because the rectangular loop starts at a B-rep corner while the circular loop starts on the curve's reference axis; pairing those raw indices twists and overlaps the annular strip. M2 selects the stable cyclic shift with minimum total spoke length, and a regression checks that no cap triangle centroid enters the circular trim.
+
+## Remaining limits and next milestone
+
+- One rectangular outer loop plus one circular inner loop is the supported M2 trim family; multiple holes, arbitrary clipped cells, Cone/Sphere/Torus, and general planar polygon meshing remain legacy/M3 work.
+- The line-boundary conformity rule is intentionally bounded and should evolve into per-edge compatible sampling rather than a global grid.
+- Cadmata has not yet been migrated to render the validated final mesh directly; its established STEP display route remains intact.
+- No runtime LOD, streaming refinement, mesh repair, glTF, 3MF, or volumetric meshing was introduced.
+
+Recommended next tooling milestone: **P2-TSPACK-STABILIZE-M1**, before returning to **P2-SURFACE-MESH-IR-M3** (Cone, Sphere, Torus, and harder trims).