View Issue Details

IDProjectCategoryView StatusLast Update
0025983CommunityOCCT:Modeling Algorithmspublic2018-03-16 07:59
Reportershoogen Assigned Tomsv 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformLinuxOSDebian 6.0 
Product Version6.8.0 
Summary0025983: Fusion of sweep and its mirror invalid
DescriptionThe sweep is fused together with a mirror of itself. The result has a BRepCheck_BadOrientationOfSubshape.
Steps To Reproducerestore deform-fusion1-tcl-BSpline.brep BSpline
wire Knurling-0-spine BSpline
mksweep Knurling-0-spine
setsweep -FR
polyline DWire 0 0 0 1 -0.9999999999999998 0 1.0000000000000002 0.9999999999999998 0 0 0 0
trotate DWire 0 0 0 1 0 0 134.99999999999693
ttranslate DWire 9 0 0
addsweep DWire
buildsweep Knurling -C -S
copy Knurling Clone
tmirror Clone 0 0 0 1 0 0
bfuse result Knurling Clone
donly result
checkshape result
# faulty BRepCheck_BadOrientationOfSubshape
TagsNo tags attached.
Test case numberbugs modalg_7 bug25983

Attached Files

  • deform-fusion1.tcl (591 bytes)
  • deform-fusion1-tcl-BSpline.brep (11,035 bytes)
  • deform-fusion2.tcl (639 bytes)
  • bug25983.png (3,305 bytes)

Activities

shoogen

2015-03-25 15:23

reporter  

deform-fusion1.tcl (591 bytes)

shoogen

2015-03-25 15:24

reporter  

deform-fusion1-tcl-BSpline.brep (11,035 bytes)

shoogen

2015-03-25 15:55

reporter  

deform-fusion2.tcl (639 bytes)

apv

2017-08-07 19:00

tester   ~0069181

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

emv

2018-03-16 07:58

developer   ~0074523

The problem here appears because the intersection curves of two of the faces of the input shapes are not complete:
explode Knurling f
explode Clone f
bopcurves Knurling_2 Clone_2 -2d
# 4 curves found (see the image)


So, the obvious workaround here is to use Fuzzy Booleans (to fill the gaps between curves):
bfuzzyvalue 1.e-3
bfuse r Knurling Clone
checkshape r
# OK, complete

emv

2018-03-16 07:59

developer  

bug25983.png (3,305 bytes)

Issue History

Date Modified Username Field Change
2015-03-25 15:23 shoogen New Issue
2015-03-25 15:23 shoogen Assigned To => msv
2015-03-25 15:23 shoogen File Added: deform-fusion1.tcl
2015-03-25 15:24 shoogen File Added: deform-fusion1-tcl-BSpline.brep
2015-03-25 15:55 shoogen File Added: deform-fusion2.tcl
2015-03-25 16:05 msv Steps to Reproduce Updated
2017-08-07 19:00 apv Test case number => bugs modalg_7 bug25983
2017-08-07 19:00 apv Note Added: 0069181
2018-03-16 07:58 emv Note Added: 0074523
2018-03-16 07:59 emv File Added: bug25983.png