Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

661 B
Raw Blame
Model ConceptPathComposeProfile {
    Units: mm

    Concept Path PlateOutline {
        Start: Point2(-20mm, -10mm)
        Heading: 0deg
        Line South { Length: 40mm }
        Line East { Turn: 90deg; Length: 20mm }
        Line North { Turn: 90deg; Length: 40mm }
        Close West
    }
    Profile PlateProfile From PlateOutline

    Struct PlateBody {
        Compose PlateBody {
            Base Stock { Profile: PlateProfile; From: 0mm; To: 10mm; Role: Stock }
        }
    }
    Selection PlateTopBoundary {
        Target: TopBoundary
        Source: PlateProfile.ProfileSegments([South, East, North, West])
        Require: ClosedLoop
    }
}