AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Component Envelope ​

Create a package envelope or mechanical keepout.

Component Envelope: Start: a board compared with Result: an envelope placed on it.
Prism help example. Place a package envelope or mechanical keepout on the board, with top/bottom side and rotation. Envelopes let you check enclosure clearances before the real parts exist. View full size
A green circuit board with mounting holes and three component envelopes in Prism
A rectangular board with mounting holes and approximate envelopes for a controller, connector and tall component. These are mechanical volumes, not electrical detail. View full size

In the app

Place an approximate package or keepout for enclosure checks. Click a flat board face to put it on that board; Center X and Y then become offsets from the middle of that face. With no board face, coordinates use world XY and elevation is the mounting face. For accurate connectors or packages, import a STEP model.

How to use ​

  1. Choose Component Envelope. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Board face (face), optional.
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Reference designatorU1Text
Body width (X)10 mm0.1 to 1000 mm
Body length (Y)10 mm0.1 to 1000 mm
Body height3 mm0.1 to 1000 mm
Center X0 mm
Center Y0 mm
Board face elevation (Z)1.6 mm
Rotation about Z0 °-360 to 360 °
Board sideTop (+Z)Top (+Z), Bottom (−Z)
Clearance allowance0 mm0 to 100 mm

Script it ​

Command name component_envelope. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("component_envelope", reference_designator="U1", body_width=10)