Skip to content

Open vs. Closed Shapes

All shapes in LightBurn are made up of lines, curves, and nodes. Sometimes those nodes are connecting points between lines or curves, and sometimes they represent the start or end point of a segment or sequence of segments.

A shape is closed when it is a complete, continuous loop whose start and end points are the same. When a shape's start and end points are different, it is open.

You can view a shape's nodes by selecting it and enabling the Edit Nodes tool. Start and end nodes are green, and somewhat larger than connecting nodes.

Open vs. Closed

When and Why Shapes Must Be Closed

Some functions require LightBurn to determine the inside and outside of a shape, and in order to make that determination the shape must be closed.

The most commonly used function that requires closed shapes is Fill Mode, which commands your laser to engrave or mark an area that falls within the outline of a single specified shape, or between the outlines of two shapes. Without knowing what area is inside a shape, LightBurn can't determine what to Fill.

This is most obvious to the human eye when looking at line segments. If you draw a simple line segment with a node on each end, it makes no sense to say there is an inside and an outside to it. Following from that, if you assign that line segment to a layer set to Fill Mode, it will not be possible for LightBurn to determine an area to be Filled.

In other cases, as with shapes that have only small gaps, it may be relatively clear to a human what is meant to be the inside and outside, but software must interpret things literally, based on formal rules. That means if there is any gap at all, any open shape is the same to LightBurn as a line segment, for the purpose of determining an inside and outside.

Open vs. Closed

Some other functions that require the use of closed shapes are:

Identifying Open Shapes

In some cases, as with simple line segments or shapes with large gaps, it's easy to see that a shape is open, but in others it may not be as obvious.

At times, the gaps can be very small, often so small that they are not visible without zooming in very close. Be aware: it is even possible for a start and end point to be directly on top of one another, but not connected, making a shape open.

LightBurn provides several methods for identifying whether a shape is open or closed.

Edit Nodes

As mentioned above, it is always possible to select a shape and the Edit Nodes tool to identify where its start and end nodes are, and whether they are the same, making a closed shape, or different, making an open shape.

In some cases, you may need to zoom in to see gaps.

Edit Nodes Zoom

Measure Tool

Select the Measure tool from the Tools Toolbar (or press Alt/Option+M) and hover over a segment of any shape to see a readout of its attributes. In the bottom right, you'll see the Closed/Open descriptor, and a value telling you whether that shape is closed or open.

Measure Tool

Warning Message

If you have open shapes set to a Fill or Offset Fill layer, and attempt to Preview or Start a job, LightBurn will warn you, and give you the option to click Continue and proceed with the job, removing the open shapes, or Show Me to automatically select them.

Open Shapes Warning

Select Open Shapes

From the Edit Menu, you can click the Select open shapes option to automatically select any open shapes in your Workspace.

Select Open Shapes Set to Fill

Also found in the Edit Menu, this option works the same as the Show Me button from the pop up warning, automatically selecting only those shapes in your Workspace that are set to a Fill or Offset Fill layer.

Select Open Shapes Set to Fill

Correcting Open Shapes

Change Layer or Mode

Before attempting to close an open shape, it's important to decide whether that is the best step to take to get the result you're looking for.

In some cases, especially when working with a project you did not design yourself that has shapes with start and end points that are very far apart, the best course of action is to assign those shapes to a layer set to Line Mode. Open shapes like these are often meant to be set to a speed and power appropriate to score a material along outlines defined by those shapes, and not to be filled at all.

To see how your result will look, you can set the open shapes to a Line layer, and use the Preview window to check whether the simulation matches your desired output.

Edit Nodes

The Edit Nodes tool is not just an option for identifying open shapes, you can also use it close them. To join open shapes with the Edit Nodes tool, select and drag a start point onto an end point (or vice versa).

Join shapes with the Edit Nodes tool

Because this option requires you to close open shapes manually, in cases where you have many shapes to close it is often easier to use a tool that does so automatically.

Close Path

Found in the Edit Menu, the Close Path option will connect a shape with one start and one end node by creating a new line between them. The start and end nodes must be within .5 mm of one another, so this option is only for shapes with very small gaps. It cannot be used to closed shapes made up of more than one disconnected line segment.

Close Selected Paths With Tolerance

Close selected paths with tolerance is also found in the Edit Menu, and, like Close Path, can only connect a shape with one start and one end node.

Unlike Close Path, this option opens a pop up menu that allows you to specify the Distance Threshold (tolerance), between start and end nodes you'd like to close.

You can also choose whether you'd like to join the start and end nodes by bringing the existing lines together with Move Ends Together, or by creating a new line segment between them using Join with Line.

At the very bottom of the window, you'll see a readout of how many open shapes were found, how many shapes have been closed, and how many open shapes remain in your Workspace.

Click OK to confirm the changes and close the selected shapes, or Cancel to discard them and leave the shapes open.

Close selected paths with tolerance

Auto-Join Selected Shapes

Auto-Join selected shapes (Alt/Option+J) is also found in the Edit Menu, and is able to join many disconnected segments at once. In order for Auto-Join to work, the start and end points of two segments must be very close together, within .05 mm of one another.

In some cases where Auto-Join fails to join segments with start and end points within the necessary .05 mm tolerance, it can help to first go to the Arrange Menu and select Break Apart (Alt/Option+B), before again trying Auto-Join.


For more help using LightBurn, please visit our forum to talk with LightBurn staff and users, or email support.