Curve morphing by Segment/Control point/Curve point/Global smooth

Purpose:

This sample demonstrates how to morph a curve by Segment/Control point/Curve point/Global smooth.

 

Curve morphing by Segment:

Step 1:

Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Segment' and pick a point on a curve, the picked point is tagged by 'S' (start point).

original curve and the first picked point

Step 2:

Pick another point on the curve, the point is tagged by 'E' (end point).

the second picked point

 

Step 4:

Pick a point on the curve , this point is between start point and end point. The segment between start point and end point is morphed by an initial distance..

morphing point

Step 5:

Input new morphing direction vector (dx, dy, dz) in the textfield under 'Morphing direction(dx,dy,dz)', you can change the morphing direction. Click left mouse button and move mouse, the segment is morphed to a new position.

morphed segment

Step 6:

Click button 'Apply' to accept the morphed curve.

final curve

 

 

Curve morphing by Control point:

Step 1:

Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Control Point' and Select a curve, the control points of the curve is displayed.

original curve and control points

Step 2:

Click left mouse button to pick a control point and move the control point to a new position, a temporary morphing curve is generated.

move a control point to morph the curve

 

Step 3:

Release the left mouse button, the original curve is morphed to the new position.

morphed curve and control points

Curve morphing by Curve point:

Step 1:

Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Curve Point' and Select a curve, the curve points of the curve is displayed.

original curve and curve points

Step 2:

Click left mouse button to pick a curve point and move the curve point to a new position, a temporary morphing curve is generated.

 

move a curve point to morph the curve

Step 3:

Release the left mouse button, the original curve is morphed to the new position.

 

morphed curve

 

Curve morphing by Global:

Step 1:

Click 'Menu->Geometry->Curve->Morphing curve' , Curve morphing dialog will show. Choose the option 'Global' and Select a curve, the curve is smooth by a default smoothness factor, a temporary curve is displayed.

original curve and curve points

Step 2:

Adjust smooth bar to or input new smoothness factor to create new smoothed curve. Here we input a new smoothness facto 0.001 create a new curve shown in the following picture.

 

move a curve point to morph the curve

Step 3:

Click button 'Apply'. to accept the smoothed curve.

 

morphed curve