Repository navigation
segments
Home > Segments
< Previous: The spline menu | Next: Add Extremes >
The piece of a spline between two anchors, and the five things you can do to one.
A segment is one piece of a spline: the run between two neighboring anchors. Everything here needs the spline open for editing, which is what double-clicking it does.
Nothing happens until the pointer has traveled past the canvas's drag threshold, so a click that lands on a segment cannot reshape it by a pixel of hand tremor.
A press that never becomes a drag is a click, and it selects the whole sub-spline that segment belongs to. Everywhere else on this canvas a click selects and a drag moves; a segment used to be the one place where the drag did something and the click did nothing at all.
Both of the segment's anchors travel by the drag, and their handles travel with them, so the piece keeps its shape and goes where you put it.
This is the gesture that changed. A plain drag used to bend a curved segment; the free bend now lives on Control-drag, below. If a tutorial of yours shows a segment being reshaped by dragging it, that footage is out of date.
Hold Option and the two handle angles are held while only their lengths change. This is the way to tighten or loosen a curve without disturbing directions you set on purpose.
The modifier is read on every frame rather than at the press, so Option can go down or come up in the middle of a drag; the curve lands in the same place whichever moment you pressed it.
Curved segments only. A straight one has its control points sitting on its anchors, so there is nothing to tension.
Hold Control (Command on a Mac) and the drag reshapes the curve freely: both the angles and the lengths change, and the two anchors stay where they are.
Control or Command is not sloppiness. Control-click is a right-click on a Mac, so Control-drag never reaches the canvas there.
Note
This one is not Glyphs. Glyphs gives a segment three behaviors, the three above, and you bend by dragging a handle there. Locus had a free bend on the plain drag; matching Glyphs took it away and left no way to reshape a segment by dragging it, so the bend came back on its own modifier. It is a real difference, and worth knowing if you arrived from there.
Curved segments only, for the same reason as Option-drag: a straight segment has nothing to bend until Option-click has given it handles.
Option-click a straight segment and handles appear on the two anchors either side. They land at the third points of the chord, which is the cubic that traces the same straight line, so the shape does not jump on the click. It gains the handles you then drag.
Option-click, not Option-drag. The drag is the tension gesture above.
Select a handle and press Delete and that handle goes, so the curve runs straight on that side. Deleting one of the two leaves the segment curved, which is allowed; deleting both makes it a straight segment again.
This reads a handle selection only when no anchor is also selected. A selection holding both means the anchor is going, and its handles go with it.
A smooth anchor at either end swings its far handle to stay collinear, so a bend or a tension carries into the next segment too. That is smooth continuing to mean smooth while you reshape its neighbor. A corner anchor holds its other side still.
An end driven by a construction point cannot move, so the whole piece is held rather than stretched by one end, and the reason is said once at the press.
- A curved piece: "That piece has an end on a construction point, so it cannot be moved. Drag a handle to reshape it."
- A straight piece: "That piece has an end on a construction point, so it cannot be moved. Option-click it to add handles, then drag a handle to reshape it."
The advice differs because a straight piece has no handle to drag yet. Option-drag and Control-drag only move handles, so they stay available either way.
- Splines: anchors, handles, spans and sub-splines.
- The spline menu: the right-click commands, including Insert Anchor.
- The Pen: drawing a spline, and pulling handles as you go.
- Add Extremes: putting an anchor where the outline reaches furthest.
- Selecting objects: how anchors and handles are selected in the first place.
< Previous: The spline menu | Next: Add Extremes >
Found a bug or have feedback? Open an issue | Docs home | Videos | Credits
Getting Started
- Welcome
- How Locus came to be
- Videos
- Community & support
- Installing & launching
- Licensing & activation
- Beta License Agreement
- Core concepts
- Interface tour
- Your first pattern
Modeling - Drawing
- Canvas basics
- Points
- Typing coordinates
- Lines, rays & segments
- Circles & arcs
- Ellipses
- Compass & straightedge
- Rectangles & squares
- Splines
- The spline menu
- Segments
- Add Extremes
- Constraining with Shift
Modeling - Editing
- Selecting objects
- Transform tools
- Align & distribute
- Duplicate, detach & ownership
- Regions & booleans
- Flatten
- Expand Strokes
- Cleanup
- Weld & seams
- Style palettes & Re-ink
Annotation
Layers
Modeling Menus
- File
-
Edit
- Undo and Redo
- Group
- Ungroup
- Copy
- Paste
- Paste in Place
- Duplicate
- Duplicate in Place
- Hide
- Reverse Direction
- Convert to Spline
- Cut Spline
- Close Spline
- Compound paths
- Unhide All
- Detach
- Bake
- Clean Up: Merge Coincident Points
- Copy Style
- Reference in Nodes
- Snap to Points
- Snap to Objects
- Snap to Intersections
- Snap to Guides
- View
-
Draw
- Select
- Point
- Pen
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Through 3 Points
- Arc: Center, Start, End
- Straightedge
- Compass
- Compass: Radius
- Ellipse: Center + Axes
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center, Vertex
- Regular Polygon: Center, Edge Midpoint
- Dimension: Linear
- Dimension: Angle
- Dimension: Radial
- Label
- Construct
- Combine
- Transform
- Select
- Nodes
The Nodes Window
- Basics of visual programming
- How the node graph works
- Sockets & wires
- Adding & connecting nodes
- Sliders & number inputs
- Keeping the node graph tidy
- View menu (Nodes)
- Lists & collections
- Constants & unit conversions
Node Library
- Overview
- Input
-
Primitives
- Point
- Point: Polar
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Apollonius
- Circle Tangent to...
- Circle: 3 Points
- Arc
- Ellipse
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center
- Rectangular Grid
- Oblique Grid
- Triangular Grid
- Construct
- Transform
- Image & Fields
- Combine
-
Data
- Measure
- Numbers
- Lists
- Select
- Clean up
- Display
Clusters
Bridging Modeling & Nodes
Patterns & Symmetry
Image-Driven Fields
Saving, Exporting & Files
Preferences & Language
CLI
- CLI server
- Locus Shell
- CLI commands
- Tangent circles
- Tick and strike
- Making regions
- Boolean commands
- The node graph from the command line
Reference