Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Preserve assembly materials and improve scene wireframes
Yuechen Li91933c32fff3
diff --git a/Aetheris.CLI/AssemblyGlbCommand.cs b/Aetheris.CLI/AssemblyGlbCommand.csindex 89a79968..d8ec85b9 100644--- a/Aetheris.CLI/AssemblyGlbCommand.cs+++ b/Aetheris.CLI/AssemblyGlbCommand.cs@@ -71,7 +71,9 @@ internal static class AssemblyGlbCommandvar pose = AssemblyKinematics.Evaluate(compilation.Ir!, state);var display = AssemblyDisplayMeshExporter.Export(compilation, pose: pose);var meshMilliseconds = watch.Elapsed.TotalMilliseconds; watch.Restart();- var bytesGlb = AssemblyGlbExporter.Serialize(display, appearances);+ var bytesGlb = AssemblyGlbExporter.Serialize(display, appearances,+ compilation.Ir!.Instances.Where(instance => instance.Appearance is not null)+ .ToDictionary(instance => instance.StableId, instance => instance.Appearance!, StringComparer.Ordinal));var serializationMilliseconds = watch.Elapsed.TotalMilliseconds;Directory.CreateDirectory(Path.GetDirectoryName(output)!);File.WriteAllBytes(output, bytesGlb);diff --git a/Aetheris.CLI/CliRunner.cs b/Aetheris.CLI/CliRunner.csindex 7ebb17c6..89f4ccc1 100644--- a/Aetheris.CLI/CliRunner.cs+++ b/Aetheris.CLI/CliRunner.cs@@ -172,7 +172,7 @@ public static class CliRunnerprivate const string ExperimentalLoopChamferCorpusUsage = "Usage: aetheris experimental loop-chamfer-corpus --out-dir <dir> [--json]";private const string SculptureUsage = "Usage: aetheris sculpture build <sol-1.sculpture.json> [--out <sol-1.step>] [--evidence <sol-1.evidence.json>] [--preview <sol-1.preview.svg>] [--json]";private const string SectionChainUsage = "Usage: aetheris section-chain <build|inspect|validate> <file.firmament|flagship|flagship-g0|twist|two-profile> [--out <model.step>] [--json]";- private const string WireframeUsage = "Usage: aetheris wireframe <model.step> [--out <preview.svg>] [--view <iso|front|top|right>] [--density <2..32>] [--samples <8..256>] [--json]";+ private const string WireframeUsage = "Usage: aetheris wireframe <model.step> [--out <preview.svg>] [--view <iso|iso-z|front|top|right>] [--density <2..32>] [--samples <8..256>] [--json]";internal static readonly JsonSerializerOptions JsonOptions = new(){@@ -742,6 +742,7 @@ public static class CliRunnerview = args[++index].ToLowerInvariant() switch{"iso" or "isometric" => WireframeView.Isometric,+ "iso-z" => WireframeView.IsometricZUp,"front" => WireframeView.Front,"top" => WireframeView.Top,"right" => WireframeView.Right,diff --git a/Aetheris.Kernel.Core.Tests/Visualization/WireframeProjectionTests.cs b/Aetheris.Kernel.Core.Tests/Visualization/WireframeProjectionTests.csnew file mode 100644index 00000000..6810a586--- /dev/null+++ b/Aetheris.Kernel.Core.Tests/Visualization/WireframeProjectionTests.cs@@ -0,0 +1,42 @@+using System.Xml.Linq;+using Aetheris.Kernel.Core.Math;+using Aetheris.Kernel.Core.Visualization;++namespace Aetheris.Kernel.Core.Tests.Visualization;++public sealed class WireframeProjectionTests+{+ [Fact]+ public void ZUpIsometricViewKeepsVerticalEdgesVerticalAndRaisesPositiveZ()+ {+ var svg = BrepWireframeSvgRenderer.RenderEdges([new Point3D[] { new(0,0,0), new(0,0,10) }],+ new BrepWireframeOptions(View: WireframeView.IsometricZUp, Center: true));+ var root = XElement.Parse(svg); XNamespace ns = root.Name.Namespace;+ var points = root.Descendants(ns + "polyline").Single().Attribute("points")!.Value.Split(' ')+ .Select(p => p.Split(',').Select(v => double.Parse(v, System.Globalization.CultureInfo.InvariantCulture)).ToArray()).ToArray();+ Assert.Equal(points[0][0], points[1][0]);+ Assert.True(points[1][1] < points[0][1]);+ }++ [Fact]+ public void TopologyProjectionCentersDegenerateAxisAndRetainsEveryPlacedLine()+ {+ IReadOnlyList<IReadOnlyList<Point3D>> edges = [+ new Point3D[] { new(0, 0, 0), new(0, 0, 10) },+ new Point3D[] { new(0, 0, 20), new(0, 0, 30) }];+ var options = new BrepWireframeOptions(View: WireframeView.Front, Width: 400, Height: 400,+ Background: "#fff", BoundaryColor: "#000", BoundaryWidth: 2.5, Center: true, ShowLabel: false);+ var first = BrepWireframeSvgRenderer.RenderEdges(edges, options);+ Assert.Equal(first, BrepWireframeSvgRenderer.RenderEdges(edges, options));+ var root = XElement.Parse(first); XNamespace ns = root.Name.Namespace;+ var lines = root.Descendants(ns + "polyline").ToArray();+ Assert.Equal(2, lines.Length);+ Assert.All(lines, line => {+ Assert.Equal("2.5", line.Attribute("stroke-width")!.Value);+ Assert.All(line.Attribute("points")!.Value.Split(' '), p => Assert.StartsWith("200.00,", p));+ });+ Assert.Empty(root.Descendants(ns + "text"));+ Assert.Throws<ArgumentException>(() => BrepWireframeSvgRenderer.RenderEdges([]));+ Assert.Throws<ArgumentException>(() => BrepWireframeSvgRenderer.RenderEdges([new Point3D[] { new(double.NaN, 0, 0), new(0, 0, 1) }]));+ }+}diff --git a/Aetheris.Kernel.Core/Visualization/BrepWireframeSvgRenderer.cs b/Aetheris.Kernel.Core/Visualization/BrepWireframeSvgRenderer.csindex cef84456..9cfb375d 100644--- a/Aetheris.Kernel.Core/Visualization/BrepWireframeSvgRenderer.cs+++ b/Aetheris.Kernel.Core/Visualization/BrepWireframeSvgRenderer.cs@@ -9,7 +9,7 @@ using Aetheris.Kernel.Core.Topology;namespace Aetheris.Kernel.Core.Visualization;-public enum WireframeView { Isometric, Front, Top, Right }+public enum WireframeView { Isometric, Front, Top, Right, IsometricZUp }public sealed record BrepWireframeOptions(WireframeView View = WireframeView.Isometric,@@ -19,7 +19,11 @@ public sealed record BrepWireframeOptions(int Height = 700,string Background = "#10151d",string IsoLineColor = "#79b8ff",- string BoundaryColor = "#dbeafe");+ string BoundaryColor = "#dbeafe",+ double BoundaryWidth = 1.35,+ double IsoLineWidth = 1,+ bool ShowLabel = true,+ bool Center = false);public sealed record BrepWireframeEvidence(WireframeView View,@@ -44,6 +48,22 @@ public sealed record BrepWireframeResult(string Svg, BrepWireframeEvidence Evide/// </summary>public static class BrepWireframeSvgRenderer{+ /// <summary>Project already sampled topology edges with the same SVG view/framing owner.+ /// Callers retain responsibility for world placement and edge provenance; no triangle edges,+ /// surface isolines or hidden-line removal are inferred from these polylines.</summary>+ public static string RenderEdges(IReadOnlyList<IReadOnlyList<Point3D>> edges, BrepWireframeOptions? options = null)+ {+ ArgumentNullException.ThrowIfNull(edges);+ options ??= new();+ if (options.Width < 320 || options.Height < 240 || !double.IsFinite(options.BoundaryWidth) || options.BoundaryWidth <= 0)+ throw new ArgumentOutOfRangeException(nameof(options));+ if (edges.Any(edge => edge.Count < 2 || edge.Any(p => !double.IsFinite(p.X) || !double.IsFinite(p.Y) || !double.IsFinite(p.Z))))+ throw new ArgumentException("Topology polylines require at least two finite points.", nameof(edges));+ var all = edges.SelectMany(edge => edge).ToArray();+ if (all.Length == 0) throw new ArgumentException("No topology edges were supplied.", nameof(edges));+ return ComposeSvg(all, [], edges, options);+ }+public static BrepWireframeResult Render(BrepBody body, BrepWireframeOptions? options = null){ArgumentNullException.ThrowIfNull(body);@@ -51,6 +71,8 @@ public static class BrepWireframeSvgRendererif (options.Density is < 2 or > 32) throw new ArgumentOutOfRangeException(nameof(options), "Wireframe density must be between 2 and 32.");if (options.CurveSamples is < 8 or > 256) throw new ArgumentOutOfRangeException(nameof(options), "CurveSamples must be between 8 and 256.");if (options.Width < 320 || options.Height < 240) throw new ArgumentOutOfRangeException(nameof(options), "Wireframe dimensions are too small.");+ if (!double.IsFinite(options.BoundaryWidth) || options.BoundaryWidth <= 0 || !double.IsFinite(options.IsoLineWidth) || options.IsoLineWidth <= 0)+ throw new ArgumentOutOfRangeException(nameof(options), "Wireframe stroke widths must be finite and positive.");var iso = new List<IReadOnlyList<Point3D>>();var boundaries = new List<IReadOnlyList<Point3D>>();@@ -173,22 +195,26 @@ public static class BrepWireframeSvgRendererconst double margin = 42d;var scale = System.Math.Min((options.Width - 2d * margin) / System.Math.Max(maxX - minX, 1e-9d),(options.Height - 2d * margin) / System.Math.Max(maxY - minY, 1e-9d));+ var left = options.Center ? (options.Width - (maxX - minX) * scale) / 2 : margin;+ var top = options.Center ? (options.Height - (maxY - minY) * scale) / 2 : margin;string P(Point3D point){var p = Project(point, options.View);- return FormattableString.Invariant($"{margin + (p.X - minX) * scale:F2},{margin + (p.Y - minY) * scale:F2}");+ return FormattableString.Invariant($"{left + (p.X - minX) * scale:F2},{top + (p.Y - minY) * scale:F2}");}var svg = new StringBuilder();svg.Append("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"").Append(options.Width).Append("\" height=\"").Append(options.Height).Append("\" viewBox=\"0 0 ").Append(options.Width).Append(' ').Append(options.Height).Append("\"><rect width=\"100%\" height=\"100%\" fill=\"").Append(options.Background).Append("\"/><g fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\">");foreach (var line in iso) svg.Append("<polyline points=\"").Append(string.Join(' ', line.Select(P))).Append("\" stroke=\"")- .Append(options.IsoLineColor).Append("\" stroke-width=\"1\" opacity=\".43\"/>");+ .Append(options.IsoLineColor).Append("\" stroke-width=\"").Append(options.IsoLineWidth.ToString(System.Globalization.CultureInfo.InvariantCulture)).Append("\" opacity=\".43\"/>");foreach (var line in boundaries) svg.Append("<polyline points=\"").Append(string.Join(' ', line.Select(P))).Append("\" stroke=\"")- .Append(options.BoundaryColor).Append("\" stroke-width=\"1.35\" opacity=\".88\"/>");- svg.Append("</g><text x=\"24\" y=\"").Append(options.Height - 20).Append("\" fill=\"").Append(options.BoundaryColor)+ .Append(options.BoundaryColor).Append("\" stroke-width=\"").Append(options.BoundaryWidth.ToString(System.Globalization.CultureInfo.InvariantCulture)).Append("\" opacity=\".88\"/>");+ svg.Append("</g>");+ if (options.ShowLabel) svg.Append("<text x=\"24\" y=\"").Append(options.Height - 20).Append("\" fill=\"").Append(options.BoundaryColor).Append("\" opacity=\".78\" font-family=\"ui-monospace,monospace\" font-size=\"14\">Aetheris exact BRep wireframe · ")- .Append(options.View).Append(" · density ").Append(options.Density).Append("</text></svg>");+ .Append(options.View).Append(" · density ").Append(options.Density).Append("</text>");+ svg.Append("</svg>");return svg.ToString();}@@ -197,6 +223,7 @@ public static class BrepWireframeSvgRendererWireframeView.Front => (p.X, -p.Z),WireframeView.Top => (p.X, -p.Y),WireframeView.Right => (p.Y, -p.Z),+ WireframeView.IsometricZUp => ((p.X - p.Y) / System.Math.Sqrt(2), (p.X + p.Y) / System.Math.Sqrt(6) - p.Z * System.Math.Sqrt(2d / 3)),_ => (p.Z + .45d * p.X, -p.Y + .28d * p.X - .18d * p.Z)};diff --git a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyAuthoringFoundationTests.cs b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyAuthoringFoundationTests.csindex 42df9ea8..934093cb 100644--- a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyAuthoringFoundationTests.cs+++ b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyAuthoringFoundationTests.cs@@ -4,6 +4,31 @@ namespace Aetheris.Kernel.Firmament.Tests.Assembly;public sealed class AssemblyAuthoringFoundationTests{+ [Theory]+ [InlineData("H / 2", 7)]+ [InlineData("H + 2mm", 16)]+ public void PublishedOriginsEvaluateLengthArithmetic(string expression, double height)+ {+ var path = FirmamentCorpusHarness.ResolveFixtureFullPath("fixtures/Canonical/AssemblyInterfaces/AuthoringFoundation/published-ports.firmament");+ var source = File.ReadAllText(path).Replace("[0mm,0mm,H]", $"[0mm,0mm,{expression}]");+ var result = new AssemblyM1Pipeline().Compile(source, path);+ Assert.True(result.IsSuccess, string.Join("\n", result.Diagnostics));+ Assert.Equal(height, result.Ir!.Instances.Single(i => i.Path.ToString() == "PublishedPorts.Child").ResolvedTransform!.Matrix[14], 7);+ }++ [Theory]+ [InlineData("H / 2mm")]+ [InlineData("14deg")]+ [InlineData("H / 0")]+ public void PublishedOriginsRejectInvalidLengthExpressions(string expression)+ {+ var path = FirmamentCorpusHarness.ResolveFixtureFullPath("fixtures/Canonical/AssemblyInterfaces/AuthoringFoundation/published-ports.firmament");+ var source = File.ReadAllText(path).Replace("[0mm,0mm,H]", $"[0mm,0mm,{expression}]");+ var result = new AssemblyM1Pipeline().Compile(source, path);+ Assert.False(result.IsSuccess);+ Assert.Contains(result.Diagnostics, d => d.Code == "assembly-port-frame-origin-invalid");+ }+[Fact]public void ReusableAssembliesSolveNamedFramesOnceInTheirLocalScope(){diff --git a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyGlbExportTests.cs b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyGlbExportTests.csindex 7562380e..ae0d046f 100644--- a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyGlbExportTests.cs+++ b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyGlbExportTests.cs@@ -96,6 +96,26 @@ public sealed class AssemblyGlbExportTestsAssert.True(display.Definitions.Count > 20); Assert.True(display.Occurrences.Count > 50);}+ [Fact]+ public void IndustrialExportPreservesSourceOwnedOccurrenceMaterials()+ {+ var compilation = Compile("IndustrialAtlas/atlas-industrial.firmament");+ Assert.True(compilation.IsSuccess, string.Join("\n", compilation.Diagnostics));+ var (json, _) = Read(AssemblyGlbExporter.Export(compilation));+ using var document = json;+ var root = document.RootElement;+ foreach (var instance in compilation.Ir!.Instances.Where(instance => instance.Kind == AssemblyInstanceKind.Part))+ {+ var node = root.GetProperty("nodes").EnumerateArray().Single(node => node.GetProperty("name").GetString() == instance.Path.ToString());+ var mesh = root.GetProperty("meshes")[node.GetProperty("mesh").GetInt32()];+ var material = root.GetProperty("materials")[mesh.GetProperty("primitives")[0].GetProperty("material").GetInt32()];+ var pbr = material.GetProperty("pbrMetallicRoughness");+ Assert.Equal(instance.Appearance!.Preview.Red, pbr.GetProperty("baseColorFactor")[0].GetDouble());+ Assert.Equal(instance.Appearance.Preview.Metallic, pbr.GetProperty("metallicFactor").GetDouble());+ Assert.Equal(instance.Appearance.Preview.Roughness, pbr.GetProperty("roughnessFactor").GetDouble());+ }+ }+private static AssemblyM1CompilationResult Compile(string path) => new AssemblyM1Pipeline().CompileFile(FirmamentCorpusHarness.ResolveFixtureFullPath("fixtures/Canonical/AssemblyInterfaces/" + path));private static AssemblyDisplayMeshDocument Triangle() => new("aetheris/assembly-display-mesh/1", "Triangle", "mm",[new("d", "triangle", [0,0,0,10,0,0,0,10,0], [0,0,1,0,0,1,0,0,1], [0,1,2])],diff --git a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyUsdExportTests.cs b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyUsdExportTests.csindex 61350000..16c65ac8 100644--- a/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyUsdExportTests.cs+++ b/Aetheris.Kernel.Firmament.Tests/Assembly/AssemblyUsdExportTests.cs@@ -37,8 +37,8 @@ public sealed class AssemblyUsdExportTestsAssert.True(volume > 0, "Closed product mesh must enclose positive volume.");}Assert.Equal(24, mesh.Definitions.Count);- Assert.Equal(64, mesh.Occurrences.Count);- Assert.Equal(59, compiled.Ir!.Joints!.Count);+ Assert.Equal(60, compiled.Geometry!.InstanceBodies.Count);+ Assert.Equal(5, compiled.Ir!.Joints!.Count);}[Fact]diff --git a/Aetheris.Kernel.Firmament.Tests/Assembly/IndustrialAtlasModernizationTests.cs b/Aetheris.Kernel.Firmament.Tests/Assembly/IndustrialAtlasModernizationTests.csnew file mode 100644index 00000000..c258def1--- /dev/null+++ b/Aetheris.Kernel.Firmament.Tests/Assembly/IndustrialAtlasModernizationTests.cs@@ -0,0 +1,100 @@+using Aetheris.Kernel.Core.Math;+using Aetheris.Kernel.Firmament.Assembly;++namespace Aetheris.Kernel.Firmament.Tests.Assembly;++public sealed class IndustrialAtlasModernizationTests+{+ [Fact]+ public void CoversAndJawsHaveSeparatedVolumesAndInwardFacingPads()+ {+ var compiled = Compile();+ var display = AssemblyDisplayMeshExporter.Export(compiled);+ Assert.Equal(60, compiled.Geometry!.InstanceBodies.Count);+ Assert.Equal(24, display.Definitions.Count);+ Assert.Equal(new[] { "Elbow", "GripLeft", "GripRight", "Shoulder", "WristMount" },+ compiled.Ir!.Joints!.Select(joint => joint.Name).OrderBy(name => name));+ Assert.DoesNotContain(compiled.Ir.Instances, instance => instance.Kind == AssemblyInstanceKind.Part+ && instance.PlacementAuthority == PlacementAuthority.LegacyExplicit);+ foreach (var (arm, pattern, plate) in new[] {+ ("UpperArm", "UpperCoverFasteners", "ServicePanel"),+ ("ForeArm", "ForeCoverFasteners", "MakerPlate") })+ {+ var cover = Bounds(display, $"AtlasIndustrial.{arm}.{plate}");+ foreach (var key in new[] { "RearLow", "FrontLow", "RearHigh", "FrontHigh" })+ {+ var path = $"AtlasIndustrial.{arm}.{pattern}.{key}.Fastener";+ var shaft = Bounds(display, path + ".Standoff");+ var head = Bounds(display, path + ".Head");+ Assert.Equal(cover.Max.Y, shaft.Min.Y, 7);+ Assert.Equal(cover.Min.Y, head.Max.Y, 7);+ }+ }+ var body = Bounds(display, "AtlasIndustrial.Gripper");+ var leftJaw = Bounds(display, "AtlasIndustrial.LeftJaw.Jaw");+ var rightJaw = Bounds(display, "AtlasIndustrial.RightJaw.Jaw");+ Assert.Equal(body.Max.X, leftJaw.Min.X, 7);+ Assert.Equal(body.Max.X, rightJaw.Min.X, 7);+ var leftPad = Bounds(display, "AtlasIndustrial.LeftJaw.Pad");+ var rightPad = Bounds(display, "AtlasIndustrial.RightJaw.Pad");+ Assert.Equal(leftJaw.Min.Y, leftPad.Max.Y, 7);+ Assert.Equal(rightJaw.Max.Y, rightPad.Min.Y, 7);+ Assert.Equal(21, leftPad.Min.Y - rightPad.Max.Y, 7);+ }++ [Fact]+ public void ArticulatedComponentsRetainRigidChildFramesAcrossPoses()+ {+ var compiled = Compile();+ var display = AssemblyDisplayMeshExporter.Export(compiled);+ foreach (var state in new[] {+ new Dictionary<string, double> { ["Shoulder"] = -65, ["Elbow"] = 100, ["GripLeft"] = 4, ["GripRight"] = 4 },+ new Dictionary<string, double> { ["Shoulder"] = -75, ["Elbow"] = -140, ["GripLeft"] = 10, ["GripRight"] = 10 } })+ {+ var pose = AssemblyKinematics.Evaluate(compiled.Ir!, state);+ Assert.True(pose.IsSuccess, string.Join("\n", pose.Diagnostics));+ var posed = AssemblyDisplayMeshExporter.WithPose(display, pose);+ Assert.Same(display.Definitions, posed.Definitions);+ var bodyFrame = Transform3D.FromRowMajor(posed.Occurrences.Single(o => o.Path == "AtlasIndustrial.Gripper").Transform);+ foreach (var (jaw, direction) in new[] { ("LeftJaw", 1), ("RightJaw", -1) })+ {+ var jawFrame = Transform3D.FromRowMajor(posed.Occurrences.Single(o => o.Path == $"AtlasIndustrial.{jaw}.Jaw").Transform);+ var relative = (jawFrame * bodyFrame.Inverse()).ToRowMajor();+ Assert.Equal(30, relative[12], 7);+ Assert.Equal(direction * (16 + state["Grip" + (direction == 1 ? "Left" : "Right")]), relative[13], 7);+ Assert.Equal(9, relative[14], 7);+ }+ foreach (var root in new[] { "UpperArm", "ForeArm", "LeftJaw", "RightJaw" })+ {+ var path = "AtlasIndustrial." + root;+ Transform3D Frame(AssemblyDisplayMeshDocument document, string name) =>+ Transform3D.FromRowMajor(document.Occurrences.Single(occurrence => occurrence.Path == name).Transform);+ foreach (var child in display.Occurrences.Where(occurrence => occurrence.DefinitionId is not null && occurrence.Path.StartsWith(path + ".", StringComparison.Ordinal)))+ {+ var before = (Frame(display, child.Path) * Frame(display, path).Inverse()).ToRowMajor();+ var after = (Frame(posed, child.Path) * Frame(posed, path).Inverse()).ToRowMajor();+ Assert.All(before.Zip(after), pair => Assert.Equal(pair.First, pair.Second, 8));+ }+ }+ }+ }++ private static AssemblyM1CompilationResult Compile()+ {+ var path = FirmamentCorpusHarness.ResolveFixtureFullPath("fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament");+ var result = new AssemblyM1Pipeline().CompileFile(path);+ Assert.True(result.IsSuccess, string.Join("\n", result.Diagnostics));+ return result;+ }++ private static (Point3D Min, Point3D Max) Bounds(AssemblyDisplayMeshDocument document, string path)+ {+ var occurrence = document.Occurrences.Single(item => item.Path == path);+ var definition = document.Definitions.Single(item => item.Id == occurrence.DefinitionId);+ var transform = Transform3D.FromRowMajor(occurrence.Transform);+ var points = Enumerable.Range(0, definition.Positions.Length / 3).Select(index => transform.Apply(+ new Point3D(definition.Positions[index * 3], definition.Positions[index * 3 + 1], definition.Positions[index * 3 + 2]))).ToArray();+ return (new(points.Min(p => p.X), points.Min(p => p.Y), points.Min(p => p.Z)),+ new(points.Max(p => p.X), points.Max(p => p.Y), points.Max(p => p.Z)));+ }+}diff --git a/Aetheris.Kernel.Firmament.Tests/SceneAuthoringTests.cs b/Aetheris.Kernel.Firmament.Tests/SceneAuthoringTests.csindex 7403c727..09c6373d 100644--- a/Aetheris.Kernel.Firmament.Tests/SceneAuthoringTests.cs+++ b/Aetheris.Kernel.Firmament.Tests/SceneAuthoringTests.cs@@ -25,6 +25,26 @@ public sealed class SceneAuthoringTestsAssert.Equal(new[] {900d,1900,-100},s.MinimumMm); Assert.Equal(new[] {11100d,10100,4100},s.MaximumMm);}+ [Fact]+ public void RoomDisplayPublishesTwelveUniqueBoundaryEdgesWithoutTriangleDiagonals()+ {+ var scene = Compile("room");+ foreach (var definition in scene.Display.Definitions.Where(d => d.MeshPipeline == "SceneRectangularBoundary"))+ {+ Assert.Equal(12, definition.Edges.Count);+ Assert.Equal(12, definition.Edges.Select(e => e.EdgeId).Distinct().Count());+ foreach (var edge in definition.Edges)+ {+ Assert.Equal(2, edge.Points.Length);+ Assert.Equal(1, Enumerable.Range(0, 3).Count(axis => edge.Points[0][axis] != edge.Points[1][axis]));+ foreach (var point in edge.Points)+ Assert.Contains(Enumerable.Range(0, definition.Positions.Length / 3), index =>+ Enumerable.Range(0, 3).All(axis => definition.Positions[index * 3 + axis] == point[axis]));+ }+ }+ Assert.NotEmpty(scene.Display.Definitions);+ }+[Fact]public void ActualWallDisplayVolumeExcludesDoorAndWindowApertures(){diff --git a/Aetheris.Kernel.Firmament/Assembly/AssemblyGlbExporter.cs b/Aetheris.Kernel.Firmament/Assembly/AssemblyGlbExporter.csindex 0aa4aa84..ec6452ef 100644--- a/Aetheris.Kernel.Firmament/Assembly/AssemblyGlbExporter.cs+++ b/Aetheris.Kernel.Firmament/Assembly/AssemblyGlbExporter.cs@@ -27,7 +27,9 @@ public static class AssemblyGlbExporterif (!compilation.IsSuccess || compilation.Ir is null)throw new InvalidOperationException("assembly-glb-invalid-compilation");var pose = AssemblyKinematics.Evaluate(compilation.Ir, state ?? new Dictionary<string, double>());- return Serialize(AssemblyDisplayMeshExporter.Export(compilation, pose: pose), appearances);+ return Serialize(AssemblyDisplayMeshExporter.Export(compilation, pose: pose), appearances,+ compilation.Ir.Instances.Where(instance => instance.Appearance is not null)+ .ToDictionary(instance => instance.StableId, instance => instance.Appearance!, StringComparer.Ordinal));}public static byte[] Serialize(AssemblyDisplayMeshDocument display,diff --git a/Aetheris.Kernel.Firmament/Assembly/AssemblyPublishedPorts.cs b/Aetheris.Kernel.Firmament/Assembly/AssemblyPublishedPorts.csindex 30e711db..f7c82554 100644--- a/Aetheris.Kernel.Firmament/Assembly/AssemblyPublishedPorts.cs+++ b/Aetheris.Kernel.Firmament/Assembly/AssemblyPublishedPorts.cs@@ -113,7 +113,24 @@ internal static class AssemblyPublishedPortsstring V(double x,double y,double z) => FormattableString.Invariant($"[{x:R},{y:R},{z:R}]");return $"DatumFrame {m.Groups["name"].Value} = {V(f.Origin.X,f.Origin.Y,f.Origin.Z)} x {V(f.XAxis.X,f.XAxis.Y,f.XAxis.Z)} y {V(f.YAxis.X,f.YAxis.Y,f.YAxis.Z)} z {V(f.Normal.X,f.Normal.Y,f.Normal.Z)};";});- // Origin components inherit the definition's millimetre contract.+ // Definition-owned origins use the same dimension-checked scalar+ // evaluator as authored placement. Template dimensions may derive+ // mounting stations; bare legacy numbers still inherit millimetres.+ ports = Regex.Replace(ports, @"\bDatumFrame\s+(?<name>[A-Za-z_]\w*)\s*=\s*\[(?<origin>[^]]+)\]", match =>+ {+ var components = match.Groups["origin"].Value.Split(',');+ var values = new double[3];+ if (components.Length != 3 || components.Where((component, index) =>+ !FirmamentV2FeatureExpansion.TryEvaluateScalar(component.Trim(), out values[index], out var unit)+ || (unit != "mm" && !(unit.Length == 0 && double.TryParse(component.Trim(), NumberStyles.Float,+ CultureInfo.InvariantCulture, out _))) || !double.IsFinite(values[index])).Any())+ {+ diagnostics.Add(new("assembly-port-frame-origin-invalid", $"Published DatumFrame '{match.Groups["name"].Value}' requires three finite length components."));+ return match.Value;+ }+ return $"DatumFrame {match.Groups["name"].Value} = [{string.Join(",", values.Select(value => value.ToString("R", CultureInfo.InvariantCulture)))}]";+ });+ // Remaining literal vectors retain the definition's millimetre contract.ports = Regex.Replace(ports,@"\[[^]]+\]",m => Regex.Replace(m.Value,@"(?<number>[-+0-9.eE]+)mm\b", "${number}"));var values = AssemblyM0Parser.ParseSemantics(ports,identity,sourceIdentity,diagnostics).ToArray();foreach (var value in values)diff --git a/Aetheris.Kernel.Firmament/Scene/SceneCompilation.cs b/Aetheris.Kernel.Firmament/Scene/SceneCompilation.csindex 55d8f0ba..c0dd2904 100644--- a/Aetheris.Kernel.Firmament/Scene/SceneCompilation.cs+++ b/Aetheris.Kernel.Firmament/Scene/SceneCompilation.cs@@ -281,7 +281,16 @@ public sealed class FirmamentSceneSession : IDisposabledouble[][] normals=[[0,0,-1],[0,0,1],[0,-1,0],[0,1,0],[-1,0,0],[1,0,0]];var positions=new List<double>(); var ns=new List<double>(); var indices=new List<int>();for(var f=0;f<6;f++) { var start=positions.Count/3; foreach(var v in faces[f]) { positions.AddRange(p[v]); ns.AddRange(normals[f]); } indices.AddRange([start,start+1,start+2,start,start+2,start+3]); }- return new(id,identity,positions.ToArray(),ns.ToArray(),indices.ToArray(),"SceneRectangularBoundary") { GeometryRevision = identity };+ // Room panels and window pieces own rectangular boundary geometry. Export its+ // twelve real edges alongside the faces, never the triangulation diagonals.+ var edgePairs = faces.SelectMany(face => Enumerable.Range(0, face.Length)+ .Select(i => (A: System.Math.Min(face[i], face[(i + 1) % face.Length]),+ B: System.Math.Max(face[i], face[(i + 1) % face.Length]))))+ .Distinct().OrderBy(edge => edge.A).ThenBy(edge => edge.B).ToArray();+ return new(id,identity,positions.ToArray(),ns.ToArray(),indices.ToArray(),"SceneRectangularBoundary") {+ GeometryRevision = identity,+ Edges = edgePairs.Select((edge, index) => new DisplayProjectionEdge($"boundary-edge:{index}", [p[edge.A],p[edge.B]], false)).ToArray()+ };}private static (double[] Min,double[] Max) WorldBounds(AssemblyDisplayMeshDocument d){diff --git a/Aetheris.Web.Runtime/Aetheris.Web.Runtime.csproj b/Aetheris.Web.Runtime/Aetheris.Web.Runtime.csprojindex c398431e..5d87fbad 100644--- a/Aetheris.Web.Runtime/Aetheris.Web.Runtime.csproj+++ b/Aetheris.Web.Runtime/Aetheris.Web.Runtime.csproj@@ -16,5 +16,8 @@<!-- The JSON bridge serializes anonymous response shapes through reflection. --><TrimmerRootAssembly Include="Aetheris.Web.Runtime" /><TrimmerRootAssembly Include="Aetheris.Kernel.Firmament" />+ <!-- Assembly/Scene snapshots serialize semantic provenance records. Preserve+ their constructor parameter metadata for the reflection JSON bridge. -->+ <TrimmerRootAssembly Include="Aetheris.Semantics" /></ItemGroup></Project>diff --git a/Aetheris.Web.Runtime/Program.cs b/Aetheris.Web.Runtime/Program.csindex 2eed00af..32c85cb8 100644--- a/Aetheris.Web.Runtime/Program.cs+++ b/Aetheris.Web.Runtime/Program.cs@@ -110,7 +110,14 @@ public static partial class Programif (request.Source is null || string.IsNullOrWhiteSpace(request.SourceRevision))throw new WebRuntimeException("language-input-required", "languageAnalyze requires source and sourceRevision.");var name = request.SourceName ?? "model.firmament";- var analysis = FirmamentLanguageAnalysisService.Analyze(request.Source, name, request.SourceRevision);+ var documents = request.ProjectDocuments is { Count: > 0 }+ ? new Dictionary<string, string>(request.ProjectDocuments, StringComparer.Ordinal) { [name] = request.Source }+ : null;+ var root = request.ProjectRoot ?? name;+ var analysis = documents is not null && documents.TryGetValue(root, out var rootSource) &&+ FirmamentLanguageAnalysisService.HasAssemblyRoot(rootSource)+ ? FirmamentLanguageAnalysisService.Analyze(new FirmamentProjectSnapshot(root, documents), name, request.SourceRevision)+ : FirmamentLanguageAnalysisService.Analyze(request.Source, name, request.SourceRevision);return new { document = name, revision = request.SourceRevision, analysis.Tokens,diagnostics = analysis.Diagnostics.Select(item => new WebDiagnostic(item.Severity, item.Code, item.Message,SourceRefAt(name, request.Source, item.Start, item.Length))).ToArray() };@@ -222,7 +229,7 @@ public static partial class Programstring? SourceName = null, string? PropertyId = null, WebPropertyValue? Value = null,string? SourceRevision = null, int? Offset = null, string? ConstructSemanticId = null,string? FieldId = null, FirmamentProjectedValue? FieldValue = null, int? BuildRevision = null,- bool Performance = false, IReadOnlyDictionary<string, string>? ProjectDocuments = null);+ bool Performance = false, IReadOnlyDictionary<string, string>? ProjectDocuments = null, string? ProjectRoot = null);private sealed class WebRuntimeException(string code, string message) : Exception(message){@@ -432,7 +439,13 @@ public static partial class Programprivate WebBuildResult CompileAssembly(string effective, List<WebProperty> properties){var watch = System.Diagnostics.Stopwatch.StartNew();- var compilation = _compilationSession.Compile(effective, _sourceName);+ // Browser projects are explicit source snapshots. Includes, ports and+ // SectionChain/Loft resources must resolve through the compiler's+ // project path, rather than falling through to the host filesystem.+ var compilation = _projectDocuments is { Count: > 0 }+ ? _compilationSession.CompileProject(new FirmamentProjectSnapshot(_sourceName,+ new Dictionary<string, string>(_projectDocuments, StringComparer.Ordinal) { [_sourceName] = effective }))+ : _compilationSession.Compile(effective, _sourceName);_lastReuse = compilation.Reuse;var compileMs = watch.Elapsed.TotalMilliseconds;if (!compilation.IsSuccess || compilation.Ir is null || compilation.Geometry is null)diff --git a/Aetheris.Web.Runtime/sdk/README.md b/Aetheris.Web.Runtime/sdk/README.mdindex ebe6a117..702a6921 100644--- a/Aetheris.Web.Runtime/sdk/README.md+++ b/Aetheris.Web.Runtime/sdk/README.md@@ -22,9 +22,9 @@ For a single, unmodified Firmament `Box`, the Web runtime tessellates the canoniThe preview package is AGPL-3.0-only. Contact the Aetheris project for commercial licensing; this statement is package metadata, not legal advice.-## Scene and material projection+## Project snapshots and material projection-Scene source compiles through the shared Scene owner. Supply all referenced+Assembly and Scene source compile through their shared project owners. Supply all referenceddependency documents explicitly, using unique project-relative paths:```ts@@ -45,6 +45,16 @@ transforms and resolved materials; Scene output also carries millimetre bounds,environment boundaries and named cameras with poses/look-at/FOV. Scene is displaycomposition and does not provide a synthetic engineering STEP export.+`cad.language.analyze(source, { sourceName, sourceRevision, projectRoot,+projectDocuments })` uses the existing snapshot-aware Assembly analysis when+the root is an Assembly. This resolves included ports without touching disk.+Single-document analysis remains available; declaration modules without a+project context retain the explicit context-required informational diagnostic.++Production AOT preserves the semantic provenance record metadata used by the+reflection JSON bridge. Package generation clears its owned AOT publish output+before publishing, so obsolete fingerprints are not included in the tarball.+Optional definition `cir` metadata carries compiler qualification, structuralidentity, typed field source and bounds. Runtime BRep and CIR ASTs do not crossJSON. Display projection lazily resolves qualified definitions through the manageddiff --git a/Aetheris.Web.Runtime/sdk/scripts/build.mjs b/Aetheris.Web.Runtime/sdk/scripts/build.mjsindex d11fb052..329efadc 100644--- a/Aetheris.Web.Runtime/sdk/scripts/build.mjs+++ b/Aetheris.Web.Runtime/sdk/scripts/build.mjs@@ -21,6 +21,9 @@ await mkdir(dist, { recursive: true });await cp(join(app, '_framework'), join(dist, 'runtime', '_framework'), { recursive: true });if (production) {const published = join(repo, 'artifacts', 'local', 'helios-sdk', 'aot-publish');+ // This generated output belongs to the SDK build. A publish into an old+ // directory retains obsolete fingerprints and doubles the packaged runtime.+ await rm(published, { recursive: true, force: true });run(['publish', project, '-c', 'Release', '-p:RunAOTCompilation=true', '-p:WasmStripILAfterAOT=false','-o', published, '--nologo', '-m:1']);await cp(join(published, 'wwwroot', '_framework'), join(dist, 'runtime-aot', '_framework'), { recursive: true });diff --git a/Aetheris.Web.Runtime/sdk/src/index.d.ts b/Aetheris.Web.Runtime/sdk/src/index.d.tsindex 31e48e13..558e5078 100644--- a/Aetheris.Web.Runtime/sdk/src/index.d.ts+++ b/Aetheris.Web.Runtime/sdk/src/index.d.ts@@ -25,7 +25,7 @@ export interface RuntimeInfo { readonly packageVersion: string; readonly runtimeexport interface WorkerTiming { readonly operation: string; readonly executionMilliseconds: number; readonly transportMilliseconds: number; readonly payloadBytes: number; readonly initialization?: { readonly moduleImportMilliseconds: number; readonly runtimeCreateMilliseconds: number; readonly assemblyExportsMilliseconds: number } | null }export interface OperationOptions { readonly signal?: AbortSignal; readonly sourceRevision?: string; readonly performance?: boolean }export interface CompileOptions extends OperationOptions { readonly sourceName?: string; readonly projectDocuments?: Readonly<Record<string, string>> }-export interface LanguageOptions { readonly sourceName?: string; readonly sourceRevision: string }+export interface LanguageOptions { readonly sourceName?: string; readonly sourceRevision: string; readonly projectDocuments?: Readonly<Record<string, string>>; readonly projectRoot?: string }export interface LanguageField { readonly name: string; readonly type: string; readonly required: boolean; readonly meaning: string; readonly default?: string | null; readonly choices?: readonly string[] | null }export interface LanguageEntry { readonly constructId: string; readonly name: string; readonly context: string; readonly source: string }export interface LanguageCompletion { readonly document: string; readonly revision: string; readonly context: string; readonly replaceStart: number; readonly replaceLength: number; readonly fields: readonly LanguageField[]; readonly missingRequiredFields: readonly string[]; readonly entries?: readonly LanguageEntry[] | null; readonly values?: readonly string[] | null }diff --git a/Aetheris.Web.Runtime/sdk/src/index.js b/Aetheris.Web.Runtime/sdk/src/index.jsindex 75ab6d5c..9773daf6 100644--- a/Aetheris.Web.Runtime/sdk/src/index.js+++ b/Aetheris.Web.Runtime/sdk/src/index.js@@ -85,7 +85,7 @@ export class Aetheris {complete: (source, offset, options = {}) => this.transport.request({ operation: 'languageComplete', source, offset,sourceName: options.sourceName, sourceRevision: options.sourceRevision }),analyze: (source, options = {}) => this.transport.request({ operation: 'languageAnalyze', source,- sourceName: options.sourceName, sourceRevision: options.sourceRevision }),+ sourceName: options.sourceName, sourceRevision: options.sourceRevision, projectDocuments: options.projectDocuments, projectRoot: options.projectRoot }),hover: (source, offset, options = {}) => this.transport.request({ operation: 'languageHover', source, offset,sourceName: options.sourceName, sourceRevision: options.sourceRevision }),definition: (source, offset, options = {}) => this.transport.request({ operation: 'languageDefinition', source, offset,diff --git a/docs/public/demos/industrial-atlas-modernization.md b/docs/public/demos/industrial-atlas-modernization.mdnew file mode 100644index 00000000..da534aa7--- /dev/null+++ b/docs/public/demos/industrial-atlas-modernization.md@@ -0,0 +1,66 @@+# Industrial ATLAS: reusable components and articulation++The canonical model is `fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament`.+Its root now assembles reusable base, upper arm, forearm, and jaw components through+published mounting frames. Joint covers and cover fasteners own their complete+local construction; keyed mounting sites instantiate them. The housing SectionChain+geometry remains unchanged. Materials and appearances are authored in the source.+Assembly GLB export now forwards those occurrence appearances to the existing+serializer, matching USD and the interactive display instead of emitting default grey.++The model retains 60 visible bodies and 24 shared geometry definitions. Five+top-level interfaces replace the former 59 individually seated relationships:+Shoulder, Elbow, WristMount, GripLeft, and GripRight. The wrist is fixed; the other+four interfaces admit motion. Gripper body and jaw components are direct articulated+occurrences, avoiding an unplaced organizational container.++## Corrected construction defects++| Feature | Previous construction | Current construction |+| --- | --- | --- |+| Cover standoffs | 15 mm shafts extended 3 mm into the cover plates | 12 mm shafts meet the underside; heads meet the outer face |+| Jaw roots | Began at X=13 mm, 17 mm inside the 30 mm body | Begin at the body's X=30 mm front face |+| Grip pads | Extruded upward from the jaws | Rotated inward and seated on the opposing jaw faces |++At zero jaw travel, the modeled pads have a 21 mm gap. Positive GripLeft and+GripRight states open their respective jaws outward. Pose evaluation changes+occurrence frames while reusing the same geometry definitions; the pads retain+their local relationship to the jaws.++`IndustrialAtlasModernizationTests` checks transformed native display bounds for+these contacts and clearances, and checks rigid child frames and jaw-to-body+relationships in two articulated poses. USD and GLB tests also exercise the real+display/export paths. Published frame origins use dimension-checked length+arithmetic, including `H / 2`, rather than duplicated height literals.++## Inspect and export++```powershell+dotnet Aetheris.CLI/bin/Release/net10.0/aetheris.dll asm inspect fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament --json+dotnet Aetheris.CLI/bin/Release/net10.0/aetheris.dll asm export-glb fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament artifacts/local/atlas.glb --state Shoulder=-65 --state Elbow=100 --state GripLeft=4 --state GripRight=4 --json+```++Helios copies these canonical modules with source hashes and generates its ATLAS+SVG from the native placed topology edges at that same presentation pose.++This is a nominal presentation assembly, not a manufacturing or robotics release.+The assertions qualify the specific cover and gripper repairs; they do not establish+global collision freedom. Curved drive/housing internals remain simplified. The+current exact solid-interference checker admits convex planar bodies and cannot+qualify all of this model's curved geometry.++Current native qualification: Release solution build succeeded; the fast core lane+passed 1,058 tests and the full serial solution lane passed 4,391 tests across+21 suites, with zero failures or skips. STEP export/reimport retained 24 definitions,+60 bodies and 36 repeated instances. Blender 5.2.2 imported the posed GLB with+60 mesh objects and 24 shared mesh datablocks, and passed normal/transform checks.+Generated reports, STEP/USD/GLB files and render evidence are under ignored+`artifacts/local/atlas-modernization/`.++The synchronized ten-module Helios example also passed the production Chromium+workflow: intact source, native Worker build, visible geometry, hierarchy selection+and inspector. It reported 24 definitions, 113 occurrences, zero diagnostics and+zero page errors. The measured Worker build was 18.6 seconds in this local run;+this is a workflow sample, not a benchmark.+The complete refreshed browser run passed eight workflows, including all five+examples and gallery/theme behavior; all 37 Helios unit tests also passed.diff --git a/docs/public/firmament/assembly-authoring-foundation.md b/docs/public/firmament/assembly-authoring-foundation.mdindex 65b74201..53cedb7b 100644--- a/docs/public/firmament/assembly-authoring-foundation.md+++ b/docs/public/firmament/assembly-authoring-foundation.md@@ -59,7 +59,11 @@ Template<H: Length> Struct Post {Ports specialize through the geometry's typed template frontend. Occurrencesshare exact definitions. Publication creates no new body and infers no arbitrary-BRep face name. Existing DatumFrame/Axis/Plane/Point/Dimension members are admitted;+BRep face name. Published DatumFrame origins accept finite length arithmetic after+template specialization, for example `[0mm,0mm,H / 2]` or `[0mm,0mm,H + 2mm]`.+Bare numeric literals retain the legacy millimetre convention. Wrong dimensions,+division by zero, and non-finite origins reject with `assembly-port-frame-origin-invalid`.+Existing DatumFrame/Axis/Plane/Point/Dimension members are admitted;malformed and duplicate members fail.SectionChain-file Models can publish their authored section frames:diff --git a/docs/public/firmament/project-snapshots.md b/docs/public/firmament/project-snapshots.mdindex 931c456f..077223dc 100644--- a/docs/public/firmament/project-snapshots.md+++ b/docs/public/firmament/project-snapshots.md@@ -1,7 +1,9 @@-# In-memory assembly project snapshots+# In-memory Firmament project snapshots-`FirmamentProjectSnapshot` accepts one explicit `.firmasm` root and a finite map of project-relative `.firmasm` and `.firmament` source documents. `AssemblyM1Pipeline.CompileProject(snapshot)` resolves `Include` declarations and `LoftFile`/`SectionChainFile` sources from that map. Paths use `/`, normalize `.` and `..`, and reject paths outside the project root. The local `CompileFile` path remains available for CLI use.+`FirmamentProjectSnapshot` accepts one explicit `.firmasm` or `.firmament` root and a finite map of project-relative `.firmasm` and `.firmament` source documents. `AssemblyM1Pipeline.CompileProject(snapshot)` resolves `Include` declarations and `LoftFile`/`SectionChainFile` sources from that map. Paths use `/`, normalize `.` and `..`, and reject paths outside the project root. The local `CompileFile` path remains available for CLI use.-This compiler entry point can materialize the canonical Cartesian lamp assembly and its shade from two in-memory source strings. It does not yet expose a browser SDK project API. Its `Include` syntax currently accepts `.firmament` documents only, so nested `.firmasm` project documents are not supported. `ExternalStep` and `InlineStep` are rejected for snapshot compilation because the snapshot contains source documents, not binary STEP assets.+This compiler entry point can materialize the canonical Cartesian lamp assembly and its shade from two in-memory source strings. The browser SDK now accepts `projectDocuments` beside `sourceName` for Assembly and Scene compilation, routing to the existing retained compilation owners. Helios's local showcase uses that path for the canonical ATLAS, guitar and house projects. Browser language analysis also accepts `projectRoot` and `projectDocuments` for Assembly project context. This source-snapshot API does not introduce multi-file cloud persistence.++Assembly `Include` syntax currently accepts `.firmament` documents only, so nested `.firmasm` project documents are not supported. `ExternalStep` and `InlineStep` are rejected for snapshot compilation because the snapshot contains source documents, not binary STEP assets.The assembly parser currently combines included declarations into the root source before binding. Dependency hashes identify included documents, but construct source ranges within those declarations do not yet retain their original document path. Multi-document source navigation requires that provenance work before an IDE can claim accurate cross-file selection.diff --git a/docs/public/reference/wireframe.md b/docs/public/reference/wireframe.mdindex a46647f7..af4a0908 100644--- a/docs/public/reference/wireframe.md+++ b/docs/public/reference/wireframe.md@@ -6,7 +6,7 @@aetheris wireframe model.step --out model.wireframe.svg --view iso --density 8 --json```-Available views are `iso`, `front`, `top`, and `right`. `--density` controls the number of interior constant-parameter lines per face from `2` through `32`; `--samples` controls curve sampling from `8` through `256`.+Available views are `iso`, `iso-z` (Z-up isometric), `front`, `top`, and `right`. `--density` controls the number of interior constant-parameter lines per face from `2` through `32`; `--samples` controls curve sampling from `8` through `256`.The renderer draws two kinds of evidence:@@ -18,3 +18,5 @@ STEP imports that do not retain usable pcurve bindings are passed through AetherThe current exact-support evaluator covers planes, cylinders, cones, spheres, tori, linear extrusions, surfaces of revolution, and non-rational B-spline surfaces. A face without usable trim loops remains visible through its topology edges but does not receive speculative interior isolines.This output is a diagnostic visualization. It is not a tessellated product representation, hidden-line-removed engineering drawing, shaded render, or substitute for STEP/BRep validation. All lines remain visible through the model, deliberately producing the technical “x-ray wireframe” appearance.++Native asset generators can use `BrepWireframeOptions` to set dimensions, monochrome colors, stroke widths, centered framing and label visibility. `BrepWireframeSvgRenderer.RenderEdges` uses the same view/framing projection for already sampled topology polylines. Its caller owns occurrence placement and provenance; it does not infer surface isolines or topology from triangle meshes. Scene rectangular panels and window pieces publish their twelve boundary edges alongside display faces.diff --git a/docs/release/P4-03-HELIOS-SHOWCASE-X0.md b/docs/release/P4-03-HELIOS-SHOWCASE-X0.mdnew file mode 100644index 00000000..470f3af3--- /dev/null+++ b/docs/release/P4-03-HELIOS-SHOWCASE-X0.md@@ -0,0 +1,130 @@+# P4-03 — HELIOS-SHOWCASE-X0++Date: 2026-10-07. Product implementation: sibling `HeliosCAD` checkout. Runtime and distribution repairs: `Aetheris.Web.Runtime`.++## Verdict++**Accepted** for the qualified local production experience. All five canonical projects compile and render through the real browser runtime; browser coverage comprises 16 passing checks and the full serial .NET gate passes. The latest hero revision passes its three affected production checks. Public deployment and the separate cloud/backend qualification remain outside this acceptance.++## Product direction and audit++Helios opens as an anonymous, human-facing 3D design studio and leads into its source-and-geometry workspace. Founder review replaced the initial descriptive SaaS-style welcome page with a raw object catalog: a naturally proportioned Inter HeliosCAD title with a light CAD suffix, a single-line vertical statement roll-up, prominent New part / New assembly actions, thick outlines, flat square cards, large black-and-white SVG model views and short names. Cards use warm paper with a subtle grain overlay in both themes. Introductory slogans, the workflow strip, card descriptions and reassurance copy were removed. New browsers default to white Sirius; dark Mars restores the original dark green and gold palette across the welcome screen, shell, Monaco and viewport. The shared theme preference persists across reloads and editor entry.++The audit found useful systems already working: Monaco with compiler-owned language intelligence; a dedicated geometry Worker; retained last-valid snapshots; shared Three Telos WebGPU, topology and picking; existing cloud ownership; and development-only PowerShell terminal support. They were kept. The previous first launch depended on community authentication, the editor split and docks were fixed, the model hierarchy was not mounted, placeholder Git/LLM tabs suggested unavailable functionality, and the green/orange viewport competed with the model. Existing README language-service claims were also behind the implementation.++The first launch presents five genuine examples, search and categories. ATLAS, guitar and house lead the three-column catalog, followed by the mounting plate and threaded bolt. **New part** opens the existing simple box starter; **New assembly** opens the existing two-component assembly starter. These are editable browser-local workspaces with Build, source download and STEP export. The gallery initializes neither Monaco nor the geometry runtime until a model opens. No account or backend is required. Community and saved-account flows retain their existing owner at `/discover` and `/projects`.++The workspace keeps source on the left, geometry beside it, a collapsible utility dock and a compact bottom pane. Source/viewport and bottom separators support pointer and arrow-key resizing. Files exposes intact documents and the compiled hierarchy; Inspector presents semantic identity, occurrence, definition, parent, transform and available source references. Examples is available in the dock and a focus-managed modal. Problems and Output show real runtime information. Terminal is offered only on the local development host and starts when opened. Production has no terminal tab.++Typography uses self-hosted Inter variable fonts throughout the workspace, including Monaco, terminal, numeric and identity values and branding text. Workspace text is 10–14 px, source is 14 px, and larger headings are confined to the welcome screen. Weights establish hierarchy. Spacing tokens use 4/8/12/16/24 px. Surfaces, control states, visible keyboard focus and 100 ms feedback are shared; reduced-motion preferences are respected. New reusable components own gallery cards, example dialog, pane separators, workspace status and AI Author presentation. There is no general UI framework replacement.++## Real examples and source ownership++| Project | Source documents | Shared definitions | Occurrences | Browser result |+| --- | ---: | ---: | ---: | --- |+| Mounting plate | 1 | 1 | 1 | Part, source-linked hole, STEP |+| CODEX threaded bolt | 1 | 1 | 1 | Threaded stock, hex head and maker-mark source, STEP |+| Industrial ATLAS | 10 | 24 | 113 | Reusable components, shared geometry, STEP |+| Sunburst electric guitar | 24 | 56 | 171 | Included components, materials, strings and hardware, STEP |+| Warm-modern house | 8 | 94 | 254 | Scene hierarchy, authored materials and three cameras |++All five compile in the production AOT Worker with zero diagnostics. The gallery ships 44 canonical source documents and five monochrome SVG wireframes, approximately 1.86 MB of uncompressed SVG total. `HeliosCAD/scripts/sync-showcase.mts` copies upstream bytes and records origins and SHA-256 hashes in `fixtures/showcase/provenance.json`. Source imports are lazy. Project documents remain separate; Aetheris resolves includes and resources. The frontend has no Firmament parser or geometry solver.++The SDK accepted `projectDocuments` but Assembly compilation previously ignored them. The repair routes that request to the existing retained `CompileProject(FirmamentProjectSnapshot)` owner, including the effective root source. Project-aware language analysis now uses the existing compiler overload instead of producing false missing-resource diagnostics for ATLAS's housing files. A real two-file browser witness builds shared instances, edits a supporting module, switches files without losing changes, rebuilds the root, and diagnoses a missing include while retaining valid geometry.++Scene opening defaults to its first authored camera. This was a direct visual-dogfood improvement over framing a closed house as an exterior box. The house's Hero view immediately shows its living, kitchen and dining composition. Manual and automated orbit and coffee-table selection were exercised.++Current thumbnail provenance and reproduction instructions live beside `HeliosCAD/public/previews/showcase/wireframes/`. The native asset generator reuses Aetheris compilation, occurrence transforms, topology-edge projections and the existing BRep SVG view/framing renderer. Parts use exact STEP edges and trim-aware isolines; Assemblies and Scenes use placed sampled topology edges. No triangle diagonals or handmade model outlines are substituted. The house uses an explicit presentation cutaway through the existing Scene projection. Room/window rectangular definitions previously supplied faces but no edges; the owning Scene constructor now supplies its twelve real boundary edges. The wireframes intentionally show through geometry and are not hidden-line drawings. The browser runtime does not participate in asset generation. Regenerating all five SVGs produced byte-identical SHA-256 hashes; evidence is in `HeliosCAD/artifacts/local/p4-03/wireframe-reproduction.log`.++The latest ATLAS card uses `AssemblyKinematics.Evaluate` with Shoulder -65°, Elbow 100° and both grippers at 4 mm, recorded in thumbnail provenance. The canonical source opens at its authored zero pose. The earlier hero-only revision regenerated all five warm-paper SVGs byte-identically, recorded in `HeliosCAD/artifacts/local/p4-03/hero-reproduction.log`.++The subsequent [ATLAS modernization](../public/demos/industrial-atlas-modernization.md) replaces individual decorative seating relationships with reusable components and keyed mounting sites, repairs cover standoffs, jaw roots and inward pad seating, and retains 60 bodies and 24 geometry definitions. Its current card and copied source modules were regenerated together. Published mounting-frame origins now accept dimension-checked length arithmetic, and assembly GLB export preserves authored occurrence materials. Fresh qualification passed: 4,391 full serial native tests, 1,058 fast core tests, 37 Helios unit tests, and eight production browser workflows covering all five examples, gallery/theme behavior, hero motion and the assembly starter. Evidence is under `Aetheris/artifacts/local/atlas-modernization/`.++Earlier real raster presentation images remain available for documentation. AI-generated front-page concept images informed composition only and are not application assets. Factory/warehouse and sheet metal were not added to this bounded gallery; the active SDK does not advertise sheet-metal support.++## Build, inspection and export++Build and Ctrl+Enter compile the project root, including supporting-file edits. Runtime initialization, building, failure and ready states are distinct. Actual elapsed time replaces fabricated progress. Heavy requests remain serialized through the existing Worker client, and late results cannot overwrite newer source. Source and displayed revisions identify stale geometry. Invalid source retains the last valid model and opens precise Problems with source navigation where available.++Monaco keeps undo, formatting, completion, hover, semantic tokens, markers and source navigation. Semantic-token results are discarded if the document changed while the request ran. Dirty indicators belong to each file; reverting to its saved source clears its indicator. New-document commands clear the previous project snapshot. Local Save source downloads the active file; supporting files must also be downloaded before leaving. This is a browser-session workspace, not multi-file cloud persistence. Some compiler assembly-instance nodes have no source span; Inspector reports that limitation and disables Go to Source for them.++Founder feedback added consistent Inter and an editor wrapping option. `@fontsource-variable/inter` is pinned to 5.3.0, includes the OFL-1.1 license, and ships local normal/italic webfonts. Monaco remeasures after Inter loads and uses its advanced wrapping strategy for proportional glyph widths. The vertical scrollbar gutter now has an opaque editor surface, preventing long lines from showing through the scrollbar. **Wrap** and **Alt+Z** toggle a persisted preference. A real browser regression checks loaded fonts in the editor, line numbers, shell, output and development terminal, plus text bounds beside the scrollbar at 1920 and 1280 widths, keyboard toggling and preference persistence. See [Inter distribution and license](https://fontsource.org/fonts/inter/use).++Three Telos remains the display authority. Camera presets, projection, shaded/edge/wire views, fit, fit selection, BRep surface inspection and authored cameras remain available. The viewport's effect depends on model/display changes rather than the entire changing props object, so elapsed build ticks do not repeatedly reconstruct the scene. Workspace disposal terminates the owned Worker; in-flight initialization cannot leave an orphan Worker. Device failure retains the model and offers the existing viewport restart path.++The production first-user witness also checks the actual GPU display path: the holed plate renders one mesh surface with a named `mesh-fallback` reason; the corrected qualified Box renders one CIR field, zero visual mesh surfaces and a bound shader artifact. Its retained mesh proxy remains for picking. `display-paths.json` records both packets without putting implementation controls in the normal UI.++Only active supported exports appear: STEP AP242 for Parts and Assemblies, with explicit download feedback and filenames. Scene STEP is omitted. Browser GLB and USD are omitted because the SDK exposes no such methods; the native CLI remains their owner. The downloaded bracket recovery witness was re-inspected through the repository CLI: one valid closed body, six faces, twelve edges, eight vertices, 50 × 40 × 8 mm. It is the corrected solid used by walkthrough E, not the initial holed plate.++AI Author provides an intentional empty state, provider/composer placement and the propose → review → apply/build contract. Controls say no provider is connected and are disabled. P4-04 can attach provider-neutral proposals, diffs and approved tool actions to the existing source/build workflow. No provider calls, streaming responses or generated source were fabricated.++## Browser walkthroughs and evidence++These checks use the actual SDK and installed Edge WebGPU. Mock compiler responses are used only in focused component tests. The real application was repeatedly opened and operated with browser tools during design, including camera presets, surface selection, gallery navigation, ATLAS Base selection, house Hero/orbit/coffee-table inspection and layout review. Browser captures drove further revisions to file labels, diagnostics, Scene framing and thumbnails.++| Walkthrough | Qualified behavior | Screenshot under `HeliosCAD/artifacts/local/p4-03/` |+| --- | --- | --- |+| A | Anonymous first launch, plate source, real Build and geometry | `first-launch.png`, `mechanical.png` |+| B | ATLAS and guitar sources, real assembly geometry, hierarchy and component inspection | `robot.png`, `robot-inspector.png`, `guitar.png`, `guitar-inspector.png` |+| C | House project files, default Hero camera, interior materials, orbit and coffee-table inspection | `house.png`, `house-inspector.png` |+| D | Invalid source, actionable diagnostics, retained geometry, corrected Ctrl+Enter Build | `diagnostics.png` |+| E | Actual STEP download, native reinspection | `export.png`, `bracket.step` |+| Additional | Gallery, selected face, honest AI state, smaller desktop and Inter with word wrapping | `gallery.png`, `selection-inspector.png`, `ai-author.png`, `narrow-desktop.png`, `editor-word-wrap.png` |+| Founder visual revision | SVG catalog, original green/gold dark mode, theme persistence into the real editor, narrow and mobile browsing | `wireframe-gallery/light.png`, `wireframe-gallery/dark.png`, `wireframe-gallery/narrow.png`, `wireframe-gallery/mobile.png`, `wireframe-gallery/studio-dark.png`, `wireframe-gallery/studio-light.png` |++Product captures use 1920 × 1080, with the narrow layout at 1280 × 800. The local shell and Monaco language walkthroughs explicitly set 2560 × 1440 and produce `HELIOS-MVP-UX-X0-2560x1440.png` and the language capture. No browser devtools or runtime overlays are included in product screenshots. Generated evidence stays ignored. Shipped thumbnails and README media are traceable product assets.++## Measured observations and AOT distribution++Measurements are local loopback, fresh test contexts on this workstation; they are not internet cold-download or cross-device benchmarks.++| Operation | Observed |+| --- | --- |+| First launch → ready plate and explicit rebuild | approximately 2.8 seconds |+| ATLAS Worker build / ready observation | 20.1 s / 24.5 s |+| Guitar Worker build / ready observation | 55.1 s / 66.1 s |+| House Worker build / ready observation | 5.6 s / 8.9 s; separate live build 4.8 s |+| Bolt Worker build / ready observation | 16.6 s / 18.9 s |+| Monaco completion after startup | 24 ms then 3 ms |+| Hover / formatting | 5 ms / 40 and 35 ms |+| Language analysis | initial 2.0 s; subsequent 18 and 15 ms |++Full canonical browser tests take longer than the ready observation because hierarchy, GPU presentation, selection and captures are also qualified. The initial development runtime and stale September AOT package were not accepted as current production evidence. A fresh AOT publish exposed `ConstructorContainsNullParameterNames, Aetheris.Semantics.SemanticProvenance` on Assembly/Scene snapshot serialization. Rooting the owning Semantics assembly preserves required constructor metadata, consistent with the existing reflection bridge. After rebuilding and installing through the SDK distribution workflow, both projects compile in the real production browser.++The build script also clears its owned generated AOT publish directory before publishing; obsolete fingerprints had inflated the tarball. Current SDK package: 120,069,885 bytes, approximately 226.9 MB unpacked, 758 files. Current native AOT WASM: 68,359,662 bytes; Brotli 12,563,985 and gzip 20,088,901 bytes. The SDK's existing package version remains `2.0.0-preview.3`; this milestone does not silently change release/version policy. The welcome route avoids initializing either runtime until an example opens. The editor bundle and AOT download remain substantial; production compression and delivery remain distribution considerations.++## Validation and reproduction++- Helios Vitest: 37 passed across 10 files.+- Canonical/multi-file/Inter, wrapping and SVG catalog production browser coverage: ten passing checks, zero page errors. The HeliosCAD revision passes three affected checks: responsive catalog/theme/Part entry, Assembly editing/build/STEP export, and statement roll-up/pause/reduced motion. Inter/wrapping and the six unchanged canonical/project checks retain their preceding qualification.+- Local language, 1440p terminal/edit/build/export, surface inspection and Worker lifecycle browser regressions: 6 passed. The Scene camera and first-user/gallery paths were rerun after visual revisions.+- Three Telos unit tests: 14 passed.+- Public SDK selection/language unit tests: 6 passed.+- Production TypeScript/Vite build passes, with the existing large-editor-chunk warning.+- Final .NET solution build: passed with 10 warnings and zero errors (existing obsolete test API and WebAssembly SQLite warnings). Fast Core lane: 1,058 passed. Full serial solution gate: 4,383 passed across 21 suites, zero failures and skips. Three new tests cover SVG projection and the twelve unique Scene box boundary edges.++Reproduce from HeliosCAD:++```powershell+node scripts/sync-showcase.mts+npm run sdk:install:production+npm test+npm run build+npm run preview -- --host 127.0.0.1 --port 4174+# In another terminal:+$env:HELIOS_SHOWCASE_URL = 'http://127.0.0.1:4174'+npx playwright test --config playwright.showcase.config.ts tests/showcase-x0.spec.ts tests/project-loading.spec.ts tests/editor-presentation.spec.ts tests/wireframe-gallery.spec.ts+# Development-only terminal/language/witness regressions use port 4173:+Remove-Item Env:HELIOS_SHOWCASE_URL+npx playwright test --config playwright.showcase.config.ts tests/language-x2.spec.ts tests/mvp-ux-x0.spec.ts tests/surface-inspection.spec.ts tests/worker-sdk.spec.ts+```++Reproduce the native gate from Aetheris with `dotnet build Aetheris.slnx -c Release -m:1`, the documented fast lane and `dotnet test Aetheris.slnx -c Release --no-build -m:1 -- RunConfiguration.MaxCpuCount=1`. Logs and unique TRX files live in `artifacts/local/p4-03/`. A competing AOT build caused an earlier CLI export test to exceed its five-second tessellation budget at 5,269 ms. The quiet final gate passed that case without changing its budget or tests.++## Preview 4 boundaries and founder review++The implementation is qualified locally through the built production frontend. It has not been publicly deployed. Account/cloud integration, PostgreSQL/S3, production HTTPS and the separate Leviathan test suite were not rerun in this bounded task. Existing cloud API/auth/ownership semantics were kept; no other backend repository was changed. Multi-file cloud saving, recent-workspace persistence, source-span improvements for every assembly instance, pose editing and the provider gateway remain separate work.++The current dependency audit reports pre-existing DOMPurify/Monaco moderate advisories and a source-map-js build-tooling high advisory. The pinned font adds no dependencies. These findings are recorded in ignored `HeliosCAD/artifacts/local/p4-03/dependency-audit.json`; this product change does not silently upgrade Monaco or the toolchain. Dependency remediation and public deployment qualification remain release follow-up work.++Founder feedback can now focus on the monochrome object catalog, bold framing and scale, green/gold dark mode, and the transition into the working editor. The chosen tradeoff prioritizes the human-facing 3D objects and immediate editing experience, while retaining intact source examples and the existing compiler/runtime owners. CLI and Cadmata remain the ordinary LLM-facing paths. Static Scenes communicate spatial authoring and interchange; they do not claim manufacturing simulation or autonomous physical AI.diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/appearance.json b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/appearance.jsonindex db34ce15..b4c89093 100644--- a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/appearance.json+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/appearance.json@@ -1,5 +1,5 @@{- "Drum<R:55mm,H:70mm>": {+ "Pedestal<H:70mm>": {"red": 0.026,"green": 0.031,"blue": 0.039,@@ -132,7 +132,7 @@"metallic": 0.9,"roughness": 0.23},- "Drum<R:2.5mm,H:15mm>": {+ "Drum<R:2.5mm,H:12mm>": {"red": 0.6,"green": 0.64,"blue": 0.7,@@ -146,14 +146,14 @@"metallic": 0.9,"roughness": 0.23},- "Panel<L:30mm,W:50mm,H:28mm,R:7mm>": {+ "GripperBody<H:28mm>": {"red": 0.026,"green": 0.031,"blue": 0.039,"metallic": 0.55,"roughness": 0.3},- "Panel<L:56mm,W:7mm,H:10mm,R:3mm>": {+ "GripperJaw<H:10mm>": {"red": 0.6,"green": 0.64,"blue": 0.7,diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmamentindex 51b116df..65f177f1 100644--- a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/atlas-industrial.firmament@@ -1,335 +1,24 @@-// Original compact industrial elbow arm, inspired by orange factory manipulators.-// All product geometry is exact Aetheris geometry; USD is downstream appearance.-Template<R: Length, H: Length> Struct Drum {- Circle2 Outline { Center: [0mm,0mm] Radius: R }- Profile Section { Loop Outer { Outline |> TraceLoop } }- Extrude Body { Profile: Section From: 0mm To: H }-}-Template<R: Length, Bore: Length, H: Length> Struct Ring {- Circle2 Outside { Center: [0mm,0mm] Radius: R }- Circle2 Inside { Center: [0mm,0mm] Radius: Bore }- Profile Section { Loop Outer { Outside |> TraceLoop } Loop Inner { Inside As BoreBoundary |> TraceLoop } }- Extrude Body { Profile: Section From: 0mm To: H }-}-Template<L: Length, W: Length, H: Length, R: Length> Struct Panel {- RoundedRect2 Outline { Center: [L / 2,0mm] Size: [L,W] Radius: R }- Profile Section { Loop Outer { Outline |> TraceLoop } }- Extrude Body { Profile: Section From: 0mm To: H }-}+// ATLAS: source-owned rigid components and four articulated interfaces.+// Exact presentation geometry; nominal dimensions, not a manufacturing release.+include "materials.firmament";+include "hardware.firmament";+include "base.firmament";+include "upper-arm.firmament";+include "fore-arm.firmament";+include "gripper.firmament";Assembly AtlasIndustrial {<Assembly AtlasIndustrial>- <Part Base = Drum<R:55mm,H:70mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Hinge { DatumFrame Frame = [0,0,105] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic FootSeat { DatumFrame Frame = [-75,0,-8] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic TurntableSeat { DatumFrame Frame = [0,0,70] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic ShoulderPlinthSeat { DatumFrame Frame = [0,0,78] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic FootBolt1Seat { DatumFrame Frame = [-60,-50,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic FootBolt2Seat { DatumFrame Frame = [60,-50,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic FootBolt3Seat { DatumFrame Frame = [-60,50,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic FootBolt4Seat { DatumFrame Frame = [60,50,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part Foot = Panel<L:150mm,W:130mm,H:8mm,R:14mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part Turntable = Drum<R:57mm,H:8mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ShoulderPlinth = Drum<R:44mm,H:27mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part FootBolt1 = Drum<R:4mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part FootBolt2 = Drum<R:4mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part FootBolt3 = Drum<R:4mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part FootBolt4 = Drum<R:4mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Assembly UpperArm>- Placement LegacyExplicit = [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];- <Part Housing = SectionChainFile<"upper-housing.firmament">>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Input { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic Output { DatumFrame Frame = [200,0,0] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic UpperArmShoulderDrumSeat { DatumFrame Frame = [0,38.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderRingSeat { DatumFrame Frame = [0,-38.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderCapSeat { DatumFrame Frame = [0,-42.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt1Seat { DatumFrame Frame = [34.0,-47.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt2Seat { DatumFrame Frame = [17.0,-47.0,29.44486] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt3Seat { DatumFrame Frame = [-17.0,-47.0,29.44486] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt4Seat { DatumFrame Frame = [-34.0,-47.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt5Seat { DatumFrame Frame = [-17.0,-47.0,-29.44486] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmShoulderBolt6Seat { DatumFrame Frame = [17.0,-47.0,-29.44486] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndDrumSeat { DatumFrame Frame = [200,31.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndRingSeat { DatumFrame Frame = [200,-31.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndCapSeat { DatumFrame Frame = [200,-35.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt1Seat { DatumFrame Frame = [225.0,-40.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt2Seat { DatumFrame Frame = [212.5,-40.0,21.65064] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt3Seat { DatumFrame Frame = [187.5,-40.0,21.65064] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt4Seat { DatumFrame Frame = [175.0,-40.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt5Seat { DatumFrame Frame = [187.5,-40.0,-21.65064] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmEndBolt6Seat { DatumFrame Frame = [212.5,-40.0,-21.65064] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ServicePanelSeat { DatumFrame Frame = [53,-32,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelStandoff1Seat { DatumFrame Frame = [58,-20,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelBolt1Seat { DatumFrame Frame = [58,-34,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelStandoff2Seat { DatumFrame Frame = [138,-20,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelBolt2Seat { DatumFrame Frame = [138,-34,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelStandoff3Seat { DatumFrame Frame = [58,-20,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelBolt3Seat { DatumFrame Frame = [58,-34,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelStandoff4Seat { DatumFrame Frame = [138,-20,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic UpperArmPanelBolt4Seat { DatumFrame Frame = [138,-34,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- </Part>- <Part UpperArmShoulderDrum = Drum<R:44mm,H:76mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderRing = Ring<R:44mm,Bore:38mm,H:4mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderCap = Drum<R:39mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt1 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt2 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt3 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt4 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt5 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmShoulderBolt6 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndDrum = Drum<R:35mm,H:62mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndRing = Ring<R:35mm,Bore:29mm,H:4mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndCap = Drum<R:30mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt1 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt2 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt3 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt4 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt5 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmEndBolt6 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ServicePanel = Panel<L:92mm,W:27mm,H:2mm,R:6mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelStandoff1 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelBolt1 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelStandoff2 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelBolt2 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelStandoff3 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelBolt3 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelStandoff4 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part UpperArmPanelBolt4 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- </Assembly>- <Assembly ForeArm>- Placement LegacyExplicit = [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];- <Part Housing = SectionChainFile<"fore-housing.firmament">>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Input { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic Output { DatumFrame Frame = [180,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic ForeArmEndDrumSeat { DatumFrame Frame = [180,22.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndRingSeat { DatumFrame Frame = [180,-22.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndCapSeat { DatumFrame Frame = [180,-26.0,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt1Seat { DatumFrame Frame = [194.0,-31.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt2Seat { DatumFrame Frame = [187.0,-31.0,12.12436] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt3Seat { DatumFrame Frame = [173.0,-31.0,12.12436] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt4Seat { DatumFrame Frame = [166.0,-31.0,0.0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt5Seat { DatumFrame Frame = [173.0,-31.0,-12.12436] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmEndBolt6Seat { DatumFrame Frame = [187.0,-31.0,-12.12436] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic MakerPlateSeat { DatumFrame Frame = [40,-27,0] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelStandoff1Seat { DatumFrame Frame = [44,-15,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelBolt1Seat { DatumFrame Frame = [44,-29,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelStandoff2Seat { DatumFrame Frame = [120,-15,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelBolt2Seat { DatumFrame Frame = [120,-29,-6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelStandoff3Seat { DatumFrame Frame = [44,-15,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelBolt3Seat { DatumFrame Frame = [44,-29,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelStandoff4Seat { DatumFrame Frame = [120,-15,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic ForeArmPanelBolt4Seat { DatumFrame Frame = [120,-29,6] x [1,0,0] y [0,0,1] z [0,-1,0]; }- </Part>- <Part ForeArmEndDrum = Drum<R:24mm,H:44mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndRing = Ring<R:24mm,Bore:18mm,H:4mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndCap = Drum<R:19mm,H:5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt1 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt2 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt3 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt4 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt5 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmEndBolt6 = Drum<R:2.2mm,H:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part MakerPlate = Panel<L:84mm,W:18mm,H:2mm,R:3mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelStandoff1 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelBolt1 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelStandoff2 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelBolt2 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelStandoff3 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelBolt3 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelStandoff4 = Drum<R:2.5mm,H:15mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part ForeArmPanelBolt4 = Drum<R:1.5mm,H:1.5mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- </Assembly>- <Assembly Gripper>- Placement LegacyExplicit = [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];- <Part Body = Panel<L:30mm,W:50mm,H:28mm,R:7mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Input { DatumFrame Frame = [0,0,14] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Left { DatumFrame Frame = [13,16,14] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic Right { DatumFrame Frame = [13,-16,14] x [1,0,0] y [0,0,1] z [0,-1,0]; }- </Part>- <Part LeftJaw = Panel<L:56mm,W:7mm,H:10mm,R:3mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Slide { DatumFrame Frame = [0,0,5] x [1,0,0] y [0,0,-1] z [0,1,0]; }- Semantic LeftPadSeat { DatumFrame Frame = [42,0,10] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part RightJaw = Panel<L:56mm,W:7mm,H:10mm,R:3mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- Semantic Slide { DatumFrame Frame = [0,0,5] x [1,0,0] y [0,0,1] z [0,-1,0]; }- Semantic RightPadSeat { DatumFrame Frame = [42,0,10] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part LeftPad = Panel<L:10mm,W:7mm,H:2mm,R:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- <Part RightPad = Panel<L:10mm,W:7mm,H:2mm,R:2mm>>- Semantic Mount { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }- </Part>- </Assembly>+ <Assembly Base = AtlasBase></Assembly>+ <Assembly UpperArm = AtlasUpperArm></Assembly>+ <Assembly ForeArm = AtlasForeArm></Assembly>+ <Part Gripper = GripperBody<H:28mm>> material: Steel with { appearance: BlackPaint; }; </Part>+ <Assembly LeftJaw = AtlasLeftJaw></Assembly>+ <Assembly RightJaw = AtlasRightJaw></Assembly></Assembly>- Anchor: AtlasIndustrial.Base.Hinge;- Interface<Revolute> Shoulder { A: AtlasIndustrial.Base.Hinge; B: AtlasIndustrial.UpperArm.Housing.Input; }- Interface<Revolute> Elbow { A: AtlasIndustrial.UpperArm.Housing.Output; B: AtlasIndustrial.ForeArm.Housing.Input; }- Interface<Fixed> WristMount { A: AtlasIndustrial.ForeArm.Housing.Output; B: AtlasIndustrial.Gripper.Body.Input; }- Interface<Prismatic> GripLeft { A: AtlasIndustrial.Gripper.Body.Left; B: AtlasIndustrial.Gripper.LeftJaw.Slide; }- Interface<Prismatic> GripRight { A: AtlasIndustrial.Gripper.Body.Right; B: AtlasIndustrial.Gripper.RightJaw.Slide; }- Interface<Fixed> FootMount { A: AtlasIndustrial.Base.FootSeat; B: AtlasIndustrial.Foot.Mount; }- Interface<Fixed> TurntableMount { A: AtlasIndustrial.Base.TurntableSeat; B: AtlasIndustrial.Turntable.Mount; }- Interface<Fixed> ShoulderPlinthMount { A: AtlasIndustrial.Base.ShoulderPlinthSeat; B: AtlasIndustrial.ShoulderPlinth.Mount; }- Interface<Fixed> FootBolt1Mount { A: AtlasIndustrial.Base.FootBolt1Seat; B: AtlasIndustrial.FootBolt1.Mount; }- Interface<Fixed> FootBolt2Mount { A: AtlasIndustrial.Base.FootBolt2Seat; B: AtlasIndustrial.FootBolt2.Mount; }- Interface<Fixed> FootBolt3Mount { A: AtlasIndustrial.Base.FootBolt3Seat; B: AtlasIndustrial.FootBolt3.Mount; }- Interface<Fixed> FootBolt4Mount { A: AtlasIndustrial.Base.FootBolt4Seat; B: AtlasIndustrial.FootBolt4.Mount; }- Interface<Fixed> UpperArmShoulderDrumMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderDrumSeat; B: AtlasIndustrial.UpperArm.UpperArmShoulderDrum.Mount; }- Interface<Fixed> UpperArmShoulderRingMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderRingSeat; B: AtlasIndustrial.UpperArm.UpperArmShoulderRing.Mount; }- Interface<Fixed> UpperArmShoulderCapMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderCapSeat; B: AtlasIndustrial.UpperArm.UpperArmShoulderCap.Mount; }- Interface<Fixed> UpperArmShoulderBolt1Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt1Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt1.Mount; }- Interface<Fixed> UpperArmShoulderBolt2Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt2Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt2.Mount; }- Interface<Fixed> UpperArmShoulderBolt3Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt3Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt3.Mount; }- Interface<Fixed> UpperArmShoulderBolt4Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt4Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt4.Mount; }- Interface<Fixed> UpperArmShoulderBolt5Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt5Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt5.Mount; }- Interface<Fixed> UpperArmShoulderBolt6Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmShoulderBolt6Seat; B: AtlasIndustrial.UpperArm.UpperArmShoulderBolt6.Mount; }- Interface<Fixed> UpperArmEndDrumMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndDrumSeat; B: AtlasIndustrial.UpperArm.UpperArmEndDrum.Mount; }- Interface<Fixed> UpperArmEndRingMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndRingSeat; B: AtlasIndustrial.UpperArm.UpperArmEndRing.Mount; }- Interface<Fixed> UpperArmEndCapMount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndCapSeat; B: AtlasIndustrial.UpperArm.UpperArmEndCap.Mount; }- Interface<Fixed> UpperArmEndBolt1Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt1Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt1.Mount; }- Interface<Fixed> UpperArmEndBolt2Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt2Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt2.Mount; }- Interface<Fixed> UpperArmEndBolt3Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt3Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt3.Mount; }- Interface<Fixed> UpperArmEndBolt4Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt4Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt4.Mount; }- Interface<Fixed> UpperArmEndBolt5Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt5Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt5.Mount; }- Interface<Fixed> UpperArmEndBolt6Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmEndBolt6Seat; B: AtlasIndustrial.UpperArm.UpperArmEndBolt6.Mount; }- Interface<Fixed> ForeArmEndDrumMount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndDrumSeat; B: AtlasIndustrial.ForeArm.ForeArmEndDrum.Mount; }- Interface<Fixed> ForeArmEndRingMount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndRingSeat; B: AtlasIndustrial.ForeArm.ForeArmEndRing.Mount; }- Interface<Fixed> ForeArmEndCapMount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndCapSeat; B: AtlasIndustrial.ForeArm.ForeArmEndCap.Mount; }- Interface<Fixed> ForeArmEndBolt1Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt1Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt1.Mount; }- Interface<Fixed> ForeArmEndBolt2Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt2Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt2.Mount; }- Interface<Fixed> ForeArmEndBolt3Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt3Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt3.Mount; }- Interface<Fixed> ForeArmEndBolt4Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt4Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt4.Mount; }- Interface<Fixed> ForeArmEndBolt5Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt5Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt5.Mount; }- Interface<Fixed> ForeArmEndBolt6Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmEndBolt6Seat; B: AtlasIndustrial.ForeArm.ForeArmEndBolt6.Mount; }- Interface<Fixed> ServicePanelMount { A: AtlasIndustrial.UpperArm.Housing.ServicePanelSeat; B: AtlasIndustrial.UpperArm.ServicePanel.Mount; }- Interface<Fixed> MakerPlateMount { A: AtlasIndustrial.ForeArm.Housing.MakerPlateSeat; B: AtlasIndustrial.ForeArm.MakerPlate.Mount; }- Interface<Fixed> UpperArmPanelStandoff1Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelStandoff1Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelStandoff1.Mount; }- Interface<Fixed> UpperArmPanelBolt1Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelBolt1Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelBolt1.Mount; }- Interface<Fixed> UpperArmPanelStandoff2Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelStandoff2Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelStandoff2.Mount; }- Interface<Fixed> UpperArmPanelBolt2Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelBolt2Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelBolt2.Mount; }- Interface<Fixed> UpperArmPanelStandoff3Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelStandoff3Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelStandoff3.Mount; }- Interface<Fixed> UpperArmPanelBolt3Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelBolt3Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelBolt3.Mount; }- Interface<Fixed> UpperArmPanelStandoff4Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelStandoff4Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelStandoff4.Mount; }- Interface<Fixed> UpperArmPanelBolt4Mount { A: AtlasIndustrial.UpperArm.Housing.UpperArmPanelBolt4Seat; B: AtlasIndustrial.UpperArm.UpperArmPanelBolt4.Mount; }- Interface<Fixed> ForeArmPanelStandoff1Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelStandoff1Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelStandoff1.Mount; }- Interface<Fixed> ForeArmPanelBolt1Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelBolt1Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelBolt1.Mount; }- Interface<Fixed> ForeArmPanelStandoff2Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelStandoff2Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelStandoff2.Mount; }- Interface<Fixed> ForeArmPanelBolt2Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelBolt2Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelBolt2.Mount; }- Interface<Fixed> ForeArmPanelStandoff3Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelStandoff3Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelStandoff3.Mount; }- Interface<Fixed> ForeArmPanelBolt3Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelBolt3Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelBolt3.Mount; }- Interface<Fixed> ForeArmPanelStandoff4Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelStandoff4Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelStandoff4.Mount; }- Interface<Fixed> ForeArmPanelBolt4Mount { A: AtlasIndustrial.ForeArm.Housing.ForeArmPanelBolt4Seat; B: AtlasIndustrial.ForeArm.ForeArmPanelBolt4.Mount; }- Interface<Fixed> LeftPadMount { A: AtlasIndustrial.Gripper.LeftJaw.LeftPadSeat; B: AtlasIndustrial.Gripper.LeftPad.Mount; }- Interface<Fixed> RightPadMount { A: AtlasIndustrial.Gripper.RightJaw.RightPadSeat; B: AtlasIndustrial.Gripper.RightPad.Mount; }+ anchor: AtlasIndustrial.Base;+ Interface<Revolute> Shoulder { A: AtlasIndustrial.Base.Hinge; B: AtlasIndustrial.UpperArm.Input; }+ Interface<Revolute> Elbow { A: AtlasIndustrial.UpperArm.Output; B: AtlasIndustrial.ForeArm.Input; }+ Interface<Fixed> WristMount { A: AtlasIndustrial.ForeArm.Output; B: AtlasIndustrial.Gripper.Input.Frame; }+ Interface<Prismatic> GripLeft { A: AtlasIndustrial.Gripper.Left; B: AtlasIndustrial.LeftJaw.Slide; }+ Interface<Prismatic> GripRight { A: AtlasIndustrial.Gripper.Right; B: AtlasIndustrial.RightJaw.Slide; }}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/base.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/base.firmamentnew file mode 100644index 00000000..eeb61d71--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/base.firmament@@ -0,0 +1,38 @@+Template<H: Length> Struct Pedestal {+ Circle2 Outline { center: [0mm,0mm]; radius: 55mm }+ Profile Section { Loop Outer { Outline |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose {+ Semantic BottomSeat { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; }+ Semantic Hinge { DatumFrame Frame = [0mm,0mm,H + 35mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ }+}+Static FootBoltSites: Set<HardwareSite> {+ FrontLeft => HardwareSite { X: -60mm; Y: -50mm; Z: 0mm }+ FrontRight => HardwareSite { X: 60mm; Y: -50mm; Z: 0mm }+ BackLeft => HardwareSite { X: -60mm; Y: 50mm; Z: 0mm }+ BackRight => HardwareSite { X: 60mm; Y: 50mm; Z: 0mm }+}+Subassembly AtlasBase {+ <Assembly AtlasBase>+ <Part Pedestal = Pedestal<H:70mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Foot = Panel<L:150mm,W:130mm,H:8mm,R:14mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [-75mm,0mm,-8mm]; }+ </Part>+ <Part Turntable = Drum<R:57mm,H:8mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,70mm]; }+ </Part>+ <Part Plinth = Drum<R:44mm,H:27mm>> material: Aluminium;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,78mm]; }+ </Part>+ Pattern FootBolts over FootBoltSites {+ site => <Part Head = Drum<R:4mm,H:5mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [site.X,site.Y,site.Z]; }+ </Part>+ }+ </Assembly>+ anchor: AtlasBase;+ expose { DatumFrame Hinge = Pedestal.Hinge.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-arm.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-arm.firmamentnew file mode 100644index 00000000..f0dec7c4--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-arm.firmament@@ -0,0 +1,26 @@+Static ForeCoverSites: Set<HardwareSite> {+ RearLow => HardwareSite { X: 44mm; Y: -15mm; Z: -6mm }+ FrontLow => HardwareSite { X: 120mm; Y: -15mm; Z: -6mm }+ RearHigh => HardwareSite { X: 44mm; Y: -15mm; Z: 6mm }+ FrontHigh => HardwareSite { X: 120mm; Y: -15mm; Z: 6mm }+}+Subassembly AtlasForeArm {+ <Assembly AtlasForeArm>+ <Part Housing = SectionChainFile<"fore-housing.firmament">> material: Aluminium;+ Placement { from: Origin; to: World; }+ </Part>+ <Assembly WristDrive = WristDrive>+ Placement { from: Mount; to: World; translateLocal: [180mm,22mm,0mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Assembly>+ <Part MakerPlate = Panel<L:84mm,W:18mm,H:2mm,R:3mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [40mm,-27mm,0mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Part>+ Pattern ForeCoverFasteners over ForeCoverSites {+ site => <Assembly Fastener = CoverFastener>+ Placement { from: Mount; to: World; translateLocal: [site.X,site.Y,site.Z]; rotateLocal: { axis: X; angle: 90deg } }+ </Assembly>+ }+ </Assembly>+ anchor: AtlasForeArm;+ expose { DatumFrame Input = Housing.Input.Frame; DatumFrame Output = Housing.Output.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-housing.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-housing.firmamentindex 011419bc..24bdaea3 100644--- a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-housing.firmament+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/fore-housing.firmament@@ -1,6 +1,10 @@// Smooth, tapered mechanical housing. Exact capped SectionChain; millimetres.Model AtlasForeHousing {Units: mm+ expose {+ Semantic Input { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ Semantic Output { DatumFrame Frame = [180mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; }+ }Concept Struct Stations {A: Plane { Origin: [0mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }B: Plane { Origin: [25mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/gripper.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/gripper.firmamentnew file mode 100644index 00000000..96fde4dc--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/gripper.firmament@@ -0,0 +1,45 @@+Template<H: Length> Struct GripperBody {+ RoundedRect2 Outline { center: [15mm,0mm]; size: [30mm,50mm]; radius: 7mm }+ Profile Section { Loop Outer { Outline |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose {+ Semantic Input { DatumFrame Frame = [0mm,0mm,H / 2] x [1,0,0] y [0,1,0] z [0,0,1]; }+ // Front-face seats replace roots formerly buried 17 mm inside the body.+ Semantic Left { DatumFrame Frame = [30mm,16mm,H / 2] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ Semantic Right { DatumFrame Frame = [30mm,-16mm,H / 2] x [1,0,0] y [0,0,1] z [0,-1,0]; }+ }+}+Template<H: Length> Struct GripperJaw {+ RoundedRect2 Outline { center: [28mm,0mm]; size: [56mm,7mm]; radius: 3mm }+ Profile Section { Loop Outer { Outline |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose {+ Semantic BottomSeat { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; }+ Semantic LeftSlide { DatumFrame Frame = [0mm,0mm,H / 2] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ Semantic RightSlide { DatumFrame Frame = [0mm,0mm,H / 2] x [1,0,0] y [0,0,1] z [0,-1,0]; }+ }+}+Subassembly AtlasLeftJaw {+ <Assembly AtlasLeftJaw>+ <Part Jaw = GripperJaw<H:10mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Pad = Panel<L:10mm,W:7mm,H:2mm,R:2mm>> material: GripPolymer;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [42mm,-3.5mm,5mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Part>+ </Assembly>+ anchor: AtlasLeftJaw;+ expose { DatumFrame Slide = Jaw.LeftSlide.Frame; }+}+Subassembly AtlasRightJaw {+ <Assembly AtlasRightJaw>+ <Part Jaw = GripperJaw<H:10mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Pad = Panel<L:10mm,W:7mm,H:2mm,R:2mm>> material: GripPolymer;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [42mm,3.5mm,5mm]; rotateLocal: { axis: X; angle: -90deg } }+ </Part>+ </Assembly>+ anchor: AtlasRightJaw;+ expose { DatumFrame Slide = Jaw.RightSlide.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/hardware.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/hardware.firmamentnew file mode 100644index 00000000..f8cb9744--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/hardware.firmament@@ -0,0 +1,35 @@+// Each shape publishes its mounting origin. Panel uses its left-edge midpoint.+Template<R: Length, H: Length> Struct Drum {+ Circle2 Outline { center: [0mm,0mm]; radius: R }+ Profile Section { Loop Outer { Outline |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose { Semantic BottomSeat { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; } }+}+Template<R: Length, Bore: Length, H: Length> Struct Ring {+ Circle2 Outside { center: [0mm,0mm]; radius: R }+ Circle2 Inside { center: [0mm,0mm]; radius: Bore }+ Profile Section { Loop Outer { Outside |> TraceLoop } Loop Inner { Inside As BoreBoundary |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose { Semantic BottomSeat { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; } }+}+Template<L: Length, W: Length, H: Length, R: Length> Struct Panel {+ RoundedRect2 Outline { center: [L / 2,0mm]; size: [L,W]; radius: R }+ Profile Section { Loop Outer { Outline |> TraceLoop } }+ Extrude Body { profile: Section; from: 0mm; to: H }+ expose { Semantic BottomSeat { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; } }+}+Record HardwareSite { X: Length; Y: Length; Z: Length }+// One complete fastener. The 12 mm shaft ends at the plate underside;+// the head starts above its 2 mm thickness. No shaft protrudes through the plate.+Subassembly CoverFastener {+ <Assembly CoverFastener>+ <Part Standoff = Drum<R:2.5mm,H:12mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Head = Drum<R:1.5mm,H:1.5mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,14mm]; }+ </Part>+ </Assembly>+ anchor: CoverFastener;+ expose { DatumFrame Mount = Standoff.BottomSeat.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/joint-covers.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/joint-covers.firmamentnew file mode 100644index 00000000..a126d584--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/joint-covers.firmament@@ -0,0 +1,86 @@+// Three complete drive-cover variants. All offsets are drive-local: a coherent+// drum/ring/cap stack, with a keyed six-head bolt circle on the outer cap face.+Static ShoulderBoltSites: Set<HardwareSite> {+ East => HardwareSite { X: 34mm; Y: 0mm; Z: 85mm }+ NorthEast => HardwareSite { X: 17mm; Y: 29.44486mm; Z: 85mm }+ NorthWest => HardwareSite { X: -17mm; Y: 29.44486mm; Z: 85mm }+ West => HardwareSite { X: -34mm; Y: 0mm; Z: 85mm }+ SouthWest => HardwareSite { X: -17mm; Y: -29.44486mm; Z: 85mm }+ SouthEast => HardwareSite { X: 17mm; Y: -29.44486mm; Z: 85mm }+}+Static ElbowBoltSites: Set<HardwareSite> {+ East => HardwareSite { X: 25mm; Y: 0mm; Z: 71mm }+ NorthEast => HardwareSite { X: 12.5mm; Y: 21.65064mm; Z: 71mm }+ NorthWest => HardwareSite { X: -12.5mm; Y: 21.65064mm; Z: 71mm }+ West => HardwareSite { X: -25mm; Y: 0mm; Z: 71mm }+ SouthWest => HardwareSite { X: -12.5mm; Y: -21.65064mm; Z: 71mm }+ SouthEast => HardwareSite { X: 12.5mm; Y: -21.65064mm; Z: 71mm }+}+Static WristBoltSites: Set<HardwareSite> {+ East => HardwareSite { X: 14mm; Y: 0mm; Z: 53mm }+ NorthEast => HardwareSite { X: 7mm; Y: 12.12436mm; Z: 53mm }+ NorthWest => HardwareSite { X: -7mm; Y: 12.12436mm; Z: 53mm }+ West => HardwareSite { X: -14mm; Y: 0mm; Z: 53mm }+ SouthWest => HardwareSite { X: -7mm; Y: -12.12436mm; Z: 53mm }+ SouthEast => HardwareSite { X: 7mm; Y: -12.12436mm; Z: 53mm }+}+Subassembly ShoulderDrive {+ <Assembly ShoulderDrive>+ <Part Drum = Drum<R:44mm,H:76mm>> material: Aluminium;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Ring = Ring<R:44mm,Bore:38mm,H:4mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,76mm]; }+ </Part>+ <Part Cap = Drum<R:39mm,H:5mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,80mm]; }+ </Part>+ Pattern ShoulderBolts over ShoulderBoltSites {+ site => <Part Head = Drum<R:2.2mm,H:2mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [site.X,site.Y,site.Z]; }+ </Part>+ }+ </Assembly>+ anchor: ShoulderDrive;+ expose { DatumFrame Mount = Drum.BottomSeat.Frame; }+}+Subassembly ElbowDrive {+ <Assembly ElbowDrive>+ <Part Drum = Drum<R:35mm,H:62mm>> material: Aluminium;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Ring = Ring<R:35mm,Bore:29mm,H:4mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,62mm]; }+ </Part>+ <Part Cap = Drum<R:30mm,H:5mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,66mm]; }+ </Part>+ Pattern ElbowBolts over ElbowBoltSites {+ site => <Part Head = Drum<R:2.2mm,H:2mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [site.X,site.Y,site.Z]; }+ </Part>+ }+ </Assembly>+ anchor: ElbowDrive;+ expose { DatumFrame Mount = Drum.BottomSeat.Frame; }+}+Subassembly WristDrive {+ <Assembly WristDrive>+ <Part Drum = Drum<R:24mm,H:44mm>> material: Aluminium;+ Placement { from: BottomSeat.Frame; to: World; }+ </Part>+ <Part Ring = Ring<R:24mm,Bore:18mm,H:4mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,44mm]; }+ </Part>+ <Part Cap = Drum<R:19mm,H:5mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [0mm,0mm,48mm]; }+ </Part>+ Pattern WristBolts over WristBoltSites {+ site => <Part Head = Drum<R:2.2mm,H:2mm>> material: Steel;+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [site.X,site.Y,site.Z]; }+ </Part>+ }+ </Assembly>+ anchor: WristDrive;+ expose { DatumFrame Mount = Drum.BottomSeat.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/materials.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/materials.firmamentnew file mode 100644index 00000000..af19796a--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/materials.firmament@@ -0,0 +1,6 @@+Appearance OrangePaint { color: [0.95,0.21,0.012]; metallic: 0.12; roughness: 0.27; }+Appearance BlackPaint { color: [0.026,0.031,0.039]; metallic: 0.55; roughness: 0.3; }+Appearance BareSteel { color: [0.6,0.64,0.7]; metallic: 0.9; roughness: 0.23; }+Material Aluminium { identity: "aluminium"; appearance: OrangePaint; }+Material Steel { identity: "steel"; appearance: BareSteel; }+Material GripPolymer { identity: "grip-polymer"; appearance: BlackPaint; }diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-arm.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-arm.firmamentnew file mode 100644index 00000000..aae32f8e--- /dev/null+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-arm.firmament@@ -0,0 +1,30 @@+include "joint-covers.firmament";+Static UpperCoverSites: Set<HardwareSite> {+ RearLow => HardwareSite { X: 58mm; Y: -20mm; Z: -6mm }+ FrontLow => HardwareSite { X: 138mm; Y: -20mm; Z: -6mm }+ RearHigh => HardwareSite { X: 58mm; Y: -20mm; Z: 6mm }+ FrontHigh => HardwareSite { X: 138mm; Y: -20mm; Z: 6mm }+}+Subassembly AtlasUpperArm {+ <Assembly AtlasUpperArm>+ <Part Housing = SectionChainFile<"upper-housing.firmament">> material: Aluminium;+ Placement { from: Origin; to: World; }+ </Part>+ <Assembly ShoulderDrive = ShoulderDrive>+ Placement { from: Mount; to: World; translateLocal: [0mm,38mm,0mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Assembly>+ <Assembly ElbowDrive = ElbowDrive>+ Placement { from: Mount; to: World; translateLocal: [200mm,31mm,0mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Assembly>+ <Part ServicePanel = Panel<L:92mm,W:27mm,H:2mm,R:6mm>> material: Steel with { appearance: BlackPaint; };+ Placement { from: BottomSeat.Frame; to: World; translateLocal: [53mm,-32mm,0mm]; rotateLocal: { axis: X; angle: 90deg } }+ </Part>+ Pattern UpperCoverFasteners over UpperCoverSites {+ site => <Assembly Fastener = CoverFastener>+ Placement { from: Mount; to: World; translateLocal: [site.X,site.Y,site.Z]; rotateLocal: { axis: X; angle: 90deg } }+ </Assembly>+ }+ </Assembly>+ anchor: AtlasUpperArm;+ expose { DatumFrame Input = Housing.Input.Frame; DatumFrame Output = Housing.Output.Frame; }+}diff --git a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-housing.firmament b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-housing.firmamentindex efaeee92..7df3f858 100644--- a/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-housing.firmament+++ b/fixtures/Canonical/AssemblyInterfaces/IndustrialAtlas/upper-housing.firmament@@ -1,6 +1,10 @@// Smooth, tapered mechanical housing. Exact capped SectionChain; millimetres.Model AtlasUpperHousing {Units: mm+ expose {+ Semantic Input { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ Semantic Output { DatumFrame Frame = [200mm,0mm,0mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }+ }Concept Struct Stations {A: Plane { Origin: [0mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }B: Plane { Origin: [32mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }