For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Please help: how to display new shell and old face

David Wang's picture
Forums: 

Hi,

I am testing to use Sewing class. It works very well. But I have a display problem that I could not figure out. The problem is:

after sewing operation, new shell is created. But if I dispaly the new shell, the old face is not displayed. If I display the original faces, I cannot display new shell.

To display the new shell, i am using:

Handle(AIS_Shape) S1 = new AIS_Shap(aNewSewShape); myAISContext->Redisplay(S1);

To display the old geometry, i am using:

myAISContext->UpdateCurrentViewer(); myAISContext->Redisplay(S);

Would somebody please tell me how to display them together and make selection work properly.

Thanks in advance. Your help is highly appreciated.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.