Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

203 B
Raw Blame
Enum SizeChoice { Compact Standard }
Template<choice: Int>
Struct Plate {
    Box Stock { Size: [Match choice {
        4 => 40mm
        6 => 80mm
    }, 20mm, 5mm] }
}
Struct Result = Plate<choice: 4>