View Issue Details

IDProjectCategoryView StatusLast Update
0026295CommunityOCCT:Modeling Algorithmspublic2017-08-11 12:02
Reporterickby Assigned Toifv 
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformAmd64OSUbuntu 
Product Version6.8.0 
Summary0026295: Sweep fails with BRepFill_ContactOnBorder
DescriptionTrying to sweep a section along a given path with an auxillery spine fails when the contact type is set to BRepFill_ContactOnBorder. It works with BRepFill_NoContact.
Steps To Reproducepload ALL
restore section.brep
restore profile1.brep
restore profile2.brep
explode section
explode profile1
explode profile2

mksweep profile1_1
addsweep section_1 -T -R
setsweep -G profile2_1 0 2
buildsweep sw -S

An exception was caught 0x7f528391c327 : Standard_NullObject: BRepAdaptor_Curve::No geometry
** Exception ** 0x7f528391c327 : Standard_NullObject: BRepAdaptor_Curve::No geometry
Additional information
and documentation updates
The picture shows the section, the profiles and the sweep with BRepFill_NoContact as build with:

setsweep -G profile2_1 0 0

The needed brep files are attached
TagsNo tags attached.
Test case numberbugs modalg_7 bug26295

Attached Files

  • sweep_NoContact.png (9,190 bytes)
  • section.brep (1,780 bytes)
  • profile1.brep (2,151 bytes)
  • profile2.brep (2,218 bytes)
  • profile3.brep (2,592 bytes)

Activities

ickby

2015-05-29 22:16

reporter  

sweep_NoContact.png (9,190 bytes)

ickby

2015-05-29 22:17

reporter  

section.brep (1,780 bytes)

ickby

2015-05-29 22:17

reporter  

profile1.brep (2,151 bytes)

ickby

2015-05-29 22:18

reporter  

profile2.brep (2,218 bytes)

ickby

2017-08-08 15:00

reporter   ~0069206

Last edited: 2017-08-08 15:03

The crash is gone in OCC 7.2 beta. But the sweep is still not created:

Buildsweep : Not Done
BuildSweep : One section can not be in contact with the guide

However, from the reference documentation of BRepOffsetAPI_MakePipeShell I would suspect that the section gets scaled to touch the guide. It states: "the auxiliary spine becomes a boundary of the swept surface and the width of section varies along the path." This seems to not be the case. Maybe a clearification of the documentation is needed.

ickby

2017-08-08 15:03

reporter  

profile3.brep (2,592 bytes)

ickby

2017-08-08 15:07

reporter   ~0069208

OCC7.2beta: For testing I moved the guide to start exactly at the tip of the section (uploaded as profile3). An access violation now occurs and the build sweep does not follow the guide:

pload ALL
restore section.brep
restore profile1.brep
restore profile3.brep
explode section
explode profile1
explode profile3
mksweep profile1_1
addsweep section_1 -T -R
setsweep -G profile3_1 0 2

An exception was caught 00000000020A4FC0 : OSD_Exception_ACCESS_VIOLATION: ACCESS VIOLATION at address 0x0000000000000038 during 'READ' operation** Exception ** 00000000020A4FC0 : OSD_Exception_ACCESS_VIOLATION: ACCESSVIOLATION at address 0x0000000000000038 during 'READ' operation

buildsweep sw -S

apv

2017-08-11 12:02

tester   ~0069309

Problem described in issue is reproduced on current state of OCCT.

Issue History

Date Modified Username Field Change
2015-05-29 22:16 ickby New Issue
2015-05-29 22:16 ickby Assigned To => msv
2015-05-29 22:16 ickby File Added: sweep_NoContact.png
2015-05-29 22:17 ickby File Added: section.brep
2015-05-29 22:17 ickby File Added: profile1.brep
2015-05-29 22:18 ickby File Added: profile2.brep
2015-06-01 10:04 msv Assigned To msv => ifv
2017-08-08 15:00 ickby Note Added: 0069206
2017-08-08 15:03 ickby Note Edited: 0069206
2017-08-08 15:03 ickby File Added: profile3.brep
2017-08-08 15:07 ickby Note Added: 0069208
2017-08-11 12:02 apv Test case number => bugs modalg_7 bug26295
2017-08-11 12:02 apv Note Added: 0069309