cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

ValueError: Null TopoDS_Shape object with offset of circle

Open louisabraham opened this issue 9 months ago • 1 comments

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.

louisabraham avatar Jan 29 '25 05:01 louisabraham