With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.
These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
Common Tangents… now also does what Smooth Bridge… did (#10465).
- Connect tangents joins the two tangents of each kind into one closed
shape, along the chords between where they touch each path (a point's
two lines make a triangle). `connect` on
`addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
the tangent lines; Curved joins the circles along concave arcs, as
Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
Originals, which take input only with Curved. `curved`, `radius`,
`gap`, `reach` and `keepOriginals` on the command; options of the
other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
runs for scripts and actions, opens the merged dialog with External
and Curved, and is left out of the command palette and Keyboard
Shortcuts. A palette search for "metaball" or "smooth bridge" finds
Common Tangents.
Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
Locked or hidden type inside a selected group is no longer numbered or
deleted, and removeUnused keeps a type object that masks a clipping group
or layer and keeps the selection instead of selecting the numbered objects.
In Numbers mode a minus sign that does not follow a letter is part of the
number, and a number or placeholder that already reads the new number keeps
its text and style. Rows and columns are found among the objects that get a
number, with the true median for an even count. A run that would replace
more than 10,000 numbers or placeholders is refused before any text is
built, and a seed that is not a whole number is refused even with shuffle
off. ui.menuDialog lists the dialog, and the progress doc has its line.
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.
pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.
When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.
Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.
* fix(effects): draw dark dots in RGB Color Halftone
(cherry picked from commit 2dbe91af9f)
* Cover dark-on-light RGB halftone polarity
Updated halftone tests to clarify behavior regarding pixel brightness and dot sizes.
(cherry picked from commit babd60e332)
* effects: bound Color Halftone dots at full coverage
(cherry picked from commit 8fb0bf55607762df6e3acc2ed7ed37a643fea022)
* effects: describe Color Halftone ink coverage
(cherry picked from commit 0dbf12514095b6e12cb4414055d8ac47ee1fbcdc)
* Document the change to saved RGB halftones
* Test the bounded edge overlap of full halftone dots
---------
Co-authored-by: Mex <[email protected]>
Co-authored-by: dotCooCoo <[email protected]>
Object > Plug-ins > Type Tools > Make Numbers Sequence... and the
addon.type.numbers command fill the selected type objects with numbers
from a start value by a step, optionally stopping at an end value. Each
number replaces the whole text, every number in it, or every {%n}
placeholder. Objects are taken in stacking order, by rows or by columns,
or in a seeded random order, with optional leading and trailing zeros.
The run is one undo step, records none when nothing changes, and refuses
threaded type and bad parameters.
Based on Sergey Osokin's MIT-licensed MakeNumbersSequence script.
A DXF of a drawing with placed raster images writes each image it exports
beside the drawing as a PNG file, or a JPEG file with rasterFormat JPEG.
The exportFile paragraph in docs/mcp.md said it writes one file, with only
the SVG companion images as an exception.
Object > Vector Halftone and the live Vector Halftone effect get two
dot shapes that follow the classic spot functions. Euclidean dots are
round in the highlights, meet corner to corner at 50% as a checkerboard
and turn into round holes in the shadows. Elliptical dots are long,
join into chains along their length at 40% and on every side at 60%,
then turn into long holes. Each dot is a vector path whose area is the
cell's tone. The existing Ellipse shape is unchanged.
main now lists the Smooth and Simplify sliders in ui.inspect as dialogs
smoothSlider and simplifySlider, which ui.dialog.set, confirm and cancel
control, and Object › Plug-ins › Selection Tools › Edit Points Only…
opens through ui.menuDialog. The params text of ui.menuDialog,
ui.smoothAuto and ui.simplifyAuto, docs/mcp.md and the menu dialog key
test now say so.
file.newProfiles and Manage Profiles checked a profile's file with
is_file, which follows a link. A profile file that was a link to a
document was listed as customized with Edit on, while file.new refuses
to read a link and gives the new document the defaults. A link that
led nowhere, or a folder, was listed as not customized, so Reset was
off and could not remove it, and Edit on a link that led nowhere wrote
the shipped profile where the link pointed.
The profile's file is now looked at without following a link:
- file.newProfiles lists a link or a folder as customized, with
unusable: "not a plain file".
- Manage Profiles dims that profile's name, says why in its tooltip,
and turns Edit off. Reset stays on for a link and removes the link,
not the file it leads to. Reset is off for a folder, and
file.newProfiles.reset gives an error instead of deleting a folder.
- file.newProfiles.edit gives an error for a link or a folder, and
creates a missing profile file without following a link put there.
Docs: docs/mcp.md (New Document profiles) and the command help.
- PathItem point, paint, stroke and transform changes on a path on a locked
artboard now throw `Cannot edit` and change nothing, as the PageItem
setters do. `pathItems.removeAll()` deletes nothing when a path is on a
locked artboard, as `pageItems.removeAll()` does; it used to delete them.
- `move` and `duplicate` with `PLACEAFTER` and the clipping path of a clip
group or clipping layer as the relative object throw instead of putting
the object above the clipping path, or reporting success without moving it.
- `zOrder` counts the art above a clipping path and below the layer's ruler
guides, as the Arrange commands do, so a method that leaves the object
where it is runs no command.
Docs: docs/mcp.md.
app.getIsFileOpen treated any path with a backslash as a Windows path,
turning each backslash into a folder separator and ignoring letter case.
On macOS and Linux a backslash is a character of a file name, so
getIsFileOpen answered true for the path /work/a\b.ai while /work/a/b.ai
was open.
Paths now get the Windows rules only on Windows or when they start with a
drive letter.
DocumentPreset.typename and toString() answered for a preset kept from
an earlier run with #targetengine, while its settings throw a TypeError.
Both now check the preset the way the settings do.
Documents.addDocumentNoUI(startupPreset) was missing. It now makes the
document addDocument(startupPreset) makes.