Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

411 B
Raw Blame
Model ProfilePlate {
    units: mm

    Concept Struct Layout on XY {
        Rect2 Stock { center: [0mm, 0mm]; size: [20mm, 10mm] }
    }

    Profile Plate using Layout {
        Stock.Bottom as South
        |> Stock.Right as East
        |> Stock.Top as North
        |> Stock.Left as West
        |> Close
    }

    Struct PlateBody {
        Extrude Plate { profile: Plate; from: -2mm; to: 2mm }
    }
}