Skip to content

Editing and arranging

Depth map settings

Resolution, 8 or 16 bits, transparent background, inversion, equalization, depth cutoff and outline of the depth map made from a 3D model, then editable or frozen.

Depth Map Settings…, in the Import 3D Model window, shows the map that will be placed as Dusty will compute it, with its settings beside it (below on iPhone); the preview follows every setting. Edit 3D Model goes back to the model (orientation, size), Insert places the map.

Gray convention (MillMage’s): white = the highest, the stock surface (the start depth of the relief operation); black = the deepest (its final depth); the background, outside the model, is black. The legend under the preview recalls it. To machine a negative, invert the map.

  • Resolution: Low (5 px/mm, 127 DPI), Medium (10 px/mm, 254 DPI, the default), High (20 px/mm, 508 DPI) or Very High (40 px/mm, 1,016 DPI); the size of the map, in pixels and on the drawing, is shown below. Beyond 6,000 pixels per side or 36 million pixels, the map is reduced and the effective resolution is stated.
  • Bit Depth: 16-bit (65,536 levels, the default, the finest) or 8-bit (256 levels: a lighter file, for a relief with little detail).
  • Transparent Background: the background is no longer black on screen, the map appears cut out (on a checkerboard in the preview). The gray under the transparency stays the background’s: machining still cuts it to the final depth.
  • Invert Depth Map: light and dark swapped, background included: what was raised becomes hollow (mould, impression) and the background becomes the stock surface.
  • Equalize Depth Map: histogram equalization of the model’s heights (the background does not count): fine or low-contrast details stand out, at the cost of the relief’s proportions.
  • Depth Cutoff: the cutting plane, from 0% (the bottom of the model: everything is kept) to 99% of its thickness. What is below the plane joins the background, what is above takes the whole gray range (the model “sinks” into the black); the thickness of the relief kept is shown. Automatic Depth Cutoff: the plane is placed just below the lowest part of the model seen from above (the lowest 0.5% of pixels left out), which keeps 2% of gray above the background: the thickness hidden underneath (the base of a plaque, the back of a bust seen from the front) is removed and nothing seen from above disappears; a model seen down to its foot (pyramid, terrain) has nothing to remove (0%). The slider then takes the cutoff back by hand.
  • Generate Outline: on insertion, closed shapes follow the edge of the relief kept (above the cutting plane), one per area, its holes included, grouped with the map (Ungroup to separate them); the preview shows them in red. Placed on a drawing layer, they serve the 2D operations: an outside profile around the relief, a pocket between a shape that surrounds it and the outline (the hole of a ring-shaped relief is cleared, an island in that hole is gone around). The outline follows image tracing: edge at half pixel coverage, staircases smoothed, specks under 4 pixels left out; on a map of more than 2,048 pixels per side, it is traced on the reduced silhouette (within 0.15 mm over 300 mm).

A map setting does not recompute the model: the map already computed for the preview is used as long as orientation, size and resolution do not change (a few milliseconds per setting: the cutoff slider follows the gesture). Insertion computes the map at full resolution: one to a few seconds for a large model, under the busy indicator in Dusty Studio.

Editable or frozen map

An inserted map stays linked to its model — the image properties say “Depth map linked to its 3D model”. Edit 3D Model… reopens it with all its settings, whether the map alone or the map and its outline are selected; Insert replaces the map and its outline in place, image settings and mask kept, as one undoable action (the outline shapes keep their identity: an operation that machines them keeps them). Convert to Bitmap (Draw menu, context menu, image properties) makes it an ordinary image: it can no longer be edited and the model’s file is no longer saved with the project; its outline stays a shape. Undo (⌘Z) brings the link back.

Saving

The map is a grayscale PNG, 8- or 16-bit, transparent if the background is; its settings are kept with the model in the .dusty (nothing more is written for the default settings). Earlier versions: Dusty 1.1.1 and earlier (without 3D import) show the map as an ordinary image, transparency included, and its outline as a shape grouped with it; saved by them, the project loses the link and the model’s file (the map is then as if frozen). Dusty 1.2.0 keeps the link but ignores these settings: edited there, the map would come back 16-bit, black background, without cutoff or outline.

Differences from MillMage: the gray convention is not set separately (as in MillMage, inversion flips it); MillMage does not describe its automatic cutoff, Dusty’s is described above; a linked map is not shown in purple (the image properties say it); the outline is made on insertion and remade on editing, not followed live while the map is changed on the drawing. A copy of the map (duplicate, paste) keeps its model and settings, but not the original’s outline: edited, it gets its own.

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.