Repository navigation
edit cleanup
Home > Edit > Clean Up: Merge Coincident Points
< Previous: Bake | Next: Copy Style >
Merge points sitting on top of each other so shared vertices join.
Menu: Edit > Clean Up: Merge Coincident Points | In depth: Cleanup
Two points sitting on top of each other look like one point and behave like two. Clean Up merges them, so the edges that were supposed to share a corner actually share it.
This matters because Fill and Region need a closed boundary. Four segments drawn end to end look closed, but if each end is its own point the boundary has four gaps in it, each one a thousandth of a millimeter wide, and nothing will fill. Clean Up is the fix, and it is usually the answer when a shape that obviously closes refuses to.
Running it opens a box for a distance, starting at 0.01 in drawing units. Points within that distance of each other are treated as the same point. Enter 0 to merge only points that are exactly coincident.
The number matters more than it looks. Too small and nothing merges, which is the case where you close the box and wonder what happened. Too large and points that were genuinely different get welded together. Start at the default, look at what it reports, and go up by a factor of ten if nothing moved.
The oldest one. Of a cluster sitting in one spot, the point created first is kept and the others are merged into it. Everything that referred to a merged point is repointed at the survivor, so nothing downstream breaks or goes looking for something that is no longer there.
Some merges would quietly destroy work, and Clean Up refuses those and tells you how many it refused.
A derived point is not merged away. A polygon's computed corner, for instance, is derived so the shape stays regular when a driver moves; merging it into a coincident point would turn it into an ordinary point and the shape would stop being regular the next time you touched it. That is not tidying, it is damage, so it is skipped.
Any merge that would leave a degenerate object, a segment with both ends at the same place, or an object referring to itself, is skipped for the same reason.
Points the node graph owns, and scaffolding points, are left out of it entirely.
Afterward you get a count of both numbers: how many points were merged, and how many were skipped. A run that reports skips is worth reading rather than ignoring, since it is telling you the drawing has coincident points that genuinely should not become one.
The whole thing is a single undo step, so one Cmd-Z puts every merged point back.
< Previous: Bake | Next: Copy Style >
- In the node graph: Cleanup - run the same cleanup as a node.
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
