900 Commits

Author SHA1 Message Date
.CooCoo 3860a8025c Merge pull request #10502 from dotCooCoo/fix/common-tangents-metaball
Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
2026-12-01 18:28:19 -08:00
.CooCoo aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -08:00
dotCooCoo 6f684e6da9 Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
Common Tangents… now also does what Smooth Bridge… did (#10465).

- Connect tangents joins the two tangents of each kind into one closed
  shape, along the chords between where they touch each path (a point's
  two lines make a triangle). `connect` on
  `addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
  the tangent lines; Curved joins the circles along concave arcs, as
  Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
  Originals, which take input only with Curved. `curved`, `radius`,
  `gap`, `reach` and `keepOriginals` on the command; options of the
  other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
  runs for scripts and actions, opens the merged dialog with External
  and Curved, and is left out of the command palette and Keyboard
  Shortcuts. A palette search for "metaball" or "smooth bridge" finds
  Common Tangents.

Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
2026-12-01 11:16:00 -08:00
dotCooCoo a992850228 Merge main into feat/color-randomly
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
2026-12-01 06:26:48 -08:00
dotCooCoo 8ba55104f0 Merge main into feat/group-rows
# Conflicts:
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/addons/arrange.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-01 06:20:46 -08:00
dotCooCoo eadf345932 Merge main into feat/color-randomly 2026-12-01 01:04:32 -08:00
dotCooCoo 3fcb278b24 Merge main into feat/group-rows 2026-12-01 01:03:49 -08:00
dotCooCoo 9c4f01faf1 Merge main into feat/corner-marks 2026-12-01 01:03:01 -08:00
dotCooCoo 87005e7ae7 Docs: readiness and depth scores match what main ships
Rescore the area, dimension and audience tables against the code on
main, using each doc's own formulas: feature depth 8342/105 (~79%),
breadth ~96% (menu items 815 of 816 wired, tools 91 of 92, vector
effects 50 of 50), full readiness ~67%, mainstream ~65%, essentials
~77%, UI/UX ~60%. File formats stay at ~75%. Stability, Raster effects
in ROADMAP, and Export/print in the essentials table go down where open
crash reports or the area table say so. Hours are not recomputed.
2026-11-29 22:58:55 -08:00
dotCooCoo b385852729 Merge main into feat/quick-pen-scroll-arc 2026-11-29 21:17:46 -08:00
dotCooCoo 1b8927db9f Merge main into feat/group-rows 2026-11-29 19:10:04 -08:00
dotCooCoo 1bf9a00828 Docs: ROADMAP matches what main ships
- Feature breadth: 3D maps graphics on the Materials page (#6960); base
  materials are still missing.
- Simplified Chinese: status and error messages are translated (#2578);
  the row stays partial at 85%.
- Current focus, G11: the Transform effect in a fill's or stroke's own
  effects is fixed (#5221, #885); the unit preference (#864) remains.
2026-11-29 18:40:33 -08:00
dotCooCoo 5fccf73431 Color Effects: Randomize Fill Colors colors compound marks in a graph series
A compound path or live compound shape directly in a graph series group now
takes a color. Generated column, marker and legend swatch copies carry a new
graph_design_art flag and keep their design's fill; in documents saved before
the flag, a compound in a series whose assigned design is itself a compound is
still treated as design art. Paths a user groups inside a series keep their
fills, as for paint.setFill. Nested members resolve to the outermost compound
in one walk of the ancestry, and series membership is looked up once per run.
2026-11-29 18:02:26 -08:00
dotCooCoo 8a29b0ac66 Merge main into feat/corner-marks 2026-11-29 17:10:09 -08:00
dotCooCoo e969d29387 Merge main into feat/corner-marks 2026-11-29 16:16:11 -08:00
dotCooCoo f11aac5aaa Merge main into feat/match-objects-to-key 2026-11-29 15:00:53 -08:00
dotCooCoo 9693ce96aa Arrange Tools: Group by Row puts each row of the selection in its own group
Object > Plug-ins > Arrange Tools > Group by Row... (addon.arrange.groupRows)
groups the selected top-level objects by the rows their visual bounds share:
an object joins a row when its bounds overlap the row from top to bottom,
and Group By Columns does the same from left to right. Extents that only
touch stay apart, and an object that overlaps two rows joins them into one.
Only objects in the same layer or group and on the same artboard share a
row; an object alone in its row stays as it is. Each new group takes its
frontmost member's place in the stacking order, and the groups and the
objects left alone stay selected. One undo step, none when no row holds two
objects; an unknown direction is refused. At most 20000 objects, sorted
once along the axis.

Group Overlapping Objects and Group by Row share the step that builds the
groups. The dialog has Group By (Rows or Columns) with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-29 14:19:39 -08:00
dotCooCoo 314ee3681e Arrange Tools: Mark Bounds of Each draws corner marks or a rectangle on each selected object's bounds
Object > Plug-ins > Arrange Tools > Mark Bounds of Each... runs the new
command addon.arrange.markBounds. For each selected object it draws a
group of four inward L-shaped corner marks (10 pt legs by default, each
at most half the side it runs along) or a rectangle, with no fill and a
red 1 pt stroke by default, on the object's geometric or visual bounds.
Visual bounds count strokes, brush art and effects as drawn.

- Clip groups are measured by their clipping path, other groups by
  their members together. Guides and objects without bounds, such as
  empty groups, are skipped; a selection with nothing to mark is an
  error that makes no undo step.
- The marks go directly above their object, or above the outermost clip
  group or clipping sublayer that holds it, so the mask does not clip
  them. The run is one undo step and selects the marks.
- Out-of-range lengths and weights, unknown styles and bounds, and bad
  colors are errors; defaults apply only to omitted values. At most
  20000 objects are marked at once.
- The dialog has Preview; Length is off unless Draw is Corner Marks.
- vectorcraft-render gains drawn_bounds_with, drawn_bounds with a shared
  symbol cache, so a large selection measures each symbol once.

Docs: docs/mcp.md, ROADMAP.
2026-11-29 12:57:12 -08:00
dotCooCoo 2c807a0e9d Color Effects: Randomize Fill Colors leaves art on a locked artboard alone
Objects named in `ids` skipped the locked-artboard filter that the
selection applies, so the command could recolor art on a locked artboard.
The command now skips every target the locked artboards hold, checked once
per run with `Document::locked_artboards`. New art made on a locked
artboard that is still selected takes a color, as with other commands.

The params text, docs/mcp.md and the ROADMAP entry state the rule.
2026-11-29 10:45:46 -08:00
dotCooCoo 9334f11ddf Color Effects: Randomize Fill Colors gives each selected filled path its own random fill
Object › Plug-ins › Color Effects › Randomize Fill Colors… gives each
selected filled path and compound path, and each one inside the selected
groups and clipping groups, a fill color of its own, picked at random
from a seed, as one undo step (none when no fill changes).

- addon.color.randomFill {scheme?, swatch?, min?, max?, seed?, ids?}:
  "color" picks red, green and blue at random in the document's color
  mode, "tint" picks a linked tint of a global or spot swatch, and "gray"
  picks a gray, the tints and grays between min and max percent.
- Unfilled paths, clipping paths (compound ones included), hidden and
  locked objects and the objects in hidden or locked groups and layers,
  type, images, symbol instances, blends and envelopes keep their fills.
  A compound path's member given by id colors the compound path, and an
  object reached twice is colored once.
- Bad params are refused: an unknown scheme, min or max with "color",
  swatch without "tint", a percent outside 0 to 100, min above max, a
  missing or process swatch, and a seed that is not a whole number.
- The dialog has Colors, Swatch (the document's global and spot
  swatches), Minimum, Maximum and Seed, with Preview; OK is off while the
  minimum is above the maximum or tints have no swatch.

Docs: docs/mcp.md, ROADMAP, docs/target-app-parity.md, docs/ui-parity.md.
2026-11-29 07:23:57 -08:00
dotCooCoo 2b61bdc752 Arrange Tools: Offset Objects chains the selection in a row or a column with a set gap
Object › Plug-ins › Arrange Tools › Offset Objects… (addon.arrange.offset)
puts the selected objects one after another in a row (left to right) or
a column (top to bottom), each a gap past the one before it; a negative
gap overlaps them. The order is the stacking order from the back or the
position (left or top edges), and Reverse Order runs it the other way.
The first object stays where it is, and the others move only along the
row or column, keeping their place across it. Objects are measured by
their visual bounds, a clipping group by its mask. One undo step, none
when nothing moves; bad params are refused.

The dialog has Direction, Gap, Order and Reverse Order with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-29 03:38:29 -08:00
dotCooCoo 4f2bb0d177 Arrange Tools: Match Objects gives the others the key object's size, angle and stacking place
Object › Plug-ins › Arrange Tools › Match Objects… (addon.arrange.match)
makes the other selected objects match one source object: the key
object, or the top or the bottom selected object. Each can take the
source's width (height in proportion), height (width in proportion) or
both, its bounding-box angle, and its stacking place directly above it
in its layer or group, about a reference point, as one undo step. No
step is recorded when nothing changes, and invalid params are refused.
The dialog previews on the canvas; OK stays off while nothing is chosen
or the source is a missing key object.

Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md, ROADMAP.
2026-11-29 03:38:13 -08:00
dotCooCoo 401a4ebec0 Merge main into feat/quick-pen-scroll-arc 2026-11-28 17:29:40 -08:00
dotCooCoo 96c6db1895 Merge main into feat/quick-pen-scroll-arc 2026-11-28 07:15:42 -08:00
dotCooCoo 48a0c6017e Three-Point Arc: join arcs to open path ends and snap to carry a path on
The Three-Point Arc tool gets two options in its Tool Options:

- Join to Open Path Ends (`join`, off by default; J switches it while
  the ends are placed): an end placed within 5 screen points of an end
  of an open path lands on it, and the arc is joined to that path. The
  path keeps its look and, when one end joins, its direction. With both
  ends on open path ends the two paths become one, or the path closes
  when both are its own ends. It is one undo step.
- Snap Where the Arc Continues a Path (`tangentSnap`, on by default): in
  direction mode, when the direction line starts on an end of an open
  path, a third point near the line along which the arc carries the
  path on, the same way or turned back, snaps onto it, and the tool
  shows the line dashed.

`shape.threePointArc` takes `join: true` for the same join; it picks a
path in the selection first, then the front one, and in isolation mode
only paths inside the isolated group.
2026-11-28 04:34:06 -08:00
yoriswind f5e20a4619 Merge main while preserving color conversion notes 2026-11-26 14:40:36 -08:00
BFlat 26c4bfdd4d Merge pull request #8801 from dotCooCoo/feat/quick-pen-edit-delete
Pen: Quick Pen drags move a selected path's anchors and segments, and its context menu deletes
2026-11-27 05:08:59 +07:00
yoriswind 6bd63e2bb4 Resolve the additive documentation conflicts with current main 2026-11-26 11:31:04 -08:00
BFlat 20e2bfbda3 Merge pull request #8872 from dotCooCoo/feat/packaging-fold-angle
Packaging Tools: a crease, partial cut or perforation can fold at its own angle
2026-11-27 00:53:23 +07:00
yoriswind df45c7a63e Integrate upstream documentation while preserving color conversion coverage 2026-11-26 08:13:29 -08:00
yoriswind cc69675d6e Merge current main while retaining indexed global-swatch conversion 2026-11-26 07:17:00 -08:00
dotCooCoo 3001757362 Merge main into feat/packaging-fold-angle 2026-11-25 21:17:07 -08:00
dotCooCoo beb57047e3 Merge main into feat/quick-pen-scroll-arc 2026-11-25 19:39:53 -08:00
dotCooCoo 6cb7fcadae Merge main into feat/quick-pen-edit-delete 2026-11-25 19:18:48 -08:00
dotCooCoo 046a97cb73 Merge main into feat/curvature-circle-options 2026-11-25 19:16:23 -08:00
dotCooCoo 5c854f4b91 Merge main into feat/quick-pen-scroll-arc 2026-11-25 15:35:29 -08:00
dotCooCoo 94902542ac Merge main into feat/curvature-circle-options 2026-11-25 15:23:47 -08:00
dotCooCoo b81e6dbabb Merge main into feat/circle-from-center 2026-11-25 13:46:50 -08:00
dotCooCoo 6f94760f04 Merge main into feat/quick-pen-edit-delete
# Conflicts:
#	crates/tools/src/quickpen.rs
#	docs/ui-parity.md
2026-11-25 10:31:38 -08:00
dotCooCoo 391ea5dd4b Merge main into feat/curvature-circle-options 2026-11-25 04:30:52 -08:00
HassanKhan a237a4d8a8 docs: revision rows say #937's fix is still unconfirmed on the reporter's file (#8314) 2026-11-25 16:12:32 +05:00
HassanKhan d0d8126416 Merge remote-tracking branch 'upstream/main' into docs-8314-roadmap-g11
# Conflicts:
#	docs/target-app-parity.md
2026-11-25 16:00:54 +05:00
dotCooCoo f9f0659fc4 Merge main into feat/packaging-fold-angle 2026-11-24 23:45:27 -08:00
dotCooCoo 9c2b1fa1ef Merge main into feat/quick-pen-scroll-arc 2026-11-24 23:18:15 -08:00
BFlat 617f5d6d71 Merge pull request #9066 from dotCooCoo/feat/inscribed-circle
Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
2026-11-25 11:27:35 +07:00
HassanKhan 194cd7972b docs: Essentials row names Shape Builder's remaining depth (#8314) 2026-11-22 12:47:12 +05:00
HassanKhan 48e38cdd62 docs: ROADMAP Upcoming names G11's remaining bugs (#8314)
Shape Builder regions (#937) and Asset Export borders (#983, #1037) are
fixed; the item now names what docs/roadmap.md keeps (#864's unit
preference, #885) with its 6-13 h estimate.
2026-11-22 12:40:37 +05:00
dotCooCoo 78d2a634dd Quick Pen: a press let go past the drag distance moves the anchor
A press on an anchor or a segment of a selected path that is let go past
the drag distance now moves what it holds, even when every drag event
before the release stayed short. Before, such a release selected the
anchor, or on an open end went on drawing from it. A press whose path
another command edited while it was down does not move anything.

The docs now say that a line stays a line and an arc stays circular
beside a moved corner anchor, and that at a moved smooth anchor the
handles stay in line and the segments bend to meet.
2026-11-21 19:22:33 -08:00
dotCooCoo 80f96d11f9 Path Precision Tools: Add Inscribed Circle draws the largest circle inside a path
Object › Plug-ins › Path Precision Tools › Add Inscribed Circle
(`addon.pathtools.inscribedCircle`) draws the largest live circle inside
each selected closed path or compound path, centered on its pole of
inaccessibility. Part of #6966.

- The outline is resolved under its fill rule into outer contours and
  holes, so overlapping subpaths count as the area they fill and holes
  bound the circle down to 1e-6 pt wide, the path operations'
  resolution. Square cells are searched best
  first, and the radius is measured from the center to the curves:
  within 0.02 pt of the largest, or a thousandth of the narrower side
  for a shape less than 10 pt across.
- The circle is drawn up to 0.03% smaller, by as much as its four curves
  reach past a true circle, so it stays inside where it touches.
- Open paths, other objects, shapes that fill no area, and outlines past
  262,144 flattened pieces or the search's work limit are errors that
  leave the document unchanged. The first cells are sized to the work
  limit.
- The circles get the current paint, go on top of the current layer or
  the isolated group, and are one undo step.
- Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md,
  ROADMAP.
2026-11-21 18:49:56 -08:00
dotCooCoo c6bea78bdf Shapes: Curvature Circle Tool Options set its reach, label, anchors and arc rule
Double-clicking the Curvature Circle tool opens Curvature Circle Tool
Options (`tool.options {tool: "curvatureCircle"}`, dialog
`curvatureCircleOptions`). OK sets the options with `tool.setOption`,
and the preferences keep them:

- Snap Tolerance (`snapTolerance`, 1 to 40 screen points, 5) is how
  near a path pulls the pointer; Smart Guides' Snapping Tolerance
  applies when it is larger.
- Snap with Smart Guides Off (`snapWithoutGuides`) unchecked keeps the
  reach within Selection & Anchor Display's Tolerance while Smart
  Guides are off.
- Annotate Radius (`annotateRadius`) unchecked hides the radius label.
- Anchors at Standard Positions (`standardAnchors`) unchecked draws a
  path with an anchor where the circle touches the path and one every
  90 degrees from there (`shape.curvatureCircle {anchors: "touch"}`).
- Use the Radius of Circular Arcs (`constantRadius`) unchecked gives
  the cubic's own curvature on the cubic of a circular arc too
  (`shape.curvatureCircle {constantRadius: false}`).

The range, the default and the Snap with Smart Guides Off rule are
VectorCraft's own. Every switch is on by default, so the tool draws as
before until an option is changed. The canvas check measures the path
drawn, whose cubics reach a little past the circle when its anchors
are where it touches.
2026-11-20 23:43:34 -08:00