Skip to content

Segmentation fault and other errors in BRepAlgoAPI_Cut #1253

Open
@stepi9

Description

@stepi9

I'm using pythonocc-core compiled from source (version 7.7.2) to perform cuts of cylinders (with radius of order 10^1 and length of order 10^2), from a complex 3d step geometry (dimension order: 10^3), reconstructed from stl using Fusion 360. I'm using BRepAlgoAPI_Cut but I get a lot of errors and/or warnings. If I'm lucky, the program finishes, but some expected cuts are missing and/or some artifacts are present (During the execution I may get several warnings from brep cut, such as: too small edge, not splittable edge, acquired self intersection, solid builder unused faces and others). If I'm less lucky, at a certain point, the geometry is sort of corrupted with only a few particles remaining. In the worst case I get an Exception from the cut function or even a Segmentation Fault. I've also tried with fuzzy value and shapeupgrade but with no to limited benefits. What would you suggest to solve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions