CadQuery / CadQuery/CQ-editor

'Tools → Export as STEP' fails

Open
#261 2 comments 1 reaction 0 assignees View on GitHub
bug enhancement
Dominant language
Python
Stars
1.2k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I used the [Assembly Tutorial](https://cadquery.readthedocs.io/en/latest/assy.html), which I got to load after downloading 'vslot-2020_1.dxf' following a link from a related [GitHub Issue](https://github.com/CadQuery/cadquery/issues/589).

Version: 0.3.0dev.

'Log viewer' reports:
```
[2021-04-14 16:55:01.679632] ERROR: CQ-Editor: Uncaught exception occurred
Traceback (most recent call last):
File "C:\Users\user\Anaconda3\lib\site-packages\cq_editor\widgets\object_tree.py", line 142, in
self.export('step'))
File "C:\Users\user\Anaconda3\lib\site-packages\cq_editor\widgets\object_tree.py", line 332, in export
export(shapes,export_type,fname,precision)
File "C:\Users\user\Anaconda3\lib\site-packages\cq_editor\cq_utils.py", line 76, in export
comp = to_compound(obj)
File "C:\Users\user\Anaconda3\lib\site-packages\cq_editor\cq_utils.py", line 37, in to_compound
raise ValueError(f'Invalid type {type(obj)}')
ValueError: Invalid type
```

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.