Mesh Control
Mesh controls define the characteristics of a mesh. Mesh controls specify the minimum or maximum size of the elements, the distribution of nodes along edges, hard points and hard curves, mesh ID numbering, mesh ID offsets, and the displacement coordinate system. The functions described in this section provide access to the data and contents of the Creo Simulate mesh control objects. Mesh controls use the ProType field in the ProMechitem structure as PRO_SIMULATION_MESH_CNTRL.
Functions Introduced:
The function
ProMechmeshcntrlTypeGet() returns the type of mesh control. The types of mesh controls are:
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
• PRO_MECH_MC_DISPL_CSYS—Specifies the displacement coordinate system used for displaying results for nodes associated with points, edges, curves, or surfaces.
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
• PRO_MECH_MC_SHELL_CSYS—Specifies the coordinate system used for displaying results for nodes associated with shell or quilt surfaces. Use the function
ProMechmeshcntrlShellcsysGet() to access the shell coordinate system for the mesh control item. Use the function
ProMechmeshcntrlShellcsysSet() to set the shell coordinate system for the mesh control item.
• PRO_MECH_MC_HARD_CURVE—Specifies a datum curve that is defined as a hard curve. This type has no data, only references. Use the function
ProMechmeshcntrlHardcurveSet() to set the mesh control item to be of the type hard curve. The reference for the item will be used for the control.
• PRO_MECH_MC_SUPPRESS—Specifies the components that must be ignored while applying the mesh control to the assembly level. Use the function
ProMechmeshcntrlSuppressGet() to access the suppress data for the mesh control item. Use the function
ProMechmeshcntrlSuppressSet() to set the suppress data for the mesh control item.
• PRO_MECH_MC_AGEM_SUPPRESS—Specifies the type of AutoGEM controls that you want the mesh generator to ignore at the assembly level. Use the function
ProMechmcautogemsuppressTypeGet() to access the types of AutoGEM control suppressed by this AutoGEM control data. Use the function
ProMechmcautogemsuppressTypeSet() to set the type of AutoGEM control suppressed by this AutoGEM control data.
These functions support only the following AGEM mesh control types:
◦ PRO_MECH_MC_AGEM_EDGE_DISTR
◦ PRO_MECH_MC_AGEM_MIN_EDGE
◦ PRO_MECH_MC_AGEM_ISOLATE_EXCLUDE
◦ PRO_MECH_MC_AGEM_MAX_ELEMENT_SIZE
◦ PRO_MECH_MC_AGEM_EDGE_LEN_CRV
◦ PRO_MECH_MC_AGEM_HARD_POINT
◦ PRO_MECH_MC_AGEM_HARD_CURVE
◦ PRO_MECH_MC_ALL
• PRO_MECH_MC_AGEM_HARD_POINT—Specifies points, point features, or point patterns on the model to guide the AutoGEM mesh creation process. This control type has only references and no data associated with it. Use the function
ProMechmcautogemHardpointSet() to set the AutoGEM mesh control item as hard point.
• PRO_MECH_MC_AGEM_HARD_CURVE—Specifies the datum curves on the model to guide the AutoGEM mesh creation process. This control type has only references and no data associated with it. Use the function
ProMechmcautogemHardcurveSet() to set the AutoGEM mesh control item as hard curve.
• PRO_MECH_MC_ALL—Specifies all the types of mesh controls.
|
Note:
|
If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
|
The function
ProMechmeshcntrlReferencesGet() returns the references for each of the mesh control type. Use the function
ProMechmeshcntrlReferencesSet() to set the references used by the mesh control item.