Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Model ExplicitSketchRuled {
units: mm
Concept Struct Frames {
Near: Plane { origin: [0mm, 0mm, 0mm]; normal: [0, 0, 1]; up: [0, 1, 0] }
Far: Plane { origin: [4mm, 0mm, 12mm]; normal: [0.2, 0, 0.9797958971132712]; up: [0, 1, 0] }
}
Construction Plane NearFrame { Trace: Frames.Near }
Construction Plane FarFrame { Trace: Frames.Far }
Concept Struct NearSketch on XY {
Point2 A { position: [-2mm, -2mm] }
Point2 B { position: [2mm, -2mm] }
Point2 C { position: [2mm, 2mm] }
Point2 D { position: [-2mm, 2mm] }
Line2 South { from: A; to: B }
Line2 East { from: B; to: C }
Line2 North { from: C; to: D }
Line2 West { from: D; to: A }
}
Profile NearProfile using NearSketch {
Loop Outer {
Segment South { trace: South; from: A; to: B }
Segment East { trace: East; from: B; to: C }
Segment North { trace: North; from: C; to: D }
Segment West { trace: West; from: D; to: A }
}
}
Concept Struct FarSketch on XY {
Point2 A { position: [-5mm, -5mm] }
Point2 B { position: [5mm, -5mm] }
Point2 C { position: [5mm, 5mm] }
Point2 D { position: [-5mm, 5mm] }
Line2 South { from: A; to: B }
Line2 East { from: B; to: C }
Line2 North { from: C; to: D }
Line2 West { from: D; to: A }
}
Profile FarProfile using FarSketch {
Loop Outer {
Segment South { trace: South; from: A; to: B }
Segment East { trace: East; from: B; to: C }
Segment North { trace: North; from: C; to: D }
Segment West { trace: West; from: D; to: A }
}
}
SectionChain Transition {
continuity: G0
Transition: Ruled
Section Near {
frame: NearFrame
profile: NearProfile
seam: South
}
Section Far {
frame: FarFrame
profile: FarProfile
seam: South
}
start: Cap
end: Cap
}
}