Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Concept Struct Layout On XY {
Rect2 BaseGuide { Center: [0mm, 0mm]; Size: [20mm, 20mm]; Role: ProfileGuide }
Rect2 LeftGuide { Center: [-3mm, 10mm]; Size: [10mm, 10mm]; Role: ProfileGuide }
Rect2 RightGuide { Center: [3mm, 10mm]; Size: [10mm, 10mm]; Role: ProfileGuide }
}
Profile BaseProfile Using Layout { Loop Outer {
BaseGuide.Bottom As South
|> BaseGuide.Right As East
|> BaseGuide.Top As North
|> BaseGuide.Left As West
|> Close
} }
Profile LeftProfile Using Layout { Loop Outer {
LeftGuide.Bottom As South
|> LeftGuide.Right As East
|> LeftGuide.Top As North
|> LeftGuide.Left As West
|> Close
} }
Profile RightProfile Using Layout { Loop Outer {
RightGuide.Bottom As South
|> RightGuide.Right As East
|> RightGuide.Top As North
|> RightGuide.Left As West
|> Close
} }
Struct Composition { Compose Body {
Base Stock { Profile: BaseProfile; From: 0mm; To: 15mm; Role: Stock }
Add Left { Profile: LeftProfile; From: 10mm; To: 15mm; Role: Pad }
Add Right { Profile: RightProfile; From: 10mm; To: 15mm; Role: Pad }
} }