Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Model Result {
units: mm
Enum SizeChoice { Compact Standard }
Feature Bore(choice: SizeChoice) -> Hole<Shaft> {
return Hole<Shaft> { on: +Z center: Point2(0mm, 0mm) diameter: Match choice {
Compact => 6mm
Standard => 10mm
} end: ThroughAll }
}
Box Stock { size: [40mm, 20mm, 5mm] }
Modify Stock { Feature mount = Bore(choice: Compact) }
}