Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

BOPTools_Checker issues

BOPTools_Checker issues
Paul Jimenez 2009/07/10 14:19
I am creating a planar face from a wire, but when checking for problems using BOPTools_Checker I get errors because it thinks edges are intersecting. I thought it was caused by the change in the precision (tolerance), but it also occurs in the Test Harness using its default precision values.

The commands for the Test Harness are the following:

> polyline w 0 0 0 2000 0 0 0 10000 0 0 0 0
> mkplane f w 1
> bopcheck f
Self-intersection near edges
x1 x2
Self-intersection near edges
x3 x4

To narrow it down a bit more, it is incorrectly found by IntTools_EdgeEdge::Perform in BOPTools_Checker::PerformEE. If instead of 2000 I use 2280 when creating the wire, it works. It looks like that method finds the wrong intersection point when the angle between the edges is less than 12.8.

Once again, time to write a workaround (more like a re-write of the checker).
jelle 2012/08/17 13:19
Paul, perhaps something that's relevant to put into the Mantis tracker?
Given that you have a reproducible case, its worthwhile, right?
Timo 2012/08/17 13:34
The problem isn't reproducible anymore in 6.5.3.
jelle 2012/08/17 13:51
Nice one, thanks Timo [ and thanks for slapping my on the fingers, should have done that myself... ]
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map