Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

510 B
Raw Blame
Units: mm

Template < H: Length > Struct WebBlock {
    Circle2 Circle { center: [0mm,0mm] radius: 4mm }
    Profile Section { Loop Outer { Circle |> TraceLoop } }
    Extrude Body { profile: Section from: 0mm to: H }
}

Assembly WebBlockPair {
    <Assembly WebBlockPair>
        <Part Fixed = WebBlock<H: 10mm>></Part>
        <Part Moving = WebBlock<H: 8mm>>
            Placement ImportedOccurrence = [1,0,0,0, 0,1,0,0, 0,0,1,0, 20,0,0,1];
        </Part>
    </Assembly>
    anchor: WebBlockPair.Fixed;
}