Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

1.8 KB
Raw Blame
// Smooth, tapered mechanical housing. Exact capped SectionChain; millimetres.
Model AtlasUpperHousing {
 units: mm
 expose {
  Semantic Input { DatumFrame Frame = [0mm,0mm,0mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }
  Semantic Output { DatumFrame Frame = [200mm,0mm,0mm] x [1,0,0] y [0,0,-1] z [0,1,0]; }
 }
 Concept Struct Stations {
  A: Plane { Origin: [0mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
  B: Plane { Origin: [32mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
  C: Plane { Origin: [105mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
  D: Plane { Origin: [175mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
  E: Plane { Origin: [200mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
 }
 Construction Plane FA { Trace: Stations.A }
 Construction Plane FB { Trace: Stations.B }
 Construction Plane FC { Trace: Stations.C }
 Construction Plane FD { Trace: Stations.D }
 Construction Plane FE { Trace: Stations.E }
 RoundedRect2 Root { center: [0mm,0mm] size: [62mm,66mm] radius: 16mm }
 RoundedRect2 Belly { center: [0mm,0mm] size: [60mm,72mm] radius: 16mm }
 RoundedRect2 Waist { center: [0mm,0mm] size: [42mm,48mm] radius: 12mm }
 RoundedRect2 Tip { center: [0mm,0mm] size: [48mm,52mm] radius: 14mm }
 Profile PRoot { Loop Outer { Root |> TraceLoop } }
 Profile PBelly { Loop Outer { Belly |> TraceLoop } }
 Profile PWaist { Loop Outer { Waist |> TraceLoop } }
 Profile PTip { Loop Outer { Tip |> TraceLoop } }
 SectionChain Housing {
  continuity: G1
  ApproximationTolerance: 0.0001mm
  Section A {
   frame: FA
   profile: PRoot
   seam: Bottom
  }
  Section B {
   frame: FB
   profile: PBelly
   seam: Bottom
  }
  Section C {
   frame: FC
   profile: PWaist
   seam: Bottom
  }
  Section D {
   frame: FD
   profile: PTip
   seam: Bottom
  }
  Section E {
   frame: FE
   profile: PTip
   seam: Bottom
  }
  start: Cap
  end: Cap
 }
}