CadQuery / CadQuery/cadquery

Fillet causes crash on Mac

Open
#342 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

Using the following code:

`import cadquery as cq

cylinder = cq.Workplane("XY" ).circle(54.5).extrude(20)

torus = cq.Solid.makeTorus(
32, 14,
pnt=cq.Vector(0,0,20),
dir=cq.Vector(0,0,1),
angleDegrees1=0,
angleDegrees2=360
)
lid = cylinder.cut(torus)
lid = lid.edges(">Z").fillet(1.0)
`

I get the following crash on MacOS 10.15.4:

`python(39157,0x1154efdc0) malloc: *** error for object 0x7fbc42c7d6b8: pointer being freed was not allocated
python(39157,0x1154efdc0) malloc: *** set a breakpoint in malloc_error_break to debug`

This is using everything installed from conda:
- cadquery: 2.0
- cq-editor: master (as of 2020-05-05)
- pythonocc-core: 0.18.2
- Python: 3.7.4

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.