Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

390 B
Raw Blame
Concept Struct Rect2Layout on XY {
    Rect2 Base { center: [0mm, 0mm]; size: [20mm, 10mm]; Role: ProfileGuide }
}
Profile MainPlate using Rect2Layout {
    Loop Outer {
        Base.Bottom as South
        |> Base.Right as East
        |> Base.Top as North
        |> Base.Left as West
        |> Close
    }
}
Struct Plate { Extrude MainPlate { profile: MainPlate; from: 0mm; to: 5mm } }