View Issue Details

IDProjectCategoryView StatusLast Update
0027064CommunityOCCT:Modeling Algorithmspublic2021-08-29 18:52
Reporterjaydenshui Assigned Tonbv 
PrioritylowSeveritymajor 
Status assignedResolutionopen 
PlatformWindowsOSVC++ 2013 
Product Version6.9.1 
Target Version7.7.0 
Summary0027064: Wrong results for simple boolean operations
DescriptionWrong results get by running the following code in Draw Test Harness:

pload ALL
vclear

box b -0.5 -0.5 -0.5 1 1 1

psphere s1 0.5
ttranslate s1 0.5 0 0

psphere s2 0.5
ttranslate s2 0 0.5 0

psphere s3 0.5
ttranslate s3 0 0 0.5

psphere s4 0.5
ttranslate s4 -0.5 0 0

psphere s5 0.5
ttranslate s5 0 -0.5 0

psphere s6 0.5
ttranslate s6 0 0 -0.5

bop b s1
bopcut c1

bop c1 s2
bopcut c2

bop c2 s3
bopcut c3

bop c3 s4
bopcut c4

bop c4 s5
bopcut c5

bop c5 s6
bopcut c6

vinit
vdisplay c6
vfit
setup Shaded display mode
Steps To Reproduce1. Run the attached code in Draw Test Harness
2. See the wrong results
TagsNo tags attached.
Test case number

Attached Files

  • b.tcl (496 bytes)

Activities

jaydenshui

2016-01-08 01:25

reporter  

b.tcl (496 bytes)

msv

2016-01-09 01:48

developer   ~0049749

The operation gets wrong result also with the following simplified case:

box b -0.5 -0.5 -0.5 1 1 1
psphere s1 0.5
ttranslate s1 0.5 0 0
psphere s3 0.5
ttranslate s3 0 0 0.5
bcut c1 b s1
bcut c3 c1 s3

The shape c3 is wrong, though checkshape command tells it is correct.
However, the command bopcheck reports self-intersection:

Draw[94]> bopcheck c3
F/F: x59 x74

Issue History

Date Modified Username Field Change
2016-01-08 01:25 jaydenshui New Issue
2016-01-08 01:25 jaydenshui Assigned To => msv
2016-01-08 01:25 jaydenshui File Added: b.tcl
2016-01-09 01:48 msv Note Added: 0049749
2016-01-09 01:52 msv Assigned To msv => nbv
2016-01-09 01:52 msv Priority normal => low
2016-01-09 01:52 msv Status new => assigned
2016-01-09 01:52 msv Target Version => 7.1.0
2016-10-25 19:04 msv Target Version 7.1.0 => 7.2.0
2017-07-21 11:34 msv Target Version 7.2.0 => 7.3.0
2017-12-05 17:09 msv Target Version 7.3.0 => 7.4.0
2019-08-12 16:44 msv Target Version 7.4.0 => 7.5.0
2020-09-14 22:55 msv Target Version 7.5.0 => 7.6.0
2021-08-29 18:52 msv Target Version 7.6.0 => 7.7.0