I use HLRBRep_Algo to get a projection of .step model. It works cool but when I tried to do this with big files (~10 - 15 Mb) the program is down on operation Hide() with StackOverflowException after Update() (Update() operation use a lot of memory as I see in task manager). Any advices? If I don’t hide lines the program is work.
Handle(HLRBRep_Algo) myAlgo = new HLRBRep_Algo();
HLRAlgo_Projector aProjector = HLRAlgo_Projector(gp_Ax2(gp_Pnt(0.,0.,0.), gp_Dir(0.,0.,-1.)));
myAlgo->Add(SS); // Add my step model
myAlgo->Hide(); // StackOverflow appears here