User Tools

Site Tools


genxsec

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
genxsec [2019/10/22 14:09]
jgravett Improves Organization
genxsec [2019/12/13 12:44] (current)
jgravett Adds Example Image
Line 13: Line 13:
 ==== Edit Curve Screen ==== ==== Edit Curve Screen ====
  
-{{ :​undefined:​editxsecgui.png?​350|}}+{{ :​undefined:​editxsecgui.png?​300|}}
  
 This following sections describe the Edit Curve GUI from the top down.  This following sections describe the Edit Curve GUI from the top down. 
Line 30: Line 30:
  
 === Canvas Features === === Canvas Features ===
 +
 +{{ :​genxsecexample.png?​250|}}
  
 The middle of the GUI is reserved for displaying the 2D XSec. The currently selected control point is highlighted in yellow. Points can be moved through click-and-drag operations, and the 3D geometry will wait to update until the point is released. Below the canvas, a button is available to split the curve at the location specified by the "U Split" slider. Alternatively,​ the curve can be split where clicked if "Split Pick" is ON. The next row contains an index selector for the currently selected point. The index selector will skip intermediate Cubic Bezier control points (not on the curve), since these cannot be deleted. If a point can be deleted, the "​Del"​ button will be activated. Similar to "Split Pick", the "Del Pick" toggle will delete a control point when it is clicked. The middle of the GUI is reserved for displaying the 2D XSec. The currently selected control point is highlighted in yellow. Points can be moved through click-and-drag operations, and the 3D geometry will wait to update until the point is released. Below the canvas, a button is available to split the curve at the location specified by the "U Split" slider. Alternatively,​ the curve can be split where clicked if "Split Pick" is ON. The next row contains an index selector for the currently selected point. The index selector will skip intermediate Cubic Bezier control points (not on the curve), since these cannot be deleted. If a point can be deleted, the "​Del"​ button will be activated. Similar to "Split Pick", the "Del Pick" toggle will delete a control point when it is clicked.
Line 37: Line 39:
 The last section of the GUI contains a grid of sliders that specify X, Y, and U for each control point. The label for the currently selected point is highlighted in yellow. Sliders that cannot be adjusted because of symmetry, closure, or type restrictions will be deactivated. Note, the min and max limits of the U slider for each control point are set to the U values for the previous and next control point, respectively. For Cubic Bezier types, an additional toggle is available to enforce G1 continuity for each control point on the curve. When activated, G1 continuity will set the derivative immediately before and after the control point equal, but the strengths may differ. ​ The last section of the GUI contains a grid of sliders that specify X, Y, and U for each control point. The label for the currently selected point is highlighted in yellow. Sliders that cannot be adjusted because of symmetry, closure, or type restrictions will be deactivated. Note, the min and max limits of the U slider for each control point are set to the U values for the previous and next control point, respectively. For Cubic Bezier types, an additional toggle is available to enforce G1 continuity for each control point on the curve. When activated, G1 continuity will set the derivative immediately before and after the control point equal, but the strengths may differ. ​
  
-==== Notes ====+==== Notes and Modeling Tips ====
   * For an example of defining and modifying an XSec of EDIT_CURVE type, see "​EditCurveXSec.vspscript"​ in the "​scripts"​ directory of the distribution package. ​   * For an example of defining and modifying an XSec of EDIT_CURVE type, see "​EditCurveXSec.vspscript"​ in the "​scripts"​ directory of the distribution package. ​
 +  * Use the width and height sliders to scale the XSec, not the control points themselves.
 +  * 1st model with a less complex XSec type (i.e. Rounded Rectangle), then “Convert to CEDIT”.
  
 [[start|Back to Landing Page]] [[start|Back to Landing Page]]
  
 This page was created and edited by:  --- //​[[justin.gravett@esaero.com|Justin Gravett]] 2019/09/26 12:00// This page was created and edited by:  --- //​[[justin.gravett@esaero.com|Justin Gravett]] 2019/09/26 12:00//
genxsec.1571778542.txt.gz · Last modified: 2019/10/22 14:09 by jgravett