
Sat, 09/13/2025 - 16:05
Forums:
i project the shape with code:
Handle(HLRBRep_Algo) hlrAlgo = new HLRBRep_Algo();
hlrAlgo->Add(shape);
gp_Ax2 ax(gp_Pnt(0, 0, 1000),
gp_Dir(0, 0, -1),
gp_Dir(1, 0, 0));
HLRAlgo_Projector projector(ax);
hlrAlgo->Projector(projector);
hlrAlgo->Update();
hlrAlgo->Hide();
HLRBRep_HLRToShape hlrToShape(hlrAlgo);
auto result = hlrToShape;
and render the edge of VCOMPOUND, BUT result as BELOW,
from the top view,the wire is not project of shape outline.
could anyone tell me why? thks.
Attachments: