Copying a Mesh

Applies to: Curves, Surfaces, Volumes

Summary: Copies the mesh from one entity to another

To copy a mesh on a curve

  1. On the Command Panel, click on Mesh and then Curve.
  2. Click on the Copy/Morph action button.
  3. Enter the values for Source Curve ID(s) and Target Curve ID(s). This can also be done using the Pick Widget function.
  4. Optionally, click on Optional Data to further specify the settings.
  5. Click on Appy Scheme and then Mesh.

The Command Panel GUI is shown below:

Curve <range> Scheme Copy source Curve <range> [Source Percent [<percentage> | auto]] [Source [combine|SEPARATE]] [Target [combine|SEPARATE]] [Source Vertex <id_range>] [Target Vertex <id_range>]]

Copy Mesh Curve <curve_id> Onto Curve <curve_id_range> [Source Node <starting node id> <ending node id>] [Source Percent [<percentage>|auto]] [Source Vertex <id_range>] [Target Vertex <id_range>]

To copy a mesh on a surface

  1. On the Command Panel, click on Mesh and then Surface.
  2. Click on the Copy/Morph action button.
  3. Using the pickwidgets in the command panel select source and target data.
  4. To force copying of interior vertex loops select the "Interior Vertices" tab and enter in pairs of vertices to be matched when copying.

The Command Panel GUI is shown below:

  

Copy Mesh Surface <surface_id> Onto Surface <surface_id> Source Curve<id> Target Curve <id> Source Vertex <id>Target Vertex <id> [Interior (pair vertex <id><id>)...] [smooth] [mirror] [preview]

Surface <id> Scheme copy source surface <id> source curve <id> target curve <id> source vertex <id> target vertex <id> [nosmoothing][mirror]

To copy a mesh on a volume

  1. On the Command Panel, click on Mesh and then Volume.
  2. Click on the Copy/Morph action button.
  3. Enter the values for Source Volume ID(s) and Target Volume ID(s). This can also be done using the Pick Widget function.
  4. Optionally, click on Optional Data to further specify the settings.
  5. Click on Appy Scheme and then Mesh.

The Command Panel GUI is shown below:

Volume <range> Scheme Copy [Source Volume] <id> [[Source Surface <id> Target Surface <id>] [Source Curve <id> Target Curve <id>] [Source Vertex <id> Target Vertex <id>]][Nosmoothing]

Copy Mesh Volume <volume_id> Onto Volume <volume_id> [Source Vertex <vertex_id> Target Vertex <vertex_id>] [Source Curve <curve_id> Target Curve <curve_id>] [Nosmoothing]

Related Commands:

Set Morph Smooth {on | off}

Discussion:

If the user desires to copy the mesh from a surface, volume, curve, or set of curves that has already been meshed, the copy mesh scheme can be used. Note that this scheme can be set before the source entity has been meshed; the source entity will be meshed automatically, if necessary, before the mesh is copied to the target entity. The user has the option of providing orientation data to specify how to orient the source mesh on the target entity. For example, when copying a curve mesh, the user can specify which vertex on the source (the source vertex) gets copied to which vertex on the target (the target vertex). If you need to reference mesh entities for the copy, use the Copy Mesh commands. If no orientation data is specified, or if the data is insufficient to completely determine the orientation on the target entity, the copy algorithm will attempt to determine the remaining orientation data automatically. If conflicting, or inappropriate, orientation data is given, the algorithm attempts to discard enough information to arrive at a proper mesh orientation.

Curve mesh copying has certain options that allow the copying of just a section of the source curves' mesh. These options are accessed through the extra keyword options. The percent option allows the user to specify that a certain percentage of the source mesh be copied--in this context the auto keyword means that the percentage will be calculated based on the ratio of lengths of the source and target curves. The combine and separate keywords relate to how the command line options are interpreted. If the user wishes to specify a group of target curves that will each receive an identical copy of a source mesh, then the target separate option should be used (this is the default). If, however, the user wishes the source mesh to be spread out along the range of target curves, then the target combine option should be used. The source curves are treated in a similar fashion.

Surface mesh copying with multiple holes in the surface may require matching up interior pair vertices. This will be required if the algorithm cannot match them up spatially. Interior pair vertices can be specified with the option Interior pair vertex ...

Volume mesh copying depends on the surface copying scheme. Because of this, the target volume must not have any of its surfaces meshed already.

An exact copy of the mesh may not always happen. Dissimilar geometry or smoothing may cause inexact copies. If the geometry is similar, the smoothing option may be turned off to get an exact copy of the mesh, by either specifying Nosmoothing or by omitting Smooth. If the geometry is dissimilar, the user may set the morph smoothing flag on, which will activate a special smoother that will match up the meshes as closely as possible.

Example:

As an example, the following copy is done with the command

copy mesh surf 23 onto surf 14 source curve 1 source vertex 1 target curve 24 target vertex 20

The source and target vertices match up and are highlighted, while the source and target curves match up and are highlighted. Matching the source and target curves/vertices help define the orientation.