Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

610 B
Raw Blame
Static Corners: Set<Point2> {
  Heel => Point2(0mm, 0mm)
  Toe => Point2(60mm, 0mm)
  Lip => Point2(60mm, 5mm)
  Inner => Point2(5mm, 5mm)
  Top => Point2(5mm, 40mm)
  Back => Point2(0mm, 40mm)
}
Concept Struct Layout {
  Polygon2<Explicit> Outline { Vertices: Corners }
}
Concept Struct Orientation { Datum: Plane { Origin: [0mm,0mm,0mm]; Normal: [0,-1,0]; Up: [0,0,1] } }
Construction Plane XZFrame { trace: Orientation.Datum }
Profile Section using XZFrame { Loop Outer { Outline |> TraceLoop } }
Struct Bracket {
  Compose Body {
    Base Stock { Profile: Section; From: 0mm; To: 30mm; Role: Stock }
  }
}