Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

595 B
Raw Blame
Model PrismThroughNotch {
    units: mm
    Rect2 Stock { center: [0mm,0mm]; size: [40mm,30mm] }
    Rect2 Notch { center: [19mm,0mm]; size: [10mm,10mm] }
    Profile StockProfile { Loop Outer { Stock.Bottom |> Stock.Right |> Stock.Top |> Stock.Left |> Close } }
    Profile NotchProfile { Loop Outer { Notch.Bottom |> Notch.Right |> Notch.Top |> Notch.Left |> Close } }
    Compose Plate {
        Base StockBody { profile: StockProfile; from: 0mm; to: 10mm; role: Stock }
        RemoveOffset<Prism> EdgeNotch { Target: Plate; On: Top; Profile: NotchProfile; Termination: ThroughAll }
    }
}