Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Model MachinedMountingBlock {
units: mm
Concept Struct Layout on XY {
Rect2 Stock { center: [0mm, 0mm]; size: [70mm, 44mm] }
Rect2 BossPad { center: [-16mm, 0mm]; size: [14mm, 14mm] }
Rect2 Recess { center: [10mm, 0mm]; size: [20mm, 16mm] }
}
Profile BaseProfile using Layout { Loop Outer {
Stock.Bottom
|> Stock.Right
|> Stock.Top
|> Stock.Left
|> Close
} }
Profile BossProfile using Layout { Loop Outer {
BossPad.Bottom
|> BossPad.Right
|> BossPad.Top
|> BossPad.Left
|> Close
} }
Profile PocketProfile using Layout { Loop Outer {
Recess.Bottom
|> Recess.Right
|> Recess.Top
|> Recess.Left
|> Close
} }
Struct MountingBlock {
Compose Body {
Base Stock { profile: BaseProfile; from: 0mm; to: 12mm; role: Stock }
Boss ConnectorBoss { on: Top; profile: BossProfile; height: 6mm }
Pocket ElectronicsRecess { on: Top; profile: PocketProfile; depth: 4mm; MinimumFloorThickness: 3mm }
Hole<Shaft> ConnectorBore { on: +Z; center: [-16mm, 0mm]; diameter: 6mm; end: ThroughAll; Role: Connector }
Hole<Counterbore> MountNorth {
on: +Z
center: [26mm, 13mm]
diameter: 6mm
counterboreDiameter: 11mm
counterboreDepth: 3mm
end: ThroughAll
Role: MountingHole
}
Hole<Counterbore> MountSouth {
on: +Z
center: [26mm, -13mm]
diameter: 6mm
counterboreDiameter: 11mm
counterboreDepth: 3mm
end: ThroughAll
Role: MountingHole
}
}
}
Modify Body {
EdgeFinish PerimeterBreak {
Target: BaseProfile.Outer
On: Top
Kind: Chamfer
Distance: 1mm
}
}
Pmi {
Datum A { Target: face(+Z) }
HoleDiameter ConnectorDiameter {
Target: ConnectorBore
Value: 6mm
Tolerance: PlusMinus(0.05mm, 0.02mm)
}
HoleDiameter MountNorthDiameter {
Target: MountNorth
Value: 6mm
Tolerance: PlusMinus(0.10mm, 0.00mm)
}
}
}