Utility Functions

Intro

_images/utility_section_cropped.png

Utility Section expands the functionality of GS CurveTools plug-in and allows for fast rebuilding, duplication, smoothing, extending, and reducing of the curve.

It also holds the Control Curve function and Curve Control Window button.






Rebuild Curve Slider

_images/rebuild_curve_slider.gif

Rebuild Curve Slider is a fast way to change the density of curve CVs maintaining the original shape of the curve and visualizing the process of rebuilding.

Rebuild Curve Slider works on any number of selected curves. It also works on regular curves, not only on GS CurveTools generated ones.

Simply select any number of curves in the viewport and start dragging the slider. You will see the preview of the final curve, and old curve will still be there as a reference.

Releasing the Slider will apply the changes to the curve.

You can also Manually Type values in the Value Field and as soon as you press Enter, selected curves will be rebuilt.

Typing a value over the default 50 will still work and expand the range of the slider to double the typed value (if you type 51, it will expand the slider range to 102 and so on).

The slider can be reset using the slider_reset button.

The selected curve can be rebuilt to the current value by using the Manual Rebuild button manual_rebuild.

Duplicate

_images/duplicate.png

Probably one of the most important and at the same time the most simple function is Duplicate.

Duplicate will duplicate any selected number of curves and all of their components.

_images/duplicate_function.gif

Duplicated curves are fully functional, have the same material etc.

Duplicate also works if you select Group instead of curve.

Duplicate is fully compatible with Warp Geometry and Curves bound by Warp function.

Duplicate will respect Outliner grouping and hierarchy and put new duplicated curves next to the original ones.


Randomize

_images/randomize_window.png

The Randomize button opens the randomization parameters window. This window holds parameters that can be used to randomize selected curves.

Workflow:

  • Select the curves to randomize.

  • Enable/disable the randomization modules by clicking on the “Enable” checkbox (Curve Points, Rotation, etc.).

  • Change parameters (X, Y, Z, etc.).

  • Drag the slider and hold the mouse button to look at the preview of the amount of randomization.

  • Release the slider and click “Randomize” button to apply the randomization. Releasing the slider will disable the preview.

  • If the magnitude of randomization is not enough, use the “mult” slider to multiply the sliders, increasing the final randomization.

Randomization modules:

  • Control Points: This module will randomize all the control points (CVs) on the selected curves. At least one axis should be enabled for the randomization to occur. Additionally, the user can lock the first and/or last CV on the curves to avoid moving the root or tip CV.

  • Rotation: Randomize the overall rotation on the curves based on the pivot point on those curves. At least one axis should be enabled for the randomization to occur.

  • Orientation: Randomize the orientation of the geometry on the curve. This rotates the geometry around the curve.

  • Twist: Randomize the twist parameter on the selected curves.

  • Width: Randomize the width parameter of the curves. The Uniform checkbox is used to sync the WidthX and WidthZ parameters on Curve Tubes. Disabling Uniform will result in separate randomization values for the WidthX and WidthZ parameters on Curve Tubes.

  • Taper: Randomize the taper parameter of the curves.

  • Profile: Randomize the profile parameter of the curve. Allow Negative Values will allow randomization to go negative, flipping the profile.

  • Selection: Randomize selection based on the slider value. The middle of the slider means that 50% of the selected curves will randomly stay selected.

Randomize: button will apply any randomization that was enabled.

Close: Closes the window.

Extend, Reduce and Smooth

_images/extend_reduce_function.gif

Extend and Reduce will simply lengthen and shorten the curve based on the Factor slider.

Extend will try to interpolate the next point based on the curvature of the curve. However, on high Factor values this can behave unpredictably.

Holding Shift will extend from the Root instead of the Tip.




_images/smooth_function.gif

Smooth function will smooth the selected curve or only selected CVs, depending on the selection and Factor slider.

You can smooth multiple curves at the same time.

You can smooth CVs on multiple curves at the same time. Just select the curves, switch to Component Mode (F8) and select the CVs.

Note

For CVs smoothing to work you need to select at least 3 CVs on each selected curve. Curves with less than 3 CVs selected will be skipped.

_images/smooth_marking_menu.png

Smooth button also has a Marking Menu where you can select the Smoothing Multiplier.

To access the smooth marking menu, simply hold the Right Mouse Button over the Smooth Button.

You can select from x1, x3, x5 and x10 multipliers. They will increase the strength of the smoothing.

Mirroring

_images/mirror_menu.png

Mirror functions allow you to mirror curves from one side of the world to the other across the X, Y, or Z axis.

User can switch between Mirror and Flip modes.

In Mirror mode, curves will be duplicated and then flipped based on the selected axis.

In Flip mode, the curve will be flipped to the opposite side of the world based on the selected axis.

Control Curve

_images/control_curve.png _images/control_curve_function.gif

Control Curve is a special deformer created to control multiple curves at the same time.

Select multiple curves and click on the Control Curve button. A new curve will be generated in the middle of the selected curves. Deforming this curve will also deform any bound curves.

_images/apply.png

To apply the deformer, simply select the Control Curve and click the Apply button.

Note

There might be some warnings during the creation of the Control Curve like “No points were weighted to the wrap”. Ignore them.

Important

Control Curve is a temporary deformer (like Maya’s Lattice, Twist etc.) and should be used to quickly change the shape of multiple selected curves, but it should not be used as a permanent controller for those curves. If you need to control multiple curves on a permanent basis, refer to Bind/Unbind/Unpack Functions.