DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

Projetion get wrong result

Modeling Data and AlgorithmsSat, 09/13/2025 - 16:050 replies

Browse this forum
QuestionAuthor

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.

Discussion

No archived replies

Posts are displayed in their archived order.