Repository navigation
draw pen
< Previous: Point | Next: Segment >
Draw a spline by placing anchors, and insert anchors into one that is already there.
Menu: Draw > Pen | In depth: Splines
Important
Under construction. The Pen is new and this page describes work in progress. Nothing here is a promise about the finished feature.
- Click places a corner anchor.
- Click and drag pulls out a smooth anchor, its two handles opening symmetrically as you drag.
- Click the first anchor to close the spline. It takes more than two anchors to close, since two would double back on themselves.
- Escape finishes the spline open.
A spline of one anchor is not kept. If you place a single anchor and finish, the click is treated as one you changed your mind about and nothing is left behind.
Shift while placing constrains the direction from the previous anchor, the same as it does everywhere else in Locus. The anchor also lands on geometry that the locked direction runs into near the cursor, so a constrained span ends on the line it meets rather than a hair off it.
Hover an existing spline with the Pen and a dot appears on the curve, with the span under it picked out. That is where the anchor would go.
- Click the span to insert an anchor there. The curve does not move. The new anchor is selected and the spline is left open for editing.
- Shift-click the span inserts at the nearest X or Y maximum of that span instead. An anchor there is what makes a shape's bounding box tight and its outline predictable under offset and export. On a straight span, or a curve with no interior extreme, it falls back to the cursor.
The hint only lights up on a spline the Pen can actually insert into, so a locked object, or an import that has not been converted, will not offer one.
Anchors snap to the same things everything else does: construction points, crossings, guides, alignment lines, and the anchors of other splines. The position is worked out from where you clicked rather than from where you hovered.
- Splines: anchors, handles, corner and smooth.
- Convert to Spline: where a spline comes from when it was not drawn.
- Selecting objects: editing a spline once it is drawn.
- Constraining with Shift: what Shift does across the other tools.
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
- Constraining with Shift
Modeling - Editing
- Selecting objects
- Transform tools
- Align & distribute
- Duplicate, detach & ownership
- Regions & booleans
- 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
- 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-cli
- CLI commands
- Tangent circles
- Tick and strike
- Making regions
- Boolean commands
- Reading the node graph
Reference
