MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027064Community[OCCT] OCCT:Modeling Algorithmspublic2016-01-08 01:252017-12-05 17:09
Reporterjaydenshui 
Assigned Tonbv 
PrioritylowSeveritymajor 
StatusassignedResolutionopen 
PlatformWindowsOSVC++ 2013OS Version64 bit
Product Version[OCCT] 6.9.1 
Target Version[OCCT] 7.4.0*Fixed in Version 
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? file icon b.tcl (496 bytes) 2016-01-08 01:25

- Relationships

-  Notes
(0049749)
msv (developer)
2016-01-09 01:48

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*


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker