DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

Visualisation clipping - missing style&material when from in-memory generated document

Visualization and 3D ViewerFri, 01/08/2021 - 13:470 replies

Browse this forum
QuestionAuthor

Hello,

 

I try to clip one XCAFPrs_AISObject out of 2 in a scene using v3d for visualisation. If I generate the document, add a root and append 2 cubes in memory, put it into the scene, add a clipping plane to one of the cubes with hatching and color like in the user guide example it clips as wanted but the HatchStyle is not applied. It always clips transparent. If I save the document to disk (attached STEP), load it again and put it in the viewer it works and clipping with hatch is visible.

 

 

I tried to debug and see where the difference is in opencascade source but can't find it. There's maybe some kind of hint or property that I am missing?

 

Thank you very much!

Discussion

No archived replies

Posts are displayed in their archived order.