CadQuery / CadQuery/cadquery

Loading and reloading STEP would be crash

Open
#830 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

Example
https://drive.google.com/file/d/1uNoSakAb8fRtFri1-0YIOQsNMPdAX5u1/view?usp=sharing

Just open `Untitled.ipynb`. There are many empty item in my original model.

> In `items_occ` : LIST[( , str(model name), tuple( int(R), int(G), int(B) ), str(model tree path) )]
> In `items_cq_ocp` : LIST[( , str(model tree path) )]

But I have the problem.
In this line :
```python
assembly.save('./assembly_by_cq.step')
```
I tried to open `assembly_by_cq.step` by CREO 6.0. It has crash like this :
![image](https://user-images.githubusercontent.com/65506932/126047477-83f3c880-3e15-49b1-9a1a-1959bc4b1aa8.png)

It would have same problem when I save STEP first and then reload STEP in cadquery.
The origin:
![image](https://user-images.githubusercontent.com/65506932/126048270-302f7850-101a-4aaa-bc36-24c3f2571284.png)
The reload:
![image](https://user-images.githubusercontent.com/65506932/126048306-5d1266cf-db01-424e-9216-7bd8c3738ba5.png)

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.