Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

735 B
Raw Blame
Model NamedPointAccess {
    units: mm
    Static BoundaryPoints: Set<Point2> {
        South => Point2(0mm, -32mm)
        East => Point2(45mm, 0mm)
        North => Point2(0mm, 32mm)
        West => Point2(-45mm, 0mm)
    }
    Concept Struct Layout on XY {
        Line2 SE { from: BoundaryPoints.South; to: BoundaryPoints.East }
        Line2 EN { from: BoundaryPoints.East; to: BoundaryPoints.North }
        Line2 NW { from: BoundaryPoints.North; to: BoundaryPoints.West }
        Line2 WS { from: BoundaryPoints.West; to: BoundaryPoints.South }
    }
    Profile Boundary using Layout {
        Loop Outer { SE |> EN |> NW |> WS |> Close }
    }
    Struct PlateBody { Extrude Body { profile: Boundary; from: 0mm; to: 4mm } }
}