Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032447Community[OCCT] OCCT:Modeling Algorithmspublic2021-06-16 16:142021-10-15 18:07
ReporterJerome Caucat 
Assigned ToJerome Caucat 
PlatformLinuxOSUbuntu 20.04OS Version64 bit
Product Version 
Target VersionFixed in Version 
Summary0032447: BRepOffsetAPI_MakePipeShell result in inaccurate shape when using -DT mode and DT_ShapeDivide on the spine
DescriptionUsing OCCT 7.5.2 with the patch for [^] and [^]

When trying to build a pipe with the provided spine and profiles using "setsweep -DT" and "buildsweep r -C -S" I get a Standard_NullObject.

If I use "DT_ShapeDivide" on the spine beforehand I then get a shape that does not represent well the spine and profiles (two straight pipes crossing each other), see the provided .png.

Adjusting the tolerance of "DT_ShapeDivide" can lead to better results, but not perfect.
TagsNo tags attached.
Test case number
Attached Fileszip file icon (17,132 bytes) 2021-06-16 16:14
zip file icon (1,579 bytes) 2021-09-28 17:19
png file icon Screenshot.png (9,316 bytes) 2021-10-14 15:08
png file icon Screenshot_1.png (36,620 bytes) 2021-10-14 15:24
png file icon Screenshot_2.png (39,037 bytes) 2021-10-14 15:24
? file icon test_DT_Screenshot_1.tcl (363 bytes) 2021-10-14 16:36
? file icon test_DT_Screenshot_2.tcl (403 bytes) 2021-10-14 16:36

- Relationships

-  Notes
Jerome Caucat (reporter)
2021-09-28 17:20

I have a similar result (pipe looking like a cross) with the where the spine is a polyline and with a single profile.
Jerome Caucat (reporter)
2021-09-28 17:28

And I also reproduce in C++ using C0BSplineToSequenceOfC1BSplineCurve instead of ShapeUpgrade_ShapeDivideContinuity to convert the spine from C0 to C1 with the data from original
akaftasev (developer)
2021-10-14 15:24
edited on: 2021-10-14 16:38

Dear Jerome Caucat, there is a problem with your entry data.
As you can see on attached file (Screenshot.png), profile_4.brep lies "deaper" on spine than needed to recive correct result.
You also can recive more correct result if you exclude this profile from sweep algorithm, but not good enough (see attached file Screenshot_1.png, script: test_DT_Screenshot_1.tcl)
If you want to recieve result, passing through all presented profiles, it is needed to use 'buildsweep' command without '-C' or '-R' parameters, but resulting shape will have curvature on top border (see attached file Screenshot_2.png, script: test_DT_Screenshot_1.tcl)

Jerome Caucat (reporter)
2021-10-15 10:58

Dear akaftasev, thank you for your feedback.

I see what you mean about profile number 4, there is indeed a problem with the data.

However, in there is only one profile and we have a similar "cross" result. Using 'buildsweep' command without '-C' or '-R' parameters does not help. Is there also a problem with the data?

- Issue History
Date Modified Username Field Change
2021-06-16 16:14 Jerome Caucat New Issue
2021-06-16 16:14 Jerome Caucat Assigned To => msv
2021-06-16 16:14 Jerome Caucat File Added:
2021-09-28 17:19 Jerome Caucat File Added:
2021-09-28 17:20 Jerome Caucat Note Added: 0104420
2021-09-28 17:28 Jerome Caucat Note Added: 0104421
2021-10-14 15:08 akaftasev File Added: Screenshot.png
2021-10-14 15:24 akaftasev Note Added: 0104635
2021-10-14 15:24 akaftasev File Added: Screenshot_1.png
2021-10-14 15:24 akaftasev File Added: Screenshot_2.png
2021-10-14 15:26 akaftasev Assigned To msv => Jerome Caucat
2021-10-14 15:26 akaftasev Status new => feedback
2021-10-14 16:36 akaftasev File Added: test_DT_Screenshot_1.tcl
2021-10-14 16:36 akaftasev File Added: test_DT_Screenshot_2.tcl
2021-10-14 16:38 akaftasev Note Edited: 0104635 View Revisions
2021-10-15 10:58 Jerome Caucat Note Added: 0104645

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker