View Issue Details

IDProjectCategoryView StatusLast Update
0024531Open CASCADEOCCT:Modeling Algorithmspublic2018-11-07 12:08
Reporterkgv Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version6.3.1 
Summary0024531: Check shape does not report invalid orientation of Shells within Solid
DescriptionIt seems check shape does not evaluates Solid orientation issues.
At the same time both fixshape (corrects Shell orientations) and solidorientation (modifies orientation of Solid itself) fix this problem.

Original problem observed within mesh/standard_shading/T8 test case where invalid Solid is reported as valid and displayed with artifacts. Known bad shapes in tests:

mesh/standard_shading/T8
mesh/standard_shading/P2
Steps To Reproduce
pload MODELING VISUALIZATION DATAEXCHANGE
box b 1 2 3
explode b
whatis b
whatis b_1
vinit View1
vclear
vsetdispmode 1
vaxo
vdisplay b
vfit
vrotate 0.1 0 0
vmoveto 150 150
vdump OK.png

orientation b R
whatis b
checkshape b bc
vclear
vdisplay b
vmoveto 150 150
vdump KO.png

fixshape bf b -l -h -m -d -s -i -n +?


checkshape prints:
> -- The Shape b looks OK

fixshape prints:
> Orientation of shell(s) in solid was corrected 1
TagsNo tags attached.
Test case numberNot needed

Attached Files

  • OK.png (3,067 bytes)
  • KO.png (3,545 bytes)

Relationships

related to 0024521 closedbugmaster Open CASCADE Visualization - automatic back face culling is not turned on for Solids packed into compound 

Activities

kgv

2014-01-15 11:33

developer  

OK.png (3,067 bytes)

kgv

2014-01-15 11:33

developer  

KO.png (3,545 bytes)

ifv

2014-02-10 15:34

developer   ~0027829

Inverted solid is "hole in space" and is valid shape in CASCADE, that is why checkshape does not consider such shapes as invalid ones.
Fixshape and solidorientation adjusted to get only closed "volumes" with material inside as valid solid.
If it is very necessary for somebody to consider "holes" as invalid shapes, it is possible to add special key for checkshape.

kgv

2014-02-10 16:30

developer   ~0027831

Dear ifv,

behavior of checkshape and fixshape commands is expected to be consistent.
If result of checkshape is considered correct than fixshape should be fixed instead.

Also, please use state "acknowledged" instead of "resolved" for issues which are not planned to be fixed at all (and fill Resolution field as well).

ifv

2016-11-23 11:14

developer   ~0060709

It is not a bug. For checkshape "correct" solid - closed volume in space - and inverted solid - "cavity" in infinite material - are valid shape.
fixshape and solidorientation are dedicated for getting more traditional models, so try to get "correct" solid by changing orientation of shell.

msv

2016-11-23 16:50

developer   ~0060736

I agree.
Dear bugmaster, please close this bug.

Issue History

Date Modified Username Field Change
2014-01-15 11:32 kgv New Issue
2014-01-15 11:32 kgv Assigned To => gka
2014-01-15 11:33 kgv File Added: OK.png
2014-01-15 11:33 kgv File Added: KO.png
2014-01-15 11:34 kgv Relationship added related to 0024521
2014-01-15 11:38 kgv Description Updated
2014-01-15 11:39 kgv Product Version => 6.3.1
2014-01-15 11:39 kgv Target Version => 6.7.1
2014-01-15 11:59 kgv Category OCCT:Shape Healing => OCCT:Modeling Algorithms
2014-01-15 11:59 kgv Assigned To gka => ifv
2014-01-15 11:59 kgv Status new => assigned
2014-02-10 15:34 ifv Note Added: 0027829
2014-02-10 15:34 ifv Status assigned => resolved
2014-02-10 15:43 ifv Assigned To ifv => kgv
2014-02-10 16:30 kgv Note Added: 0027831
2014-02-10 16:30 kgv Assigned To kgv => ifv
2014-02-10 16:30 kgv Status resolved => assigned
2014-04-04 18:16 abv Target Version 6.7.1 => 6.8.0
2014-08-26 08:50 kgv Description Updated
2014-09-26 16:28 abv Target Version 6.8.0 => 7.1.0
2016-10-28 11:54 msv Target Version 7.1.0 => 7.2.0
2016-11-23 11:14 ifv Note Added: 0060709
2016-11-23 11:14 ifv Assigned To ifv => msv
2016-11-23 11:14 ifv Status assigned => resolved
2016-11-23 16:50 msv Note Added: 0060736
2016-11-23 16:50 msv Status resolved => feedback
2016-11-23 16:50 msv Resolution open => no change required
2016-11-23 16:50 msv Summary Check shape does not report invalid orinetation of Shells within Solid => Check shape does not report invalid orientation of Shells within Solid
2017-02-02 09:40 msv Assigned To msv => bugmaster
2017-02-09 17:08 apn Test case number => Not needed
2017-02-09 17:08 apn Status feedback => closed
2017-02-09 17:08 apn Target Version 7.2.0 =>