Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

758 B
Raw Blame
Concept Struct Layout On XY {
  Rect2 BaseGuide { Center: [0mm, 0mm]; Size: [20mm, 20mm]; Role: ProfileGuide }
  Rect2 NotchGuide { Center: [8mm, 0mm]; Size: [8mm, 8mm]; Role: ProfileGuide }
}
Profile BaseProfile Using Layout { Loop Outer {
     BaseGuide.Bottom As S
     |> BaseGuide.Right As E
     |> BaseGuide.Top As N
     |> BaseGuide.Left As W
     |> Close
 } }
Profile NotchProfile Using Layout { Loop Outer {
     NotchGuide.Bottom As S
     |> NotchGuide.Right As E
     |> NotchGuide.Top As N
     |> NotchGuide.Left As W
     |> Close
 } }
Struct Composition { Compose CrossingRemovalNotch {
  Base Stock { Profile: BaseProfile; From: 0mm; To: 10mm; Role: Stock }
  Remove Notch { Profile: NotchProfile; From: 5mm; To: 10mm; Role: Relief }
} }