Component Envelope
Create a package envelope or mechanical keepout.
- Ribbon: ECAD › Components
- Guide: ECAD integration


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
- Choose Component Envelope. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Board face (face), optional.
- Adjust the settings and check the preview in the viewport.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Reference designator | U1 | Text |
| Body width (X) | 10 mm | 0.1 to 1000 mm |
| Body length (Y) | 10 mm | 0.1 to 1000 mm |
| Body height | 3 mm | 0.1 to 1000 mm |
| Center X | 0 mm | |
| Center Y | 0 mm | |
| Board face elevation (Z) | 1.6 mm | |
| Rotation about Z | 0 ° | -360 to 360 ° |
| Board side | Top (+Z) | Top (+Z), Bottom (−Z) |
| Clearance allowance | 0 mm | 0 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)