Thu, 01/26/2012 - 01:02
Forums:
Hi
Attached please find a zip file which contacts Face.brep wire.brep.
I use BRepOffsetAPI_MakePipe to sweep the Face.brep along wire.brep and it causes core dump. Also show some message about TopoDS_UncompatibleShapes.
Is it a bug so it results in core dump?
Or is there any way to detect the uncompatible shapes before calling this function?
Thanks in advance.
Sean
Attachments:
Mon, 02/06/2012 - 22:55
Hi
Sorry, but can anyone help me here?
Sean
Tue, 02/07/2012 - 17:06
Dear sean,
It looks like a bug and requires additional investigation.
I suggest you to register the issue in Mantis Bugtracker,
which is available via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
You can try to use BRepOffsetAPI_MakePipeShell as a workaround.
At least I succeed to get resulting shape (see the attached file).
Draw reproducer:
pload ALL
restore Face.brep f
restore wire.brep w
fit
explo f W
## f_1
explo w E
whatis w_1
## w_1 is a shape EDGE REVERSED Modified Orientable
mkcurve c1 w_1
orientation w_1 F
wire w1 w_1
mksweep w1
addsweep f_1
buildsweep r
I hope it will help.
Regards
Wed, 02/08/2012 - 19:40
Dear Forum supervisor:
Thank you for your help. The workaround works.
I am trying to use BRepOffsetAPI_MakePipeShell for my code. BRepOffsetAPI_MakePipeShell doesn't create a geometry I need. Is that something to do with SetMode? What should I do then?
Thanks again.
Sean
Thu, 02/09/2012 - 18:24
Dear sean,
You may use "Modeling Algorithms User's Guide" and overlook comments in
BRepOffsetAPI_MakePipeShell.cdl file. I hope it may help you to find a solution.
Also training and e-learning courses are at your disposal - http://www.opencascade.org/support/training/.
You may contact us (in case of need) via the Contact Form http://www.opencascade.org/about/contacts/.
Regards