Commit Graph
8580 Commits
Author SHA1 Message Date
dotCooCoo de29baab11 Shapes: the Curvature Circle tool draws the circle a path bends along
The Curvature Circle tool, after the Circle tool in the Ellipse tool's
flyout, draws the circle that touches a path at a point and bends as the
path bends there, with shape.curvatureCircle. The pointer snaps to the
nearest path that is not a guide within 5 screen points, or within the
Smart Guides snapping tolerance when that is larger, and the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), its center, a line from the center to the point it
touches and, with Measurement Labels on, its radius. A click draws the
circle in one undo step, on the side the path bends toward; Shift held at
the press puts it on the other side. A press dragged 2 screen points or
more, or canceled with Escape, draws nothing.

A segment that is the usual cubic of a circular arc of 90° or less gives
a circle with the arc's own radius, shown with an asterisk, so a click on
a circle drawn with the Ellipse tool draws that circle. On a straight
segment, at a cusp or a corner anchor, or where the circle would reach
past the canvas, the pointer shows "Straight segment", "Cusp" or "Circle
too large", and a click draws nothing. An anchor is a corner when the
segments meet there at more than half a degree and it is not marked
smooth; segments of no length between them are passed over. The tool's
icon is new and drawn for VectorCraft.

shape.curvatureCircle takes the path, subpath, segment, t and convex, and
returns the circle's center and radius and whether the radius is an
arc's own. A guide is refused.

draw2::candidate_paths skips the selected paths with a hash set, so it
takes time linear in the number of paths on each pointer move.

Part of #7178.
2026-11-17 20:18:05 -08:00
dotCooCoo 5945e6e12a Merge main into fix/confined-exporter-and-placed-pdf-paths 2026-11-17 20:13:03 -08:00
dotCooCoo 67f2c39a37 Merge main into fix/i18n-psd-import-options-and-slices 2026-11-17 20:09:47 -08:00
dotCooCoo cd5baebc41 Merge main into fix/issue-7849 2026-11-17 20:09:10 -08:00
dotCooCoo 7e5a1cf97d Merge main into feat/pressure-sensitive-brush-library 2026-11-17 20:08:54 -08:00
dotCooCoo 8b9b5f0835 Merge main into feat/stipple-brush-library 2026-11-17 20:08:53 -08:00
dotCooCoo 57d21108c9 Merge main into feat/hold-shortcuts 2026-11-17 20:08:52 -08:00
dotCooCoo 85d4b2a37d Merge main into feat/paper-cutouts-style-library 2026-11-17 20:08:52 -08:00
dotCooCoo a561f666a6 Path Precision Tools: the Tangent Circle Tool draws a circle on two clicked segments
The Tangent Circle Tool (tangentCircle) joins the add-on's tools, in
Object > Plug-ins > Path Precision Tools and the All Tools drawer. A click
on a path segment picks it; a click on a second segment draws the circle
that is tangent to the first segment at the point clicked and touches
the second. The segments beside the second one count with it, and of
the circles found the one touching them nearest the pointer is drawn.

- Shift on the second click uses the tool's radius (36 pt to start, set
  in its options), anywhere along the first segment.
- A drag from the second segment sets the radius to the drag's length;
  Shift steps it by 1, 2 or 5 times a power of 10 pt, at least 4 screen
  pixels, and Cmd/Ctrl pressed during the drag moves it by a tenth.
- Before the click the circle shows with its center, its radii to the
  touch points and its radius, or a translated note says there is none.
  The preview follows a pan, a zoom or an edit under a still pointer.
- The circle is drawn with shape.circleThroughPoints, so Align New
  Objects to Pixel Grid leaves it tangent; one undo step. A circle that
  its three points cannot give back in floating point is not drawn, and
  the first segment stays picked. Escape, an edit outside the tool or
  another document forgets the first segment.

