_importDXF wire_set throw "IndexError: list index out of range"
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
script:
``` python
import cadquery
result = cadquery.importers.importDXF("D:/Machine.dxf")
```
output:
``` console
Traceback (most recent call last):
File "D:\python scripts\cadTrans.py", line 2, in
result = cadquery.importers.importDXF("D:/Machine.dxf")
File "D:\Python3.9.13\lib\site-packages\cadquery\occ_impl\importers\__init__.py", line 86, in importDXF
faces = _importDXF(filename, tol, exclude, include)
File "D:\Python3.9.13\lib\site-packages\cadquery\occ_impl\importers\dxf.py", line 198, in _importDXF
faces.append(Face.makeFromWires(wire_set[0], wire_set[1:]))
IndexError: list index out of range
```
the dxf file:
[Machine.zip](https://github.com/CadQuery/cadquery/files/10738421/Machine.zip)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.