Scaling/Twisting

Navigation:  Basic Operations of 3D Modeling > Deformation >

Scaling/Twisting

Previous pageReturn to chapter overviewNext page

General Information

Scale/Twist Deformation is always specified with respect to the coordinate system of deformation (defined with the help of LCS). Twisting is performed only around the X-axis of the coordinate system of deformation, scaling is possible along all axes.

The deformation function is determined on the basis of the parameters (angle of twist and deformation scales) specified for several sections of the deformed body located along the X-axis of the coordinate system of deformation. For different sections a user can specify different scales and angles of twist along the axes of the coordinate system of deformation. For each section the scales along different axes can be also different.

The value of any parameter (except section position) can be assigned to a variable.

clip9227       clip9228

The deformation function is calculated over the specified domain of the deformation function along the X-axis. The domain of the deformation function is defined by the start and end boundaries along the X-axis. The domain of the deformation function can include into itself the entire deformed body, only its part or extend beyond the boundaries of the body.

The computed function is applied to the part of the deformed body defined by the deformation area. By default, the deformation area is constructed as the bounding parallelepiped of the deformed body (in the axes of the selected coordinate system of deformation). If necessary, the size of the deformation area can be modified by moving the faces of the deformation area parallelepiped. It is possible to specify location of the faces by snapping to a 3D point.

clip9229     clip9230       clip9231

Creation of Scale/Twist Deformation

To create the scale/twist deformation, use the command “3DRT: Scale/Twist Deformation”:

Icon

Ribbon

3D Model → Special → Deformation → Scale/Twist Deformation

Keyboard

Textual Menu

<3DRT>

Operation > Deformation >

Scale/Twist Deformation

After invoking this command, it is necessary:

1.Select the deformed body;

2.Define the LCS with respect to which the parameters of deformation will be specified (optionally);

3.Select the domain of the deformation function;

4.Select the deformation area (if necessary);

5.Define the location of the sections of deformation;

6.Specify parameters for the sections of deformation;

7.Complete the operation creation by pressing .

Selection of Deformed Body and LCS of Deformation

For selecting the deformed body, the following option of the automenu is used:

<O>

Select Body to Deform

This option is turned on by default upon the entry into the command. The deformed body is selected with the help of Левый клик Текст in the 3D window or in the tree of the 3D model. The selected body is highlighted.

When you select body for the operation, the system is creating LCS for the deformations automatically.

Selection of the coordinate system of deformation is done with the help of the option:

<L>

Select Source LCS

 

It is recommended to create the LCS of deformation in such a way that its X-axis is directed along the axis of the body since the twist of the body will be performed exactly around the X-axis of the coordinate system.

Cancellation of the selected LCS can be done with the help of the option:

<C>

Cansel LCS selection

Specifying Domain of Deformation Function and Deformation Area

The domain of the deformation function is specified in the command's properties window (the group of parameters “Deformation Area”).

Parameters “Start” and “End” define the distance from the origin of the LCS of deformation to the start and end boundaries of the domain of the deformation function. The distances are measured along the X-axis of the LCS in units of modal. The system puts the default values into these entry fields so that the domain of the deformation function spans the entire deformed body. A user can narrow or expand the deformation area by specifying other values in these entry fields.

s976

When the flag “Whole body” is enabled, the domain of the deformation function is computed automatically in accordance with the current deformation area.

The bounding parallelepiped of the deformation area initially spans the entire body. For modifying the size of the deformation area, as in the sculpt deformation, the following option of the automenu is used:

<D>

Change Deformation Box

Modifying the deformation area is performed similarly to the sculpt deformation (see above). To exit the mode of modifying the size of the deformation area, in the automenu turn off the option .

Creating Sections of Deformation

After selecting the LCS, the 3D draggers to control location and parameters of the sections of deformation will appear on the screen. By default, only two sections are created: at the start and at the end of the deformation area. These sections cannot removed, their location cannot be modified.

In the dialog of the command's properties in the field “Position” the list of all sections specified for the given deformation is created. The work of the properties dialog is synchronized with the sections' draggers in the 3D window. When selecting the dragger of some section in the 3D window, the same section is automatically selected in the list. And vice versa: the section selected in the field “Position”, will automatically become active in the 3D window. Selected for editing (active) section is marked in the 3D window with color.

To add a new position click the left mouse button on the line that connects centers of two existing positions.

The buttons and in the dialog of the command's parameters allow a user to create new sections of deformation and delete existing ones. The new section by default is placed after the section which is active at the moment of pressing the button . The exception is the case when at the moment of pressing the button , the active section is the end section – in this case the new section will be placed before the end one.

 

Moving/Scaling along the X-axis is now performed with respect to the origin of the applied coordinate system. Move/scale manipulator is available for both primary ellipses.

Local coordinate system manipulator can be hidden using the appropriate flag in the Options tab.

Specifying Parameters of Sections

For specifying parameters of some section, first it is necessary to make it active by selecting it from the sections list in the properties window or directly in the 3D window. After that, the section parameters can be specified in the Transformations section.

To specify the section parameters in the 3D window, the special draggers of the active section are used. Upon bringing the cursor, the dragger is highlighted. For modifying any parameter of the section connected with a certain dragger, bring the cursor to the desired manipulator, press and without releasing the mouse button, move the cursor to the desired location of the dragger.

 

The dragger of the scale also allows a user to simultaneously change the scales along the two axes (Y and Z). To do it, bring the cursor to an arbitrary point of the active section, press Левый клик Текст and without releasing the pressed mouse button move the cursor to the desired location.

 

Options in Deformation Operations

In the process of specifying/editing parameters of deformation, the future result of the current operation is dynamically shown in the 3D window. For speeding up the work, the dynamic preview can be turned off by taking off the flag “Dynamic Preview” in the command's properties window.

 

An additional parameter “Mesh Density” controls accuracy of the mesh used for visualization of the result of the deformation. The increase in the mesh density leads to slower regeneration of the bodies in the scene but increases accuracy of the drawing.

If you disable option Mark body, the body is no longer highlighted in the scene, which simplifies visual perception of the deformed object.

 

 

On

Off

 

The Live update option allows to watch deformations of the body in real time. Deactivating the option accelerates recalculation because solid body updating is not required.