Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
// Smooth, tapered mechanical housing. Exact capped SectionChain; millimetres.
Model AtlasForeHousing {
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 = [180mm,0mm,0mm] x [1,0,0] y [0,1,0] z [0,0,1]; }
}
Concept Struct Stations {
A: Plane { Origin: [0mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
B: Plane { Origin: [25mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
C: Plane { Origin: [90mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
D: Plane { Origin: [160mm,0mm,0mm] Normal: [1,0,0] Up: [0,0,1] }
E: Plane { Origin: [180mm,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: [48mm,52mm] radius: 12mm }
RoundedRect2 Belly { center: [0mm,0mm] size: [50mm,56mm] radius: 12mm }
RoundedRect2 Waist { center: [0mm,0mm] size: [34mm,34mm] radius: 10mm }
RoundedRect2 Tip { center: [0mm,0mm] size: [32mm,36mm] radius: 10mm }
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
}
}