Analysis Modeler |
Creating Extrude along a Spine Mesh Parts |
![]() |
This use case shows how to create a mesh part Extrude along a spine. This macro opens an Analysis document. Extrude along a spine mesh part can generate a 2D mesh from 1D mesh and 3D mesh from 2D mesh. In this macro 3D mesh from 2D surface mesh is created. Global specifications associated with the mesh part are set.
|
||||
![]() |
CAAAniMeshExtrudeSpine is launched in CATIA [1]. No open document is needed. CAAAniMeshExtrudeSpine.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
||||
![]() |
CAAAniMeshExtrudeSpine includes the following steps:
Prolog
Open the Analysis document. The Analysis document is retrieved in the
documentation installation path, this path has already been stored in the
Extracting the List of Mesh Parts and Publications
According to the general Analysis Document structure, this macro uses some standard procedures to navigate or retrieve the required objects. First, from the Document, we find the Analysis Manager Object, the Analysis Models and the Mesh Manager Objects. The extraction of pre-defined geometric elements is done with the help of Reference interface. This is equivalent to the selection of B-Rep elements inside the interactive application. In this macro reference is created from the surface mesh part. Creating the Mesh Part and Assigning Values to its Attributes.
The extruded mesh can be manipulated with the parameters like distribution type ( Uniform, Arithmetic, Geometric) number of layers, symmetry and ratio. To set these parameters we retrieve the list of basic components (BCs) from the mesh. From the first element of the list we retrieve one more list of the BCs. Then we retrieve each of the BCs by its name and set the values.Epilog
To run the macro interactively CATDocView environment variable must be defined. |
[Top]
This use case has shown how to create a extrude with symmetry mesh part and how to assign values to its global specifications.
Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.