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

link between Topology and Graphic3d

Florent MOULLET's picture
Forums: 

Is there any link between the packages :

Topology Graphic3d

Like obtaining a structure from a shape or its boundary box?

Michael Gandyra's picture

Graphic3d is mainly used for visualization purposes. Topology is just Topology (based on Boundary Representation). Please be more precise, and refine your question if necessary. If you like to get a Graphic3D_Structure from a TopoDS_Shape, the easiest way is to extract the geometry from the Shape (using BRep_Tool) and construct a Prs3D_Presentation, which inherits from Graphic3D_Structure (to do this, you need the context to your view, of cause). With several static methods of the package StdPrs, like StdPrs_Curve::Add(), you are able to fill the presentation with your extracted geometry.

Best regards,

Michael Gandyra

------------------------------------------------------------------

University of Kaiserslautern

Research Group for Computer Application in Engineering Design

------------------------------------------------------------------

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.