Archived issue #0033903
ShapeFix_Shape crashes
Description
Applying ShapeFix_Shape to the attached brep causes a crash. Setting aSfs.FixSolidMode() = false avoids this issue, maybe because this is a Moebius-type shape, but it should not cause a crash anyway.
Steps to reproduce
TopoDS_Shape shape ;
BRep_Builder builder ;
BRepTools::Read(shape, "Attachment 1 (BREP)", builder) ;
ShapeFix_Shape aSfs(shape) ;
aSfs.SetPrecision(1.0e-4) ;
aSfs.SetMinTolerance(1.0e-6) ;
aSfs.SetMaxTolerance(1.0e-3) ;
aSfs.Perform() ;
BRep_Builder builder ;
BRepTools::Read(shape, "Attachment 1 (BREP)", builder) ;
ShapeFix_Shape aSfs(shape) ;
aSfs.SetPrecision(1.0e-4) ;
aSfs.SetMinTolerance(1.0e-6) ;
aSfs.SetMaxTolerance(1.0e-3) ;
aSfs.Perform() ;
Public activity
3 archived notes
Participants are labeled by their role within this record.
Example in attached file
Attachment 1 (BREP) (758,026 bytes)
It seems that writing then reading the brep solves the issue but I can't do that each time.
The original shape comes from a STEP. Here is the file.
CADAssistant crashes when we try to open it, but https://viewer.autodesk.com works.
The original shape comes from a STEP. Here is the file.
CADAssistant crashes when we try to open it, but https://viewer.autodesk.com works.
Attachment 2 (STEP) (1,404,530 bytes)
Merged into [archived branch], repository: archived repository reference
[revision removed]
Branch: archived repository reference
[revision removed]
Branch: archived repository reference