Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

1.1 KB
Raw Blame
Concept Struct Layout On XY {
  Rect2 BaseGuide { Center: [0mm, 0mm]; Size: [20mm, 20mm]; Role: ProfileGuide }
  Rect2 AddGuide { Center: [0mm, 10mm]; Size: [10mm, 10mm]; Role: ProfileGuide }
  Rect2 RemoveGuide { Center: [2mm, 10mm]; Size: [4mm, 8mm]; 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 AddProfile Using Layout { Loop Outer {
     AddGuide.Bottom As South
     |> AddGuide.Right As East
     |> AddGuide.Top As North
     |> AddGuide.Left As West
     |> Close
 } }
Profile RemoveProfile Using Layout { Loop Outer {
     RemoveGuide.Bottom As South
     |> RemoveGuide.Right As East
     |> RemoveGuide.Top As North
     |> RemoveGuide.Left As West
     |> Close
 } }
Struct Composition { Compose AddOverlappedByRemove {
  Base Stock { Profile: BaseProfile; From: 0mm; To: 10mm; Role: Stock }
  Add Pad { Profile: AddProfile; From: 5mm; To: 10mm; Role: Pad }
  Remove Relief { Profile: RemoveProfile; From: 5mm; To: 10mm; Role: Relief }
} }