Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Template<H: Length> Struct Post {
Circle2 Outline { center: [0mm,0mm] radius: 4mm }
Profile P { Loop Outer { Outline |> TraceLoop } }
Extrude Body { profile: P from: 0mm to: H }
expose {
Semantic Top { DatumFrame Frame = [0mm,0mm,H] x [1,0,0] y [0,1,0] z [0,0,1]; }
Semantic Bottom { DatumFrame Frame = [0,0,0] x [1,0,0] y [0,1,0] z [0,0,1]; }
}
}
Assembly PublishedPorts {
<Assembly PublishedPorts>
<Part Base = Post<H:14mm>>
Placement { from: Origin; to: World; }
</Part>
<Part Child = Post<H:14mm>>
Placement { from: Bottom.Frame; to: PublishedPorts.Base.Top.Frame; }
</Part>
</Assembly>
anchor: PublishedPorts;
}