Skip to content

Editing and arranging

Image masks

Keep only part of an image visible with closed shapes: crop it, remove its center, edit or flatten the mask, then trace only the visible part.

A mask keeps only part of the image visible: to crop it, or to isolate a subject before tracing it. Commands: Drawing menu (or the toolbar’s Shapes button) and the context menu; Dusty Studio: Drawing menu and the plan’s context menu.

  • Apply Mask to Image: select an image and one or more closed shapes (rectangle, path, text, group…). Only the inside of the shapes stays visible; nothing is deleted. The shapes stay in the drawing, moved to tool layer T1 (visible, never machined): they are the mask.
  • Removing the center: a shape placed inside another makes a hole. To remove the center of an image and keep its outer part, surround the shape to remove with a larger shape (outside the image to keep its edges, or cutting into it to crop it as well), select both with the image and apply the mask.
  • Edit Mask: the mask’s shapes are edited like any shapes (move, resize, rotate, Nodes tool, booleans, text) and the visible part follows, in the same undoable action. Moving the image alone slides it under the mask; moved together, image and shapes stay matched (grouping them avoids separating them by accident). The Edit Mask command selects these shapes; a mask that has none (project from an earlier version) is first turned into a shape on layer T1. New shapes applied to a masked image are added to its mask.
  • Remove Mask: the image is whole again and the mask’s shapes get their color back. Deleting the mask’s shapes also makes the image whole again.
  • Flatten Mask: the hidden parts are removed for good. The image is cropped to the mask, transparent outside it, and the mask’s shapes disappear; its bounds no longer cover what was hidden, which makes alignments more accurate.
  • Crop Image: with an image and closed shapes, applies the mask and flattens it in a single step; with a masked image alone, flattens it. No mask is left to edit or remove.
  • Cut with Shape (⌥⌘X) on an image: two copies of the image, one masked inside the cutting shape, the other outside, each with its own mask shape (a copy of the cutting shape) on a tool layer: T1 inside, T2 outside.

Each command is a single undoable action; the link between an image and its mask’s shapes is saved with the project. An image duplicated, copied or repeated together with its mask’s shapes keeps a mask linked to their copies.

From images to machining. Dusty does not machine pixels: an image assigned to an operation is ignored, and Dusty says so. A masked image goes to machining through tracing: only its visible part is traced, shapes straddling the edge of the mask are cut there; the shapes obtained then get their operations (profile, pocket, V-carve…). The mask’s shapes, on a tool layer, are never machined, even when assigned to an operation.

Differences from MillMage: the mask’s shapes move to tool layer T1 (MillMage leaves them on their color); the visible part follows a shape at the end of the gesture, not during it; an open mask shape (cut path) no longer masks anything; in Dusty Studio, Reload Image asks for the file again when the browser does not keep access to it.

This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us

Try it in Dusty, for free.

Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.