CadQuery / CadQuery/cadquery

ValueError: Null TopoDS_Shape object with offset of circle

Open
#1,757 1 comment 0 reactions 0 assignees View on GitHub
bug OCC kernel issue
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

```
ellipsis_big = 1
ellipsis_small = 1
s = cq.Sketch().ellipse(ellipsis_big, ellipsis_small).wires().offset(-0.1, mode="s")
```

Any value of ellipsis_small different than 1 will not cause a bug. Using `circle` or `ellipsis_small = ellipsis_big` causes `ValueError: Null TopoDS_Shape object`. Currently I use `0.999` to alleviate the issue.

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.