OCC 51 HLR: all lines are visible

My application was written under OCC 50 and uses HLRBRep_PolyHLRToShape and HLRBRep_PolyAlgo to compute hidden lines. Under OCC51, however, all lines are returned as visible and HLR doesn't work! Any ideas, what can be a problem?

Regards,

Paul

Tom B's picture

I too have had HLR problems with OCC51. My problems were different, but probably related. I was using the HLR modes of AIS_InteractiveContext. Worked fine in 4.0 and 5.0, but shows all lines in 5.1. When I switched to using the HLR routines explicitly, HLR worked again.

I poked around for a while but wasn't able to figure out what was going on. At the moment I'm back to using 5.0.

Sorry I can't be of any help. Let me know if you find something.

--Tom B