Calling the command:
Keyboard |
Ribbon |
---|---|
3D Model > Special > Deformation > Sculpt Deformation |
|
Keyboard |
Textual Menu |
<3DRC> |
Operation > Deformation > Sculpt Deformation |
In the sculpt deformation, the deformation function is defined by displacing the nodes of the regular mesh on one of the faces of the bounding box of the deformation area.
The bounding box can be built with respect to the axes of the global coordinate system or additionally-specified LCS.
By default, the box of the deformation area spans the entire body. If necessary, its dimensions can be modified, thus altering the deformation area.
Deformation area spans the entire body |
Deformation area spans only part of the body |
The regular mesh is automatically created on a face of the bounding box which is selected for creating deformation. Dimensionality of the mesh is specified by the user. Any node of the mesh can be displaced from its initial position by the user-specified value. Several nodes can be selected and moved simultaneously.
As a result of displacing the nodes of the mesh, the flat face of the bounding box is transformed into a space spline surface which forms the required transformation law of the body. The spline surface being formed can be of two types: control polyhedron type (the nodes of the mesh are used for constructing the control polyhedron of the surface) and interpolation type (going directly through the nodes of the mesh).
Deformation with creating the spline surface |
Deformation with creating the spline surface by interpolation over mesh points |
The sculpt deformation has three modes:
•One side – only the nodes located on the selected face of the bounding box are displaced;
•Both sides – the nodes located on the selected and the opposite faces of the bounding box are displaced. The nodes on the face opposite to the selected one are displaced in the same direction by the same distance;
•Symmetric – the nodes located on the selected and the opposite faces of the bounding box are displaced. The nodes on the opposite face are displaced symmetrically with respect to the symmetry plane of the box.
One side mode |
Both sides mode |
Symmetric mode |
The value of the mesh points offsets from their initial position can be specified both in absolute units – units of model and in relative units – in fraction of length (in percents) of the bounding box along the respective axes. The relative coordinates can be used in cases when it is necessary to preserve proportions of the deformed model no matter what changes in the source operations are made. The picture below shows how the deformed model will be modified when changing the length of the source extrusion depending on in which units the offsets of the mesh points have been specified.
Initial deformation |
Deformation after changing the source body length, if offsets for points were defined in absolute values |
Deformation after changing the source body length, if offsets for points were defined in relative values |
A snap to 3D points can be also specified for the nodes of the mesh. In this case the offset is determined by the location of the 3D snap point and does not depend on modification of the deformed body or on units in which the offsets are specified.
Initial body and 3D point |
Deformation mesh node is snapped to 3D point |
Snapping is kept upon changing the height of the initial body |
When fixing the node of the mesh to a 3D point, the node's offsets with respect to the selected 3D point can be specified additionally.
Creation of Sculpt Deformation
After invoking this command, a user has to:
1.Select a body to be deformed;
2.Define LCS of deformation (optional step);
3.Specify the boundaries of the deformation area (of the bounding box of the deformation area) (optional step);
4.Define the deformed face of the bounding box;
5.Specify mesh parameters on the selected face (optional step);
6.Specify the mode of deformation: one-sided, symmetric or two-sided deformation (optional step);
7.Define the desired displacements for the nodes of the mesh;
8.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, and the contour of the bounding box appears on the screen.
When you select body for the operation, the system is creating LCS for the deformations automatically. It is possible to switch between automatic creation of LCS based on global LCS and based on LCS of the selected operation using the following automenu options, which are grouped into a drop-down list:
<1> |
LCS by global coordinate system |
|
<2> |
LCS based on operation |
Upon switching LCS, bounding box of the deformation area is automatically recalculated in accordance to the new axes orientation.
Instead of automatically created LCS you can select an LCS existing in the 3D scene using the option:
<L> |
Select Source LCS |
After choosing the LCS, the bounding box will be automatically reconstructed in accordance with the axes of the LCS.
Cancellation of the selected LCS can be done with the help of the option:
<C> |
Cancel LCS selection |
Selection of Deformed Face and Deformation Mode
After specifying the bounding box, the user has to indicate the face which will be subject to deformation. To do it, it is sufficient to bring the cursor to the desired face (it will be highlighted) and press . The option of face selection will become active at this moment in the automenu:
<T> |
Select Face |
The mesh will appear on the selected face (by default it is a 3x3 mesh). The mesh parameters can be changed in the command's parameters window (Mesh Size parameters group ). The maximum allowable size of the mesh – 20x20.
By default, the deformation is created in the one-sided mode, i.e. only the nodes of the selected face of the bounding box are displaced. The mode can be also changed in the command's parameters window with the help of the Mode parameter .
Modifying Size of Deformation Area
The bounding box of the deformation area initially spans the entire body. To modify the size of the deformation area, the following option of the automenu is used:
<D> |
Change Deformation Box |
After invoking this option, the command will turn to the mode of modifying the boundaries of the deformation area. Highlighting of the deformed face and the mesh temporarily disappear from the screen. The list of the faces of the deformation area bounding box appears in the command's parameters window.
The offsets for the faces of the bounding box can be specified directly in the 3D window or in the command's parameters window (with the help of the list of the faces).
For moving the face in the 3D window, it is sufficient to point at it with the help of (the selected face will be highlighted) and, without releasing the pressed mouse button, shift the face to the desired position. When selecting the face in the 3D window, it will be automatically highlighted in the list of faces in the parameters window. The offset specified for the face will be shown in the input box of the Offset parameter .
The position of the face of the bounding box can be also modified in the parameters window just by selecting the face from the list (in the 3D window the selected face will be highlighted in color) and by entering the desired offset into the input box of the Offset parameter .
To specify the offsets of the faces in relative units (relative to the initial size of the deformation area bounding box, that is the size of the bounding box of the deformed body), enable the Relative Value, % checkbox.
To fix a face to a 3D node, use the option:
<Z> |
Set Fixing to Point |
After invoking this option, define a 3D point to which the selected face of the deformation area bounding box should be fixed. Any 3D object capable of defining a point (3D node, the vertex of the body, etc.) can be used for specifying this point.
A user can also specify the offsets for the face fixed to a 3D point – in this case these offsets will be relative to the 3D point to which the face is fixed.
To cancel the snap of the face to a 3D point, use the option:
<H> |
Cancel Fixing to Point |
After canceling the fixing, the face location does not change. However, the offsets of the face will be subsequently recalculated with respect to the body's overall size and will not depend on the location of the former fixing point for the given face.
For quick cancellation of all modifications of the deformation area, the following option can be used:
<W> |
Set Deformation Box by Body Size |
This option cancels all specified offsets for the faces of the deformation area bounding box.
To exit the mode of modifying the size of the deformation area, in the automenu turn off the option .
Specifying Offsets of Deformation Mesh Points
Offsets of the mesh points can be specified both in the dialog of the parameters window and directly in the 3D window.
For specifying offsets in the 3D window, select successively the nodes (or group of nodes) and with the help of the manipulator in the 3D window move them to the desired location.
For selecting one mesh point, it is sufficient to bring the cursor of the mouse to it and press . The selected node will be highlighted, and the manipulator in the shape of the coordinate system will appear at the node. The offset of the node is specified by moving the manipulator along one or two axes at once (the manipulator can be operated in the same way as described for the Transformations of 3D elements).
There are several ways of selecting simultaneously several mesh points. For example, it is possible to successively select the desired nodes while keeping the key <Ctrl> pressed. In this case, the manipulator will be drawn at the last selected node of the group. When moving the manipulator, all points of the group will be shifted in the same direction by the same distance.
All nodes lying on the same mesh line can be selected quickly just by pointing at this line with the help of . While doing that, all nodes lying on the given mesh line will be selected, but the manipulator will not appear. To activate the manipulator, point with the at one of the selected nodes. If while pressing the key <Ctrl>, a user successively defines two mesh lines, all nodes on the defined mesh lines will be selected, etc.
When editing, you can quickly select a rectangular group of points with <Shift>.
In the Interpolation mode, you can add new grid line: hold <Alt> and select one of the existing horizontal or vertical lines in the scene. The deforming principle will not be changed.
For specifying the offsets of the mesh points in the parameters window, a table in the Mesh Size parameters group is used. Each cell of this table corresponds to one mesh point. The symbol “0” is displayed in the cell if the offset is not specified for the respective node. For the displaced nodes, the specified offsets are shown in the format (X,Y,Z), where X – the node's offset along the X-axis, Y – the offset along the Y-axis, Z – offset along the Z-axis.
To specify offset of any mesh point, in the table select the cell corresponding to the desired node. While doing that, the parameters of the Offset group will become accessible for editing below the table. They will define the offsets along the X-axis, the Y-axis and the Z-axis. When modifying the offset values, the node will be moving in the 3D window.
As with the work in the 3D window, it is possible to specify offsets at once for a group of nodes. For selecting several nodes (that is, several cells in the table of nodes), use +<Ctrl>.
The units in which the offsets of the mesh points are specified are controlled by the status of the Relative Value, % checkbox. By default it is disabled, and the specified values are absolute (i.e., are measured in units of model). If the checkbox is enabled, the specified offsets will be recalculated in relative units.
To fix a mesh point to a 3D point, select the desired node (in the 3D window or in the nodes table in the dialog of the command) and turn on the following option of the automenu:
<A> |
Set Fixing to Point |
After activating this option, select a 3D point to which the current node of the mesh should be fixed. The drop down list of this option contains the filters for selecting various 3D objects capable of defining a 3D point. The selected object is displayed in the Object of Snap input box of the parameters window.
For the mesh point fixed to a 3D point, it is possible to additionally specify the values of the node's offsets relative to the selected 3D point (with the help of the manipulator in the 3D window or in the parameters window).
To cancel a fixing of the mesh point to a 3D point, select the desired mesh point (in the 3D window or in the nodes list in the dialog of the command) and invoke the following option of the automenu:
<B> |
Cancel Fixing to Point |
After invoking this option, the current mesh point is untied from a 3D point. Note that the offset of the given node does not change at that. The node will remain in the position specified by the 3D point. However, later, when modifying the original model or location of the 3D point, the offsets of the given node of the deformation mesh will be recalculated as if they were specified by numeric values from the beginning.
The type of the formed spline surface (by control polyhedron or by mesh points) is determined by the status of the Interpolation checkbox. When this checkbox is disabled, the spline surface is created by the control polyhedron, and when the checkbox is enabled – the created spline surface will go through the nodes of the mesh.