You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
segfault_testfiles.zip
I am using cadquery to make some support scripts to assist with making drawer organizers (for storing tools). I have functions to add keyed features after the organizers are split up into pieces sized for 3d printing. Some of the models I made natively in cadquery. Others that are more complex I modeled in Solidworks, exported as STEP, and brought into cadquery for adding joining features. This works on most models but on a more complex one cadquery segfaults immediately on any geometry operation even if the resulting new geometry doesn't even intersect the imported geometry. All the files import successfully without errors and can be reexported as STLs without modification.
There is no debugging information so I'm not really sure where to begin. Two of my parts are bringing out this fault. They are very different but have some similar geometry.
To Reproduce
3 files are attached in a zipfile.
DrawerModule_Caliper1.STEP - Works fine
DrawerModule_Mics1.STEP - Segfault
DrawerModule_Mics2.STEP - Segfault
A simple operation such as this causes a segfault on the second two files but works on the first:
I paired the geometry down until it successfully worked. It appears that the sketched fillet on the rotated cuts is what is causing the segfault. When I changed these into chamfers the parts can be operated on successfully.
After going back to full part I had to eliminate all fillets on these rotational cuts even ones that were applied after the sketch. Both convex and concave.
This certainly seems like some sort of bug. I believe this type of geometry can be created with cadquery.
arsenixprime
changed the title
Segfault when operating on imported geometry
Segfault when operating on imported geometry with filleted rotational cuts
Sep 7, 2024
segfault_testfiles.zip
I am using cadquery to make some support scripts to assist with making drawer organizers (for storing tools). I have functions to add keyed features after the organizers are split up into pieces sized for 3d printing. Some of the models I made natively in cadquery. Others that are more complex I modeled in Solidworks, exported as STEP, and brought into cadquery for adding joining features. This works on most models but on a more complex one cadquery segfaults immediately on any geometry operation even if the resulting new geometry doesn't even intersect the imported geometry. All the files import successfully without errors and can be reexported as STLs without modification.
There is no debugging information so I'm not really sure where to begin. Two of my parts are bringing out this fault. They are very different but have some similar geometry.
To Reproduce
3 files are attached in a zipfile.
A simple operation such as this causes a segfault on the second two files but works on the first:
This fails the same way whether running the python directly or in cq-editor.
Backtrace
Simply says "Segmentation fault (core dumped)"
Environment
OS: Ubuntu 32.10
Was CadQuery installed using Conda?: Yes, installed latest nightly using cq-editor scrip.
Output of
conda list
from your active Conda environment:Using: ipython and cq-editor
The text was updated successfully, but these errors were encountered: