Engineering Solutions

Matching a Mesh, Line, or Surface Data

Matching a Mesh, Line, or Surface Data

Previous topic Next topic Expand/collapse all hidden text  

Matching a Mesh, Line, or Surface Data

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The basic approach for HyperMorph is to move the handles into positions that change the shape of the model to match the mesh or geometry data.  If you are going to match a mesh you need to make sure that the mesh does not get morphed when you are moving the handles.  This can be accomplished by constraining the nodes on the target mesh.

hmtoggle_plus1greyTo constrain the nodes on the target mesh:
1.From the HyperMorph module, select the Morph Constraints panel.
2.Select the create/update subpanel.
3.Select the nodes on the target mesh.
4.Switch the selector to fixed.
5.Make sure that the stretch mesh around nodes option is unchecked.
6.Click create.

All the nodes in the target mesh are constrained to remain fixed during morphing operations as long as the constraint is active and the use constraints box is checked (see the Morph Options panel).

Note:If you check the stretch mesh around nodes option, the nodes between the constrained nodes and the handles will be affected regardless of whether the mesh is continuous between them.

 

One of the most enjoyable ways to morph is interactively.  As you drag a handle across the screen and you can watch the mesh move along with it.  For large models it may be too slow to morph interactively in real time.  But you can still morph interactively with any size model by setting HyperMorph to perform the morphing after you move the handle and release the mouse button.

 

hmtoggle_plus1greyTo morph interactively by moving the handle and releasing the mouse button:
1.From the HyperMorph module, select the Morph panel.
2.Select move handles.
3.Change the upper middle selector to interactive.
4.Change the rightmost toggle from real time to on release.
5.Change the lower middle selector from on domains to along vector.
6.Select a vector.
7.Click morph.
8.Select a handle on the screen and hold the mouse button down.
9.Move the handle to the new location and release the mouse button.

As you drag the mouse, the handle follows along the selected vector.  Since on release was selected, only the graphics for the handle are updated, which leaves a dark trail through the mesh.  When you release the mouse button, the morph is applied to the model and the graphics are updated for the entire model.  If the handle position needs to be changed again, repeat steps 7 through 9.

10.Move more than one handle at the same time:
Before clicking morph, select several handles on the screen.
Perform steps 7 through 9.

When you release the mouse, all of the selected handles are moved the same distance in the same direction.

morphstrat-20

Morphing to a profile line

In the top frame, the global handles on either side of top of the windshield are selected.
In the middle frame they are interactively moved upwards along a vector to a point
matching with the profile line.  In the bottom frame the process has been repeated
for the other handles on the roof.  The result is a morphed vehicle model that closely
matches the profile line.

morphstrat-21

Morphing to a profile line

A handle is added to the center of the rear windshield and is moved to better match
the profile line.  Handles may always be added or deleted from a model without
affecting the current morphed state of the model.  However, any shapes saved as
handle perturbations may not yield the same morphed shape after handles have
been added or deleted.  If you intend to add or delete handles in your model, save
your shapes as node perturbations.  HyperMorph will give you the option of
converting existing shapes from handle perturbations to node perturbations
automatically after you add, edit, or delete any morphing entities.

You can also select other features to drag the handle along such as a line, a plane, or a surface.  HyperMorph uses the position of the mouse on the screen to figure out where you want to move the handle. You can use this feature to position a handle anywhere you want line or surface data.

 

hmtoggle_plus1greyTo match a target mesh or geometric data by moving the handles to a specified node location:
1.Change the upper middle selector from interactive to move to node.
2.Select a handle.
3.Select a node.

The handle is moved to the position where the node was prior to morphing and the rest of the mesh morphs accordingly.

 

hmtoggle_plus1greyTo create nodes on the fly on lines and surfaces:
1.Hold the mouse button down and drag the mouse over a line or surface until it is highlighted.
2.Click on the line or surface where you want the node.

A node will be created and the handle will immediately be moved to the node.