Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

653 B
Raw Blame
Profile panelProfile = Rect2 { center: [(100mm) / 2, (60mm) / 2]; size: [100mm, 60mm] }

// A bounded bend path is feature intent, not a free edge.
SheetMetal InsetPartialFlange {
    thickness: 1mm;
    kFactor: 0.5;
    Base Panel { profile: panelProfile; }
    Flange Wall { from: Panel.Rear; height: 20mm; angle: 90deg; radius: 2mm; }

    AttachmentPath ServiceFlangeAttachment {
        on: Wall.Outer;
        inset: 2mm;
        span: 40mm;
        spanOffset: 5mm;
        release: ToCarrier;
    }

    Flange ServiceFlange {
        from: Wall.ServiceFlangeAttachment;
        height: 12mm;
        angle: 45deg;
        radius: 2mm;
    }
}