View Issue Details

IDProjectCategoryView StatusLast Update
0006502Open CASCADEOCCT:Modeling Algorithmspublic2012-01-12 14:58
ReportermsvAssigned Tomkk 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.2.1 
Summary0006502: Failure calculation of ShrunkRange resulting to failure of boolean operation
DescriptionMake the following sequence of commands:

restore hull.brep a
plane pl 100 0 0 1 0 0
mkface f pl
bsection s a f -a

The operation fails with the message
"Can not obtain ShrunkRange for Edge 1304"
If we skip raising exceptions where shrunk range is failed (changing the source
code or changing the execution in debugger) the algorithm is able to produce a
good section. All the problem edges are attached in the file edges.brep.

Note that it is not the case where the length of the edge is less than vertex
tolerance. The edge length is 0.49 while vertex tol is 0.16 for the edge 1304,
and there are problem edges where this ratio is more greater.

The problem in this case is that we use the method Resolution of curve adaptor,
and it is known that this method gives incorrect result for bspline curves. In
our case it gives such delta that the incremented parameter appears out of
curve range.

The following is expected from the algorithm:

1. Using another method of computing delta from vertex position for non-canonic
curves.

2. If nevertheless the shrunk computation is failed the algorithm must not
raise exception just now, but try to continue computation until the data of
failed ShrunkRange object is highly needed. I.e., the exception must be used as
a last chance of algorithm to report a failure.
Additional information
and documentation updates
Documentation remark, added by MKK 2004-10-20 17:26:48:

Changes:
BRepAlgo_Section algorithm now avoids processing unaccesptable small edges that
is situated far from section line.
It allow to perform section for valid part of model and do not allow to perform
section for invalid (according to Boolean Operations limitaions) part of model.
TagsNo tags attached.
Test case number

Attached Files

  • hull.brep.gz (191,032 bytes)
  • edges.brep.gz (11,799 bytes)
  • OCC6502_mkk_v1.tgz (13,871 bytes)
  • OCC6502_mkk_v2.tgz (13,172 bytes)
  • OCC6502_mkk_v3.tgz (13,170 bytes)
  • OCC6502_mkk_v4_dev.tgz (32,080 bytes)
  • OCC6502_mkk_v4_511.tgz (29,971 bytes)
  • OCC6502_mkk_v5_dev.tgz (4,021 bytes)

Activities

2004-08-25 19:04

 

hull.brep.gz (191,032 bytes)

2004-08-25 19:06

 

edges.brep.gz (11,799 bytes)

2004-08-31 09:23

 

OCC6502_mkk_v1.tgz (13,871 bytes)

2004-09-01 07:31

 

OCC6502_mkk_v2.tgz (13,172 bytes)

2004-09-01 07:45

 

OCC6502_mkk_v3.tgz (13,170 bytes)

2004-09-03 12:28

 

OCC6502_mkk_v4_dev.tgz (32,080 bytes)

2004-09-03 12:28

 

OCC6502_mkk_v4_511.tgz (29,971 bytes)

2004-09-13 08:54

 

OCC6502_mkk_v5_dev.tgz (4,021 bytes)

Issue History

Date Modified Username Field Change
2004-08-25 21:37 msv BugsThisDependsOn => 6289
2004-08-26 08:35 bugmaster Assigned To bugmaster => mkk
2004-08-26 08:35 bugmaster Status new => assigned
2004-08-31 15:12 bugmaster CC => aki
2004-09-08 11:27 bugmaster CC => mkv
2004-09-08 11:27 bugmaster Status assigned => tested
2004-09-13 08:23 bugmaster Status tested => verified
2004-11-01 11:59 bugmaster Status verified => closed
2004-11-01 11:59 bugmaster Resolution @0@ => fixed
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2012-01-12 14:58 ysn Description Updated
2012-01-12 14:58 ysn Additional Information Updated