Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
schema Mechanical
Model ProfilePipelineFlagship {
units: mm
Concept Struct Layout on XY {
Rect2 Stock { center: [0mm, 0mm]; size: [40mm, 24mm] }
Rect2 Pad { center: [-10mm, 0mm]; size: [10mm, 10mm] }
Rect2 Cutout { center: [10mm, 0mm]; size: [8mm, 8mm] }
}
Profile BaseProfile using Layout {
Loop Outer {
Stock.Bottom
|> Stock.Right
|> Stock.Top
|> Stock.Left
|> Close
}
}
Profile PadProfile using Layout {
Loop Outer { Pad.Bottom |> Pad.Right |> Pad.Top |> Pad.Left |> Close }
}
Profile CutoutProfile using Layout {
Loop Outer { Cutout.Bottom |> Cutout.Right |> Cutout.Top |> Cutout.Left |> Close }
}
Struct Part {
Compose Body {
Base StockBody { profile: BaseProfile; from: 0mm; to: 8mm; role: Stock }
Add RaisedPad { Profile: PadProfile; From: 8mm; To: 12mm; Role: Boss }
Remove ThroughCutout { Profile: CutoutProfile; From: 0mm; To: 8mm; Role: ThroughCut }
}
}
}