The surface in protoolkit is expressed by prosurface. In the help document of protoolkit, it indicates that there are three types of surface in prosurface:
- Prosurface -- surface, datum surface, or datum plane
But what are the differences between these three aspects:
1. Surface
It refers to the solid surface. For example, you can createCubeBody. The six sides of the cube are the surface.
You can use the prosolidsurfacevisit function to traverse all surfaces under prosolid.
2. datum Surface
Non-entity surface. You create a surface group by stretching it. All the faces in the surface group are datum surface.
You can use the following method to traverse all datum surfaces under prosolid:
A. traverse all the surface groups under solid prosolidquiltvisit
B. Use proquiltsurfacevisit to obtain all the datum surfaces under each surface group obtained through traversal.
3. datum plane
That is, this type of surface.
How to traverse all datum plane under prosolid?
A. Use prosolidfeatvisit to traverse all features whose feattype is pro_feat_datum.
B. obtain the corresponding prosurface for the features obtained through traversal.
For traversing these three facesCodeImplementation, already in blog<Traversal access encapsulation code under prosolid>Cprosolid. h In.