The geometry is circles_through and circles_of_radius in the pathops
crate: the distance to the second segments is sampled along the first
segment's normal (or along the segment, for a radius) and the places
where it equals the radius are taken, including touches between samples.

Part of #7178.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-17 20:04:15 -08:00
dotCooCoo b10531b3cd Merge main into fix/library-panel-names-translated 2026-11-17 20:02:37 -08:00
dotCooCoo 116803ad28 Merge main into feat/kinsoku-sets 2026-11-17 20:02:14 -08:00
dotCooCoo b789a26dd5 Merge main into feat/plugin-budget-preference 2026-11-17 20:00:17 -08:00
dotCooCoo 6cc525ea26 Merge main into fix/native-panel-command-geometry 2026-11-17 20:00:01 -08:00
dotCooCoo bebf9cae05 Merge main into fix/transform-panel-shear-range 2026-11-17 20:00:00 -08:00
dotCooCoo c5ba158af1 Merge main into feat/background-save-progress 2026-11-17 19:59:59 -08:00
dotCooCoo 8cf2bc00ae Merge main into feat/save-pdf-bleed-link 2026-11-17 19:59:57 -08:00
dotCooCoo 44bd7ba6df Merge main into feat/toast-messages 2026-11-17 19:59:56 -08:00
dotCooCoo d89f6b72c4 Merge main into feat/smooth-bridge-many 2026-11-17 19:59:55 -08:00
dotCooCoo c0dce666c9 Merge main into feat/object-mosaic-dialog 2026-11-17 19:59:54 -08:00
dotCooCoo 84a5ff6b3e Merge main into feat/artboard-edge-button-tooltips 2026-11-17 19:58:57 -08:00
dotCooCoo 44be4beb97 Merge main into fix/es-message-rows 2026-11-17 19:58:57 -08:00
dotCooCoo 0c4684e9b5 Merge main into feat/attributes-url-count 2026-11-17 19:57:38 -08:00
dotCooCoo ba61e13964 Merge main into feat/tool-cards 2026-11-17 19:57:09 -08:00
dotCooCoo 90802dae85 Merge main into fix/i18n-drop-old-control-characters-rows 2026-11-17 19:57:09 -08:00
dotCooCoo 87be91d7fa Part of #6966: Path Precision Tools draws a bounding rectangle or circle around the selection
Object › Plug-ins › Path Precision Tools › Add Bounding Rectangle runs
addon.pathtools.boundingRectangle, which draws a live rectangle on the
selection's geometric bounding box, strokes left out. Add Bounding
Circle runs addon.pathtools.boundingCircle, which draws the smallest
live circle that holds the outlines of the selected objects. Paths and
compound paths count by their curves, clip groups and clipping
sublayers by their clipping paths, other sublayers by their shown
objects, images by their corners, and type and other objects by the
corners of their bounding box. Each curve is split until its pieces lie
within 0.01 pt of their chords (1,024 pieces at most, after which a
piece counts by its control points), and the circle's radius is 0.01 pt
larger than the smallest circle around those points, so it holds the
curves.

`offset` adds space around the objects, and `each` draws one shape
around each selected object instead of one around them all. Objects
with no outline, such as an empty group, and shapes with no size (the
rectangle around a straight horizontal line, the circle around a single
point) are not drawn; with `each`, `skipped` counts them.

The shapes get the current paint and go on top of the current layer or
of the isolated group, as Tangent Circle's circles do; inside an
isolated compound path they go beside it. The new shapes are selected,
and one undo removes them all.

