Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Model GeneratedProfile {
units: mm
Record ProfileSpec { Center: Point2 }
Static Specs: ProfileSpec[] = [ ProfileSpec { Center: Point2(0mm, 0mm) } ]
Template<spec: ProfileSpec> PlateProfile {
Profile Plate using Layout {
Loop Outer {
Stock.Bottom as South
|> Stock.Right as East
|> Stock.Top as North
|> Stock.Left as West
|> Close
}
}
}
Concept Struct Layout on XY {
Rect2 Stock { center: Specs[0].Center; size: [20mm, 10mm] }
}
PlateProfile<Specs[0]>
Struct PlateBody { Extrude Plate { profile: Plate; from: -2mm; to: 2mm } }
}