Every boundary loop of a hatch went into one even-odd area, which is
right for the normal island style (group 75 = 0) only. With the outer
style (1) the area inside an outermost loop and outside the islands
directly in it is hatched, and islands inside islands are not; with
the ignore style (2) only the outermost loops are, and islands leave no
holes. This applies to solid, gradient and pattern hatches.
A loop counts as inside another when its bounds lie within the other's,
its area is smaller, and most of up to 16 points taken just inside it
lie inside the other loop. Each loop is measured around its own center,
so loops far from the origin, or far from each other, keep their
precision. A hatch whose nesting test would take more than 10,000,000
steps is filled as if every loop were a boundary, with a warning.
With unchanged settings OK closes the dialog before the document, history and object checks run (crates/ui-egui/src/panels/three_d/raster.rs:147), so docs/mcp.md and docs/three-d.md now say the refusals apply when there are changes.
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
Pattern hatches came in as their boundary outlines, and gradient hatches
were filled with their first color.
- A pattern hatch now draws its pattern lines (groups 53, 43 to 46 and
49): each family's lines clipped to the boundary (even-odd, as solid
hatches fill), cut into dashes and dots that start from each line's
base point, and stroked at the hatch's lineweight without its linetype.
Dots get round caps. A user-defined double hatch (group 77) with one
family gets the perpendicular family too.
- A gradient hatch (groups 450 to 470) is filled with a linear or radial
gradient at its angle across the boundary, in its two colors or one
color shaded or tinted (452, 462); the shift (461) moves the center up
and left. The named gradients map to linear and radial ones by
VectorCraft's own rule (hatch.rs). Gradient colors "by block" or "by
layer" on layer 0 resolve through the insert, and a block holding one
becomes a symbol per look.
- A pattern hatch without usable pattern lines, with more than 20,000
dashes, or past the drawing's budget of 2,000,000 dashes or
200,000,000 clipping steps still comes in as its boundary, with a
warning.
Docs: docs/mcp.md (DXF import), docs/file-format-parity.md (DXF row).
Open and Place read .jpe files in any letter case, but the dialogs' JPEG filter adds only the lowercase extension, and GTK matches filter patterns case-sensitively.
Typed RGB values convert from the RGB profile of the document the window
shows (or the working RGB profile) to the script document's RGB profile,
and separate through its CMYK profile only in a CMYK document. Hex,
screen-sample, HSB and web-snapped picks start in display sRGB.
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.
Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.
When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
app.showColorPicker answers the run between slices, when the active
color settings hold the profiles of the document the window shows. A
pick in the run's own document, made or assigned other profiles by the
script, was converted to that document's RGB space and separated to CMYK
through the window's profiles instead.
The dialog now carries the RGB and CMYK profiles assigned to the run's
active document when the picker opens. On OK a display-sRGB pick (hex,
sample, HSB) is taken into that document's RGB space, RGB values typed
into the picker convert from the shown RGB profile to the document's,
and an RGB pick in a CMYK document separates through the document's
CMYK profile.
The craft-libs pins take main's rev. Until storytold/craft-libs#5381 merges,
crates/cad/src/blocks_compat.rs writes the block records, BLOCK definitions
and INSERT entities that #5381 adds to the drawing writer.
A Shaper group keeps its source art at the bottom and rebuilds the rest
from it. object.newGroup with a Shaper group as parent at index 0, and
layer.clippingMask.toggle (also a script's clipped = true) on a Shaper
group, put a new object where the source art was. The group then read
no sources and was deleted. Both commands now refuse a Shaper group and
leave the document as it is; the clipping check runs before the edit
opens, so a refused call leaves typing as it is.