Commit Graph
852 Commits
Author SHA1 Message Date
dotCooCoo b81e6dbabb Merge main into feat/circle-from-center 2026-11-25 13:46:50 -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
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 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 9175afffe0 Merge main into feat/circle-from-center 2026-11-19 16:57:58 -08:00
dotCooCoo 853c85ae4f Merge main into feat/quick-pen-length-handles 2026-11-19 15:15:26 -08:00
bflatastic 864ef2f200 Merge main into #8763
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 05:45:14 +07:00
dotCooCoo f9367c4c10 Pen: Quick Pen handles at a path's ends make its line or arc longer or shorter
The Quick Pen tool shows a handle beyond the start and the end of the
path being drawn, or, while none is, of the selected path, where that
end is a straight line or a circular arc. Dragging the handle changes
the length of the line or arc there, as the Quick Pen help page
describes:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html

- A line keeps its other point and its direction. An arc keeps its
  other point, its circle and the way it turns; its sweep follows the
  pointer around the circle, up to 359 degrees. A drag stops where the
  path would reach past the canvas.
- Each drag is one undo step, and Escape during the drag takes it back.
  The path being drawn goes on from the new end. The pieces the drag
  does not change stay pieces, so C and [ ] still change the last one,
  and a dragged last arc keeps at least 1 degree.
- A click on a handle that does not drag adds a point, closes the path
  or starts one, as a click anywhere else does.
- path.quickPenLength {id, subpath?, end?, length} sets the same length
  for agents and scripts (params text and docs/mcp.md).

The handle's place 20 screen points beyond the end, the 359 degree
limit, the 1 degree minimum, Escape during a drag, the handles on a
selected path and the dragged end not snapping to Smart Guides are
VectorCraft's own rules.

Part of #2660 (reported by earlvanze).
2026-11-19 13:59:39 -08:00
dotCooCoo 8a74ec82b4 Merge main into feat/circle-from-center 2026-11-19 10:35:16 -08:00
dotCooCoo b423ce5855 Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight
Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip
Arc flips the last sharp-corner arc as C does, and More Options has
Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The
handle at its left end drags it.

While a path is being drawn, the toolbar sits beside the path's last
point, 24 screen points off it on the side the path heads toward, or on
the other side where that side runs off the canvas. With no path being
drawn, it sits at the bottom center of the canvas. A drag's offset
applies in the kind of place it was made in (beside the drawing or
resting), and not where it would cover the path's last point. Pinned,
it stays at its place in the canvas window. It hides while a press
drags on the canvas, and its controls wrap in a canvas pane narrower
than the toolbar. Hide Toolbar hides it until the tool is selected
again; Window › Quick Pen Toolbar also shows or hides it.

- Tool::drawing_end and Session::tool_drawing_end give the point the
  path goes on from and the direction it arrives in.
- New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin,
  window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect
  reports quickPenToolbar.
- Labels in every catalog.

Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md,
docs/target-app-parity.md. Part of #2660.
2026-11-19 10:04:07 -08:00
bflatastic f735b5b7f5 Merge remote-tracking branch 'origin/main' into auto/8494 2026-11-20 00:12:54 +07:00
bflatastic d61eb33e52 Merge main into #8399
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 23:17:00 +07:00
dotCooCoo 476bc12da4 Merge main into feat/circle-tool-options 2026-11-19 07:50:29 -08:00
dotCooCoo 8c7b75300f Merge main into feat/paint-brush-library 2026-11-19 05:41:10 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 1fefb5b031 Merge main into feat/circle-from-center 2026-11-19 05:11:36 -08:00
dotCooCoo f9b7c9482e Merge main into feat/circle-tool-options 2026-11-19 05:09:36 -08:00
dotCooCoo df614fb80c Pen: Quick Pen tool draws lines, continuous arcs and sharp-corner arcs
A new tool in the Pen tool's group, chosen with Alt+P (Option+P on
macOS), draws paths of straight lines and circular arcs, as the Quick
Pen help pages describe:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html