The smallest circle is computed in the geometry crate
(shapes::enclosing_circle) from the convex hull of the points with a
fixed shuffle, relative to one of the points so small art far from the
origin keeps its exact circle. While the command gathers points from a
large selection, it keeps only the corners of their convex hull, which
bounds the memory it takes.

Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md,
ROADMAP. Menu labels in all 28 catalogs and messages in the 24
catalogs with complete messages.
2026-11-17 19:56:57 -08:00
dotCooCoo 2aa17d8e02 Merge main into perf/control-bar-kind-label-cache 2026-11-17 19:56:34 -08:00
dotCooCoo 5da098bfb7 Merge main into feat/prefs-descriptions-slices 2026-11-17 19:52:04 -08:00
dotCooCoo b4e0e74303 Merge main into feat/save-for-web-shift-color 2026-11-17 19:50:09 -08:00
dotCooCoo 1999680fe2 Docs: Save for Web color shift line cites the shift page and states the lossy rule 2026-11-17 19:47:28 -08:00
dotCooCoo 8a11482c97 Merge main into feat/save-pdf-custom-flattener 2026-11-17 19:45:56 -08:00
dotCooCoo 121db55910 Merge main into feat/bleed-coverage-warning 2026-11-17 19:45:51 -08:00
ruchirguitar 81d38d0d70 Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/target-app-parity.md
2026-11-18 09:15:33 +05:30
dotCooCoo 251658571e Merge main into feat/actions-clear-actions 2026-11-17 19:45:10 -08:00
dotCooCoo 80fcfd6f40 Merge main into feat/palette-row-homes 2026-11-17 19:45:03 -08:00
dotCooCoo 74eec4b4a0 Merge main into feat/superscript-subscript-shortcuts 2026-11-17 19:41:33 -08:00
dotCooCoo e76213af63 Merge main into feat/palette-home-callout 2026-11-17 19:41:14 -08:00
dotCooCoo 7b8e9610c6 Merge main into feat/polygon-side-widget 2026-11-17 19:40:41 -08:00
dotCooCoo 816e83c90e Merge main into feat/color-wheel-harmony 2026-11-17 19:38:37 -08:00
dotCooCoo 5fc4a063a5 Merge main into feat/hpgl-options-dialog 2026-11-17 19:34:58 -08:00
dotCooCoo da061c6dc8 Merge main into fix/confined-exporter-and-placed-pdf-paths 2026-11-17 19:33:39 -08:00
dotCooCoo 4acf6401ec Merge main into feat/prefs-descriptions-hyphenation 2026-11-17 19:32:08 -08:00
BFlat 3dfd692304 Merge pull request #8078 from dotCooCoo/feat/text-import-character-sets
Text Import Options: Character Set offers the other documented encodings
2026-11-18 10:31:10 +07:00
BFlat 3d7acda832 Merge pull request #7134 from dotCooCoo/feat/web-korean-devanagari-fonts
Web: Korean and Hindi interface text draws with real glyphs
2026-11-18 10:30:59 +07:00
BFlat bbf6165fc8 Merge pull request #8206 from dotCooCoo/feat/packaging-fold-preview
Packaging Tools: Fold Preview folds the blank in 3D with the printed art on its panels
2026-11-18 10:30:50 +07:00
dotCooCoo c7797ad267 Merge main into feat/arrows-brush-library 2026-11-17 19:30:17 -08:00
dotCooCoo 2caf9361a9 Merge main into feat/color-wheel-vision-preview 2026-11-17 19:29:01 -08:00
dotCooCoo 4527c6b6b3 Merge main into fix/sv-message-rows 2026-11-17 19:27:16 -08:00
BFlat 12ab63aedd Merge pull request #7137 from dotCooCoo/feat/script-file-folder-write
Scripts: File and Folder objects write files inside a script's scope, with per-script grants and pickers
2026-11-18 10:25:30 +07:00
BFlat 966ae74132 Merge pull request #8130 from dotCooCoo/feat/shape-builder-empty-feedback
Shape Builder: the status bar says why a click or drag built nothing
2026-11-18 10:25:20 +07:00
BFlat 93e3dab741 Merge pull request #7709 from dotCooCoo/feat/arrange-documents-layouts
Window: Arrange Documents tiles the documents side by side, stacked or 2-Up to 6-Up
2026-11-18 10:23:55 +07:00