Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Model BossPocketMountingBlock {
units: mm
Concept Struct Layout on XY {
Rect2 Stock { center: [0mm, 0mm]; size: [40mm, 24mm] }
Point2 BossCenter { position: [-12mm, 0mm] }
Point2 BossEast { position: [-6mm, 0mm] }
Point2 BossNorth { position: [-12mm, 6mm] }
Point2 BossWest { position: [-18mm, 0mm] }
Point2 BossSouth { position: [-12mm, -6mm] }
Circle2 BossCircle { center: BossCenter; radius: 6mm }
Rect2 BossPad { center: [-12mm, 0mm]; size: [10mm, 10mm] }
Rect2 Recess { center: [10mm, 0mm]; size: [8mm, 8mm] }
}
Profile BaseProfile using Layout { Loop Outer {
Stock.Bottom
|> Stock.Right
|> Stock.Top
|> Stock.Left
|> Close
} }
Profile BossProfile using Layout { Loop Outer {
BossCircle |> TraceLoop
} }
Profile PocketProfile using Layout { Loop Outer {
Recess.Bottom
|> Recess.Right
|> Recess.Top
|> Recess.Left
|> Close
} }
Profile RectBossProfile using Layout { Loop Outer {
BossPad.Bottom
|> BossPad.Right
|> BossPad.Top
|> BossPad.Left
|> Close
} }
Struct MountingBlock {
Compose Body {
Base Stock { profile: BaseProfile; from: 0mm; to: 10mm; role: Stock }
Boss MountBoss { on: Top; profile: BossProfile; height: 6mm }
Pocket ElectronicsRecess { on: Top; profile: PocketProfile; depth: 4mm; MinimumFloorThickness: 2mm }
Hole<Shaft> MountHole { on: +Z; center: [-12mm, 0mm]; diameter: 6mm; end: ThroughAll; Role: MountingHole }
}
}
}