Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

459 B
Raw Blame
schema Mechanical

Rect2 Stock { center: [0mm, 0mm]; size: [40mm, 30mm] }
Rect2 Cutout { center: [0mm, 0mm]; size: [16mm, 10mm] }

Profile Plate {
    Loop Outer { Stock.Bottom |> Stock.Right |> Stock.Top |> Stock.Left |> Close }
    Loop Inner { Reverse Cutout.Bottom as InnerBottom |> Reverse Cutout.Left as InnerLeft |> Reverse Cutout.Top as InnerTop |> Reverse Cutout.Right as InnerRight |> Close }
}

Extrude Solid { profile: Plate; from: 0mm; to: 4mm }