- A click sets the start point; each click, or a press dragged to where
  it is let go, adds a line, a continuous arc (it leaves the last point
  in the path's direction) or a sharp-corner arc, as the tool's action
  says. Each piece is one undo step.
- Alt (Option) pressed and let go on its own switches to the next
  action. C flips the last sharp-corner arc to the other side of its
  chord, and [ and ] make the arc size 15 degrees smaller or larger.
- A click on the first point closes the path, a click on an end of an
  open path continues it, and Escape or Enter ends it. An edit made to
  the path from outside the tool also ends it.
- path.quickPen {start | id, subpath?, keep?, pieces, closed?} draws
  the same path for agents and scripts. The action and arc size are
  kept with the preferences.

The 180 degree default arc size, its 15 degree steps, the side an arc
bulges to and Enter ending the path are VectorCraft's own rules.

Part of #2660 (reported by earlvanze). Not yet: the on-canvas toolbar,
dragging a path's ends to change its length, Ctrl+scroll for the arc
size, and editing and deleting with the tool.
2026-11-19 01:29:06 -08:00
bflatastic a82a968b25 Merge main into #8645
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-19 15:27:12 +07:00
BFlat 7784d2f1a5 Merge pull request #8528 from dotCooCoo/feat/curvature-circle
Shapes: the Curvature Circle tool draws the circle a path bends along
2026-11-19 15:01:28 +07:00
BFlat 1fa8b7f535 Merge pull request #8526 from dotCooCoo/feat/tangent-circle-tool
Path Precision Tools: the Tangent Circle Tool draws a circle on two clicked segments
2026-11-19 15:01:11 +07:00
ruchirguitar 0c65ede5de G5: Add built-in Media Controls symbol library
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
2026-11-19 10:08:20 +05:30
dotCooCoo c5863cd11a Docs: radius preview of the Three-Point Arc tool needs Measurement Labels
The tool shows the radius by the pointer only with Measurement Labels on. The progress lines in docs/target-app-parity.md, docs/ui-parity.md and ROADMAP.md now say so.
2026-11-18 17:25:09 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 32e7344cb9 Merge main into feat/arc-by-points 2026-11-18 17:04:49 -08:00
dotCooCoo e6b6a3dc78 Merge main into feat/circle-tool-options 2026-11-18 16:24:04 -08:00
dotCooCoo a7d9609ce6 Merge main into feat/paint-brush-library 2026-11-18 15:12:11 -08:00
dotCooCoo 728d30b5e5 Merge main into feat/circle-from-center
# Conflicts:
#	crates/ui-egui/src/i18n/tests.rs
2026-11-18 14:47:04 -08:00
dotCooCoo a9cd206c04 Merge main into feat/tangent-circle-tool 2026-11-18 13:19:09 -08:00
dotCooCoo ca6871025a Merge main into feat/enclosing-shapes 2026-11-18 12:50:45 -08:00
dotCooCoo 91cacaa6ed Path Precision Tools: the bounding shapes' menu items open a dialog with Offset and One per Object
Add Bounding Rectangle… and Add Bounding Circle… open the command dialog
with Offset (0 to 4,000,000 pt), One per Object (`each`) and Preview, so
the menu sets what the commands take. Cancel removes the preview without
a step of history, and an Offset that takes the shape past the canvas
edge leaves the dialog open with the error.

- The canvas check reuses `sanity::rect_in_range`; the params text and
  docs/mcp.md say the limit holds along each axis.
- Tests: the dialog (defaults, preview, Cancel, OK with and without an
  Offset and One per Object, the canvas error, the catalog rows); a circle
  just inside the limit; one edge past the limit is refused.
- Catalogs: the two menu labels with "…" and "One per Object" in all 28;
  the four messages in bg, bs and id as well.
2026-11-18 08:17:22 -08:00
dotCooCoo a0873e4bf1 Merge main into feat/smooth-bridge-many 2026-11-18 08:14:05 -08:00
dotCooCoo 8e09fe6e53 Merge main into feat/enclosing-shapes 2026-11-18 07:37:55 -08:00
dotCooCoo 4dbbf4ac44 Merge main into feat/circle-tool-options 2026-11-18 07:37:50 -08:00
dotCooCoo 0dd0424173 Merge main into feat/arc-by-points 2026-11-18 07:35:11 -08:00
dotCooCoo 602ecb9786 Merge main into feat/tangent-circle-tool 2026-11-18 06:02:18 -08:00
BFlat ff0f7dcac5 Merge pull request #8506 from dotCooCoo/feat/point-tangents
Path Precision Tools: Common Tangents draws the lines from a point to a closed path
2026-11-18 18:25:50 +07:00
dotCooCoo 32c1f02d17 Merge main into feat/circle-from-center 2026-11-18 01:42:15 -08:00
dotCooCoo b7af9a7e6b Merge main into feat/tangent-circle-tool 2026-11-18 01:32:50 -08:00
dotCooCoo df9ea190f8 Merge main into feat/paint-brush-library 2026-11-18 01:21:13 -08:00
dotCooCoo f019496286 Merge main into feat/enclosing-shapes 2026-11-17 22:51:21 -08:00
dotCooCoo 4302f4c90b Path Precision Tools: bounding shapes name a shape with no size and stop at the canvas edge
When every shape is left out because it would have no size, for example
Add Bounding Rectangle on a straight horizontal line, the error is now
"the shape would have no size" instead of "nothing to enclose", which
stays for objects with no outline. A shape that would reach more than
4,000,000 pt from the origin, for example with a very large `offset`,
is refused with "the shape would reach past the edge of the canvas"
before anything is drawn. Both messages are in the 24 catalogs that
translate messages.

The params text of addon.pathtools.boundingCircle now names the
sublayer rules that docs/mcp.md states: sublayers that clip their
contents count by their clipping paths, other sublayers by their shown
objects. Both commands' params text lists the errors.

The menu items open no dialog and draw one shape around the whole
selection with no offset. docs/ui-parity.md, docs/target-app-parity.md,
docs/mcp.md and the ROADMAP line now say so, and name `each` and
`offset` as command parameters only.

New tests: the menu items in vectorcraft-ui-egui, the canvas-edge error
in vectorcraft-engine, and shapes::convex_hull in vectorcraft-geom.
2026-11-17 22:50:44 -08:00
BFlat 20d8217312 Merge pull request #7950 from dotCooCoo/feat/smooth-bridge
Path Precision Tools: Smooth Bridge joins two circles with concave arcs
2026-11-18 13:12:40 +07:00
BFlat 62d9937c75 Merge pull request #8448 from dotCooCoo/feat/circle-tool
Shapes: the Circle tool draws a circle through two or three points
2026-11-18 13:09:51 +07:00
dotCooCoo a64ceebccf Shapes: the Curvature Circle tool shows "Corner" at a corner anchor
At a corner anchor the tool now shows "Corner" instead of "Cusp", and
`shape.curvatureCircle` returns "the path has a corner there, so it has
no single curvature".

- A closed subpath whose only segment with length loops back to its
  start (a teardrop) has a corner at its tip, from both ends of the loop.
- An anchor marked smooth whose out handle points back along its in
  handle is a corner.
- The guide error and the new corner error have rows in the 24 catalogs
  that translate every message.
- A test covers a Smart Guides snapping tolerance larger than 5 screen
  points, with Smart Guides off and on.
2026-11-17 21:34:11 -08:00
dotCooCoo 51194f584b Path Precision Tools: the Tangent Circle Tool keeps its first segment until the circle is drawn
- The release returns shape.circleThroughPoints followed by a Notify,
  and the tool forgets the first segment only when it is told, so a
  command that fails leaves the segment picked (as the Direct Selection
  tool's FRAME_PICKED notice follows its command).
- The preview leaves out circles that three of their points cannot give
  back, so the note shows where a click would draw nothing.
- A double-click draws nothing more: the canvas sends it after the
  second click's release, which drew the circle.
- The re-exports for the tool are a separate `pub use` in the pathops
  pathtools module, whose module comment is unchanged.
- Circles of one radius at places tried close together along the
  first segment are no longer taken for repeats: a repeat also touches
  the first segment at the same point. At a radius of 1,000,000 pt the
  513 places along a 100 pt line were cut to 86.
- A test checks the note's row in every complete catalog.

Docs: a drag's circle may touch the first segment anywhere along it;
the circles that are left out; an out-of-range radius option leaves
the radius as it is. The ROADMAP, target-app-parity and ui-parity
entries move next to related entries, and docs/mcp.md is rewrapped to
120 columns.

Part of #7178.
2026-11-17 21:16:04 -08:00
dotCooCoo 8e7e64bfb1 Merge main into feat/circle-from-center 2026-11-17 20:30:10 -08:00