CadQuery / CadQuery/cadquery

Suggestion: Add support for exploded views to assembly

Open
#870 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

As far as I can tell, assemblies don't yet support exploded views.

One way to support this would be to add an `explode` vector parameter to the `add` function which was used to how the part moved when the assembly was exploded, eg

```
door = (
cq.Assembly()
.add(make_vslot(H), name="left", explode=(-50, 0, 0))
.add(make_vslot(H), name="right", explode=(50, 0, 0))
.add(make_vslot(W), name="top", explode=(0, 0, 50))
.add(make_vslot(W), name="bottom", explode=(0, 0, -50))
.add(make_connector(), name="con_tl", color=cq.Color("black"))
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.