mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 19:51:26 -05:00
Merge main into feat/scripts-api-d8b-tracing
This commit is contained in:
@@ -96,7 +96,7 @@ the two can still win that race.
|
||||
| `ui.menu.list` / `ui.menu.invoke` | `{command, params}` | the full menu tree / invoke an item |
|
||||
| `ui.contextMenu.list` | | the canvas context menu for the current selection, flattened like `ui.menu.list` (`path` holds its submenus). `ui.click {x, y, button: "right"}` on the canvas opens it, after selecting the object there unless it is already selected. With the Artboard tool it lists the artboard entries (see `docs/mcp.md`), after selecting the artboard there unless it is already selected. While a menu opened over locked objects is open, it has an `Unlock` submenu with one item for each locked object under the pointer, topmost first and at most 20, labeled with the object's name, which runs `layer.setProps {ids: [id], locked: false}`. A locked group gets one item, and the locked objects inside it get none. Hidden objects, objects on hidden, locked or template layers, and in isolation mode objects outside the isolated group get no item |
|
||||
| `ui.tool.select` / `ui.tool.list` | `{tool}` | |
|
||||
| `ui.pointer` | `{events:[{kind: down\|drag\|up\|move\|doubleclick\|tripleclick, x, y, space?: "doc"\|"screen", mods?}]}` | drive the active tool exactly like the mouse (`doubleclick` follows the second click's `up`, and `tripleclick` the third's): `mods.cmd` held at a press with any tool but a selection tool drags with the selection tool chosen last (Direct Selection with the Pen until one is), and the release gives the tool back as it was; the reply lists `selection`, `key` (the key object, null without one) and `tool`. With the Shape Builder or the Live Paint Bucket and a selection of more than 128 segments, the app finds the regions off the UI thread, so a `move` replies before the region under the pointer is highlighted, and the highlight shows in the first frame after the regions are found. With the Shape Builder and such a selection, the app also merges off the UI thread: the reply to the events that end a click or drag comes once the merge is applied. A click or drag made before the regions are found does not wait for them; the app records it and makes it once they are found. Until then the canvas keeps drawing, with the touched regions highlighted and the busy pointer. A click or drag sent meanwhile, with `mods.cmd` too, and the Shape Builder's arrow keys are made after the merge in the order sent, and the reply to such a request comes once its events are made and any merge they start is applied; a request of `move` events alone is answered at once. A command that can edit, select, save or redraw the documents (an edit, an undo, a selection, a save or an export, a tool option, another tool, another document, closing, a dialog's preview, a menu item, a command of the app's own such as `ui.recolorDialog`, the proof and separations views, a preference, added fonts) waits for the merge and the input sent before it, and runs after them; queries that only read, such as `document.inspect`, run at once on the document before the merge |
|
||||
| `ui.pointer` | `{events:[{kind: down\|drag\|up\|move\|doubleclick\|tripleclick, x, y, space?: "doc"\|"screen", mods?}]}` | drive the active tool exactly like the mouse (`doubleclick` follows the second click's `up`, and `tripleclick` the third's): `mods.cmd` held at a press with any tool but a selection tool drags with the selection tool chosen last (Direct Selection with the Pen until one is); with Direct Selection or Group Selection it drags with the Selection tool (with Direct Selection and `mods.alt` held too, with Group Selection), and with the Selection tool it drags with Direct Selection or Group Selection, whichever was chosen last, except on a selected object (or a group holding a selected member) with another object under the pointer, away from its anchors, direction handles, mesh points, blend spine and the bounding box's handles and rotate zones while `ctrlClickSelectsBehind` is on, where the press selects the object behind; the release gives the tool back as it was; the reply lists `selection`, `key` (the key object, null without one) and `tool`. With the Shape Builder or the Live Paint Bucket and a selection of more than 128 segments, the app finds the regions off the UI thread, so a `move` replies before the region under the pointer is highlighted, and the highlight shows in the first frame after the regions are found. With the Shape Builder and such a selection, the app also merges off the UI thread: the reply to the events that end a click or drag comes once the merge is applied. A click or drag made before the regions are found does not wait for them; the app records it and makes it once they are found. Until then the canvas keeps drawing, with the touched regions highlighted and the busy pointer. A click or drag sent meanwhile, with `mods.cmd` too, and the Shape Builder's arrow keys are made after the merge in the order sent, and the reply to such a request comes once its events are made and any merge they start is applied; a request of `move` events alone is answered at once. A command that can edit, select, save or redraw the documents (an edit, an undo, a selection, a save or an export, a tool option, another tool, another document, closing, a dialog's preview, a menu item, a command of the app's own such as `ui.recolorDialog`, the proof and separations views, a preference, added fonts) waits for the merge and the input sent before it, and runs after them; queries that only read, such as `document.inspect`, run at once on the document before the merge |
|
||||
| `ui.key` / `ui.text` | `{key, shift?, alt?, cmd?}` / `{text}` | synthetic keyboard input |
|
||||
| `ui.move` | `{x, y}` | screen-point pointer move |
|
||||
| `ui.click` / `ui.drag` | `{x, y, button?, count?, shift?, alt?, ctrl?, cmd?}` / `{x, y, toX, toY, steps?, count?, button?, shift?, alt?, ctrl?, cmd?}` | egui pointer input; see synthetic input budgets above |
|
||||
@@ -273,10 +273,11 @@ Color Wheel panel (`window.panel {panel: "colorWheel"}`): a hue ring around a sa
|
||||
pick runs the commands the Color panel's sliders run: `paint.setFill` or `paint.setStroke` with `keepModel`,
|
||||
`paint.editGradient` for a gradient's selected stop, and `paint.freeform.setPoint` for a freeform gradient's selected
|
||||
point (the first stop or point when none is selected). `ui.colorWheel {view?, channel?, sliders?, gamut?, harmony?,
|
||||
harmonyRule?, vision?}` shows the wheel or the box (a color field with a channel strip at its right), picks the box's
|
||||
harmonyRule?, opacity?, vision?}` shows the wheel or the box (a color field with a channel strip at its right), picks the box's
|
||||
channel, shows OKLCH Sliders, HSL Sliders or neither, grays out the colors the CMYK space cannot print, shows the
|
||||
other colors of a harmony rule as markers on the wheel's ring, and shows or hides the color vision row; it returns the
|
||||
settings, and `ui.inspect` reports them as `ui.color_wheel`.
|
||||
other colors of a harmony rule as markers on the wheel's ring, checks or unchecks Show Opacity (an opacity row under
|
||||
the wheel or the box), and shows or hides the color vision row; it returns the settings, and `ui.inspect` reports them
|
||||
as `ui.color_wheel`.
|
||||
The key `sliders` takes (`"oklch"`, `"hsl"` or `"none"`; `"oklch"` is an error while the active document's RGB space, its assigned
|
||||
profile or else the working RGB space, is not sRGB), and the settings carry it too.
|
||||
|
||||
|
||||
+25
-20
@@ -1,5 +1,6 @@
|
||||
# Development
|
||||
|
||||
> **Last updated:** 2026-11-24 · **Change:** Fonts: the interface font stack is the framework's, set up by `ui_fonts()` and installed by `embed::install`; `theme::install_fonts` is gone and the `interface-fonts` feature changes nothing.
|
||||
> **Last updated:** 2026-11-12 · **Change:** Tests canonicalize temporary roots and normalize Windows verbatim prefixes before comparing preset refusal paths or probing a case-variant script folder (#6860); production access checks unchanged.
|
||||
> **Last updated:** 2026-11-12 · **Change:** minor (clipboard failure helper follows its Linux/BSD and test callers; previously: Hindi catalog and zero/one plural rule; desktop Devanagari fallback and optional craft-fonts UI face; native review pending).
|
||||
> **Last updated:** 2026-11-01 · **Change:** Linux: Automatic Linux Display Server opens the window through XWayland when a pen is attached on a Wayland session, so the pen draws (#4967); `VECTORCRAFT_NATIVE_WAYLAND=1` keeps Wayland.
|
||||
@@ -170,10 +171,13 @@ CRAFT_FONTS_DIR="$PWD/../craft-fonts" cargo xtask ci # also runs the Japanese-
|
||||
All other supplied faces follow those existing document fallbacks in manifest order, so they
|
||||
can also be selected by family name. This does not change which faces the web build embeds
|
||||
or fetches, and no craft-fonts faces are registered when the optional input is absent.
|
||||
- UI: `theme::install_fonts` adds them at the end of every egui family (BIZ UDPGothic first, then
|
||||
Noto Sans Georgian for the Georgian interface), after the UI fonts and before the installed fonts
|
||||
`ui_fonts.rs` discovers for other scripts. On the web, Noto Sans Georgian is fetched at startup
|
||||
and reaches the UI through `ui_fonts.rs`.
|
||||
- UI: `ui_fonts()` (`crates/ui-egui/src/ui_fonts.rs`) hands them to the framework's interface font
|
||||
stack, which puts the UI language's faces after the interface face (ahead of it for a script
|
||||
that face lacks and that doesn't fit a Latin row, such as Georgian), then the other scripts'
|
||||
faces, then the installed fonts it finds for other scripts on the desktop. On the web the
|
||||
`startup` and `demand` faces of `crates/text/web-fonts.txt` are served under `fonts/ui/`
|
||||
instead: the stack fetches the UI language's at once and the others the first time text needs
|
||||
them.
|
||||
- Tests that need Japanese or Georgian glyphs skip with a message when built without craft-fonts. The FreeBSD
|
||||
CI job and every release job (`release.yml`) check craft-fonts out at a pinned commit; release
|
||||
packages carry each embedded font's `OFL-<family>.txt`.
|
||||
@@ -191,18 +195,18 @@ and text has no glyphs until a font is added.
|
||||
|
||||
An embedder that also hosts the egui panels depends on `vectorcraft-ui-egui` with
|
||||
`default-features = false` as well: its own `bundled-fonts` feature, on by default, turns the
|
||||
engine's on; `vectorcraft-mcp` has the same feature. The panels' interface faces (Source Sans 3
|
||||
Regular and Semibold, Inter Regular and SemiBold, JetBrains Mono, about 2 MB: `theme.rs`) are
|
||||
`vectorcraft-ui-egui`'s `interface-fonts` feature, also on by default; without it the panels draw in
|
||||
egui's built-in fonts, which lack some symbols they show (→ ▾ ● ✓), so such an embedder adds a
|
||||
font that has them to each of the families below (`ctx.add_font` with an `InsertFontFamily` per
|
||||
family).
|
||||
engine's on; `vectorcraft-mcp` has the same feature. The panels' interface faces come from the
|
||||
framework, with or without these features: Inter Regular and SemiBold (cut to Latin, Greek and
|
||||
Cyrillic) and egui's Hack for monospace, which craft-fonts' monospace face leads when the build
|
||||
embeds it. `vectorcraft-ui-egui`'s `interface-fonts` feature is still declared but changes nothing.
|
||||
|
||||
The panels and dialogs draw in their own egui families (`theme::FONT_UI`, `FONT_UI_SEMIBOLD`,
|
||||
`FONT_MONO`), and egui panics drawing text in a family no font is bound to. `VectorcraftApp::logic`
|
||||
binds them on its first frame; an embedder that draws the panels or dialogs without it calls
|
||||
`theme::install_fonts` once on its context, with or without `interface-fonts`. It replaces the
|
||||
context's font definitions, so the embedder's own fonts are added after it.
|
||||
The panels and dialogs draw in egui's proportional and monospace families and the framework's
|
||||
semibold family (`craft::ui::fonts::SEMIBOLD`), and egui panics drawing text in a family no font is
|
||||
bound to. `embed::install(ctx, spec, &vectorcraft_ui_egui::ui_fonts())` binds them; the desktop and
|
||||
web apps call it once when they create the app (the web app adds `.fetcher(BrowserFetcher)` so the
|
||||
served faces are fetched), and an embedder that draws the panels or dialogs calls it once on its
|
||||
context. It replaces the context's font definitions, so an embedder's own faces go into the stack
|
||||
(`ui_fonts().app_face(…)`) before it is installed.
|
||||
|
||||
- The workspace declares `vectorcraft-text` and `vectorcraft-engine` without default features, so
|
||||
each crate that wants the fonts asks for them (the apps, and `vectorcraft-testkit` for tests);
|
||||
@@ -215,9 +219,9 @@ context's font definitions, so the embedder's own fonts are added after it.
|
||||
see that configuration, since their dev-dependencies turn the fonts on.
|
||||
- `cargo test -p vectorcraft-text --no-default-features --test without_bundled_fonts` checks the
|
||||
configuration without them, and `cargo test -p vectorcraft-ui-egui --no-default-features --test
|
||||
install_fonts` that the panels without their interface faces still bind every family; the same
|
||||
step lints `vectorcraft-ui-egui` without its default features. Of the crate's other tests, those
|
||||
about the interface faces need them.
|
||||
install_fonts` that the fonts `embed::install` sets up bind the proportional, monospace and
|
||||
semibold families, so an effect dialog draws; the same step lints `vectorcraft-ui-egui` without
|
||||
its default features.
|
||||
|
||||
### Arabic fonts and the web build
|
||||
|
||||
@@ -308,7 +312,7 @@ other `sv-*` locale resolve to it), Georgian (`ka`, complete; `ka-GE` and `ka_GE
|
||||
``[{j}] `{_1}`: {why}``, so its reason is translated while a JSON array stays as it is. A literal brace in a
|
||||
row is written `{{` or `}}`, in the English and in the translation: a message made with `format!` keeps the
|
||||
doubled braces of its format string, and a plain string literal has each of its braces doubled, so the row for
|
||||
`"expected {\"objects\": [...]}"` is `expected {{"objects": [...]}}`. Czech, German, Greek, Spanish, French, Georgian, Hindi, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Russian, Simplified Chinese, Traditional Chinese, Swedish, Ukrainian, Vietnamese, Finnish, Turkish, Catalan, Dutch, Danish and Indonesian
|
||||
`"expected {\"objects\": [...]}"` is `expected {{"objects": [...]}}`. Czech, German, Greek, Spanish, French, Georgian, Hindi, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Russian, Simplified Chinese, Traditional Chinese, Swedish, Ukrainian, Vietnamese, Finnish, Turkish, Catalan, Dutch, Danish, Indonesian and Bulgarian
|
||||
translate status and error messages (`COMPLETE_MESSAGES` in `i18n::tests`); the untranslated report lists the
|
||||
message literals the scan finds, and the phrases a parameter schema's error builds at run time
|
||||
(`SCHEMA_PHRASES`), that one of them has no row for. The scan covers the crates in `MESSAGE_CRATES`, the
|
||||
@@ -334,7 +338,7 @@ other `sv-*` locale resolve to it), Georgian (`ka`, complete; `ka-GE` and `ka_GE
|
||||
|
||||
### Adding a cursor
|
||||
|
||||
The app decides which cursors exist; whoever draws them works from the list. For a new tool state with a cursor of its own: add the `Cursor` variant (`crates/tools/src/lib.rs`, with a doc comment), return it from the tool's `cursor()` with a tool test, cover it in `cursor_icon` (`crates/ui-egui/src/canvas.rs`), draw it in `crates/ui-egui/src/cursors.rs` or give it a stand-in in `Cursor::stand_in()` until it is drawn, and add its `[[cursor]]` entry to `crates/tools/src/cursors.toml` (when it shows, in plain behaviour terms, and its hotspot). A missing entry only warns (`cargo xtask cursors`): the cursor still works.
|
||||
The app decides which cursors exist; whoever draws them works from the list. For a new tool state with a cursor of its own: add the `Cursor` variant (`crates/tools/src/lib.rs`, with a doc comment), return it from the tool's `cursor()` with a tool test, map it in `cursors::tool_cursor` (`crates/ui-egui/src/cursors.rs`), using a catalog icon or an SVG in `assets/cursors/` (with its `ASSETS.md` row and `CURSOR_ICONS` entry), or give it a stand-in in `Cursor::stand_in()` until it is drawn, and add its `[[cursor]]` entry to `crates/tools/src/cursors.toml` (when it shows, in plain behaviour terms, and its hotspot). A missing entry only warns (`cargo xtask cursors`): the cursor still works.
|
||||
|
||||
## Vendor names gate
|
||||
|
||||
@@ -564,6 +568,7 @@ Scores and hour estimates are unchanged.
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-24 | minor | Fonts: the interface font stack is the framework's, set up by `ui_fonts()` and installed by `embed::install` (craft-fonts faces, the web's served faces, embedders); `theme::install_fonts` is gone and `interface-fonts` changes nothing. |
|
||||
| 2026-11-12 | minor | Tests (#6860): compare preset refusal roots after canonicalization and Windows display normalization; canonicalize the script fixture base before constructing `MAIN`. This keeps macOS `/var` → `/private/var` aliases from masking the case-sensitivity checks; no production-code change. |
|
||||
| 2026-11-12 | minor | Compile the clipboard failure helper only for Linux/BSD worker callers and unit tests; keep production macOS free of the unused helper without suppressing workspace dead-code warnings. |
|
||||
| 2026-11-06 | minor | Localisation: Hindi catalog, zero/one plurals, desktop and web font requirements; AI/MT draft, native review pending. |
|
||||
|
||||
+32
-9
@@ -84,6 +84,22 @@ The **Dimension Tool** is in the Modify section of the toolbar. Its strip offers
|
||||
line goes where the pointer is. This is VectorCraft's own rule. With Smart Guides and
|
||||
Alignment Guides on, a guide runs along the level across both lines while the dimension is
|
||||
placed.
|
||||
The
|
||||
[linear dimensions help](https://helpx.adobe.com/illustrator/desktop/measure-and-align/plot-and-measure/plot-linear-dimensions-of-objects.html)
|
||||
describes plotting an object's horizontal and vertical dimensions by holding Alt
|
||||
(Option on macOS) over its path. With Alt held, hovering a path shows a box through the path's
|
||||
outermost points, as a Smart Guide when Smart Guides are on and in the tool's own color when
|
||||
they are off, with its width and height beside the pointer when Measurement Labels are on.
|
||||
Clicking the path, then moving and clicking, places a dimension of the whole path; dragging out
|
||||
from the path places it on release. The rest is VectorCraft's own rule. With
|
||||
the pointer above or below the box the dimension measures the path's width, between its
|
||||
leftmost and rightmost points; to the left or right of the box it measures the height, between
|
||||
the topmost and bottommost points; past a corner, the side the pointer is farther out on
|
||||
decides. The points are read from the segments the path draws, curves included, and an anchor
|
||||
that starts no segment is left out. They are read again whenever the path changes, so a turned
|
||||
path shows its new overall width or height rather than that of its bounding box before the
|
||||
turn. The line keeps its distance from the whole path when the path changes or the dimension
|
||||
changes orientation. Alt has this effect only before the first point is clicked.
|
||||
- **Angular:** hover a corner where two straight segments meet and drag outwards. Or click two
|
||||
straight lines that meet (or would, extended), then click to place.
|
||||
- **Radial:** hover a circle, or a segment that is a perfect arc, and drag: outwards gives its
|
||||
@@ -133,7 +149,9 @@ Measurements follow the art they measure through moves, scaling and anchor and h
|
||||
undo and redo included. When the art is reflected, the line of a linked linear dimension goes to
|
||||
the reflected side, as far past the outermost point as before. This does not happen for art whose
|
||||
anchors and handles all lie on one line, such as a straight line, which a half turn puts in the
|
||||
same place as a reflection. An unlinked aligned dimension that is reflected, or scaled by a
|
||||
same place as a reflection, nor for a dimension of a whole path whose box through the path's
|
||||
outermost points stays where it was, as after Reverse Path Direction or a reflection across the
|
||||
middle of that box. An unlinked aligned dimension that is reflected, or scaled by a
|
||||
negative factor, has its line on the reflected side of its points. Deleting the art, changing its number of anchors or whether it is
|
||||
closed, turning an angle's arm into a curve, or making a measured circle or arc no longer circular
|
||||
leaves its dimensions where they were, no longer linked, in the same undo step, rather than
|
||||
@@ -171,17 +189,22 @@ another document.
|
||||
|
||||
## Commands
|
||||
|
||||
- `dimension.create`: two points, or a source (segment, angle, circle, arc, points), the mode,
|
||||
the orientation of a linear dimension (`aligned`, the default, `horizontal` or `vertical`),
|
||||
offset and style; returns the group id and label. `offset` is the distance of the dimension
|
||||
- `dimension.create`: two points, or a source (segment, angle, circle, arc, points, extent), the
|
||||
mode, the orientation of a linear dimension (`aligned`, the default, `horizontal` or
|
||||
`vertical`), offset and style; returns the group id and label. `{"kind":"extent","node":<id>}`
|
||||
measures a whole path, linear only: between its leftmost and rightmost points when horizontal
|
||||
or aligned, and its topmost and bottommost points when vertical. A version without the extent
|
||||
source does not open a file that holds one. `offset` is the distance of the dimension
|
||||
line from the first point: along the left normal of a → b for an aligned dimension, downward
|
||||
for a horizontal one and leftward for a vertical one. A negative offset goes the other way.
|
||||
- `dimension.update`: restyle or move existing dimensions, or change the orientation of linear
|
||||
ones. A new orientation keeps the line on the side of the points it was on. `at: [x,y]`, applied
|
||||
after `offset`, puts a linear dimension's line through the point, gives an angular dimension's
|
||||
arc a radius of the point's distance from the vertex (at least 12 points), or turns a radius or
|
||||
diameter line toward it, keeping what the dimension measures. An update that
|
||||
changes nothing records no undo step.
|
||||
ones. A new orientation keeps the line on the side of the points it was on. For a dimension of
|
||||
a whole path, a new orientation that would put the line more than 1,000,000 pt from its first
|
||||
point is an error unless the update also gives `offset`. `at: [x,y]`, applied after `offset`,
|
||||
puts a linear dimension's line through the point, gives an angular dimension's arc a radius of
|
||||
the point's distance from the vertex (at least 12 points), or turns a radius or diameter line
|
||||
toward it, keeping what the dimension measures. An update that changes nothing records no undo
|
||||
step.
|
||||
- `dimension.applyToAll`: every dimension takes one dimension's style, in one undo step.
|
||||
- `tool.select {"tool":"dimension"}` and
|
||||
`tool.setOption {"tool":"dimension","values":{"mode":"linear","style":{"units":"mm","scale":"1:10"}}}`
|
||||
|
||||
@@ -183,7 +183,7 @@ VectorCraft choices; an original approximation, never compared with another appl
|
||||
| Materials panel, lighting, ray-traced render | Window › 3D and Materials panel with the object types (Plane, Extrude, Revolve, Inflate) and the Object, Rotation and Lighting settings of the applied effect, Render Settings › Wireframe, which draws the live effect as the edges of its faces, and Quick Actions › Expand as Wireframes ([three-d.md](three-d.md#3d-and-materials-panel)); one to ten directional lights with per-light Color (opaque RGB, white by default), Intensity, Rotation, Height, Softness and neutral Ambient Light, Revolve and colored Inflate use smooth vector shading; Extrude & Bevel and Rotate retain planar shading; original Standard, Diffuse, Top Left and Right lighting rigs; shadows behind or below the object from the first light, blurred by its Softness ([three-d.md](three-d.md#shadows)); the Materials tab's Graphics, document symbols mapped onto Extrude & Bevel's caps and onto a plane, moved with an artboard handle, and wrapped around Extrude & Bevel's walls and bevels and around Revolve's side ([three-d.md](three-d.md#graphics)); no base materials, graphics on Inflate, or ray tracing |
|
||||
| 3D (Classic): Extrude & Bevel, Revolve, Rotate | Extrude & Bevel (Classic) initial: live, round seam joins, Extrude Depth, Cap, five original bevel shapes and the custom bevels with Height and Bevel Extent In or Out, Position presets and rotation gizmo, Perspective, Wireframe, No Shading, Diffuse and Plastic surfaces with one to ten lights, Light Intensity, Ambient Light, Highlight Intensity and Size, Blend Steps, Black, Custom, Black Overprint or no Shading Color ([Black Overprint](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=188)), Draw Hidden Faces ([create 3D objects](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/create-3d-objects.html)); Revolve (Classic) initial: live, round seam joins, Angle, Cap, Offset from the left or right edge, Position presets and rotation gizmo, Perspective, the same four surfaces, lights, highlight, Blend Steps and Shading Color, groups and layers revolved about one shared axis (same page); Rotate (Classic) initial: live, round seam joins, every fill and stroke turned as one plane, Position presets and rotation gizmo, Perspective, No Shading and Diffuse surfaces with lights, Ambient Light, Blend Steps and Shading Color ([rotate objects in 3D](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/rotate-objects-in-3d.html)); Preserve Spot Colors in all three, unavailable with a Custom Shading Color ([Preserve Spot Color](https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=260)); all three: a lighting sphere on the Lighting tab whose lights drag, move to the back or front, and are added at the front center or deleted down to one ([lighting options](https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=272)); all three: the track cube (face, edge, Shift and ring drags, keyboard steps; [three-d.md](three-d.md#track-cube)); Map Art for Extrude & Bevel (Classic) and Revolve (Classic): one document symbol on each numbered surface, surface navigation with visible and hidden marks and a red outline on the artboard, move, scale and rotate on the surface laid out flat, Scale to Fit, Clear, Clear All, Shade Artwork, Invisible Geometry, kept by Expand Appearance and exports, `threeD.mapArt` ([map artwork to a 3D object](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=189)) |
|
||||
| Turntable (30.0 beta) | none |
|
||||
| Export 3D objects (OBJ, USDA, glTF) | initial: Asset Export's Export 3D Object, and the 3D and Materials panel's Export 3D Object button (which then shows Asset Export with the new assets selected, [three-d.md](three-d.md#3d-and-materials-panel)), collect an object with Extrude & Bevel, Revolve, Inflate or Rotate as a 3D asset, and Export writes its solids as a USDA (the default), USDZ, glTF or OBJ mesh with a material in each solid's paint color (`assets.add3D`, `assets.set3DFormat`, `assets.export3D`); graphics mapped onto a plane or Extrude & Bevel's caps are exported as PNG textures of those faces, flat and unlit; no graphics on Revolve's side, no materials and no shading ([3D export help](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/export-3d-vector-artwork.html)) |
|
||||
| Export 3D objects (OBJ, USDA, glTF) | initial: Asset Export's Export 3D Object, and the 3D and Materials panel's Export 3D Object button (which then shows Asset Export with the new assets selected, [three-d.md](three-d.md#3d-and-materials-panel)), collect an object with Extrude & Bevel, Revolve, Inflate or Rotate as a 3D asset, and Export writes its solids as a USDA (the default), USDZ, glTF or OBJ mesh with a material in each solid's paint color (`assets.add3D`, `assets.set3DFormat`, `assets.export3D`); graphics mapped onto a plane or Extrude & Bevel's caps are exported as PNG textures of those faces, flat and unlit, and the graphics on Revolve's side as a texture of the side unrolled; every corner carries texture coordinates and a normal, smoothed across a curved bevel and over Inflate's puff ([three-d.md](three-d.md#3d-meshes)); no materials and no lighting ([3D export help](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/export-3d-vector-artwork.html)) |
|
||||
|
||||
The `three-d` crate (depends on `geom` and `pathops`, with no UI or GPU dependencies) builds, rotates, projects, shades and depth-sorts the surfaces;
|
||||
the effects crate turns them into art. What's left (materials and shadows, ray-traced rendering,
|
||||
|
||||
@@ -17,7 +17,7 @@ translation never fails a test or a build: the interface shows the English text
|
||||
`cargo xtask ci` prints the untranslated report (`cargo xtask i18n-report` alone), which lists per language the
|
||||
strings missing from each catalog with the `complete_menus` flag and the messages missing from each language in
|
||||
the `COMPLETE_MESSAGES` list. Every non-English language marked "full" has the flag, and all of them except
|
||||
Bosnian and Bulgarian are in the list. No language has help content: there is no translated (or
|
||||
Bosnian are in the list. No language has help content: there is no translated (or
|
||||
English) in-app help, and the docs are English.
|
||||
|
||||
**Native review:** every catalog was written clean-room from the English meaning, most of it by agents
|
||||
@@ -66,7 +66,7 @@ plus review. Native-speaker review is human work and isn't in the hours.
|
||||
| Czech | `cs` | 9,761 rows, 3,742 of them `@msg` and 51 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`): the untranslated report lists 222 missing Czech messages, and 15 messages that no checked language has a row for | catalog complete; render-site gaps reduced; native review pending |
|
||||
| Bosnian | `bs` | 7,227 rows, 1,205 of them `@msg` and 47 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`): the untranslated report lists 113 missing menu strings, 66 `tl!` literals and 30 undo labels for it; not in `COMPLETE_MESSAGES`, so the report does not check its messages; one/few/other plurals | full; AI-assisted, native review pending |
|
||||
| Swedish | `sv` | 9,498 rows, 3,311 of them `@msg` and 51 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`): the untranslated report lists 647 missing messages for it, and 31 menu strings, 14 `tl!` literals and 6 undo labels; one/other plurals | full; native review welcome |
|
||||
| Bulgarian | `bg` | 7,133 rows, 1,111 of them `@msg` and 47 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`): the untranslated report lists 76 menu strings, 48 `tl!` literals, 16 undo labels and 45 swatch names for it; its messages are partial | full; AI-drafted, native review pending |
|
||||
| Bulgarian | `bg` | 8,940 rows, 2,143 of them `@msg` and 56 `@msgplural` (counted 2026-11-25 on `main` at `9d050d2b01`): in `COMPLETE_MESSAGES`, and the untranslated report lists 71 menu strings, 41 `tl!` literals, 13 undo labels, 45 swatch names and 1,933 messages for it; its messages are partial | full; AI-drafted, native review pending |
|
||||
| Greek | `el` | 8,003 rows, 1,972 of them `@msg` and 51 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`): the untranslated report lists 1,974 missing messages for it | full; native review welcome |
|
||||
| Georgian | `ka` | 9,758 rows, 3,740 of them `@msg` and 49 `@msgplural` (counted 2026-11-15): menus, panels, dialogs and plurals (one count-neutral form); the untranslated report lists 1 missing Georgian message; reviewed by a native speaker | full |
|
||||
| Turkish | `tr` | 9,784 rows, 3,746 of them `@msg` and 51 `@msgplural` (counted 2026-11-17 on `main` at `ee60c51fd9`); 235 messages, 79 menu strings, 39 `tl!` literals, 16 undo labels and the default swatch names still fall back to English | full |
|
||||
|
||||
+337
-65
@@ -692,9 +692,14 @@ whole cell or none of it, so a grayed cell can hold printable colors and a clear
|
||||
print. `{"harmony": true, "harmonyRule": "triad"}` puts a marker on the wheel's ring for each other
|
||||
color of a Color Guide harmony rule, as Show Harmony and Harmony Rule do; the wheel takes the 15 rules whose colors
|
||||
each have a hue of their own (not `monochromatic`, `shades`, `complementary2`, `triad2`, `triad3` or
|
||||
`highContrast2`). `{"documentColors": true}` shows the row the panel menu's Show Document Colors adds under the wheel
|
||||
`highContrast2`). `"opacity": true` checks Show Opacity, as the panel menu does: a row under the wheel or the box
|
||||
with a slider and a percent field sets the opacity of the fill row (`paint.setFill {opacity}`), the stroke row
|
||||
(`paint.setStroke {opacity}`), the selected gradient stop or the selected freeform point (the first stop or point
|
||||
when none is selected), and `false` hides the row. The row is gray with nothing selected, for an object selected in
|
||||
a symbol instance, and when the fill or stroke row it would set is on type characters or missing.
|
||||
`{"documentColors": true}` shows the row the panel menu's Show Document Colors adds under the wheel
|
||||
or the box. Keys left out keep their values. Params that are not an object, another key or a value off
|
||||
the list return an error and change nothing. The command returns `{view, channel, sliders, gamut, harmony, harmonyRule, vision, documentColors}`,
|
||||
the list return an error and change nothing. The command returns `{view, channel, sliders, gamut, harmony, harmonyRule, opacity, vision, documentColors}`,
|
||||
and the settings are kept with the preferences.
|
||||
|
||||
`ui.colorWheel {"sliders": "oklch"}` shows the Color Wheel panel's OKLCH Sliders (L, C and H rows under the wheel or
|
||||
@@ -904,7 +909,17 @@ Cmd+Alt+/ runs `appearance.addStroke` (`press_key {key: "/", mods: {cmd: true, a
|
||||
`item` to edit one of them; `run_command appearance.setActiveItem {"index": n}` makes that row the target of later
|
||||
calls that omit `item` (as clicking the row in the Appearance panel does) until the selection changes; the proxy of
|
||||
its kind (`paint.proxies`) and the Gradient tool's annotator then show that row.
|
||||
`inspect_document` reports it as `paint.appearanceItem`. Live effects take the same `item` to apply to one fill or
|
||||
`inspect_document` reports it as `paint.appearanceItem`. `paint.setFill` and `paint.setStroke` also take `opacity`
|
||||
(0 to 100, a percentage as in `transparency.set`), which sets the opacity of the fill or stroke row they paint, with
|
||||
or without a new paint, as one undo step. An opacity that no target takes is an error and also leaves the paint
|
||||
undone. A `swatch` that is not a name does not make the request an opacity alone: it is an error without a paint of
|
||||
its own. A color for a grayscale or 1-bit image's drawing color creates no fill row, so an opacity given with it goes
|
||||
to a fill row the image has. With New Art Has Basic Appearance off, the next shape copies the first selected object's
|
||||
appearance after any command, its opacity included. Without a new paint, `objects` counts only the targets that took the opacity. `paint.proxies` answers it as `fillOpacity` and `strokeOpacity`, from the first selected object that has
|
||||
that row (a selected path of a compound path answers with its compound path's row, which the commands edit, and a
|
||||
selected Live Paint group answers with its faces' fills and its edges' strokes). It answers null with nothing selected, for an object selected in a symbol instance, while the Live Paint Bucket paints (it is the active tool, or a Cmd+click or an Eyedropper pick works for it),
|
||||
while the Type tool has characters selected, and when only type characters (which have no opacity of their own) or objects without that
|
||||
row are selected. Live effects take the same `item` to apply to one fill or
|
||||
stroke instead of the whole object: `run_command effect.apply {"effect": "path.offsetPath", "item": 0}`, and
|
||||
`effect.remove`, `effect.setParams` (`visible` toggles one) and `effect.duplicate` address that item's effects;
|
||||
`apply_effect` uses the active item. `effect.list` reports each object's item effects under `applied[].items`.
|
||||
@@ -2625,7 +2640,21 @@ https://helpx.adobe.com/illustrator/desktop/automate-visualize-data/automate-act
|
||||
describes that menu item. Pass exactly one of `path` and `source`. A `path` must end in `.js` or `.jsx`, in any
|
||||
case. A `.jsxbin` file or text that starts with `@JSXBIN@` is compiled and ends with an error, as does text that is
|
||||
not UTF-8. The language is ES5.1, except that identifiers take the characters Unicode's `ID_Start` and
|
||||
`ID_Continue` properties allow, as later editions define them, and may use `\u{...}` escapes. The script reaches the
|
||||
`ID_Continue` properties allow, as later editions define them, and may use `\u{...}` escapes. A `path` that ends in
|
||||
`.js` (in any case) also reads these ECMAScript 2015 forms (https://262.ecma-international.org/6.0/): `let` and
|
||||
`const` with block scope and their temporal dead zone, a new `let` binding for each `for` loop iteration, function
|
||||
declarations scoped to their block, arrow functions, template literals and tagged templates, default and rest
|
||||
parameters, and spread in array literals, calls and `new`. Spread reads arrays by index, reading the length again
|
||||
before each element, strings and `String` objects by code point, and objects with a `length` property by index, and
|
||||
throws a `TypeError` for any other value; that rule is VectorCraft's own
|
||||
until iterators are added. `eval`, `Function`, `#include` files and `$.evalFile` read code the way the script does, and
|
||||
an engine that `#targetengine` keeps reads each run the way that run's script does. A
|
||||
`.jsx` file and a `source` string read ES5.1 only, and the ECMAScript 2015 forms are syntax errors there. A `.js` file
|
||||
also reads two ECMAScript 2020 forms (https://262.ecma-international.org/11.0/): optional chains (`a?.b`, `a?.[key]`,
|
||||
`f?.(args)`), which give `undefined` and skip the rest of the chain when the value before `?.` is `undefined` or
|
||||
`null`, and `??`, which evaluates its right side only when its left side is `undefined` or `null`. Mixing `??` with `&&`
|
||||
or `||` without parentheses, and assigning to an optional chain, are syntax errors. In a `.jsx` file and a `source`
|
||||
string, `?.` and `??` are syntax errors. Which files read these forms is VectorCraft's own rule. The script reaches the
|
||||
app through the global object `vc`, and writes to the Script Console and runs other files through `$`:
|
||||
|
||||
- `vc.run(id, params)` runs a command and returns its result. A command that fails throws an error the script can
|
||||
@@ -2886,7 +2915,7 @@ VectorCraft's own, and `vc.api.has("dollar")` is true where they are available:
|
||||
| `global` | the global object |
|
||||
| `hiresTimer` | the microseconds since the run last read it, or since the run started; `0` on the web |
|
||||
| `level`, `memCache` | `0`; setting `memCache` throws |
|
||||
| `line`, `stack` | `$.line` is the line of the code that reads it, counted in the file that code is in (the script, a file it included or a file `$.evalFile` ran, in this run or an earlier run of its named engine). `$.stack` lists the running code, outermost first, one frame a line as `name@file:line`: `name` is `[global]` for code outside a function (in the script, in a file it included, or in code that `$.evalFile` or `eval` ran) and `[anonymous]` for a function without a name, and `file` and `line` are the file and line that code is in, so `file` is the file `$.fileName` gives in that code. It lists the innermost 64 frames; when there are more, a first line `…` stands for the ones left out. In code from a script given as `source`, `file` is that run's name, while `$.fileName` is empty. Code that `eval` or `Function` compiled keeps the line of the source they compiled, in the file `[eval]`, while `$.fileName` there is the file being run; code whose place a named engine no longer keeps is at line `0` of `[unknown]`, and `$.fileName` there is empty |
|
||||
| `line`, `stack` | `$.line` is the line of the code that reads it, counted in the file that code is in (the script, a file it included or a file `$.evalFile` ran, in this run or an earlier run of its named engine). `$.stack` starts with a line that holds the run's name in square brackets, as the console shows that name (for example `[main.jsx]`: the `name` given to `script.run`, else the `#script` name, else the file's name, else `script`); the running code follows, outermost first, one frame a line as `name@file:line`: `name` is `[global]` for code outside a function (in the script, in a file it included, or in code that `$.evalFile` or `eval` ran) and `[anonymous]` for a function without a name, and `file` and `line` are the file and line that code is in, so `file` is the file `$.fileName` gives in that code. It lists the innermost 64 frames; when there are more, a line `…` after the name stands for the ones left out. In code from a script given as `source`, `file` is that run's name, while `$.fileName` is empty. Code that `eval` or `Function` compiled keeps the line of the source they compiled, in the file `[eval]`, while `$.fileName` there is the file being run; code whose place a named engine no longer keeps is at line `0` of `[unknown]`, and `$.fileName` there is empty |
|
||||
| `locale` | the interface's language as a locale such as `de` or `pt_BR` (`en` when the interface follows the system); a script can set `ll` or `ll_RR`, and `null` or `""` sets the interface's again |
|
||||
| `localize` | `false`; while `true`, `String(object)` of a localization object gives its text for `$.locale` |
|
||||
| `os` | `Windows`, `macOS`, `Linux`, `FreeBSD`, `Unix` or `Web`, without a version |
|
||||
@@ -2913,6 +2942,27 @@ itself throws a `TypeError`. So does a property that is not writable or not conf
|
||||
would make each of them writable, configurable and extensible again (VectorCraft's own rule). A value deeper than 64 levels, with more than 1,048,576 entries or with text longer than 16,777,216
|
||||
characters throws a `RangeError`.
|
||||
|
||||
`UnitValue` holds a measurement: a number and a unit
|
||||
(https://extendscript.docsforadobe.dev/extendscript-tools-features/specifying-measurement-values/). Scripts make one
|
||||
with or without `new`, as `UnitValue(12, 'pt')`, `UnitValue('12 pt')` or `UnitValue(other)` (a copy). The units are
|
||||
`in`, `ft`, `yd`, `mi`, `mm`, `cm`, `m`, `km`, `pt`, `pc`, `tpt`, `tpc`, `ci`, `px` and `%`, each also written as its
|
||||
singular or plural name (`inch`, `inches`, `traditional point`); `type` gives the abbreviation. `as(unit)` gives the
|
||||
number in another unit and `convert(unit)` changes the object to it and returns `true`. A pixel is one `baseUnit` and
|
||||
100% is one `baseUnit`; new objects take `UnitValue.baseUnit`, which is `1 pt` (1/72 inch) until a script sets it, `null` sets
|
||||
it back, and an object's own `baseUnit` replaces it for that object. `toString()` gives the number and the abbreviation,
|
||||
such as `12 pt`. With a `UnitValue` and a number, `+`, `-`, `*`, `/` and `%` calculate with the object's number and
|
||||
give a new `UnitValue` in its unit; with two, the right one is converted to the left one's unit, with the left one's
|
||||
`baseUnit` for `px` and `%`, and the result is in the left one's unit. `<`, `<=`, `==` and `!=` compare the numbers the same way, `>` is true when `<=` is false and
|
||||
`>=` when `<` is false, and `===` compares objects as usual. Unary `+` and `-` give the number and its negation, `~`
|
||||
inverts its 32-bit integer, and `!` is true for a number that is not 0. Other operands, and the other operators,
|
||||
work as in standard JavaScript. VectorCraft's own rules: an unknown unit, text that is not a number and a unit (or
|
||||
longer than 64 characters), and a number that is not finite make an object whose `type` is `?` and whose `value` is
|
||||
0, which prints as `UnitValue 0.00000`; converting it, using it with any of these operators, a result that is not finite (a division
|
||||
by 0 included) and a comparison with a number that is not finite throw a `RangeError`; an unknown unit given to `as`, `convert` or `type` throws an
|
||||
`Error` and leaves the object as it was; `value` takes only a finite number; and `baseUnit` takes only `null` or a
|
||||
length greater than 0 (not pixels or percentages). Two units of length convert through their exact ratio to the inch,
|
||||
so `UnitValue(1, 'in').as('pt')` is exactly 72.
|
||||
|
||||
The run is one transaction. When the script ends, each document it changed gets one undo step named Run Script. A
|
||||
run that changes no document adds no undo step. The journal records each command the run finished, as it records
|
||||
commands run one at a time. A preference the run changed takes the run's value, and a preference changed in the app
|
||||
@@ -3083,10 +3133,11 @@ script reads files with them:
|
||||
`%xx` escapes are read as UTF-8, and on Windows `/` and `\` both separate names and `/c/` names drive C. `File(path)`
|
||||
without `new` gives a `Folder` for an existing folder, and `Folder(path)` gives a `File` for an existing file. Two
|
||||
objects for the same path are different objects.
|
||||
- `name`, `displayName`, `fsName`, `absoluteURI`, `fullName`, `relativeURI`, `path`, `parent` and `toString()` come
|
||||
from the path. `exists`, `length`, `created`, `modified`, `hidden`, `readonly` and `alias` read the file system.
|
||||
`exists` is true for a `File` only when the path names something other than a folder, and for a `Folder` only
|
||||
when it names a folder.
|
||||
- `name`, `displayName`, `localizedName`, `fsName`, `absoluteURI`, `fullName`, `relativeURI`, `path`, `parent` and
|
||||
`toString()` come from the path. `localizedName` gives the same decoded name as `displayName`: VectorCraft does not
|
||||
look up a name the system shows in another language. `exists`, `length`, `created`, `modified`, `hidden`,
|
||||
`readonly` and `alias` read the file system. `exists` is true for a `File` only when the path names something
|
||||
other than a folder, and for a `Folder` only when it names a folder.
|
||||
`File.encode`, `File.decode` and `File.isEncodingAvailable` (and the same on `Folder`), `File.fs`, and the folders
|
||||
`Folder.temp`, `Folder.desktop`, `Folder.myDocuments`, `Folder.userData` and the others are there too.
|
||||
- `open('r')` opens a file to read, and `read([chars])`, `readln()`, `readch()`, `seek(pos[, mode])`, `tell()`, `eof`
|
||||
@@ -3224,6 +3275,18 @@ VectorCraft writes files by these rules of its own:
|
||||
`Script file access denied` and the path, saving into a user library (swatches, brushes, symbols or graphic
|
||||
styles) included; reading the app's own libraries is allowed. A script given as `source` that a person allowed nothing writes only in
|
||||
its `Folder.temp` and `Folder.userData` and to the open documents' own files.
|
||||
Such a command also reads the files that the documents open when the run began link to (linked images, placed
|
||||
files, the plate files of a DCS image and the images their data sets name), so an export, save, print or package
|
||||
of them includes the linked art. A link does not let the command write the file it names: it writes a linked file
|
||||
only when the rule above lets it write there. The files are taken as those links led at the run's
|
||||
first `vc.run`, and a path that leads to another file since is refused. A linked file in the folder that holds
|
||||
the settings is not read this way unless it lies in one of the script's own places inside that folder.
|
||||
Both rules count each document as the person last opened or saved it. A document that a script's command opened,
|
||||
in this run or an earlier one, gives the commands no access to its file, and its links give them no file to read.
|
||||
A document opened from a linked file is therefore not saved over that file unless the script may write there. A
|
||||
link or data set value that a script's command adds or changes, and a file that a script's command saves a document
|
||||
to, give later runs no access either. The person's next save of the document ends this. The automation read roots
|
||||
still apply.
|
||||
A pick inside the folder that holds the settings gives `null` and sets `error` to `Script file access to the app's
|
||||
own folders is not allowed`.
|
||||
- A run with nobody to ask, as over MCP or the command line, gives `null` from every file dialog and sets `error` to
|
||||
@@ -3239,7 +3302,9 @@ is given as its file name alone. `script.grants.revoke {script?, path?, all?}` r
|
||||
a script file, of a path, of both together, or with `all: true` every grant, and returns `{removed}`. A path is
|
||||
matched after its links are followed; under automation read roots, a path outside them is matched as given. While a script
|
||||
runs it is refused with the busy error, as the run keeps the grants it started with. A grants file that is there but
|
||||
cannot be read is left as it is: `script.grants.revoke` fails, and a grant picked with Always is not kept. A script
|
||||
cannot be read, a link to a missing file included, is left as it is: `script.grants` and `script.grants.revoke` fail, and a grant picked with Always is
|
||||
not kept. A missing grants file lists no grants, and `script.grants` leaves out a grant in the file that is not well
|
||||
formed. A script
|
||||
cannot run either command.
|
||||
|
||||
```json
|
||||
@@ -3476,6 +3541,14 @@ are kept, and selecting an ancestor together with its descendants deletes that s
|
||||
Without `ids`, direct-selected anchors or selected ruler guides retain their usual Clear behavior.
|
||||
With `ids`, `guides: true` also deletes the selected ruler guides. The command rejects a `guides` value that is not a
|
||||
boolean.
|
||||
Without `ids`, `keepJoined: true` removes the direct-selected anchors of each path that has no selected segment as
|
||||
`path.removeAnchors` does (see Removing anchor points): the path stays joined, and the next anchor along is selected
|
||||
(the one before at an open path's end). When no subpath that lost an anchor keeps two anchors, the path stays selected
|
||||
whole, as `path.removeAnchors` leaves it, so the next Delete removes the whole path. Paths with a selected segment are
|
||||
cut there, and their selected anchors stay in the path, as with `keepJoined: false`; and objects selected whole are deleted, in the
|
||||
same undo step. `keepJoined` defaults to the `deleteKeepsPathsJoined` preference, and the value used joins the journal
|
||||
entry; a saved step without it opens the paths, as it did when it was recorded. With `ids`, `keepJoined` has no
|
||||
effect. A `keepJoined` value that is not a boolean is an error, with or without `ids`.
|
||||
|
||||
`edit.copy` takes a compound-path member selected on its own (whole or in part, with Direct or Group Selection) as an
|
||||
ordinary path with the compound's paint, transparency, opacity mask and fill rule. The path is linked to the compound's
|
||||
@@ -3892,13 +3965,12 @@ not included.
|
||||
|
||||
## Learn panel
|
||||
|
||||
Window › Learn and the Explore tutorials button beside the search field at the right end of the app bar show and hide
|
||||
the Learn panel. Its For you tab holds a Get started section with a Quick skill guide card; choosing the card opens
|
||||
Window › Learn shows and hides the Learn panel. Its For you tab holds a Get started section with a Quick skill guide card; choosing the card opens
|
||||
the Skills tab. The Skills tab lists VectorCraft's own skills, each with a progress ring and the count of its tutorials
|
||||
finished of all its tutorials. Choosing a skill lists its tutorials, choosing a tutorial shows its numbered steps, and
|
||||
Back goes up one level.
|
||||
The tutorial text is English. `window.learn {show?}` shows the panel (`show: true`), hides it (`show: false`) or
|
||||
toggles it (`show` omitted or null), and answers whether it shows; Window › Learn and Explore tutorials run it.
|
||||
toggles it (`show` omitted or null), and answers whether it shows; Window › Learn runs it.
|
||||
The panel counts as hidden while the dock is hidden or a full screen mode hides the panels. Showing it shows a hidden
|
||||
dock; in a full screen mode it makes Learn the front panel, which shows when the mode ends, and answers false. Any
|
||||
other value of `show` is an error and changes nothing. `learn.list {}` →
|
||||
@@ -5047,7 +5119,13 @@ already walks Image Trace. Short agent entry points:
|
||||
`paint.invert`, `paint.complement`, `paint.sampleColor`, `gradient.presets.apply`, a swatch or the Color Picker), and
|
||||
`paint.swap` or `paint.default` without `ids` or `id`, becomes the color the bucket paints with, and a stroke weight
|
||||
(`stroke.set`, `stroke.weightUp`, `stroke.weightDown`) becomes the weight it paints with. The selection keeps its
|
||||
paint, and no undo step is recorded. A null `ids` or `id` counts as left out. The Stroke panel's other options
|
||||
paint, and no undo step is recorded. A null `ids` or `id` counts as left out. The journal records each of these
|
||||
commands with `defaultsOnly: true`, and it records `library.use` with a color, gradient or pattern and
|
||||
`swatch.library.add` with `apply` the same way. A replay of the entry, or the same params sent with any tool active, changes
|
||||
only the defaults. `defaultsOnly` is a bool, and it is refused together with `ids`, `id` or an appearance `item` (`library.use` takes
|
||||
`item` as the library item to apply, which stays valid), and in `stroke.setAdvanced` together with `brush`. While the bucket is active, `defaultsOnly: false` without a target is
|
||||
journaled as `true`. A preview with `defaultsOnly: true` starts from the defaults the interaction began with, and
|
||||
canceling the interaction puts them back, also after a later preview without `defaultsOnly`. The Stroke panel's other options
|
||||
(`stroke.set`, `stroke.setAdvanced` without `brush`) change the stroke for new art and leave the selection as it is;
|
||||
the bucket takes only the color and weight of that stroke. A stop selected on the bucket's gradient
|
||||
(`gradient.selectStop`) is deselected when another tool is chosen, when the first selected object changes, when an
|
||||
@@ -5257,12 +5335,33 @@ on OK. Cancel restores the original artwork.
|
||||
|
||||
Each fill and stroke (and each character's fill and stroke) can overprint: its inks print over the inks below instead
|
||||
of knocking them out. `object.setOverprint {fill?, stroke?, item?, ids?}` sets it (groups set their contents, type its
|
||||
characters too; `item` aims at one appearance item) and `attributes.info {ids?}` reads it back (`null` where the
|
||||
characters too; `item` aims at one appearance item; without `item`, `fill` on a grayscale or 1-bit image colorized by
|
||||
`paint.setFill` sets whether its color overprints) and `attributes.info {ids?}` reads it back (`null` where the
|
||||
objects differ). Overprint Preview (`view.overprintPreview`) and Separations Preview show it; rendering approximates
|
||||
it by darkening (the stronger ink of each plate wins, so a colour overprinting itself stays that colour). Older files that listed Overprint Black objects in the document get the flags on load.
|
||||
it by darkening (the stronger ink of each plate wins, so a colour overprinting itself stays that colour). A colorized
|
||||
image overprints as a whole: when one of its fills or strokes with an opacity above 0 draws a shape (Convert to Shape
|
||||
or Outline Object) and does not overprint, the whole image knocks out in the previews and on printed plates. On
|
||||
printed plates an image whose pixels do not take its color (a preview of its file) knocks out and prints as those
|
||||
pixels. Older files that listed Overprint Black objects in the document get the flags on load.
|
||||
PDF export writes them with `advanced.overprint: "preserve"` (the default): each overprinting fill and stroke sets a
|
||||
graphics state with `/OP true /op true /OPM 1` (`/OPM 0` in PDF/A). With `discardWhiteOverprint` (`document.setup`, on by
|
||||
default) white ones knock out instead; `"discard"` writes none.
|
||||
default) paper white ones knock out instead; `"discard"` writes none. Paper white is solid white that is not a spot
|
||||
white. Spot white objects keep overprinting
|
||||
([white overprint](https://helpx.adobe.com/illustrator/desktop/manage-colors/apply-transparency-and-blending/white-overprint.html),
|
||||
[reference, White Overprint](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=650)).
|
||||
These are VectorCraft's own rules: a spot white is a white linked to a solid spot swatch at a tint above 0% (an opaque
|
||||
white ink, for example), so a 0% tint of a spot swatch is paper white, and so is a spot white that printed separations
|
||||
convert to process inks. A spot white's fills, strokes, characters and colorized image colors keep overprinting in PDF
|
||||
export, Overprint Preview, Separations Preview and printed separations, its fills, strokes and colorized image colors
|
||||
keep overprinting in composite print with Overprints set to Simulate, and Print Ink Fixes' `removeWhiteOverprint`
|
||||
leaves it overprinting. EPS export (`overprints: "preserve"`, the default) turns overprinting on for a colorized image's
|
||||
color as it does for fills and strokes, except a paper white color with `discardWhiteOverprint` on, which knocks out;
|
||||
EPS export applies `discardWhiteOverprint` to nothing else. PDF export writes an overprinting
|
||||
colorized image in a gray or CMYK color in only the process inks the color puts down, and EPS export does too (one
|
||||
DeviceN image at Level 3, one Separation image per ink at Level 2). The previews and printed separations show a
|
||||
colorized image knocking out when it has a visible effect of its own other than a warp or a geometry effect (a drop
|
||||
shadow, a glow, a raster effect or a color adjustment). PDF and EPS export leave raster effects out and still
|
||||
overprint such an image.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"object.setOverprint","params":{"ids":[12],"stroke":true}}}
|
||||
@@ -6014,23 +6113,40 @@ same extension and bytes as one there, loads as that User Defined library (categ
|
||||
is refused before it is read.
|
||||
From a document, such as a `.ai` or `.eps` swatch library, it reads the colors, tints, gradients and pattern swatches
|
||||
in the document's order and color groups; `swatch.library.add` brings a pattern swatch's pattern, with its tile and
|
||||
art, into the document as a pattern swatch under the library swatch's name and in its color group. A global or spot
|
||||
art, into the document as a pattern swatch under the library swatch's name. The swatch goes into its color group when
|
||||
`names` is left out or when the first entry of `names` that covers the swatch is its group; when that first entry is
|
||||
the swatch's own name, the swatch comes in ungrouped. A library swatch named after its
|
||||
pattern instead takes the name the pattern comes in under, when the pattern comes in under another name that no
|
||||
library swatch has and the swatch does not keep a free numbered name as described below. For such a swatch, when the
|
||||
document already has a swatch under any name that paints that pattern placed the same way, that swatch is used and
|
||||
nothing is added. Otherwise, when a
|
||||
swatch or color group of the document already uses that name, the swatch comes in under a numbered copy of it
|
||||
("Tiles 2 2"). A global or spot
|
||||
color the pattern's art links to keeps the library's color: when the document gives its name another color, it comes
|
||||
in under a numbered name ("Ink 2") and the pattern links to that. That numbered name skips the names the library
|
||||
gives its other swatches. A library color whose name the document gives
|
||||
another color is the document's numbered copy of the same color when it has one, so adding the pattern and its color
|
||||
again adds nothing. A pattern the document already holds with its art linked to the document's own color of that name
|
||||
is used as it is. A library tint or gradient whose global or spot color comes in under a numbered name, or is in the
|
||||
document as such a numbered copy, links to that copy, whether the color is picked before or after it, was added
|
||||
earlier or came with a pattern's art. A library global color is not the document's process color of the same name and
|
||||
paint: it comes in numbered. A global or spot color that a library tint or gradient links to and the document lacks
|
||||
comes in with the tint or gradient, under a numbered name when the document gives its name another swatch. The
|
||||
document's tint or gradient of the library one's name is that swatch when it links to the copy of the color that the
|
||||
art of a pattern picked with it takes; a numbered copy that the library also names stands for that library swatch
|
||||
otherwise. When the document's tint or gradient links to a color the document no longer has (deleted without
|
||||
unlinking), that color comes back under its own name. A pattern is found again when it was pasted with Add or Merge for all of its colors; one pasted
|
||||
with Merge for some colors and Add for others is added again as a copy. `added` lists the colors the pattern's art, a
|
||||
tint or a gradient brings too. A document with
|
||||
in under a numbered name ("Ink 2") and the pattern links to that. That numbered name, and the numbered names of a
|
||||
pattern swatch and of a pattern the art is painted with, skip the names the library gives its other swatches. A swatch
|
||||
of a numbered library name, such as a color or tint "Ink 2", that the pattern's art brings keeps that name when the
|
||||
document does not use it. Of two library swatches with one numbered name, the first one in the library keeps the name
|
||||
when the other is a swatch the pattern's art brings or a pattern swatch. A pattern the art is painted with keeps a
|
||||
numbered name; when the library's swatch of that name places the pattern otherwise, the swatch that comes with the
|
||||
pattern gets another name. When the document gives that name to another pattern, the pattern comes in under a new
|
||||
number, and its swatch keeps the library swatch's name when no swatch or color group uses it. A library color whose
|
||||
name the document gives another color is the document's numbered copy of the same color when it has one, so adding the
|
||||
pattern and its color again adds nothing; a numbered copy whose name the library gives another swatch, and which is
|
||||
that swatch, is not a copy of another color, whether or not the pattern's art uses that swatch. A pattern the document
|
||||
already holds with its art linked to the document's own color of that name, or to a numbered copy of the color as
|
||||
pasting leaves it, is used as it is, unless using it would give another swatch a name the library uses. A library
|
||||
tint or gradient whose global or spot color comes in under a numbered name, or is in the document as such a numbered
|
||||
copy, links to that copy, whether the color is picked before or after it, was added earlier or came with a pattern's
|
||||
art. A library global or spot color is not the document's color of the same name and paint when that color is of
|
||||
another kind (process, global or spot): it comes in numbered. A global or spot color that a library tint or gradient
|
||||
links to and the document lacks comes in with the tint or gradient, under a numbered name when the document gives its
|
||||
name another swatch. The document's tint or gradient of the library one's name is that swatch when it links to the
|
||||
copy of the color that the art of a pattern picked with it takes; a numbered copy that the library also names stands
|
||||
for that library swatch otherwise. When the document's tint or gradient links to a color the document no longer has
|
||||
(deleted without unlinking), that color comes back under its own name. A pattern is found again when it was pasted
|
||||
with Add or Merge for all of its colors; one pasted with Merge for some colors and Add for others is added again as a
|
||||
copy. `added` lists the colors the pattern's art, a tint or a gradient brings too. A document with
|
||||
no swatches, and a `.ai`, `.eps` or PostScript file whose swatches are only the default ones, are refused with
|
||||
"`<file>` has no swatches of its own", unless the document has graph designs: it then loads with no swatches. The
|
||||
Swatch Libraries filter of Other Library… lists `.ai`, `.ait` and `.eps` (`.epsf`) files as well as the library files.
|
||||
@@ -7111,6 +7227,8 @@ The anchor after each removed one is then selected (the one before at an open pa
|
||||
`path.removeAnchors` again goes on along the path.
|
||||
`path.removeAnchor {id, subpath?, anchor}` (the Delete Anchor Point tool) removes one anchor the same way, and
|
||||
`path.deleteAnchors {}` (the Delete key) deletes the selected anchors with their segments, opening closed paths there.
|
||||
With the `deleteKeepsPathsJoined` preference on, the Delete key (`edit.clear`) removes them as `path.removeAnchors`
|
||||
does instead.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"select.anchors","params":{"id":12,"anchors":[[0,1],[0,3]]}}}
|
||||
@@ -7317,7 +7435,15 @@ there too and a `brush.freehand` call does not change the path's brush or the se
|
||||
A `pointer_gesture` with `mods: {cmd: true}` held at the press, with any tool but the selection tools (Command on
|
||||
macOS, Ctrl elsewhere), drags with the selection tool chosen last (`select_tool`), or Direct Selection with the Pen,
|
||||
Curvature and anchor tools until one is chosen; the release gives the tool back as it was, so the Pen goes on drawing
|
||||
the path it had begun while that stays selected. Its reply's `tool` is the tool given back.
|
||||
the path it had begun while that stays selected. With Direct Selection or Group Selection, `mods.cmd` drags with the
|
||||
Selection tool (with Direct Selection and `mods.alt` held too, with Group Selection). With the Selection tool, it drags
|
||||
with Direct Selection or Group Selection, whichever was chosen last (Direct Selection until one is), except where the
|
||||
press lands on a selected object, or on a group holding a selected member, with another object under the pointer, away
|
||||
from its anchors, direction handles, mesh points, blend spine and the bounding box's handles and rotate zones, while
|
||||
`ctrlClickSelectsBehind` is on: there the Selection tool keeps the press and selects the object behind. A double-click
|
||||
or triple-click made with Cmd still held after Cmd-clicks goes to the tool the clicks went to, and one that follows a
|
||||
Cmd-click selecting behind keeps what that click selected, without isolating or editing. Its reply's `tool` is the tool
|
||||
given back.
|
||||
|
||||
`tool.selectLastSelection` (Select Last Selection Tool, `{}`) chooses the selection tool chosen last, as Ctrl+` does on
|
||||
Windows and Linux ([the help page](https://helpx.adobe.com/illustrator/using/default-keyboard-shortcuts.html) lists the
|
||||
@@ -7413,6 +7539,19 @@ own, and the corner keeps its place and the directions the path arrives and leav
|
||||
`fidelity`. A call that changes no anchor returns `{ids: [], before: 0, after: 0}` and adds no undo step. The 57.5°
|
||||
threshold is VectorCraft's own value.
|
||||
|
||||
`path.smoothRegion` keeps a subpath's result only when it is smoother. It measures the subpath and the result along
|
||||
lines between points on each curved segment, spaced about `step` apart along the segment's control polygon, where
|
||||
`step` is an eighth of `radius` or 1/512 of the diagonal of the box around the subpath's anchors and handles,
|
||||
whichever is smaller. The spacing is a target: each curved segment is cut into at least 4 and at most 1,024 pieces,
|
||||
and on a subpath of more than 256 segments into at most 262,144 divided by the number of segments (but never fewer
|
||||
than 4). The turning `t` is how far the path's direction turns along its length, in radians, with each turn at an
|
||||
anchor counted twice; the bending `b` is the sum of each turn between two pieces squared over their mean length.
|
||||
With `t0` and `b0` measured on the subpath, `t1` and `b1` on the result, and `s` the larger of `t0` and 1, the result
|
||||
is kept when `t1 <= t0 + 0.001 * s` and at least one of these holds: it has fewer anchors, `t0 - t1 >= 0.000001 * s`,
|
||||
or `b0 - b1 > 0.0001 * b0`. Any other result is dropped and the subpath stays as it was. A path none of whose subpaths is kept stays a Live
|
||||
Shape if it was one, is left out of `ids` and is not counted in `before` or `after`. The measure and both thresholds
|
||||
are VectorCraft's own.
|
||||
|
||||
In the desktop app, Object › Path › Smooth, the canvas context menu's Smooth… (listed while the selection holds a
|
||||
path) and the Contextual Task Bar's Smooth (with a path selected whole with the Direct Selection tool) open the
|
||||
slider (`ui.menuDialog {command: "object.path.smooth"}`, dialog `smoothSlider` with field `level`) at the
|
||||
@@ -7585,7 +7724,8 @@ setting (Smart Guides, Snap to Point, Snap to Grid, Snap to Pixel or a snapping
|
||||
pointer, the hover's preview, its protractor, its distance label and its Smart Guides are hidden until the pointer
|
||||
moves. When the view, the document or the selection changes, the canvas hovers the still pointer again. Shift does not constrain Quick Pen points, so it
|
||||
does not change the tick snapping. The
|
||||
protractor, its 15° step and the tick snapping are VectorCraft's own behavior.
|
||||
protractor, its 15° step and the tick snapping are VectorCraft's own behavior. A small cross marks the arc's center
|
||||
wherever the protractor shows; the cross is VectorCraft's own behavior too.
|
||||
|
||||
Selecting the tool shows its toolbar on the canvas: Straight Line, Continuous Arc and Sharp Corner Arc set `action`,
|
||||
Flip Arc flips the last sharp-corner arc as C does (`tool.quickPen.flipArc {}`, which first finishes any pending tool edit,
|
||||
@@ -7620,9 +7760,36 @@ the path. The command returns an error and changes nothing when both or neither
|
||||
an unknown `action`, a `turn` outside 1 to 359, a `flip` or `closed` that is not true or false, a `keep` outside 1 to
|
||||
the subpath's points, and for a closed subpath, a locked or hidden path or an `id` that is not a path.
|
||||
|
||||
Dragging the handle at the start or end of the path makes the line or arc there longer or shorter, as
|
||||
[Draw with the Quick Pen tool](https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html)
|
||||
describes. The tool shows a handle 20 screen points beyond each end of the path being drawn, along the direction the
|
||||
path leaves that end, where the end is a straight line or a circular arc; with no path being drawn, it shows them on
|
||||
each open subpath of the one editable path selected. A line keeps its other point and its direction. An arc keeps its
|
||||
other point, its circle and the way it turns, and its sweep follows the pointer around the circle, up to 359°. The
|
||||
dragged end stays on its line or circle and does not snap to Smart Guides, and a drag stops where the path would
|
||||
reach past the canvas. Each drag is one undo step, Escape during
|
||||
the drag takes it back, and the path being drawn goes on from the new end. The pieces of the path being drawn that the
|
||||
drag does not change stay pieces: C and `[` `]` still change the last one. The last piece, dragged by its end, stays
|
||||
that piece, and as an arc it keeps an arc size of at least 1°. C and `[` `]` do nothing until the drag ends, and the
|
||||
end goes where the pointer is let go. A click on a handle that does not drag is an ordinary
|
||||
click: it adds a point, closes the path or starts a new one. The handle's place, the 359° limit, the 1° minimum,
|
||||
Escape during a drag, the handles on a selected path and the dragged end not snapping are VectorCraft's own rules.
|
||||
|
||||
`path.quickPenLength {id, subpath?, end?, length}` does the same for scripts and agents: it makes the line or arc at
|
||||
`end` (`"end"`, the default, or `"start"`) of the open subpath `subpath` (0 when left out) `length` points long,
|
||||
selects the path, as one undo step, and answers `{id, kind, length}`, where `kind` is `"line"` or `"arc"`. The arc at an
|
||||
end is the run of segments before it that lie on one circle and turn the same way, as the Quick Pen draws them. A
|
||||
`length` the line or arc already has changes nothing and records no undo step. The command returns an error and
|
||||
changes nothing when `id` or `length` is missing, when `length` is not a number, is under 0.001, or is over 1000000
|
||||
for a line or over 359° of its circle for an arc, for an `end` other than `"start"` or `"end"`, an end that is neither
|
||||
a straight line nor a circular arc (`the end is not a straight line or a circular arc`), a result that would reach past
|
||||
the canvas, a closed subpath, a locked or hidden path, and an `id` that is not a path. For an arc, the error gives the
|
||||
359° limit in points, rounded down to the thousandth.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"path.quickPen","params":{"start":[100,100],"pieces":[{"x":200,"y":100},{"x":300,"y":200,"action":"continuousArc"},{"x":300,"y":300,"action":"sharpArc","turn":90,"flip":true}]}}}
|
||||
{"name":"run_command","arguments":{"command":"tool.setOption","params":{"tool":"quickPen","key":"action","value":"sharpArc"}}}
|
||||
{"name":"run_command","arguments":{"command":"path.quickPenLength","params":{"id":12,"end":"start","length":40}}}
|
||||
```
|
||||
|
||||
## Registration and trim marks
|
||||
@@ -7971,8 +8138,12 @@ outlining in red those that reach their limit; the Selection tool shows the widg
|
||||
the Direct Selection tool those of any path. `rectanglesOnly: true` sets them on the live rectangles among the targets
|
||||
alone and leaves the other objects as they are (the Rectangle Properties corner fields and menus send it with the
|
||||
selection, so an action that records them acts on the rectangles selected when it plays). Several objects each with their own corners are one call:
|
||||
`items: [{id, corners?}]` in place of `ids` and `corners`. Alt-clicking one cycles their kind and double-clicking one opens Corners (`ui.corners {id?, corners?}`,
|
||||
dialog `corners`: `kind`, `radius`; OK runs `object.setLiveShape`).
|
||||
`items: [{id, corners?}]` in place of `ids` and `corners`. Alt-clicking one cycles their kind. Double-clicking one with Direct Selection opens Corners (`ui.corners {id?, corners?}`,
|
||||
dialog `corners`: `kind`, `radius`; OK runs `object.setLiveShape`). Double-clicking a selected live shape's corner
|
||||
widget with the Selection tool shows and selects the Transform panel, as the Rectangle, Rounded Rectangle, Ellipse,
|
||||
Polygon and Star tools do. With the headless backend, the `pointer_gesture` reply carries `{"panel": "transform"}` in its
|
||||
`requests`; the desktop app runs `window.panel.activate {"panel": "transform"}` instead, and its reply has no `requests`. The tool, the selection and the document stay as they are, and
|
||||
no undo step is added.
|
||||
`view.shapeWidgets {on?}` (desktop app, the Hide Shape Widgets and Show Shape Widgets button in the Control bar of the
|
||||
Rectangle, Rounded Rectangle, Ellipse, Polygon and Star tools) hides or shows the corner widgets of selected live
|
||||
rectangles and polygons, the pie widgets of live ellipses and the side widget of a live polygon, for the Selection tool
|
||||
@@ -8105,7 +8276,9 @@ and each item runs its command.
|
||||
|
||||
The Align panel's Align To choices are UI commands too, with no params: `align.toSelection`, `align.toKeyObject` and
|
||||
`align.toArtboard`. Each chooses what a click on its Align To button chooses and returns `{alignTo}`, the choice the
|
||||
panel then shows (`align.toSelection` returns `"artboard"` while one object is selected, which aligns to the artboard).
|
||||
panel then shows (`align.toSelection` returns `"artboard"` while one object is selected with no anchor points selected
|
||||
and the Artboard tool is not chosen, which aligns to the artboard; it returns `"selection"` while anchor points are
|
||||
selected with Direct Selection, which align to each other, and with the Artboard tool chosen).
|
||||
`align.toSelection` and `align.toArtboard` store the choice (`ui.inspect` › `ui.align_to`) and let the key go; with the
|
||||
Artboard tool chosen they store it and the selected objects keep their key. With no key, `align.toKeyObject` makes the
|
||||
topmost of two or more selected objects the key object, or a ruler guide selected with one object the key guide, and
|
||||
@@ -8511,6 +8684,12 @@ The Selection & Anchor Display and General preferences apply to `pointer_gesture
|
||||
as it did when it was recorded. Align and
|
||||
Distribute, and the anchors of type paths and area type frames (`text.reshapePath`, `text.reshapeArea`), move as
|
||||
before. Off, the handles of a moved anchor move with it and the other handles stay where they are.
|
||||
- `deleteKeepsPathsJoined` (General › Delete Removes Anchor Points and Keeps Paths Joined, off by default): the
|
||||
default of the `keepJoined` param of `edit.clear` (Delete, Backspace, Edit › Clear, and the Layers panel's Delete
|
||||
button while no row is highlighted). On, Delete removes the direct-selected anchors of a path as `path.removeAnchors` does, refitting the curve
|
||||
around each one, so a closed path stays closed and an open path stays in one piece; a path left with fewer than two
|
||||
anchors is deleted. The next anchor along (the one before at an open path's end) is then selected, so the next
|
||||
Delete goes on along the path. Off, Delete deletes the anchors with their segments and opens the path there.
|
||||
- `hideCornerWidgetAbove` (177° by default): corners wider than this show no Live Corners widget (a rectangle's right
|
||||
angles hide below 90°).
|
||||
- `transformPatternTiles` (off by default): the default of the transforms' `patterns` param (`object.transform`,
|
||||
@@ -9037,6 +9216,11 @@ paper colour), the flattener preset and Discard White Overprint (Overprint Previ
|
||||
it is on), the type options (language and its quotes, Use Typographer's Quotes for typed straight quotes and a typed `”` where a quote opens, superscript, subscript
|
||||
and small caps proportions, SVG text export), the background contents (white: raster exports are white behind the
|
||||
art) and Align New Objects to Pixel Grid (see [Align New Objects to Pixel Grid](#align-new-objects-to-pixel-grid)).
|
||||
`outlineImages` is Show Images in Outline Mode. While it is off, Outline mode draws a linked image's frame crossed
|
||||
from corner to corner, and a placed document as its box crossed the same way without its art; an embedded image
|
||||
shows its frame alone. Not yet: a placed document with an effect that changes geometry, its own or its group's, is
|
||||
not crossed and draws its file's art reshaped by the effect. While it is on, images show their pixels in gray and
|
||||
placed documents show their art.
|
||||
Pass any of these keys to change them in one undo step; `document.setUnits` stays as an alias for `units`.
|
||||
A file whose bleed (0 to 72 pt a side), superscript and subscript sizes (1 to 500%) and positions (-500 to 500%) or
|
||||
small caps size (1 to 200%) lies outside those ranges opens with the nearer end of each range.
|
||||
@@ -9095,7 +9279,7 @@ area, in a grid of as many columns as the square root of the number of windows,
|
||||
its pane. Each view of a document counts as a window (see `window.newWindow` below). With fewer than two windows open it
|
||||
leaves the view, `tiled` and the layout as they are. It returns
|
||||
`{tiled, panes, layout}`. `window.arrange.tile {layout}` picks another layout, as the other Tile items of Window ›
|
||||
Arrange and of the application bar's Arrange Documents button do: `grid` (the default), `vertical` (Tile All
|
||||
Arrange do: `grid` (the default), `vertical` (Tile All
|
||||
Vertically: side by side in one row), `horizontal` (Tile All Horizontally: stacked in one column), and `2up`, `3up`,
|
||||
`4up` and `6up`, which show at most that many windows (2-Up and 3-Up side by side, 4-Up two by two, 6-Up three by
|
||||
two) and leave the others under their tabs. Those layouts show the first windows in tab order, and the current
|
||||
@@ -9262,7 +9446,7 @@ unless `link: false`; a Photoshop document as its merged image), an SVG as one g
|
||||
and swatches it uses. A VectorCraft document read from `path` is a placed document: one locked object showing its
|
||||
artboard `page` (or, with `crop: "bounding"`, its art's bounds), linked to the file and read again when it changes
|
||||
(see Linked images), and vectors in every output; with `link: false` (or from `dataBase64`) it is an editable copy
|
||||
of its art, as one clipped group. A PDF, `.ai` or `.ait` page read from `path` (with neither `password` nor
|
||||
of its art, as one clipped group. A PDF, `.ai` or `.ait` page read from `path` (with neither a non-empty `password` nor
|
||||
`textAs: "outlines"`) is a placed document the same way, showing page `page` clipped to its `crop` box (or its
|
||||
art's bounds); with `link: false` it is placed as one clipped group. An EPS file, a PostScript file or a PostScript `.ai` read from `path` is a placed document
|
||||
too, showing the art `link: false` places (clipped to its bounding box, or its art's bounds with `crop: "bounding"`);
|
||||
@@ -9288,7 +9472,7 @@ file's composite is drawn through clips the image (a clipping group, its path un
|
||||
clipping path kept as the same area), and `file.place` answers the image's id as
|
||||
`image`, since the Links commands take the image and not the group. `links.update` and `links.relink` clip the image
|
||||
by the file's clipping path again (a plain group holding just the image becomes its clipping group, a new clipping group holds it when no group does, and it goes inside a clipping mask made in the
|
||||
document, whose path is kept), the same way for the images in symbols, graph designs, patterns and opacity masks. When Placement Options also clip the image, the file's clipping group goes inside a clipping group of the placement's clip (the clipping group holding just the file's one, or a clipping group holding just the image that is not the file's, takes that clip, else a new one does), and a later update or relink changes the same two groups; when the new file has no
|
||||
document, whose path is kept unless the mask holds just the image and its clipping path is a single path, not a compound path or text, that matches the old file's clipping path and fill rule, when it takes the new file's path), the same way for the images in symbols, graph designs, patterns and opacity masks. When Placement Options also clip the image, the file's clipping group goes inside a clipping group of the placement's clip (the clipping group holding just the file's one, or a clipping group holding just the image that is not the file's, takes that clip, else a new one does), and a later update or relink changes the same two groups; when the new file has no
|
||||
clipping path, a clipping group holding just the image whose path is the old file's clipping path loses that path and
|
||||
stays as a plain group of the image, with its id, name, visibility and transparency (one whose path was given the
|
||||
even-odd fill rule stays as it is). The link shows as modified when a plate file of its own changes
|
||||
@@ -9335,7 +9519,7 @@ slices (Place PSD). `showImportOptions: false` places such a file without asking
|
||||
its dialog: the text options, the DXF fit, lineweight, centering and layer choices with the drawing at 1:1 in its own
|
||||
unit, and the PSD conversion, hidden-layer and Import Slices choices. A PDF is placed on page 1 (or `page`) and its
|
||||
crop box, and an encrypted PDF given no
|
||||
`password` still asks for the password. An encrypted PDF given a `page` and no `password` asks for the password with
|
||||
`password` (or an empty one) still asks for the password. An encrypted PDF given a `page` and no `password` asks for the password with
|
||||
Show Import Options on too, and places that page. A `showImportOptions` that is not true or false is refused, and nothing is placed. The
|
||||
Place dialog (File › Place, or `file.place {paths}`) has a Show Import Options checkbox after Link, Template and
|
||||
Replace ([Place multiple files in a document](https://helpx.adobe.com/illustrator/desktop/add-and-import-files/import-other-file-types/place-multiple-files-in-a-document.html)).
|
||||
@@ -9596,22 +9780,49 @@ page in the page's order, and no entries for objects or the view: Cut (`artboard
|
||||
(`edit.paste`), Undo, Redo, New Artboard (`artboard.new`), Duplicate Artboards (`artboard.duplicate`), Rename
|
||||
(`artboard.rename`), Delete Artboards (`artboard.delete` with `indices`), Delete Empty Artboards
|
||||
(`artboard.deleteEmpty`), Select All Artboards (`artboard.selectAll`), Lock Artboards and Unlock Artboards
|
||||
(`artboard.setProps` with `locked`), Rearrange (`artboard.rearrange`), Fit to Artwork Bounds (`artboard.fitToArt`),
|
||||
Switch Orientation (`artboard.switchOrientation`), Artboard Options (`tool.options {tool: "artboard"}`) and Export
|
||||
(`file.exportForScreens`). Exit Isolation Mode and the Unlock submenu for locked objects under the pointer follow them.
|
||||
Cut, Copy, Duplicate Artboards, Rename, Delete Artboards, Lock Selected, Unlock Selected, Fit to Artwork Bounds, Switch
|
||||
Orientation and Export act on the artboards the tool has selected, else the active one. Artboard Options opens on the
|
||||
active artboard. New Artboard, Paste, Undo, Redo, Delete Empty Artboards, Select All Artboards and Rearrange do not act on
|
||||
the selected artboards. Lock All and Unlock All act on every artboard, and Lock All Except Selected acts on the artboards
|
||||
that are not selected. A right-click on an artboard that is not selected first selects it alone. An entry that cannot
|
||||
run is left out: Cut with a locked artboard or every artboard selected, Delete Artboards with no artboard to delete, Select All Artboards with every artboard selected, Rearrange with
|
||||
one artboard, Fit to Artwork Bounds with no art on a selected unlocked artboard, Switch Orientation with no selected
|
||||
artboard to change, and a lock entry with no artboard to change. The menu measures the art for Delete Empty Artboards and
|
||||
(`artboard.setProps` with `locked`), Rearrange (`artboard.rearrange` with `indices`), Fit to Artwork Bounds
|
||||
(`artboard.fitToArt`), Switch Orientation (`artboard.switchOrientation`), Artboard Options
|
||||
(`tool.options {tool: "artboard"}`) and Export (`file.exportForScreens`). Exit Isolation Mode and the Unlock submenu
|
||||
for locked objects under the pointer follow them. Cut, Copy, Duplicate Artboards, Rename, Delete Artboards, Lock
|
||||
Selected, Unlock Selected, Rearrange, Fit to Artwork Bounds, Switch Orientation and Export act on the artboards the tool
|
||||
has selected, else the active one. Artboard Options opens on the active artboard. New Artboard, Paste, Undo, Redo,
|
||||
Delete Empty Artboards and Select All Artboards do not act on the selected artboards. Lock All and Unlock All act on
|
||||
every artboard, and Lock All Except Selected acts on the artboards that are not selected. A right-click on an artboard
|
||||
that is not selected first selects it alone. An entry that cannot run is left out: Cut with a locked artboard or every
|
||||
artboard selected, Delete Artboards with no artboard to delete, Select All Artboards with every artboard selected, Fit
|
||||
to Artwork Bounds with no art on a selected unlocked artboard, Switch Orientation with no selected artboard to change,
|
||||
and a lock entry with no artboard to change. The menu measures the art for Delete Empty Artboards and
|
||||
Fit to Artwork Bounds once, at the right-click. Paste centers copied artboards on the right-click's point
|
||||
(`edit.paste {artboardsAt: [x, y]}`) and centers copied objects there too (`center`). Chosen from a menu or the command
|
||||
palette with the tool in use, `artboard.new` makes the new artboard active, `artboard.duplicate` selects the copies,
|
||||
and `artboard.delete` and `artboard.deleteEmpty` make a remaining artboard active.
|
||||
|
||||
Rearrange for selected artboards: the
|
||||
[Rearrange artboards](https://helpx.adobe.com/illustrator/desktop/create-manage-artboards/organize-manage-artboards/rearrange-artboards.html)
|
||||
help page describes rearranging only the artboards picked with the Artboard tool, with the same layout, order, count,
|
||||
spacing and move-artwork choices as for all artboards, and a click on the canvas that puts the arrangement in place.
|
||||
`artboard.rearrange {indices: [n…]}` lays out only those artboards (zero-based, sorted, an index given twice counts once),
|
||||
in document order, and leaves every other artboard, its art and its guides where they are; `at: [x, y]` puts the
|
||||
grid's top-left there, else at the first listed artboard's top-left. A listed locked artboard stays where it is and
|
||||
keeps its cell. With `moveArtwork`, an object moves with the listed artboard its center is on; an object whose center
|
||||
is on another artboard stays. `indices` that is not a list, an empty list, an entry that is not a whole number and an
|
||||
`at` that is not [x, y] are refused before anything moves, and an index past the last artboard is `no such artboard`.
|
||||
The reply adds `indices` and `moved`, the number of artboards that moved; with none moved (every listed artboard
|
||||
locked, or already in place) no undo step is recorded. Without `indices` the command lays out every artboard, and its
|
||||
reply is `{artboards, rows, columns}`; `at` there puts the grid's top-left at `at` too. In the desktop app, the
|
||||
Artboard tool's canvas menu and Contextual Task Bar (Rearrange), and while the Artboard tool is in use the Artboards
|
||||
panel's menu (Rearrange…), open the Rearrange dialog (kind `rearrangeArtboards` with field `indices`) for the
|
||||
artboards the tool has selected, showing their count. With another tool Rearrange… is off. The panel's Rearrange
|
||||
button stays Rearrange All Artboards. Its OK changes nothing yet: the grid's outline follows the pointer, and the
|
||||
next press on the canvas runs `artboard.rearrange` with `indices` and `at` at the press, as one undo step. Enter, when
|
||||
no other control has the keyboard focus, runs it with `at` at the pointer over the canvas, else without `at` (the grid at the first selected artboard's top-left).
|
||||
A press with Space held pans or zooms as usual and places nothing. Esc, another tool or another document cancels it
|
||||
without an edit. The status bar reads "Click on the canvas to place the
|
||||
artboards (Esc cancels)" meanwhile. The top-left reference point, the outline, the fallback to the first artboard's
|
||||
corner and the rules for locked artboards and art on other artboards are VectorCraft's own. Object › Artboards ›
|
||||
Rearrange All Artboards…, the Artboards panel's Rearrange All Artboards… and the Properties panel's Rearrange All still
|
||||
lay out every artboard at once.
|
||||
|
||||
Locked artboards: `artboard.setProps {index, locked: true}` locks an artboard and `{index, locked: false}` unlocks it,
|
||||
each in one undo step. The Artboards panel's lock column, left of a row's options icon, shows a lock on a locked
|
||||
artboard, and a click there runs this command. A locked artboard keeps its place and size. `artboard.setProps` with a
|
||||
@@ -10235,9 +10446,15 @@ type in a mask or in a symbol's or pattern's art once however many objects show
|
||||
(`[{font, match, family, style, file, embedding}]`: each font of `fonts`, in order, as the fontDetails category's rows give it: `match` is `exact`, `style` (a style the family lacks, shown in
|
||||
`family` `style`), `missingWithFallback` (not installed, shown in `family` `style`) or `missing`; `file` is the face's
|
||||
file name, null for a built-in face; `embedding` is `allowed`, `editing`, `previewPrint` or `forbidden`, null when no
|
||||
face is found), `imageObjects` (`[{name, width, height, linked, file}]`: the image objects in the order the
|
||||
linkedImages and embeddedImages categories list them, with the file a linked image's row shows and null for an
|
||||
embedded one), `document.unitId` (the document's units as Preferences › Units names them, such as `millimeters`, beside
|
||||
face is found), `imageObjects` (`[{name, width, height, linked, file, format, effectivePpi, memoryBytes,
|
||||
storedBytes}]`: the image objects in the order the linkedImages and embeddedImages categories list them, with the file
|
||||
a linked image's row shows and null for an embedded one; `format` is a linked image's file format by its extension,
|
||||
else the format of the pixels the document holds, null when neither is known; `effectivePpi` is `[x, y]`, the pixels
|
||||
per inch at the size the image is placed at (a distorted image measured at its middle), null when it has no area;
|
||||
`memoryBytes` is, for an embedded image, width × height × 4, the bytes of the 8-bit RGBA pixels it is drawn from, and
|
||||
`storedBytes` is the bytes of the encoded image the document holds; both are null for a linked image; a linkedImages row reads
|
||||
`PNG; 1200 × 800 px; 150 ppi — /art/photo.png` and an embeddedImages row `PNG; 1200 × 800 px; estimated memory 3.7 MiB`,
|
||||
with `Unknown format`, `resolution unavailable` or `memory unavailable` for a value that is null), `document.unitId` (the document's units as Preferences › Units names them, such as `millimeters`, beside
|
||||
the English `document.units`), `document.transparency` (`{gridSize, gridColors, gridColorsName, simulatePaper,
|
||||
flattenerPreset}`: File › Document Setup's transparency settings, the grid's size (`small`, `medium` or `large`), its
|
||||
two colors as `#rrggbb`, their preset's name or `Custom`, Simulate Colored Paper and the flattener preset, which the
|
||||
@@ -10536,6 +10753,20 @@ DSC: `%%Pages` is the page count (copies included), each `%%Page` sets its paper
|
||||
(`setflat`), negatives invert the transfer, and the marks print in Registration. PostScript has no transparency: it
|
||||
is flattened first with `flattenerPreset` (`medium` by default; `high`, `low` or a saved one), with a warning.
|
||||
|
||||
The Graphics section's Fonts setting (`settings.graphics.fonts`) sets how the PostScript file carries type in a solid
|
||||
fill, as [the help page](https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=418)
|
||||
describes the three choices. `subset` (the default) defines, in each page's setup, Type 3 fonts drawn from the face's
|
||||
outlines that hold only the glyphs that page shows; copies and plates of a page define them again. `complete` defines
|
||||
every glyph of each face the job shows once, in the job's setup, before the first page, and the job fails with an
|
||||
error when those definitions would take more than 64 MB. `none` sends no font program: each page asks for the printer's
|
||||
copy of the font by its PostScript name (`%%DocumentNeededResources`, `%%IncludeResource`) and gives each glyph's name
|
||||
in an encoding, and a note names every font the printer needs. The file lists the fonts it sends in
|
||||
`%%DocumentSuppliedResources`. Type that the fonts don't carry prints as outlines, as before: type in a gradient or
|
||||
pattern, color glyphs, glyphs bent along a curved path, ruby, and with `none` a glyph the font gives no name. So does type in a
|
||||
font whose license forbids embedding, and, with `subset`, a font that may only be embedded whole; both with a warning
|
||||
naming the font. With any of the three, PDF output embeds subsets of the fonts whose licenses allow it and draws the
|
||||
others as outlines, and `none` or `complete` adds a note saying so.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"file.print","params":{"path":"/tmp/job.ps","level":2,"settings":{"output":{"mode":"separations"}}}}}
|
||||
```
|
||||
@@ -10950,7 +11181,13 @@ fill's, each stroke's, a group's members') is its own mesh, with a two-sided mat
|
||||
(a gradient's stops averaged, a pattern gray); a solid with mapped graphics is split into a textured mesh for each face
|
||||
that carries them and a plain mesh for the rest, as described below. The mesh holds the solid's faces before they are projected onto the
|
||||
page, those turned away from the viewer included, at the object's 3D rotation, y up, about the point the object turns
|
||||
about: in points (USD's layer gives `metersPerUnit`), in meters in glTF. Files that would share a name get `-2`, `-3` and so on.
|
||||
about: in points (USD's layer gives `metersPerUnit`), in meters in glTF. Each corner's normal is its face's, except
|
||||
where two bands of one bevel meet at a turn of less than 60° (neither band lying flat toward the front or back) and on
|
||||
Inflate's puffed front and back: there the normals are smoothed, and an app that reads them shades a rounded bevel or a
|
||||
puff without facets ([three-d.md](three-d.md#3d-meshes)). Every corner also has texture coordinates from 0 to 1
|
||||
(`vt`, `TEXCOORD_0`, `primvars:st`), laid out for each kind of face as three-d.md describes. A mesh whose lists do not
|
||||
match, or that holds a value that is not a number, stops the export with "The 3D object's mesh is incomplete or holds a
|
||||
value that is not a number", and nothing is written. Files that would share a name get `-2`, `-3` and so on.
|
||||
Graphics mapped onto a plane or onto Extrude & Bevel's front or back cap (`threeD.mapGraphic`) are exported as a PNG
|
||||
texture of that face: the face's color with its graphics drawn over it, flat and unlit, on a mesh of the face's own
|
||||
triangles with texture coordinates and a material that shows the texture. A face that is not opaque keeps its opacity
|
||||
@@ -12417,10 +12654,10 @@ default) its fonts join the document's, replacing a font of the same name, as on
|
||||
only returns them. Opening a `.vccomposite` file imports it.
|
||||
|
||||
Type › Composite Fonts… (shown with Show East Asian Options) opens the Composite Fonts dialog on the document's fonts:
|
||||
Font picks one, and a table sets each class's and each custom set's font, style, size, baseline and scales. New adds a
|
||||
font based on the one picked, Delete Font takes it out, Import… adds the fonts of a file and Export… writes the one
|
||||
picked. Custom shows the font's custom character sets: Character Set picks one, New adds a set based on the one picked,
|
||||
Delete Set takes it out, and Name renames it. Character › Direct Entry adds the characters typed, and Character ›
|
||||
Composite Font picks one, and a table sets each class's and each custom set's font, style, size, baseline and scales. New adds a
|
||||
font based on the one picked, Delete takes it out, Load… adds the fonts of a file, Replace… takes the fonts of a file in
|
||||
place of the dialog's and Save… writes the one picked. Custom shows the font's custom character sets: Character Set picks
|
||||
one, New adds a set based on the one picked, Delete takes it out, and Rename renames it. Character › Direct Entry adds the characters typed, and Character ›
|
||||
Unicode adds the characters of hexadecimal codes (`3042`, `U+3042`, several separated by spaces or commas); Add skips
|
||||
characters the set already lists. Delete takes the character picked out of the set. Show Sample (Hide Sample when it
|
||||
shows) draws the font picked in a line of sample text, with the first character of each custom set added, and a button
|
||||
@@ -12944,6 +13181,13 @@ per glyph. A line splits where its type stops drawing the outlines in place, and
|
||||
tracking their own gaps give. These rules are VectorCraft's own. Each entry of the result's `fonts` list has
|
||||
`tracking`.
|
||||
|
||||
No retyped line starts with a combining mark (Unicode general category Mn, Mc or Me). When a shape would start a line
|
||||
and the first 16 glyphs it matches include another character's glyph, it starts the line as that character. When they
|
||||
are all marks, the shape stays an outline and is listed in `unmatched`, and the glyph after it starts the line. The
|
||||
same holds for a mark at the start of a part that a split leaves: it becomes that other character on a line of its
|
||||
own, or stays an outline. A mark that follows another glyph on its line is retyped with
|
||||
that glyph. This rule is VectorCraft's own.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"type.retype","params":{}}}
|
||||
```
|
||||
@@ -12980,7 +13224,8 @@ name. `count` is a whole number from 1 to 96 (default 10); any other value is an
|
||||
`{fonts: [{family, style, matched}], shapes, more, truncated}`: `matched` is the number of shapes the font matches,
|
||||
`shapes` the number of shapes compared, `more` is true when more fonts match than `count`, and `truncated` is true when
|
||||
shapes past the limits of `type.retype` were left out. Shapes that `type.retype` would keep as outlines because of
|
||||
their paint still count. The command does not change the document and records no undo step. With no path or compound
|
||||
their paint still count. A font whose glyphs match the shapes only as combining marks is not listed. The
|
||||
command does not change the document and records no undo step. With no path or compound
|
||||
path selected it is an error.
|
||||
|
||||
Window › Retype shows the Retype panel. Find Matching Fonts runs `retype.find {}`, which shows the panel, ranks up to
|
||||
@@ -13430,7 +13675,8 @@ while it changes it, so installs, removals, grants and plug-in settings from two
|
||||
be locked, `plugin.install` and `plugin.remove` fail and change nothing:
|
||||
`plugin.install {path | dataBase64}` installs one, `plugin.list` / `plugin.info {id}` describe them (parameters,
|
||||
schema, defaults). An object filter runs on the selected paths and compound paths with `plugin.run {id, params}` (one
|
||||
undo step; it may change, delete or add objects, and the result is selected). A filter whose manifest lists `inputs`
|
||||
undo step; it may change, delete or add objects, and the result is selected; a run that changes no object and no kept
|
||||
data records no undo step and leaves the document unmodified). A filter whose manifest lists `inputs`
|
||||
(`type`, `image`, `symbolInstance`; `inputs` in its `plugin.list` entry) also lists `doc.read` in its `permissions`, so
|
||||
installing it needs a person's approval. It is also given the selected objects of those kinds to read, in paint order from the
|
||||
bottom, with at most 16 MiB of pixels and 16 MiB of type runs over one run (an object that doesn't fit what the objects
|
||||
@@ -13547,7 +13793,9 @@ changes nothing when a new `pluginsFolder` is missing, is not a folder or can't
|
||||
value or the folder the preference already holds, and the web build does not check folders.
|
||||
A filter or live effect may declare commands of its own ([plugins.md](plugins.md#commands)): each is the command
|
||||
`plugin.<id>.<command>` while the plug-in is installed, listed by `command_list` and in its `plugin.list` entry
|
||||
(`commands: [{id, command, label, params, paramsSchema}]`). Run it with `{ids?, params?}` (its parameters may also
|
||||
(`commands: [{id, command, label, params, paramsSchema, menu?}]`; `menu`, `{path, after?, placed?}`, is the menu its
|
||||
manifest places it in, with `placed: false` when the command stays in its plug-in's submenu, see
|
||||
[plugins.md](plugins.md#placing-a-command-in-another-menu)). Run it with `{ids?, params?}` (its parameters may also
|
||||
be top-level keys): the parameters are checked before the plug-in runs, a run is one undo step named after the
|
||||
command, and a run that traps or runs out of its instruction budget returns an error that starts with the plug-in's
|
||||
name and the command's label and leaves the document and the undo history as they were. For `plugin.run` and plug-in
|
||||
@@ -15108,6 +15356,30 @@ Commands:
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"addon.pathtools.boundingCircle","params":{"offset":2}}}
|
||||
```
|
||||
- `addon.pathtools.inscribedCircle {}` draws the largest live circle inside each selected closed path or compound
|
||||
path (Object › Plug-ins › Path Precision Tools › Add Inscribed Circle, #6966). Its center is the shape's
|
||||
[pole of inaccessibility](https://en.wikipedia.org/wiki/Pole_of_inaccessibility). A path of a compound path
|
||||
selected on its own counts as a path. The circle lies in the area the shape fills under its fill rule: holes and the
|
||||
overlaps of crossing subpaths count as the fill shows them, and strokes and effects are left out. The command
|
||||
flattens the outline to within 0.005 pt and searches square cells best first to within 0.01 pt, then measures the
|
||||
radius from the center to the curves, so before the circle is drawn its radius is within 0.02 pt of the largest.
|
||||
When the box of the filled area is less than 10 pt across on its narrower side, the search and the flattening use
|
||||
a thousandth and a two-thousandth of that side, and the radius is within a five-hundredth of it. A curve whose
|
||||
control polygon is longer than 4096² times the flattening tolerance (83,886 pt at 0.005 pt) is flattened more
|
||||
coarsely, and the circle can be smaller by as much. A curved hole narrower than the flattening tolerance can also
|
||||
make it smaller. A shape that flattening would close up or move off its curves is flattened finer, down to 1/65,536
|
||||
of the tolerance. The drawn circle's four curves reach up to 0.03% of its radius past a true circle, so the command
|
||||
draws it 0.03% smaller, and it stays inside where it touches the shape. Holes and gaps narrower than 1e-6 pt close
|
||||
up, and edges can move by as much, as in the other path operations. The circles get the current paint and go on
|
||||
top of the current layer, or of the isolated group, as other new art does; inside an isolated compound path they
|
||||
join it and take its appearance. The new circles are selected, and one undo removes them all. It is an error,
|
||||
with the document unchanged, when a selected object is not a closed path or compound path ("object N is not a
|
||||
closed path or compound path"; an open path has no inside), when it fills no area ("object N fills no area"), and
|
||||
when its outline has more than 262,144 anchors (in subpaths of two or more) or more than 262,144 straight pieces
|
||||
once flattened, or the searches of all the selected objects together measure more than 134,217,728 distances from
|
||||
a point to an edge, or one search keeps more than 1,048,576 cells waiting, or the shape is so thin for its length
|
||||
that it flattens to no area even at the finest tolerance ("object N is too complex to measure").
|
||||
→ `{id: the first circle, ids}`
|
||||
|
||||
A parametric shape is an ordinary path. It keeps its numbers, with a fingerprint of the outline they drew, in one
|
||||
entry of its object data (`vc-pathtools-shape`, as `document.node` lists `attrs.data`), which SVG export leaves out;
|
||||
@@ -15583,7 +15855,7 @@ document's inks for print, as one undo step:
|
||||
| `scope` | `selection`, `document` (the selection, or the document while nothing is selected) | What it fixes; `ids` stand for the selection |
|
||||
| `inkLimit` | total ink % 1…400, 0 off (off) | CMYK colours (solid, gradient stops, gradient meshes) with more ink than this are scaled down to it; colours of spot swatches and Registration stay |
|
||||
| `excludePureBlack` | bool (true) | Black-only CMYK and grey colours keep their ink |
|
||||
| `removeWhiteOverprint` | bool (false) | White fills and strokes, and characters', stop overprinting |
|
||||
| `removeWhiteOverprint` | bool (false) | White fills and strokes, characters' and the white color of a colorized image stop overprinting; a white linked to a spot swatch at a tint above 0% is an ink and keeps overprinting |
|
||||
| `overprintBlack` | black % 1…100, 0 off (off) | Black-only and grey fills and strokes this dark or darker overprint, as `edit.colors.overprintBlack` sets it (not spot-linked or rich blacks) |
|
||||
| `textOnly` | bool (false) | Overprint Black on type only |
|
||||
| `fill`, `stroke` | bool (true) | Which paints the fixes reach |
|
||||
|
||||
+89
-15
@@ -8,7 +8,8 @@ sandbox, same manifest and parameter schema), extended for vector documents.
|
||||
There are four kinds of plug-in:
|
||||
|
||||
- **Object filters** read the selected paths and compound paths (geometry, fills, strokes, gradients, opacity)
|
||||
and return the objects to keep, change or add. A run is one undo step. Use them for recolouring, path
|
||||
and return the objects to keep, change or add. A run is one undo step, and a run that changes nothing records
|
||||
none. Use them for recoloring, path
|
||||
clean-up, halftones, generative patterns and the like.
|
||||
- **Live effects** rewrite one object's geometry each time it is drawn, from its appearance stack, like the
|
||||
built-in Distort & Transform effects. The art stays editable: move or reshape it and the effect follows. A live
|
||||
@@ -29,7 +30,7 @@ in `crates/engine/src/cmd/plugin.rs`).
|
||||
|---|---|---|
|
||||
| `plugin.list` | `{}` | `{"plugins": [{id, name, version, kind, author, description, params, paramsSchema, effect?, format?, extensions?, budget?, commands?, commandAllowlist?, size, source, api, paintOutput?, permissions, hash, cacheBytes}], "folder": report}` (`api` is the manifest's [plug-in API level](#permissions); `budget: "heavy"` for a [heavy filter](#heavy-filters); `commands` lists its [commands](#commands); `commandAllowlist` lists the commands it may [call](#command-calls); `paintOutput: true` marks a [painted live effect](#painted-live-effects); `permissions` lists what it [may do](#permissions), `hash` is the module's SHA-256; `cacheBytes` is the size of its [cache](#settings-and-cache)) |
|
||||
| `plugin.info` | `{"id"}` | One plug-in: the `plugin.list` entry plus `manifest`, `defaults` and `lastError` (a live effect's last failure). |
|
||||
| `plugin.run` | `{"id", "params"?: {…}, "ids"?: [...]}` (plug-in params may also be top-level keys) | Runs an object filter on the selection (or `ids`; an `ids` that is not a list of object ids is an error). One undo step; the result is selected, except the objects it locked or made guides. |
|
||||
| `plugin.run` | `{"id", "params"?: {…}, "ids"?: [...]}` (plug-in params may also be top-level keys) | Runs an object filter on the selection (or `ids`; an `ids` that is not a list of object ids is an error). One undo step; the result is selected, except the objects it locked or made guides. An output that changes no object and none of the data it keeps with the document ([`documentData`](#output)) records no undo step and leaves the document unmodified. |
|
||||
| `plugin.install` | `{"path": "/x/y.wasm"}` (desktop) or `{"dataBase64": "…", "name"?}`, `"replace"?: bool`, `"allowHeavy": bool = false`, `"grant"?: [permission]`, `"hash"?: "sha256 hex"` | Validates and installs a module; returns its `plugin.list` entry. The desktop app and `vectorcraft-cli` keep it in the `Plug-ins` folder next to the preferences, so it is installed again after a restart (#2541). A module with other bytes than the plug-in installed with its id, or, with none installed, one whose id has [settings and a cache](#settings-and-cache) in the `Plug-ins` folder, installs only with `replace: true`, once the user agreed; it takes that plug-in's place and gets its settings and cache. The same module installs again without `replace`, and `replace: false` refuses a module whose id is installed. A [heavy filter](#heavy-filters) installs only with `allowHeavy: true`. A plug-in whose manifest lists [permissions](#permissions) installs only when `grant` lists every one of them, unless a grant is already recorded for a module with the same SHA-256. A request's `grant` and `allowHeavy` are refused except in a session started with `vectorcraft-cli --allow-plugin-grants`. With `hash`, a module whose SHA-256 differs is refused. A module whose `commandAllowlist` lists a command no plug-in may call is refused; ids no command has are listed as `unknownCommands` ([command calls](#command-calls)). |
|
||||
| `plugin.inspect` | as `plugin.install`: `{"path"}` or `{"dataBase64", "name"?}` | Validates a module without installing it; returns the `plugin.list` entry it would have, plus `needsApproval` (true when installing it needs a person's approval), `needsReplace` (true when `plugin.install` needs `replace: true`), and the `commandAllowlist` ids no command has (`unknownCommands`) and those no plug-in may call (`refusedCommands`). |
|
||||
| `plugin.remove` | `{"id"}` | Uninstalls, and deletes it from the `Plug-ins` folder with its [settings and cache](#settings-and-cache). |
|
||||
@@ -88,23 +89,58 @@ replaced by a module without it.
|
||||
|
||||
- **Menus.** A plug-in with commands is a submenu of **Object › Plug-ins** (a live effect: **Effect › Plug-ins**)
|
||||
named after the plug-in. The submenu holds the plug-in's own item, then its commands. A command with parameters has
|
||||
an ellipsis and opens a dialog for them, with a live preview, as a filter's own item does. A manifest cannot put a
|
||||
command in another menu: a `menu` key in a command is ignored.
|
||||
- **Keyboard Shortcuts.** Edit › Keyboard Shortcuts lists each command under its submenu, and the user can give it a
|
||||
an ellipsis and opens a dialog for them, with a live preview, as a filter's own item does. A command whose manifest
|
||||
gives a `menu` is listed in that menu instead ([below](#placing-a-command-in-another-menu)).
|
||||
- **Keyboard Shortcuts.** Edit › Keyboard Shortcuts lists each command under its menu, and the user can give it a
|
||||
shortcut. A manifest cannot give a command a shortcut.
|
||||
- **Actions and agents.** A command run is recorded in an action like any other command and plays back with its
|
||||
parameters. `run`, MCP and `command.batch` call it as `plugin.<id>.<command>` with `{"ids"?: [...], "params"?: {…}}`
|
||||
(its parameters may also be top-level keys). MCP's `command_list` and `list_commands` list it, and `plugin.list`
|
||||
lists a plug-in's commands as `commands: [{id, command, label, params, paramsSchema}]`.
|
||||
lists a plug-in's commands as `commands: [{id, command, label, params, paramsSchema, menu?}]`, with `menu` for a
|
||||
command whose manifest places it in another menu.
|
||||
- **Runs.** The parameters are checked against the command's declarations before the plug-in runs. The plug-in runs
|
||||
through `vc_run` on the selection (or `ids`) as a filter run does, with `_context.mode` `"command"` and
|
||||
`_context.command` set to the command's id ([Parameters](#parameters)), under the plug-in's
|
||||
[permissions](#permissions): a live effect with commands may also hold `doc.write` and `state`, which only its
|
||||
commands use. `ids` left out or null means the selection; an `ids` that is not a list of object ids is an error. One run
|
||||
is one undo step named after the command. A run that traps, runs out of its instruction budget or fails leaves the
|
||||
is one undo step named after the command, and a run that changes nothing records none. A run that traps, runs out of its instruction budget or fails leaves the
|
||||
document and the undo history as they were, and the error starts with the plug-in's name and the command's label
|
||||
(`“Cmd Test” › Grow: …`).
|
||||
|
||||
#### Placing a command in another menu
|
||||
|
||||
At `api` 2 a command may name the menu it is listed in with `menu`: `{"path": [menu, …], "after"?: item}`. For
|
||||
example, `"menu": {"path": ["Select"], "after": "Inverse"}` lists the command in the Select menu right after
|
||||
Inverse.
|
||||
|
||||
- `path` is one of these menus, by their English labels: `["Edit"]`, `["Edit", "Edit Colors"]`, `["Object"]`,
|
||||
`["Object", "Transform"]`, `["Object", "Arrange"]`, `["Object", "Path"]`, `["Object", "Compound Path"]`,
|
||||
`["Object", "Clipping Mask"]`, `["Type"]`, `["Select"]`, `["Select", "Same"]`, `["Select", "Object"]`, `["Effect"]`
|
||||
and `["View"]`. The File, Window and Help menus, the application menu, Edit › Preferences and the submenus that list
|
||||
files, fonts, panels or plug-ins cannot be named. Any other `path`, a `menu` that is not an object or is given twice,
|
||||
a key other than `path` and `after`, and an `after` that is not 1–64 printable characters are refused when the
|
||||
module is installed, and the error names the command.
|
||||
- `after` is the English label of a built-in item or submenu of that menu, with or without its closing ellipsis
|
||||
(`"Inverse"`). The command is listed right after it. An item that switches between two labels is matched by either
|
||||
of them (`"Show Edges"` and `"Hide Edges"`, `"Start Global Edit"` and `"Stop Global Edit"`). Without `after`, or when no
|
||||
built-in item of the menu has that label, the command is listed at the end of the menu, and the module still
|
||||
installs. Items of plug-ins are never matched.
|
||||
- The item's label is the command's label followed by the plug-in's name in parentheses (`Low Area Closed Paths
|
||||
(Tidy)`). Keyboard Shortcuts, the command palette and `command_list` list the command under that menu with that
|
||||
label.
|
||||
- A command stays in its plug-in's submenu, under its own label, when its label with the plug-in's name has the same
|
||||
letters and digits, ignoring case, as a built-in item or submenu of that menu (`Paste (in Place)` and Edit › Paste
|
||||
in Place, `Hide (Edges)` and View › Hide Edges; either label of one that switches between two), or as a command that
|
||||
a plug-in with a lower id, or an earlier command of the same plug-in, places in that menu. The desktop app and
|
||||
`vectorcraft-cli` give the same result. `plugin.list` then gives the command's `menu` with
|
||||
`"placed": false`.
|
||||
- Commands of several plug-ins placed at the same spot are listed in plug-in id order, then in manifest order. A
|
||||
plug-in whose commands all name another menu is listed in Object › Plug-ins (or Effect › Plug-ins) as a single item,
|
||||
without a submenu. Commands without `menu` stay in the plug-in's submenu.
|
||||
- A placed command leaves the menus when its plug-in is removed or replaced by a module without the command. Turning
|
||||
the plug-in off (`plugin.setEnabled`) removes it at the next launch.
|
||||
- At `api` 1 a `menu` key, repeated or not, is ignored and the command stays in the plug-in's submenu.
|
||||
|
||||
**Preference folder.** Edit › Preferences › Plug-ins & Scratch Disks › *Additional Plug-ins Folder*: when set, every
|
||||
`*.wasm` in that folder (not recursive) is installed at startup and whenever the preference changes (desktop builds;
|
||||
the web build installs from bytes). On the desktop, Choose… beside the field picks the folder; the dialog refuses a
|
||||
@@ -367,11 +403,31 @@ pointers are offsets into the module's memory.
|
||||
| Export | Signature | Meaning |
|
||||
|---|---|---|
|
||||
| `memory` | memory | The module's linear memory. |
|
||||
| `vc_abi_version` | `() -> i32` | Must return `1`. |
|
||||
| `vc_manifest` | `() -> i64` | `(len << 32) \| ptr` of the UTF-8 manifest JSON (≤ 64 KiB). |
|
||||
| `vc_abi_version` | `() -> i32` | Must return `1`. Needed only by a module without a `vc_manifest` custom section. |
|
||||
| `vc_manifest` | `() -> i64` | `(len << 32) \| ptr` of the UTF-8 manifest JSON (≤ 64 KiB). Needed only by a module without a `vc_manifest` custom section. |
|
||||
| `vc_alloc` | `(size) -> ptr` | A block of `size` bytes the host may write, or `0` on failure. Never freed: each run gets a fresh instance. |
|
||||
| `vc_run` | `(input, input_len, params, params_len) -> i64` | Runs the plug-in on the input JSON with the parameters JSON; returns `(len << 32) \| ptr` of the output JSON, or a negative error code. |
|
||||
|
||||
### Manifest section
|
||||
|
||||
A module may carry its [manifest](#manifest) in a [custom
|
||||
section](https://webassembly.github.io/spec/core/binary/modules.html#custom-section) named `vc_manifest`, holding the
|
||||
same UTF-8 JSON that the `vc_manifest` export returns, plus `"abi": 1`, the ABI version that `vc_abi_version` returns.
|
||||
The host then reads the manifest from the section and loads the module without instantiating it: no start function,
|
||||
`vc_abi_version`, `vc_manifest` or data segment initialization runs when the module is installed, inspected or loaded at
|
||||
startup. The host checks the imports against the manifest's permissions, the exports `memory`, `vc_alloc` and `vc_run`
|
||||
by their types, that the initial memory fits in the [linear memory limit](#the-sandbox), and that the module defines at
|
||||
most 4 tables of at most 100,000 elements each. The module is instantiated for the first time when it runs, and a start
|
||||
function then runs at the start of each run.
|
||||
|
||||
- A module with more than one `vc_manifest` section, or one longer than 64 KiB, is refused before the section's contents
|
||||
are decoded. A section that is not UTF-8, not JSON or not a valid manifest is refused too, and so is one whose
|
||||
manifest does not give `"abi": 1`.
|
||||
- When a module has both the section and a `vc_manifest` export, the section is the manifest and the export is never
|
||||
called. Keep both to load in versions of VectorCraft that read only the export.
|
||||
- A module without the section is loaded as before: the host instantiates it and calls `vc_abi_version` and
|
||||
`vc_manifest`.
|
||||
|
||||
### Host imports (API level 2)
|
||||
|
||||
A plug-in whose manifest gives `"api": 2` and lists the [permission](#permissions) an import needs may import these
|
||||
@@ -566,10 +622,12 @@ the module's start function, in a run that isn't a filter's run on a document, o
|
||||
list (`svg`): `document.export` then writes the exporter's format only when asked for by its format id, and
|
||||
`document.open` reads a file with the importer only when `importer` names it.
|
||||
- `commands` (filters and live effects; not heavy filters): up to 32 commands of the plug-in's own
|
||||
([Commands](#commands)), each `{"id": "grow", "label": "Grow", "params"?: {…}}`. An `id` is 1–32 characters from
|
||||
`a-z 0-9 _` that starts with a letter, and appears once. A `label` is 1–64 printable characters; menus show it with
|
||||
control and bidirectional characters escaped. `params` are declared as the plug-in's own `params` are. A malformed
|
||||
entry is refused when the module is installed, and the error names the command by its id (or its place, `[0]`).
|
||||
([Commands](#commands)), each `{"id": "grow", "label": "Grow", "params"?: {…}, "menu"?: {…}}`. An `id` is 1–32
|
||||
characters from `a-z 0-9 _` that starts with a letter, and appears once. A `label` is 1–64 printable characters;
|
||||
menus show it with control and bidirectional characters escaped. `params` are declared as the plug-in's own `params`
|
||||
are. `menu` (`api` 2 and later; ignored at `api` 1) places the command in [another menu](#placing-a-command-in-another-menu).
|
||||
A malformed entry is refused when the module is installed, and the error names the command by its id (or its place,
|
||||
`[0]`).
|
||||
- `commandAllowlist` (filters at `api` 2 with the usual budget, and only with the `commands` permission, which needs
|
||||
it): the ids of the commands the filter may [call](#command-calls), at most 256, each once (`"commandAllowlist":
|
||||
["select.all", "object.move"]`). An id is 1–128 characters from `A-Z a-z 0-9 . _ -` that starts with a letter, with
|
||||
@@ -776,6 +834,17 @@ For an **object filter**, the output is the new state of the input objects:
|
||||
the run locked or made guides are left out of the selection that follows. Hosts from before these keys ignore them.
|
||||
- A `path` returned as it was keeps a live shape live (a rectangle keeps its corner widgets); a changed one makes it a
|
||||
plain path.
|
||||
- A compound path whose `path` is returned as it was, or left out, keeps its members as they are, hidden and locked
|
||||
ones included; a changed `path` replaces its members with one plain member per subpath. Each new member keeps only
|
||||
the id of the old member in its place: its name, live shape, opacity, blending mode, appearance, opacity mask and
|
||||
other settings of its own are reset to a new path's defaults. The host refuses a `path` with no anchor points, so return a
|
||||
compound path that has none without `path`. While a member is hidden, locked or a guide, or is not a path (its
|
||||
geometry is not in the input's `path`), the host refuses a changed `path` and `type: "path"` for it (a guide member
|
||||
is allowed when the output also sets `guide`). `guide` applies to every member, so `guide: false` on a compound path
|
||||
makes each of its guide members an ordinary path.
|
||||
- The host compares a returned `path` with the input coordinate by coordinate, exactly. A JSON parser that does not
|
||||
read numbers back exactly as they were written (in Rust, `serde_json` without its `float_roundtrip` feature) can
|
||||
change the last digit of a coordinate, so leave `path` out when the geometry does not change.
|
||||
|
||||
The host validates everything before the document changes: coordinates must be finite and within ±4,000,000 pt, at
|
||||
most 100,000 objects and 4,000,000 anchors, 256 fills, strokes or gradient stops; colours, opacities and offsets are
|
||||
@@ -868,10 +937,15 @@ crates/plugins/example/build.sh # cargo build --release --target wasm32-unk
|
||||
```
|
||||
|
||||
The script also refreshes `crates/plugins/tests/fixtures/desaturate.wasm`, the test fixture built from that source.
|
||||
The crate is not a workspace member. Any language that targets core WebAssembly works (C, Zig, AssemblyScript,
|
||||
The crate is not a workspace member. It puts its manifest in the [manifest section](#manifest-section) with a byte
|
||||
array static marked `#[unsafe(link_section = "vc_manifest")]` (the Rust Reference's
|
||||
[`link_section`](https://doc.rust-lang.org/reference/abi.html#the-link_section-attribute)), and keeps the
|
||||
`vc_manifest` export for older hosts. Any language that targets core WebAssembly works (C, Zig, AssemblyScript,
|
||||
WAT…), as long as the module imports nothing but the host imports: in Rust, `std` on `wasm32-unknown-unknown` is fine as
|
||||
long as it never touches WASI. `vectorcraft_plugins::wat::module` is the skeleton of a plug-in in WebAssembly text,
|
||||
which the tests build their plug-ins from; `wat::echo_exporter` is an exporter whose file is its input or its parameters
|
||||
which the tests build their plug-ins from, and `wat::sectioned` the same plug-in with its manifest in the [manifest
|
||||
section](#manifest-section) and no `vc_abi_version` or `vc_manifest` export (in WebAssembly text, a custom section is
|
||||
written `(@custom "vc_manifest" "…")`); `wat::echo_exporter` is an exporter whose file is its input or its parameters
|
||||
(with a base64 encoder written out in WebAssembly text), which the tests read back what the host hands a plug-in with,
|
||||
and `wat::when_given` a plug-in whose output depends on whether its input or parameters hold a given text, which shows
|
||||
in a live effect's geometry. `wat::reporting` and `wat::cooperating` build level 2 plug-ins that import the host
|
||||
|
||||
+45
-18
File diff suppressed because one or more lines are too long
@@ -95,6 +95,37 @@ pages describe it.
|
||||
rotation and light rings on the artboard are part of the options dialog only. The panel's Lighting tab has the
|
||||
lighting widget instead ([Lighting widget](#lighting-widget)).
|
||||
|
||||
## 3D meshes
|
||||
|
||||
The meshes that Export 3D Object writes come from the `three-d` crate's `Mesh`, built from the same faces the effect
|
||||
draws. The vector facets on the canvas and in SVG and PDF do not change with what follows. Besides positions,
|
||||
normals and triangles, a mesh carries:
|
||||
|
||||
- **Normals.** A corner takes its face's normal. Where two bands of one bevel meet, the shared corners take the mean of
|
||||
the two bands' normals, unless the bevel turns there by 60° or more (a Step profile's turns) or one of the bands lies
|
||||
flat toward the front or back; caps, walls and the edges between a bevel and a cap or wall stay hard. On Inflate's
|
||||
puffed front and back each corner takes the surface's own normal. The bevel settings shape its profile into a
|
||||
rounded curve or an ornamental one ([the help page](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/3d-materials-panel-options.html));
|
||||
the smoothing rule and the 60° crease are VectorCraft's own.
|
||||
- **Texture coordinates** for every corner, each from 0 to 1, u to the right and v down, as glTF 2.0 places
|
||||
`TEXCOORD_0` (<https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html>). Caps, Rotate's plane and Inflate's
|
||||
front and back take each corner's art point, before any twist or taper, in the bounds of the whole object, which all
|
||||
of its parts share; the back is not mirrored. Extrude & Bevel's bevels and walls and Inflate's walls take u along each contour of the outline from its
|
||||
first point, as the distance over the contour's length, so the seam at the first point has corners at both 0 and 1,
|
||||
and v across the side from the front cap's edge to the back cap's. Revolve's side takes u around the sweep from its
|
||||
start and v along each contour of the profile; its end caps span the disk they close, and its cut sides take each
|
||||
corner's profile point in the profile's bounds. An axis with no extent takes 0.5. These layouts are VectorCraft's
|
||||
own.
|
||||
- **A part for each triangle**: `Front` (a front cap, Rotate's plane, Inflate's front), `Back`, `Side` (walls and
|
||||
Revolve's swept side), `FrontBevel`, `BackBevel`, `Cap` (Revolve's end caps) and `Cut` (the flat sides of a Revolve
|
||||
of less than 360°).
|
||||
|
||||
The exported files write the normals and the texture coordinates of every corner: OBJ's `vt` (up from the bottom),
|
||||
glTF's `TEXCOORD_0` and USD's `primvars:st` (up from the bottom). A face with mapped graphics writes the coordinates
|
||||
of its texture instead, laid out as the graphics are ([Graphics](#graphics)). The files do not write the parts. A
|
||||
mesh whose lists do not match, or that holds a value that is not a number, stops the export with an error before any
|
||||
file is written.
|
||||
|
||||
## Extrude & Bevel
|
||||
|
||||
The art is the front face; its outline is extruded backwards by **Depth** (0–2,000 pt), so seen straight on the
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ against Illustrator's public documentation; **estimated** unless noted.
|
||||
| CJK: Standard Vertical Roman Alignment | done | Character panel menu › Standard Vertical Roman Alignment (`text.setFormat` / `text.setRangeStyle {standardVerticalRoman}`), with Show East Asian Options, off by default: in vertical type the marked half-width characters (Latin letters, digits and other characters that would lie on their side) stand upright one below the other, each in its upright cell; spaces keep their width and tate-chu-yoko blocks stay across the column; horizontal type keeps the mark and does not change. Character Style Options has its own checkbox for it. Evidence: `tests_vertical::standard_vertical_roman_alignment_stands_half_width_characters_upright`, `typecmd::standard_vertical_roman_is_a_character_attribute_saved_only_when_on` |
|
||||
| CJK: East Asian glyph forms | done | Glyphs panel menu › Traditional Forms, Expert Forms, JIS 04, JIS 90, JIS 78 and JIS 83 Forms, Monospaced Full-Width, Half-Width, Third-Width and Quarter-Width Forms, and Revert To Default Forms, with Show East Asian Options ([Format East Asian characters](https://helpx.adobe.com/illustrator/using/formatting-asian-characters.html)): the selected characters are drawn with the font's OpenType feature for that form (`trad`, `expt`, `jp04`, `jp90`, `jp78`, `jp83`, `fwid`, `hwid`, `twid`, `qwid`; [feature list](https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist)), one form at a time (`text.setFormat` / `text.setRangeStyle {glyphForm}`); a form none of the faces that draw the selected text (fallback faces included) has a feature for (in `GSUB`, or for the width forms `GSUB` or `GPOS`) is disabled, and Revert To Default Forms draws the default glyphs. A form other than the default takes away a character's glyph choice, and with a width form Proportional Metrics' `palt` is not applied and the font's pair kerning is off. Saved natively only when set, carried by character styles, drawn on the canvas and in PDF, and written to SVG as `font-feature-settings`. Character Style Options has no field for it. Evidence: `tests::typo::glyph_forms_draw_the_fonts_east_asian_forms`, `typecmd::area_tests::glyph_form_is_one_character_attribute_saved_only_when_set`, `typecmd::area_tests::a_glyph_form_takes_away_the_characters_glyph_choice`, `features::tests::width_forms_turn_off_proportional_metrics`, `panels::glyphs::tests::east_asian_glyph_forms_in_the_panel_menu_set_the_selected_characters_form`, `panels::glyphs::tests::glyph_form_items_at_a_caret_follow_all_the_text`, `panels::glyphs::tests::a_glyph_choice_lets_the_current_form_be_chosen_again` |
|
||||
| CJK: warichu | done | Character panel menu › Warichu and Warichu Settings… (`text.setFormat` / `text.setRangeStyle {warichu, warichuLines, warichuGap, warichuScale, warichuAlign}`, `ui.warichuSettings`), with Show East Asian Options ([Format East Asian characters](https://helpx.adobe.com/illustrator/using/formatting-asian-characters.html)): marked characters set at a percentage of their size and stacked on 1 to 6 lines inside their line, one above the other in horizontal type and side by side in vertical type, with a line gap and eight alignments; a block stays whole on one line. Saved natively, carried by character styles, drawn on the canvas and in every export (SVG, PDF and `.ai` write such type as outlines). Type on a path sets the characters at their own size. Evidence: `tests::warichu`, `dialogs::warichu::tests`, `typecmd::area_tests::warichu_is_a_character_attribute_set_saved_and_exported` |
|
||||
| CJK: composite fonts | partial | Type › Composite Fonts… (`type.compositeFonts.set`), with Show East Asian Options: a font made of a font per class of character (Kanji, Kana, Punctuation, Symbols, Roman, Numerals), each with its own style, size and baseline in percent of the type's size, Kana, Roman and Numerals with horizontal and vertical scale, and Kana with Scale at Center; New, Delete Font, Import… and Export… (`.vccomposite`, `type.compositeFonts.import` and `.export`) ([Creating composite fonts](https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=347)); custom character sets (Custom: New, Delete Set, characters added by Direct Entry or Unicode code and deleted), each with its own font, style, size, baseline and scales, ahead of the classes, the later set winning a character two list (`custom` in `type.compositeFonts.set`) ([Customize characters in a composite font](https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=348)). Composite fonts are listed first in the font menus, saved with the document, and their type is laid out per set and class; SVG and legacy `.ai` write it as outlines. Show Sample draws the font picked with lines for its ICF box, em box, baseline, cap height, highest ascent and lowest descent, highest ascender and x-height, each shown or hidden by its button, at the Zoom picked ([Creating composite fonts](https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=352)). Not yet: the Units menu. Evidence: `text::composite::tests::characters_fall_in_their_classes`, `text::composite::tests::custom_sets_take_their_characters_before_the_classes`, `tests::composite::composite_type_draws_each_class_in_its_font`, `tests::composite::custom_character_sets_take_their_characters_first`, `compositefonts::tests`, `dialogs::composite_fonts::tests` |
|
||||
| CJK: composite fonts | partial | Type › Composite Fonts… (`type.compositeFonts.set`), with Show East Asian Options: a font made of a font per class of character (Kanji, Kana, Punctuation, Symbols, Roman, Numerals), each with its own style, size and baseline in percent of the type's size, Kana, Roman and Numerals with horizontal and vertical scale, and Kana with Scale at Center; New, Delete, Load…, Replace… and Save… (`.vccomposite`, `type.compositeFonts.import` and `.export`) ([Creating composite fonts](https://help.adobe.com/archive/en_US/illustrator/cs3/illustrator_cs3_help.pdf#page=347)); custom character sets (Custom: New, Delete Set, characters added by Direct Entry or Unicode code and deleted), each with its own font, style, size, baseline and scales, ahead of the classes, the later set winning a character two list (`custom` in `type.compositeFonts.set`) ([Customize characters in a composite font](https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=348)). Composite fonts are listed first in the font menus, saved with the document, and their type is laid out per set and class; SVG and legacy `.ai` write it as outlines. Show Sample draws the font picked with lines for its ICF box, em box, baseline, cap height, highest ascent and lowest descent, highest ascender and x-height, each shown or hidden by its button, at the Zoom picked ([Creating composite fonts](https://help.adobe.com/archive/en_US/illustrator/cs4/illustrator_cs4_help.pdf#page=352)). Not yet: the Units menu. Evidence: `text::composite::tests::characters_fall_in_their_classes`, `text::composite::tests::custom_sets_take_their_characters_before_the_classes`, `tests::composite::composite_type_draws_each_class_in_its_font`, `tests::composite::custom_character_sets_take_their_characters_first`, `compositefonts::tests`, `dialogs::composite_fonts::tests` |
|
||||
| CJK: ruby | partial | ruby (ふりがな) for live text (`type.ruby`): a reading over a byte range, above (right of the column in vertical type) or below, start/centre/end alignment, size, overhang or squeeze; saved natively, laid out with its line growing, drawn on the canvas, in SVG and PDF (as outlines where ruby is present), in EPS, EMF/WMF and legacy `.ai` (legacy `.ai` writes type with ruby as outlines), and kept by Create Outlines, Expand Appearance and flattening, each glyph where the layout puts it (`typecmd::ruby_tests::create_outlines_keeps_the_ruby_where_it_is_laid_out`) | #633 |
|
||||
| Language per character (Character panel › Language, character styles), text shaped in it | done | `text.setFormat` / `text.setRangeStyle {language}` by name or BCP 47 tag, one of Document Setup's languages (Hindi, Marathi, Gujarati, Bengali, Punjabi, Tamil, Telugu, Kannada, Malayalam, Odia and Urdu added, #4943; Assamese and Sanskrit added, #4947; Nepali, Konkani and Sindhi added, #4943; Serbian: Cyrillic, Serbian: Latin and Croatian; Bulgarian, #5945); the shaper gets the tag, so the font's language forms apply (OpenType `locl`: Turkish keeps `fi` apart and the dot on its i, #4940); new type takes the document's language; saved as the tag only when set, carried by character styles (#4946). English, eleven Indian languages, Bulgarian, Turkish and Russian hyphenate by run language, and German, Polish, Portuguese and Italian do in builds that embed their patterns; a word outside its language's script stays whole; Sanskrit automatic hyphenation awaits allowlisted patterns (#4947). Not yet: `.ai`/PDF import of a text's language, paragraph styles. Evidence: `features::tests::language_picks_the_fonts_forms`, `features::tests::serbian_gets_the_fonts_serbian_forms`, `typecmd::area_tests::language_is_a_character_attribute_saved_only_when_set`, `tests::typo::indic_language_runs_hyphenate_with_both_composers`, `hyphen::tests::sanskrit_without_allowlisted_patterns_uses_only_exceptions`, `hyphen::tests::rule_languages_break_by_their_own_rules`, `hyphen::tests::pattern_languages_break_at_their_own_patterns`, `tests::typo::a_russian_run_hyphenates_at_russian_break_points`, `tests::docsetup::the_further_indian_languages_are_document_and_text_languages`; spelling is checked in each run's Language (`text.spelling.check`, #4936) |
|
||||
| No Break | done | Character panel menu (`text.setFormat` / `text.setRangeStyle {noBreak}`): the marked characters stay on one line, including across a space; a run that does not fit after earlier text moves together, and a run longer than the line stays together. Evidence: `layout::wrapping_tests::no_break_keeps_marked_characters_on_one_line`, `tests::no_break_keeps_marked_words_on_one_line`, `typecmd::no_break_is_a_character_attribute_saved_only_when_on` |
|
||||
|
||||
+7
-5
@@ -208,7 +208,7 @@ tools, never checked side by side) isn't captured row by row.
|
||||
| Busy cursor during long operations | done | Background open, save and export show the system progress cursor (gap G1) |
|
||||
| Each anchor snaps to Smart Guides and construction angles | done | `DrawSnap` |
|
||||
| Curvature tool: click/drag points, double-click or Alt-click for a corner, temporary Direct Selection, point conversion | partial | circular point markers without direction handles or duplicate markers, Anchor Size and Hide Edges regression-tested (#1236, in part); curve geometry: each stretch of three points follows the circle through them (handles along its tangent, chord/(3·cos²(α/2)) long, shorter in a turn tighter than 30°), open ends curving in, the same rule for the rubber band, dragged, inserted and converted points (#1236, in part); neighbours of a point dragged on an existing path keep their tangents, and modifiers requested in #975 remain |
|
||||
| Quick Pen tool: straight lines, continuous arcs and sharp-corner arcs, Alt/Option to switch action, C to flip an arc, `[` / `]` for its size, Alt+P / Option+P, close on the first point, continue from an end, Escape to end ([help page](https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html), [shortcuts](https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html)) | partial | `path.quickPen` and the tool in `crates/tools/src/quickpen.rs`, in the Pen tool's group (#2660); the on-canvas toolbar with its actions, Flip Arc and its More menu (Hide Toolbar and Reset Toolbar Position, and VectorCraft's own Pin Toolbar Position) in `crates/ui-egui/src/canvas/quick_pen_bar.rs`. Not yet: dragging a path's ends to change a line's or arc's length, Ctrl+scroll for the arc size, and editing and deleting with the tool |
|
||||
| Quick Pen tool: straight lines, continuous arcs and sharp-corner arcs, Alt/Option to switch action, C to flip an arc, `[` / `]` for its size, Alt+P / Option+P, close on the first point, continue from an end, Escape to end, drag the handle at a path's start or end to make its line or arc longer or shorter ([help page](https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html), [shortcuts](https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html)) | partial | `path.quickPen` and the tool in `crates/tools/src/quickpen.rs`, in the Pen tool's group (#2660); the length handles in `quickpen/length.rs` and `path.quickPenLength`, on the path being drawn or the selected path (a line keeps its direction, an arc its circle, up to 359°); the on-canvas toolbar with its actions, Flip Arc and its More menu (Hide Toolbar and Reset Toolbar Position, and VectorCraft's own Pin Toolbar Position) in `crates/ui-egui/src/canvas/quick_pen_bar.rs`. Not yet: Ctrl+scroll for the arc size, and editing and deleting with the tool |
|
||||
| Icon-strip flyout resizing (#5713) | done | Canvas-side edge and bottom; user size persists after reopening and workspace restore; Glyphs and Artboards pointer/cursor regression |
|
||||
| Icon-strip flyout resizing from the top (storytold/craft-libs#1094) | done | Top edge (a 4 pt band over the tab strip) and the canvas-side top corner; the bottom and the icon-column edge stay; the moved top persists after reopening and workspace restore; `an_icon_flyout_grows_upward_from_its_top_edge_and_free_corner` |
|
||||
| Graphic Styles list fills a taller panel (#2992) | done | Docked, floating or in a resized flyout, the list takes the height above the panel's footer, as the Artboards list does; outside a sized panel it stays 220 pt; `the_list_fills_a_tall_panel_above_its_footer` |
|
||||
@@ -270,11 +270,11 @@ tools, never checked side by side) isn't captured row by row.
|
||||
| Alt with Direct Selection makes a marquee Group Selection's for the drag: it selects every path it touches, whole (Shift toggles them), and the Group Selection pointer stays until the release | done | #4890 |
|
||||
| Direct Selection: a click on a selected object's centre point (Attributes › Show Center) selects the object whole, and a drag from it moves the object in one undo step | done | #4891 |
|
||||
| Escape cancels a Direct Selection drag | done | #1803 (#1743) |
|
||||
| Live Corners widgets (radius readout, Alt-click cycles kind, double-click the Corners dialog) | done | a Direct Selection click on a widget selects its corner (#1239), and with every corner selected a Shift-click on a widget picks that corner alone instead of deselecting it (#5188); a press-and-drag on a widget of a path selected whole still rounds every corner (#908), and adding widgets to the selection by Shift-click (#1232) is missing; the bounding box hides while a widget is dragged with the Selection tool (#1229); a round corner next to a curved side curves smoothly instead of sticking out of the shape (#1512); a corner rounds until its cut reaches its neighbours' cuts, so one corner of a square alone reaches the whole side (#2332) |
|
||||
| Live Corners widgets (radius readout, Alt-click cycles kind, Direct Selection double-click the Corners dialog) | done | a Direct Selection click on a widget selects its corner (#1239), and with every corner selected a Shift-click on a widget picks that corner alone instead of deselecting it (#5188); a press-and-drag on a widget of a path selected whole still rounds every corner (#908), and adding widgets to the selection by Shift-click (#1232) is missing; a double-click on a selected live shape's corner widget shows the Transform panel ([Live shape properties](https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html)) and a Direct Selection double-click opens Corners ([Create and modify live shapes](https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/create-and-modify-live-shapes.html)); giving the Transform panel to the Selection tool and Corners to Direct Selection is VectorCraft's own rule; the bounding box hides while a widget is dragged with the Selection tool (#1229); a round corner next to a curved side curves smoothly instead of sticking out of the shape (#1512); a corner rounds until its cut reaches its neighbours' cuts, so one corner of a square alone reaches the whole side (#2332) |
|
||||
| Corners between curved sides (#1144), Relative rounding | done | #1144 closed; Relative rounding in the Corners dialog (Relative / Absolute, radius as a percentage of each corner's maximum, kept as the shape is resized; `object.setLiveShape` `relativeRadii`, #3091, `tests_livecorners::relative_corner_rounding_keeps_fraction_on_resize`) |
|
||||
| Pie widgets on a live ellipse: drag one to set Pie Start or End Angle, double-click one to make the ellipse whole | done | Selection tool, with the bounding box showing, while the Control bar's Hide Shape Widgets has not hidden the widgets |
|
||||
| Side widget on a live polygon: drag it to set the number of sides from 3 to 11 | done | Selection tool and the Rectangle, Rounded Rectangle, Ellipse, Polygon and Star tools, with the bounding box showing, while the Control bar's Hide Shape Widgets has not hidden the widgets; a drag down adds sides and a drag up removes them; Escape cancels ([the help page](https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/add-or-remove-sides-from-polygons.html)) |
|
||||
| A shape just drawn shows its bounding box and Live Shape widgets with the shape tool still active, and the selection can be moved and turned without switching tools | done | #5477: Rectangle, Rounded Rectangle, Ellipse, Polygon and Star keep the selection's bounding box, corner widgets and pie widgets on show while they draw nothing (the corner and pie widgets only while the Control bar's Hide Shape Widgets has not hidden them; the bounding box stays); a drag on a corner or pie widget adjusts it (arrows step the corner kind, Escape cancels), a press on the selection's centre point (Attributes › Show Center) moves the selection — the Selection tool's move arrow, snapping and Alt copy — a press just outside a corner of the box turns it about the centre (the Selection tool's rotate zone and cursor), and a press anywhere else draws (so a second shape drawn from the first one's centre moves the first: press elsewhere or deselect first). Public descriptions: [Live Shapes](https://helpx.adobe.com/illustrator/using/live-shapes.html) (live shapes adjust without switching tools) and [CreativePro, Working with Live Shapes](https://creativepro.com/?p=23921) (a widget shows in every corner on release; drag one toward the centre to round). A drag on one of the box's handles scales the selection as the Selection tool's handles do. A double-click on a corner widget of a selected live rectangle or polygon shows and selects the Transform panel where it is (closed, docked, floating or in an icon column; a second double-click keeps it on show), and leaves the tool, the selection and the document as they were; a double-click on a pie widget, off the widgets, with Show Corner Widget off or with Line Segment does nothing, and the Selection tool's double-click on a corner widget still opens the Corners dialog. Public description: [Live shape properties](https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html) (a double-click on a corner widget of a selected live shape opens the Transform panel). Tests `a_shape_tool_drags_the_selected_shapes_widgets`, `a_shape_tool_moves_the_selection_by_its_centre_point_and_turns_it_from_a_corner`, `a_shape_tool_scales_the_selection_by_its_bounding_box_handles`, `a_double_click_on_a_corner_widget_shows_the_transform_panel`, `a_double_click_on_a_corner_widget_with_a_shape_tool_asks_for_the_transform_panel` (engine), `a_corner_widget_double_click_with_a_shape_tool_requests_the_transform_panel` (MCP: the `pointer_gesture` reply's `requests` carry `{"panel": "transform"}`) and `a_tools_panel_request_shows_the_panel_and_a_second_keeps_it_shown` (UI) |
|
||||
| A shape just drawn shows its bounding box and Live Shape widgets with the shape tool still active, and the selection can be moved and turned without switching tools | done | #5477: Rectangle, Rounded Rectangle, Ellipse, Polygon and Star keep the selection's bounding box, corner widgets and pie widgets on show while they draw nothing (the corner and pie widgets only while the Control bar's Hide Shape Widgets has not hidden them; the bounding box stays); a drag on a corner or pie widget adjusts it (arrows step the corner kind, Escape cancels), a press on the selection's centre point (Attributes › Show Center) moves the selection — the Selection tool's move arrow, snapping and Alt copy — a press just outside a corner of the box turns it about the centre (the Selection tool's rotate zone and cursor), and a press anywhere else draws (so a second shape drawn from the first one's centre moves the first: press elsewhere or deselect first). Public descriptions: [Live Shapes](https://helpx.adobe.com/illustrator/using/live-shapes.html) (live shapes adjust without switching tools) and [CreativePro, Working with Live Shapes](https://creativepro.com/?p=23921) (a widget shows in every corner on release; drag one toward the centre to round). A drag on one of the box's handles scales the selection as the Selection tool's handles do. A double-click on a corner widget of a selected live rectangle or polygon shows and selects the Transform panel where it is (closed, docked, floating or in an icon column; a second double-click keeps it on show), and leaves the tool, the selection and the document as they were; a double-click on a pie widget, off the widgets, with Show Corner Widget off or with Line Segment does nothing; the Selection tool's double-click on a corner widget shows the Transform panel too, and a Direct Selection double-click opens the Corners dialog. Public description: [Live shape properties](https://helpx.adobe.com/illustrator/desktop/draw-shapes-and-paths/modify-live-shapes/live-shape-properties.html) (a double-click on a corner widget of a selected live shape opens the Transform panel). Tests `a_shape_tool_drags_the_selected_shapes_widgets`, `a_shape_tool_moves_the_selection_by_its_centre_point_and_turns_it_from_a_corner`, `a_shape_tool_scales_the_selection_by_its_bounding_box_handles`, `a_double_click_on_a_corner_widget_shows_the_transform_panel`, `a_double_click_on_a_corner_widget_with_a_shape_tool_asks_for_the_transform_panel` (engine), `a_corner_widget_double_click_with_a_shape_tool_requests_the_transform_panel` (MCP: the `pointer_gesture` reply's `requests` carry `{"panel": "transform"}`) and `a_tools_panel_request_shows_the_panel_and_a_second_keeps_it_shown` (UI) |
|
||||
| Isolation mode by double-click (groups and single objects), breadcrumbs, Esc to exit | done | Single paths, compound paths, images, meshes and placed files isolate too ([helpx: Isolate objects](https://helpx.adobe.com/africa/illustrator/desktop/manage-objects/select-objects/isolate-objects.html)); locking or hiding the layer (or a group) around the isolated object afterwards keeps clicks and marquees off it, as outside isolation mode (#5309) |
|
||||
| "Magnetic" moves of selected anchors with a modifier (#955 request) | missing | not a feature of the reference app as documented; under discussion |
|
||||
| Coinciding anchors of overlapping objects: the selected object's anchor is taken, also under another object | done | #1508 |
|
||||
@@ -366,7 +366,7 @@ tools, never checked side by side) isn't captured row by row.
|
||||
| Space: Hand; Cmd+Space / Cmd+Alt+Space: zoom in/out; middle button pans | done | Space pressed after a tool takes a drag keeps the view still and shows that tool's cursor. Shape and anchor tools may use Space to move the geometry being drawn. Cmd+Space pressed mid-drag likewise keeps the active tool cursor. Space held before a press starts a view gesture, and its view cursor returns after release. `space_during_a_pencil_drag_keeps_the_pencil_cursor`, `cmd_space_mid_tool_drag_keeps_the_active_tool_cursor` |
|
||||
| Document window scroll bars along the right and bottom edges (Normal and Full Screen Mode with Menu Bar; none in Full Screen and Presentation Mode): a thumb as long as the view against the art and the artboards; dragging it scrolls, a click on the track pages, the wheel over a bar scrolls along it; in a rotated view they follow the screen's axes | partial | #2322. The span is the art and the artboards with half a window around them, not Illustrator's 227 in canvas: VectorCraft has no bounded drawing area (#2284). A track click pages rather than jumping to the click; the page size and the rotated-view behaviour are our own choice (the public documentation gives neither) |
|
||||
| A tool drag held near an edge of the canvas scrolls the view (#8551): zoomed in, a selection moved, a shape drawn or a marquee dragged towards the panels goes on past what shows | partial | Within 24 points of the canvas edge, once the pointer has moved 3 points from the press, the view scrolls away from that edge, faster nearer it (up to 900 points a second at the edge, and no faster in a corner, where it scrolls both ways), and keeps scrolling while the pointer stays still; the tool gets the pointer's new place in the document, so moved art stays under the pointer. Back away from the edge it stops. A click near the edge, the Hand, Zoom and Rotate View drags and Space panning do not scroll. The pointer past the canvas edge does not scroll: over a panel the Selection tools hand the art to the panels (#2826). The zone and speeds are VectorCraft's own (the public documentation gives none). Tests: `canvas::tests_edge_scroll` |
|
||||
| Cmd/Ctrl: last-used selection tool; Cmd+Alt: Group Selection inside Direct Selection | done | Cmd+Alt lends Group Selection only while Direct Selection is active (Cmd borrow from the Pen keeps Direct Selection so Alt stays copy/subtract); Cmd alone lends Direct Selection the Selection tool: its bounding box shows while Cmd is held over objects selected whole and its handles scale and rotate them, and a Cmd drag moves the whole object while its direct-selected anchors stay selected (#3901; no box over a selection with anchors picked yet); engine pointer and canvas regressions |
|
||||
| Cmd/Ctrl: last-used selection tool; Cmd+Alt: Group Selection inside Direct Selection | done | Cmd+Alt lends Group Selection only while Direct Selection is active (Cmd borrow from the Pen keeps Direct Selection so Alt stays copy/subtract); Cmd alone lends Direct Selection the Selection tool: its bounding box shows while Cmd is held over objects selected whole and its handles scale and rotate them, and a Cmd drag moves the whole object while its direct-selected anchors stay selected (#3901; no box over a selection with anchors picked yet); Cmd lends Group Selection the Selection tool, and the Selection tool Direct Selection or Group Selection, whichever was chosen last, except that a Cmd press on a selected object, or on a group holding a selected member, with another object under the pointer and away from its anchors, direction handles, mesh points, blend spine and the bounding box's handles and rotate zones, still selects the object behind it while Command Click to Select Objects Behind is on, so repeated Cmd-clicks select behind as "Select behind an object" (Ctrl+click twice, Command+click twice on macOS) in [Default keyboard shortcuts](https://helpx.adobe.com/illustrator/using/default-keyboard-shortcuts.html) lists; Cmd pressed once a drag is under way lends nothing; while Cmd is held, the status bar's Current Tool and the help bar name the tool a press at the pointer takes; engine pointer and canvas regressions |
|
||||
| Eyedropper copies effective character dimensions between transformed text objects | done | Point/area and grouped text, highlighted ranges, reverse/remembered sampling, opt-outs and atomic invalid-transform rejection; `scaled_type_pick_*` (#6404) |
|
||||
| Eyedropper styles highlighted characters only and preserves ranges across Type switches | done | Font/paint, Shift color-only, Unicode, Undo/Redo and stale-range regression tests; enabled non-neutral source or target object transparency is refused atomically; disable Transparency to sample supported attributes |
|
||||
| Gradient mesh: a solid color dropped from the Color or Swatches panel or a Fill proxy on a selected mesh recolors the mesh point under the pointer, else the patch's four points; with the mesh selected, an Eyedropper click applies the fill color the same way | done | [Edit mesh objects](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=312); `object.mesh.setPointColor`, one undo step, none when the color is unchanged. The 5-pixel reach for a point is VectorCraft's own. Tests `a_color_dropped_on_a_selected_mesh_recolors_the_point_or_patch_under_it`, `a_click_on_a_selected_mesh_gives_its_point_or_patch_the_fill_color`, `a_click_on_an_object_over_a_selected_mesh_copies_that_object` |
|
||||
@@ -450,7 +450,7 @@ next unit in the order a right-click on a ruler lists them, from Feet back to Po
|
||||
| Effect > Warp Options: style previews, orientation choices and percent controls | done | #1760; focused input, mixed-style and history checks passed; original captures reviewed. No geometry or optional Properties changes. |
|
||||
| Command search: Up and Down move through the results, Enter runs the highlighted one | done | #1798 (#1757) |
|
||||
| Help › VectorCraft Help… and F1 show in-app search for tools, menu commands, and built-in tutorials. Tool results mark their toolbar location; command results show their menu path and shortcut without running them; tutorial results show their steps. Home clears the search, Back returns to the results, and Escape in the search field closes the panel. | partial | [Public source](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/learn-with-discover-panel.html); `help.discover`, `help.discover.search`, `help.discover.choose`, `help.discover.back`; `menus::tests::help_f1_opens_discover_without_a_document`. Articles, Quick Actions, and Discover preferences are not implemented. Menu-path text instead of a menu location marker is VectorCraft's current guidance. |
|
||||
| Learn panel: Window › Learn and Explore tutorials on the app bar open it; For you holds a Quick skill guide card, Skills lists VectorCraft's own skills with progress rings that fill and counts of tutorials finished, a tutorial shows its numbered steps with a check box each that marks the step done once its sample is open, a finished tutorial has a check mark, Back goes up a level; a tool's name in a step is a link that marks the tool where the toolbars show it (its button, its group's flyout, a torn-off strip, a toolbar made with New Toolbar or the All Tools drawer) without choosing it; View more opens the tutorial's practice sample as a new untitled document, Finish tutorial then marks it finished with all its steps, and Next Up shows the next tutorial in the same skill; Reset progress clears the progress (no video) | done | [the help page](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/learn-skills-quick-skill-guide.html); `learn.list`, `learn.tab`, `learn.skills`, `learn.skill`, `learn.show`, `learn.back`, `learn.locateTool`, `learn.openSample`, `learn.markStep`, `learn.finish`, `learn.next`, `learn.resetProgress`; the mark's look and 3-second lifetime, marking steps by hand, keeping the progress in the preferences and Reset progress are VectorCraft's own rules; `panels::learn::tests`, `toolbar::tests` |
|
||||
| Learn panel: Window › Learn opens it; For you holds a Quick skill guide card, Skills lists VectorCraft's own skills with progress rings that fill and counts of tutorials finished, a tutorial shows its numbered steps with a check box each that marks the step done once its sample is open, a finished tutorial has a check mark, Back goes up a level; a tool's name in a step is a link that marks the tool where the toolbars show it (its button, its group's flyout, a torn-off strip, a toolbar made with New Toolbar or the All Tools drawer) without choosing it; View more opens the tutorial's practice sample as a new untitled document, Finish tutorial then marks it finished with all its steps, and Next Up shows the next tutorial in the same skill; Reset progress clears the progress (no video) | done | [the help page](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/learn-skills-quick-skill-guide.html); `learn.list`, `learn.tab`, `learn.skills`, `learn.skill`, `learn.show`, `learn.back`, `learn.locateTool`, `learn.openSample`, `learn.markStep`, `learn.finish`, `learn.next`, `learn.resetProgress`; the mark's look and 3-second lifetime, marking steps by hand, keeping the progress in the preferences and Reset progress are VectorCraft's own rules; `panels::learn::tests`, `toolbar::tests` |
|
||||
| Pathfinder panel: a group selected alone counts its nested shapes, so an expanded stroked object keeps the Shape Modes enabled | done | #1642 (#1635) |
|
||||
| Selected Grid Repeat shows row, column and corner handles and spacing sliders; bounding-box handles take priority where they meet | done | #2691, `tools/src/repeat_grid.rs`; [public behavior reference](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-patterns/set-grid-repeat-options.html); drags preview and commit `object.repeat.options` as one undo step, Escape cancels; a selected Radial Repeat shows an instances handle below it (16 px of drag per instance, 1 to 1,000) and a radius handle on its circle the same way (`tools/src/repeat_radial.rs`; [public behavior reference](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-patterns/create-radial-repeats.html)), and a splitter on its circle that hides the instances it is dragged back past while the others keep their places, and shows them again when dragged forward (its place half a step past the last instance shown and its limit of one instance shown are VectorCraft's own rules) |
|
||||
| Grid Repeat Options (Object › Repeat › Options…) has a Preview checkbox: the repeat on the canvas follows the fields while the dialog is open, Cancel puts the original back without a history step, OK keeps the previewed values as one undo step | done | #2651; [public behavior reference](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-patterns/set-grid-repeat-options.html) lists the Preview option for the grid options only, so Radial and Mirror Repeat Options have none; `dialogs/command.rs` tests |
|
||||
@@ -541,6 +541,7 @@ next unit in the order a right-click on a ruler lists them, from Feet back to Po
|
||||
| Outline view keeps template layers in Preview, dimmed | done | #1486; a picture placed to be traced stays visible under the outlines |
|
||||
| Outline view draws on a white canvas, the artboards as their edges | done | Outline shows only the paths ([Outline mode](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/preview-artwork-as-outlines.html)). VectorCraft's own rule for the canvas: in every interface brightness and Canvas Color the whole canvas is white, pasteboard included; the artboards draw no paper (no Simulate Colored Paper or artboard color, and no paper with Hide Artboards); the artboard names and the ruler origin's crosshair are dark gray; split views and floating windows follow their own view. Tests `outline_draws_on_a_white_canvas_with_artboards_as_edges`, `outline_draws_no_colored_paper`, `a_pane_draws_its_own_views_outline`, `the_ruler_origin_crosshair_shows_on_the_outline_canvas` |
|
||||
| Outline view: a click selects by the outlines drawn, so it reaches a path behind an image (picked on its frame, unless Show Images in Outline Mode draws its pixels) or a gradient mesh (picked on its mesh lines) | done | #6437; in Outline mode the path is selected directly ([Object selection methods and preferences](https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/object-selection-methods-and-preferences.html), Object Selection by Path Only). Type, symbol instances, blends, envelopes and placed documents are still picked within their bounds. Tests `outline_mode_picks_paths_through_images_and_meshes`, `outline_view_click_through_an_image_selects_the_path_behind` |
|
||||
| Outline view draws a linked image or placed document as its box with an X inside, unless Show Images in Outline Mode is on | partial | A linked file draws in Outline mode as a box with an X in it, and its contents show only after the Document Setup option Show Images in Outline Mode is turned on ([View artwork](https://helpx.adobe.com/illustrator/using/viewing-artwork.html)). The rest are VectorCraft's own rules. A linked image's frame is crossed from corner to corner, following the corners of a turned or distorted image. An embedded image, and each piece that an envelope cuts an image into, shows its frame alone. A click selects a linked image on its frame, as before, and not on the lines. A placed document shows its box crossed and none of its art, also with raster effects such as a drop shadow and with color adjustments. Not yet: a placed document with an effect that changes geometry, its own or its group's, still shows its file's art reshaped by the effect, without the X. With the option on, images show their pixels in gray and placed documents show their art in outline, uncrossed, and the art inside a placed document follows the option of the document it is placed in. Preview mode and output draw them as before. Tests `outline_mode_crosses_a_linked_images_frame_unless_the_setup_shows_images`, `outline_mode_crosses_a_linked_image_with_a_color_mask`, `outline_mode_does_not_cross_the_pieces_of_an_enveloped_linked_image`, `outline_mode_crosses_a_linked_image_moved_into_a_warp_piece`, `outline_mode_crosses_a_turned_or_distorted_linked_image_through_its_corners`, `outline_mode_draws_a_placed_document_as_its_box_crossed_unless_the_setup_shows_images` |
|
||||
| Arrange Tools add-on (VectorCraft addition): Object › Plug-ins › Arrange Tools runs Arrange in Grid… (grid by row, one row or one column; columns, H and V spacing, Center on Artboard; Preview), Swap Objects, Swap Objects and Sizes, Replace with Top Object… (Actual Size, Bounds or Bounds (Fit Proportionally); Keep Original; Scale Strokes & Effects; Preview), Set Size of Each… (Width and Height each ticked on or off, Constrain Width and Height Proportions with one side, the reference point, Scale Strokes & Effects; Preview) and Zoom to Selection, each one undo step | done | `addon.arrange.*`, `crates/engine/src/cmd/addons/arrange.rs`, `crates/ui-egui/src/addons/arrange.rs` and their tests; not a feature of the reference app, so it is not scored |
|
||||
| Arrange Tools add-on (VectorCraft addition): Object › Plug-ins › Arrange Tools › Group Overlapping Objects groups the selected objects whose visual bounds overlap or touch (chains included, within one layer or group), each group at its frontmost member's stacking place, one undo step | done | #4928; `addon.arrange.groupOverlapping`, `crates/engine/src/cmd/addons/arrange.rs` and its tests; not a feature of the reference app, so it is not scored |
|
||||
| Arrange Tools add-on (VectorCraft addition): Object › Plug-ins › Arrange Tools › Randomize Opacity… gives each selected object its own opacity at random between Minimum and Maximum (%), with a Seed that repeats it and Preview, one undo step | done | #4925; `addon.arrange.randomizeOpacity`, `crates/engine/src/cmd/addons/arrange.rs`, `crates/ui-egui/src/addons/arrange.rs` and their tests; not a feature of the reference app, so it is not scored |
|
||||
@@ -559,6 +560,7 @@ next unit in the order a right-click on a ruler lists them, from Feet back to Po
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools › Smooth Bridge… (Radius as a percentage of the smaller circle's radius, or with Constant Gap that radius plus a gap; Reach; Keep Originals; Preview) joins two selected circles into one outline with two concave arcs that touch both circles, or three or more each to the others within reach, united where the bridges connect, in place of the circles or above them (a pair within reach gets no bridge when its arcs would not reach both circles or would cross, or when its neck would be thinner than the precision its shape is united at; a circle bridged to no other stays as it is); one undo step | done | `addon.pathtools.bridge`, `crates/pathops/src/addons/pathtools/bridge.rs`, `crates/ui-egui/src/addons/pathtools/bridge.rs` and their tests; a VectorCraft addition, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools › Tangent Circle… draws the circles that touch two selected paths or compound paths at a radius, or three of them, each touching the outlines without crossing them; Radius (two shapes), a Circle menu (All or one by number) and Preview; one undo step | done | `addon.pathtools.tangentCircle` (in `crates/engine/src/cmd/addons/pathtools/tangent_circle.rs`, geometry in `crates/pathops/src/addons/pathtools/tangent_circle.rs`) and its tests; a VectorCraft addition, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools › Add Bounding Rectangle… and Add Bounding Circle… draw a live rectangle on the selection's geometric bounding box, or the smallest live circle that holds its outlines, from a dialog with Offset, One per Object (a shape around each object instead of one around the whole selection) and Preview; one undo step | done | `addon.pathtools.boundingRectangle` and `addon.pathtools.boundingCircle` (in `crates/engine/src/cmd/addons/pathtools/bounding.rs`, the circle in `crates/geom/src/shapes.rs`, `enclosing_circle`; the dialog is the command dialog, `crates/ui-egui/src/dialogs/command.rs`) and their tests, with the menu items' test `add_bounding_rectangle_and_circle_open_a_dialog_with_offset_and_one_per_object` in `crates/ui-egui/src/addons/pathtools/tests.rs`; a VectorCraft addition, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools › Add Inscribed Circle draws the largest live circle inside each selected closed path or compound path, in the area it fills under its fill rule; one undo step | done | `addon.pathtools.inscribedCircle` (in `crates/engine/src/cmd/addons/pathtools/inscribed.rs`, geometry in `crates/pathops/src/addons/pathtools/inscribed.rs`) and its tests, with the menu item's test `add_inscribed_circle_draws_its_circles_without_a_dialog` in `crates/ui-egui/src/addons/pathtools/tests.rs`; a VectorCraft addition, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Effect › Path Effects lists its live effects (Dashes to Geometry, Add Anchors, Extend Path, Close Path, Smooth Anchors, Retract Handles, Reverse Direction, Simplify Anchors, Split at Anchors), each with the effect dialog's live Preview except Reverse Direction, which has no options, and listed in the Appearance panel like any effect | done | `addon.path.*`, `crates/effects/src/addons/path.rs`, `crates/ui-egui/src/addons/pathtools.rs` and their tests; not a feature of the reference app, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools selects its four tools (Anchor Eraser Brush, Extend Path, Measure & Inspect, Parametric Shape), which the All Tools drawer lists under their own heading but neither toolbar shows as shipped, opens the Anchor Inspector panel (the selected anchor's X/Y and handle lengths and angles as fields; Make Smooth, Make Corner, Equalize Handles, Remove Points Keep Shape, Add Points, the three ways to close) and the Parametric Shape panel (kind, count, W/H, rotation, the kind's own values and corner radius of the selected parametric shape, or of the tool's next one), and runs Add Points at / Split at Crossings and Convert to Parametric Shape; the Parametric Shape Tool draws ten re-editable kinds from the centre (↑/↓ and ←/→ change their numbers while dragging) and edits a selected one with handles; a double-click on the brush or Extend Path tool opens its options | done | `addon.pathtools.*`, `crates/tools/src/addons/`, `crates/ui-egui/src/addons/pathtools.rs`, `crates/ui-egui/src/addons/pathtools/shape.rs` and their tests; not a feature of the reference app, so it is not scored |
|
||||
| Path Precision Tools add-on (VectorCraft addition): Object › Plug-ins › Path Precision Tools selects its six tools (Anchor Eraser Brush, Extend Path, Measure & Inspect, Parametric Shape, Corner Tool, Slide Anchor Along Path), which the All Tools drawer lists under their own heading but neither toolbar shows as shipped, opens the Anchor Inspector panel (the selected anchor's X/Y and handle lengths and angles as fields; Make Smooth, Make Corner, Equalize Handles, Remove Points Keep Shape, Add Points, the three ways to close) and the Parametric Shape panel (kind, count, W/H, rotation, the kind's own values and corner radius of the selected parametric shape, or of the tool's next one), and runs Add Points at / Split at Crossings and Convert to Parametric Shape; the Parametric Shape Tool draws ten re-editable kinds from the centre (↑/↓ and ←/→ change their numbers while dragging) and edits a selected one with handles; the Corner Tool cuts editable corners on any path (hover shows the anchor, a click uses its radius and kind, a drag sizes the corner, Shift whole values; a corner's marker selects it and loads its values, drags to resize, to 0 or double-clicked removes it; never past what fits; Alt-marquee cuts every anchor inside) with a Corners section in the Anchor Inspector (radius, kind, selected count, Apply to Selected Anchors); Slide Anchor Along Path drags an anchor along its curve with the segments beside it refitted, Shift snapping where the tangent is a multiple of 45°; a double-click on the brush or Extend Path tool opens its options | done | `addon.pathtools.*`, `crates/tools/src/addons/`, `crates/ui-egui/src/addons/pathtools.rs`, `crates/ui-egui/src/addons/pathtools/` and their tests; not a feature of the reference app, so it is not scored |
|
||||
|
||||
Reference in New Issue
Block a user