Issues with BRepOffsetAPI_MakePipeShell
Hi,
I am trying to build a pipe with the attached spine and profiles but the result is wrong, the pipe does not represent the profiles' shapes, see attached screenshots from DRAW.
I am using version 7.5.
Here is the DRAW code I am using to test:
pload ALL restore /tmp/spine_23.brep s restore /tmp/profile_23_1.brep p1 restore /tmp/profile_23_2.brep p2 restore /tmp/profile_23_3.brep p3 restore /tmp/profile_23_4.brep p4 restore /tmp/profile_23_5.brep p5 restore /tmp/profile_23_6.brep p6 mksweep s setsweep -DT addsweep p1 addsweep p2 addsweep p3 addsweep p4 addsweep p5 addsweep p6 buildsweep r -C -S vdisplay s p1 p2 p3 p4 p5 p6 r vfit
Note that with a simpler profile the pipe appears to be built correctly:
pload ALL restore /tmp/spine_23.brep s polyline p 43.2 -21.98 19.05 143.2 -21.98 19.05 circle c 43.2 -21.98 19.05 1 0 0 1 mkedge e c wire w e mksweep s setsweep -DT addsweep w buildsweep r -C -S vdisplay s w r vfit
Is there a problem with my profiles or spine? Or should I use different parameters or a different algorithm?
Note that I also encountered the following bugs with different (but similar) spine and profiles:
- https://tracker.dev.opencascade.org/view.php?id=29645
- https://tracker.dev.opencascade.org/view.php?id=31147
Note that If I scale the
Note that If I scale the profiles up enough then the pipe is correctly constructed, but then I don't know how to scale it down without deforming it, here is the code with the scaled profiles:
Hello Jerome,
Hello Jerome,
As the forum moved to Development Portal, please post your questions there: https://dev.opencascade.org/forums/usage-issues
Thank you.