{{description>Enhance your Unity projects with Curvy Splines, a powerful spline tool for creating and editing 3D paths. Customize gizmos, import/export, and more!}}
{{indexmenu_n>5}}
====== Toolbar ======
The toolbar contains actions that are either global (are always shown) or contextual (shown only when a type of objects is selected, for example when selecting a spline).
You can define the button style (Icons, Text or both) as well as the button placement (Left,Right,Top,Bottom) in the Curvy Preferences
===== Global actions =====
You can disable the global toolbar using the [[.:preferences#Show Global Toolbar]] option in the [[.:preferences]]
===Curvy Options===
{{:documentation:curvyicon.png?nolink |}}Opens Curvy Options submenu
==Submenu's content==
{{:documentation:prefs.png?nolink |}}Preferences - //opens [[documentation:toolbar:preferences|Editor preferences]]//
{{:documentation:asmdef.png?nolink |}}Generate Assembly Definitions - //Generates asmdef files for Curvy Splines and its dependencies//
{{:documentation:help.png?nolink |}}Online Manual - // opens this documentation in your default browser//
{{:documentation:web.png?nolink |}}Curvy Website - // opens Curvy Splines' website in your default browser//
{{:documentation:bugreport.png?nolink |}}Bug Report - // lets you create a bug report //
{{:documentation:about.png?nolink |}}Info - // Shows infos about the current version //
\\
\\
===View Setings===
{{:documentation:viewsettings.png?nolink |}}
Lets you customize the splines' gizmo.
===Create===
{{:documentation:newspline.png?nolink |}}
Opens the Create submenu
==Submenu's content==
{{:documentation:shapewizard.png?nolink |}}Shape - //creates a new Curvy Spline and opens the shape wizard.// The selected GameObject will become the parent of the new Spline
{{:documentation:opengraph_light.png?nolink |}}Curvy Generator - // creates a Curvy Generator//
\\
\\
=== Draw Spline===
{{:documentation:draw.png?nolink |}}
Toggles Spline drawing mode.
When enabled,
* press & hold down **CTRL** to enable/"arm" placement mode.
* additionally hold down **Shift** to raycast into the scene and create new Control Points at collision points
* use **LMB** to create a Control Point. It will be added at the end of the spline, or after the selected Control Point if any.
* use **RMB** to create a Control Point on a new spline and connect its first Control Point to the currently selected Control Point. This can be used to create branches
* Select a plane to restrict drawing to a certain plane
=== Import or export splines===
{{:documentation:importexport_light.png?nolink |}}
Opens the [[:documentation:toolbar:import_export|Import/Export window]]
===== Spline actions =====
=== Select Children ===
{{:documentation:selectchilds.png?nolink |}} Selects all Control Points
=== Select Previous ===
{{:documentation:prev.png?nolink |}} Selects last Control Point
=== Select Next ===
{{:documentation:next.png?nolink |}} Selects first Control Point
=== Set Pivot ===
{{:documentation:centerpivot.png?nolink |}} Opens a wizard to set the spline's pivot. You then can set the pivot by selecting one of the presets or enter a percentage for each axis. The scene view shows a red spot to preview the new pivot point. Once satisfied, click //Apply// to apply the changes
=== Flip ===
{{:documentation:flip.png?nolink |}}Flips a spline's direction, i.e. the first ControlPoint is becoming the last
=== Normalize ===
{{:documentation:normalize.png?nolink |}} The scale of the spline's transform is applied to all Control Points, then resetted to (1,1,1)
=== Shape ===
{{:documentation:shapewizard.png?nolink |}}Opens a wizard to apply [[:documentation:splines:shapes]]
Opening the wizard will alter the existing spline immediately and permanently. There's no Undo for this operation
=== Tools ===
{{:documentation:tools.png?nolink |}}Opens the spline tools submenu
==Submenu's content==
{{:documentation:containingcon.png?nolink |}} Select contained connections - //Selects connections connecting only Control Points withing the selected spline(s)"//
{{:documentation:exportmesh.png?nolink |}} Spline to Mesh - //quickly create a mesh from an open or closed spline//
{{:documentation:syncfromhierarchy.png?nolink |}} Synchronize from hierarchy - // the spline rereads it's Control Points from the hierarchy. This is might be needed if you manually rearrange Control Points in the hierarchy.//
===== Control Point actions =====
===Select Parent===
{{:documentation:selectparent.png?nolink |}}Selects the spline
=== Select Children ===
{{:documentation:selectchilds.png?nolink |}} Selects all Control Points
=== Select Previous ===
{{:documentation:prev.png?nolink |}} Selects previous Control Point
=== Select Next ===
{{:documentation:next.png?nolink |}} Selects next Control Point
=== Select Next Connected ===
{{:documentation:nextcon.png?nolink |}} Toggle between connected Control Points. Is available only when selecting a connected Control Point.
=== Sync Handles Direction ===
{{:documentation:beziersyncdir.png?nolink |}} Mirror Bezier Handles Direction
=== Sync Handles Length ===
{{:documentation:beziersynclen.png?nolink |}} Mirror Bezier Handles Size
=== Sync Handles of connected CP ===
{{:documentation:beziersynccon.png?nolink |}} Apply 'Sync Handles Length' and 'Sync Handles Direction' on connected Control Points as well
===Shift===
{{:documentation:shiftcp.png?nolink |}} Shifts the Control Point toward the previous or next Control Point
===Set First===
{{:documentation:setfirstcp.png?nolink |}} Makes the current Control Point the first Control Point
===Join===
{{:documentation:join.png?nolink |}} Inserts a spline after a Control Point of another spline. Is available only when selecting a spline and a destination Control Point at the same time.
===Split===
{{:documentation:split.png?nolink |}} Splits the spline, creating a new spline starting with the selected Control Point.
===Connect===
{{:documentation:connectionpos.png?nolink |}}Creates a connection between the selected Control Points.
===Camera project===
{{:documentation:camproject.png?nolink |}} Projects Control Point(s) onto colliders using the Scene View camera looking direction
=== Tools ===
{{:documentation:tools.png?nolink |}}Opens the Control Point tools submenu. Is available only when selecting multiple Control Points.
==Submenu's content==
{{:documentation:subdivide.png?nolink |}} Subdivide - //Adds a Control Point between each pair of Control Points in the selected range//
{{:documentation:simplify.png?nolink |}} Simplify - //Removes a Control Point in each pair of Control Points in the selected range//
{{:documentation:equalize.png?nolink |}} Equalize - //Equalizes the length of each segment in the selected range//
===== Curvy Generator actions =====
{{:documentation:opengraph_light.png?nolink |}} Edit current Generator