Hidden Line Removal Algorithm

HI,

Bug in 12_SampleHLR

I can use HLRBRep_PolyAlgo, But when I use the HLRBRep_Algo, some edges are not correct.It seems that the prjections of some lines are not right.

I can send you of screencopy by email.

Could someone tell me why and how to deal with it?

Thanks

David

Stephane Routelous's picture

Hi,

I think it is a bug.
You can register it under the bug section.

I can provide you a workaround :
explode your shapes in faces ( for performance reasons ) : ( using TopExp_Explorer )
begin loop on your faces
convert the face to bspline ( using BRepBuilderAPI_NurbsConvert ).
Add the face in your HLR algo.
end loop on your faces
Compute the HLR

With this method, you should get a good result.
The only problem is that it is much slower than without converting to BSpline, but at least it's working fine ( I think ).

HTH.

Stephane
http://www.exotk.org

Gilles DAVID's picture

HI,

Thanks a lot for your help.

David