Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

1.3 KB
Raw Blame
Model ProfileComposeReflexChamferCounterboreCollision {
    Units: mm
    Concept Struct Layout On XY {
        Rect2 Horizontal { Center: [0mm, -10mm]; Size: [80mm, 20mm] }
        Rect2 Vertical { Center: [-30mm, 10mm]; Size: [20mm, 60mm] }
        Point2 Notch { Position: [-20mm, 0mm] }
    }
    Profile Bracket Using Layout { Loop Outer {
        Segment South { Trace: Horizontal.Bottom; From: Horizontal.BottomLeft; To: Horizontal.BottomRight }
        Segment East { Trace: Horizontal.Right; From: Horizontal.BottomRight; To: Horizontal.TopRight }
        Segment Inner { Trace: Horizontal.Top; From: Horizontal.TopRight; To: Notch }
        Segment Upright { Trace: Vertical.Right; From: Notch; To: Vertical.TopRight }
        Segment North { Trace: Vertical.Top; From: Vertical.TopRight; To: Vertical.TopLeft }
        Segment West { Trace: Vertical.Left; From: Vertical.TopLeft; To: Horizontal.BottomLeft }
    } }
    Struct BracketBody { Compose BracketBody {
        Base Stock { Profile: Bracket; From: 0mm; To: 12mm; Role: Stock }
        Hole<Counterbore> CollidingCounterbore { On: +Z; Center: Point2(-17mm, -6.5mm); Diameter: 8mm; CounterboreDiameter: 12mm; CounterboreDepth: 4mm; End: ThroughAll }
    } }
    Modify BracketBody { EdgeFinish TopPerimeter { Target: Bracket.Outer On: Top Kind: Chamfer Distance: 1mm } }
}