Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

600 B
Raw Blame
schema Mechanical
Model MirroredProfileExtrusion {
    units: mm
    Concept Struct Supports {
        Center: Plane { origin: [0mm,0mm,0mm]; normal: [1,0,0]; up: [0,0,1] }
    }
    Construction Plane CenterPlane { Trace: Supports.Center }

    Triangle2<Explicit> LeftBoundary {
        A: [4mm, -6mm]
        B: [16mm, -6mm]
        C: [12mm, 8mm]
    }
    Profile LeftProfile {
        Loop Outer { LeftBoundary |> TraceLoop }
    }
    Mirrored Profile RightProfile from LeftProfile { across: CenterPlane }
    Struct Body { Extrude RightPrism { profile: RightProfile; from: 0mm; to: 8mm } }
}