Commit Graph
6166 Commits
Author SHA1 Message Date
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
BFlat de32f5cf96 Merge pull request #8525 from dotCooCoo/feat/enclosing-shapes
Path Precision Tools: Add Bounding Rectangle and Add Bounding Circle enclose the selection
2026-11-19 15:01:00 +07:00
BFlat 3892841db0 Merge pull request #8511 from dotCooCoo/fix/export3d-revolve-side-graphics
3D: Export 3D Object writes the art mapped onto a Revolve's side
2026-11-19 15:00:20 +07:00
BFlat 0a648aa23e Merge pull request #8497 from dotCooCoo/feat/layers-panel-isolation-list
Layers: isolation mode lists only the isolated art
2026-11-19 15:00:00 +07:00
BFlat 2988a7ed53 Merge pull request #8492 from dotCooCoo/feat/save-pdf-custom-flattener
Save PDF: Custom… beside Flattener preset sets the flattener options the save uses
2026-11-19 14:59:41 +07:00
BFlat 5a07d30f73 Merge pull request #8476 from dotCooCoo/feat/reflect-tool-two-click-axis
Reflect tool: a second click reflects across the line through both points
2026-11-19 14:59:20 +07:00
BFlat e78c20a543 Merge pull request #8456 from dotCooCoo/feat/swatches-color-group-options
Swatches: Color Group Options renames the selected color group
2026-11-19 14:58:45 +07:00
BFlat 233a536341 Merge pull request #8378 from dotCooCoo/perf/appearance-written-set
Appearance: row edits look up written objects in a set
2026-11-19 14:57:57 +07:00
BFlat 6ccbf05651 Merge pull request #8361 from dotCooCoo/feat/control-bar-shape-widgets
Control bar: Hide Shape Widgets hides the selected live shapes' widgets
2026-11-19 14:57:37 +07:00
BFlat c9f742fc2c Merge pull request #8183 from dotCooCoo/feat/transform-show-on-shape-creation
Transform panel: Show on Shape Creation shows the panel after a shape is drawn
2026-11-19 14:56:18 +07:00
BFlat 4c1b27bc41 Merge pull request #8178 from dotCooCoo/feat/image-trace-split-view
Image Trace: Split View shows the source image and the result on either side of a divider
2026-11-19 14:56:07 +07:00
BFlat 8e55ffdddf Merge pull request #7229 from dotCooCoo/feat/kinsoku-sets
Type: Kinsoku Shori sets can be created, edited and chosen per paragraph
2026-11-19 14:54:38 +07:00
BFlat 4da9768637 Merge pull request #7996 from dotCooCoo/fix/i18n-psd-import-options-and-slices
i18n: PSD Import Options and the PSD layer and slice warnings are translated
2026-11-19 14:54:07 +07:00
BFlat e016f7cb28 Merge pull request #7981 from dotCooCoo/feat/tool-cards
Tools: General › Show Tool Cards shows what a tool does and what its keys do
2026-11-19 14:53:53 +07:00
BFlat df42e09ba5 Merge pull request #7733 from dotCooCoo/feat/color-profile-ask-prompts
Color Settings: Ask When Opening and Ask When Pasting prompt about profile mismatches
2026-11-19 14:52:30 +07:00
BFlat 408c94c0ed Merge pull request #7701 from dotCooCoo/feat/symbolism-options-method
Symbols: Symbolism Tools Options gain Method, pen pressure and the Sprayer and Sizer options
2026-11-19 14:52:13 +07:00
BFlat d77930b619 Merge pull request #7647 from dotCooCoo/feat/3d-classic-map-art
3D (Classic): Map Art maps symbols onto Extrude & Bevel and Revolve surfaces
2026-11-19 14:51:19 +07:00
BFlat a8a16041cd Merge pull request #7565 from dotCooCoo/feat/docinfo-font-details
Document Info: Fonts gives each font's type and number of uses
2026-11-19 14:49:29 +07:00
BFlat 49f5da65ae Merge pull request #7331 from dotCooCoo/feat/hpgl-options-dialog
HP-GL: Export As opens HP-GL Options for the version, pens, origin and path order
2026-11-19 14:48:03 +07:00
BFlat 3f0707e64f Merge pull request #7103 from dotCooCoo/feat/stylus-wheel
Brushes: an airbrush pen's stylus wheel varies brush size and width
2026-11-19 14:46:40 +07:00
yoriswind 0471818814 Merge current main while preserving PR #6713 2026-11-19 06:32:22 +00:00
ruchirguitar 8fcadbc3c1 Fix #864: SVG export preserves the document unit in viewBox and width/height (#8610)
* SVG export: preserve document unit in viewBox and width/height (#864)

When exporting SVG documents with physical units (mm, cm, in, pc), emit
the physical unit suffix on the root <svg width=... height=...>
attributes while keeping viewBox numbers and inner coordinates in 1:1 points
per SVG 1.1 coords §7.10. This avoids the 75% scaling mismatch when opening
drawings in external tools such as Inkscape or LightBurn, and preserves
the document unit setting across save/open round trips. Unitless documents
(points, pixels) continue to emit unitless dimensions.

Tested via export_physical_units_writes_unit_suffixes in vectorcraft-svg
and full round-trip svg_round_trip_preserves_document_units in vectorcraft-engine.
Ran cargo xtask ci (fmt, clippy, tests, xtask gates).

* SVG export: preserve nonzero width and viewBox on extreme small dimensions
2026-11-18 23:27:00 -05:00
dotCooCoo e6d8e2d23f Path Precision Tools: Add Bounding Circle keeps curves close past its split budget
Once a shape has used its 1,048,576 splits at any depth, Add Bounding Circle
still splits each further curve into up to 8 pieces, from a second budget of
7,340,032 splits shared among the shapes as the first one is. Only after
both are used up does a curve count whole by its control points' hull cut
down to its bounding box. Before, every curve past the first budget counted
whole, which can make the circle around a circle about 14% larger; with the
8 pieces the fit stays less than 0.3% larger.

- The comment on the shared budget no longer claims that the shape around
  one object is independent of the other objects selected.
- shapes::enclosing_circle and convex_hull move below the star helpers.
- The "Each" label mapping in the dialog form sits after "Flip Cols".
- docs/mcp.md and docs/target-app-parity.md describe both budgets and the
  size of the fit before the 0.01 pt is added.
2026-11-18 19:51:39 -08:00
dotCooCoo 9b0fc2e249 HP-GL Options: check and list pens from what the export writes
- Export Selection to HP-GL checks the selection and starts Pen Table
  from its pens, as the export writes it, and `exportSelection` is no
  longer remembered for the next whole-document export.
- Pen Table with options or an artboard choice the export refuses keeps
  One Pen per Color and shows the error, instead of starting from one
  black pen that corrected options would keep. `automatic_pens` returns
  that error.
- `automatic_pens` refuses `rect`, as `check` and the export do.
- A save panel shown in line that is canceled keeps the dialog open,
  and a canceled save panel keeps the options remembered before.
2026-11-18 18:24:51 -08:00
dotCooCoo 95d1bf91be Path Precision Tools: Add Bounding Circle bounds the work on curves and holds small loops
Add Bounding Circle splits the curves of one command 1,048,576 times at
most in all, shared equally among the shapes with `each`. A piece that
still bends after the last split counts by the hull of its control points
cut down to its bounding box, so a large circle near the canvas edge keeps
a close radius.

- A path of a compound path selected on its own counts as an object, as
  `object.transform` moves it, for both commands.
- A small loop whose ends meet gets a circle instead of being taken for a
  single point.
- The smallest enclosing circle measures its radius from the center it
  returns, after the move back from the first point, and does not copy
  the hull to do so.
- The params text, docs/mcp.md and docs/target-app-parity.md describe the
  limit and the compound path rule.
2026-11-18 18:09:01 -08:00
dotCooCoo 8e98dbb310 Isolation: object.isolate refuses a ruler guide
An isolated ruler guide left the Layers panel with no rows, since the
panel lists no object row for a ruler guide. object.isolate now returns
"ruler guides can't be isolated" and isolation mode stays as it was.
2026-11-18 17:36:46 -08:00
dotCooCoo bae4defa45 Symbols: Average sizes are sizes on the page, and a pen pressure change where the pen stays is kept
The Sizer's and the Sprayer's Average compare each instance's size on the page, so a set that
holds instances of different symbols meets at their mean drawn size. A symbol without a recorded
size is measured by its art, once per command. With Size: Average and no instance under the brush,
a sprayed instance has its symbol's own size whatever `scale` is, and new instances are spaced by
the size they are placed at. With Use Pressure Pen, a drag sample at the same position is kept when
the pressure changes by 0.05 or more.
2026-11-18 17:34:48 -08:00
dotCooCoo 4080708714 Merge main into feat/stylus-wheel 2026-11-18 17:25:37 -08:00
dotCooCoo e506b7ed74 Color Settings: a scope narrowed several times keeps every script gate
Narrowing a scope that already carried two composed gates replaced the earlier gate's chain with the new gate, so a path only that earlier gate refused could be read. The new gate is now added at the end of the chain.
2026-11-18 17:20:18 -08:00
dotCooCoo 59752f7ebf Swatches: Color Group Options renames only the group it opened on
OK closes the dialog and renames nothing when another document has
become the active one, or when the color group at the group's place in
the list no longer has the name and swatches the dialog opened with.

swatch.renameGroup makes a drag still in progress an undo step of its
own first, so canceling or undoing the drag leaves the rename.

ui.colorGroupOptions without group opens on the color group selected
alone in the Swatches panel, as long as the panel's selection still
belongs to the active document and art.

The panel's selection follows renames in a command.batch only up to the
first step that may switch documents or replace a group. Ungroup Color
Group and Delete Swatch take the names they removed out of the
selection.

The es catalog had the missing `group` and no colour group `{group}`
rows twice after the last merge of main; the duplicates are removed.
2026-11-18 16:58:21 -08:00
dotCooCoo 6c5e10fd64 Color Settings: keep script gates and background reads after a profile answer
- A scope narrowed to the confirming caller keeps the script gates of both,
  and reads are exempt from them only where both scopes exempt them.
- A file read off the UI thread does the rest of its read after its profile
  answer (linked files and type) off the UI thread too; an open a caller
  asked for by path still finishes before OK returns.
2026-11-18 16:46:24 -08:00
dotCooCoo 52e959d4be 3D (Classic): Map Art keeps to the limits the art draws within
- When any solid's mapped art passes the shared limits, every solid in
  the effect draws without its mapped art, so Invisible Geometry hides
  all of them or none.
- A revolved group lists its surfaces with the members' shared curve
  sampling, and an extruded group lists none past the faces of one
  object.
- Commands refuse art on walls, bevels and Revolve's side whose curves,
  cut into straight pieces at the map's scale and placed about the
  surface's center, pass 400,000 points. Caps are not counted.
- Each contour's bounds test counts as a cut, in Map Art and in the side
  graphics.
- On a facet whose curved edge bows out of its cell, the art reaches the
  whole facet.
- A bevel as deep as the solid leaves no walls, and its bevels take the
  numbers after the caps.
- Surfaces past the face limit are refused as the side is.
- threeD.mapArt keeps a deleted symbol only while the request leaves
  `symbol` out.
2026-11-18 16:25:43 -08:00
dotCooCoo e39e6713d9 Reflect tool: Enter or a dropped press ends a press not yet a drag
Enter between the press and the release of a click now ends that press,
so the release sets no reference point and starts no Reflect axis behind
the dialog. A press the engine drops ends whether or not it became a
drag, and drops a waiting axis, so the release sent after it starts no
axis. A press whose document or selection changes before it becomes a
drag is dropped, so the reference point or axis set for one selection
is never applied to another.

The engine test checks that the Alt copy is reflected across y = 300.
The docs state that the first click is a plain click, that the 3 px
check compares the snapped points, and what a double-click does while
an axis waits.
2026-11-18 16:09:31 -08:00
dotCooCoo f4071dd56a Merge main into feat/image-trace-split-view 2026-11-18 15:58:59 -08:00
dotCooCoo 95ed13dd80 Color Settings: answer the review of the profile prompts
- An absolute-colorimetric conversion from CMYK starts from the source's
  absolute appearance.
- An assigned profile that was removed counts as the working space when
  copied colors are compared.
- Colors that can't convert are listed with convertible false, start on
  Preserve Numbers, and the dialog disables Convert for them.
- Paste on All Artboards leaves the backgrounds of copied artboards out of
  the question (clipboard.profileMismatch allArtboards).
- A converting paste into its own document keeps its image keys.
- An open answer is refused once Color Settings change the question; the
  dialog asks the new question, or opens by the policy.
- Files opened while a question is open ask their own questions in turn.
- OK on the paste question and on Swatch Conflict checks again where the
  paste runs and asks again when the question changed.
- docs/mcp.md and the command help describe these rules.
2026-11-18 15:42:03 -08:00
dotCooCoo 3ef0e5e588 Symbols: the Symbolism tools take their new options, and OK checks them before any change
tool.setOption now accepts usePressure, method, showBrush, the Symbol
Sprayer options, proportional and affectsDensity for the Symbolism
tools, so the Symbolism Tools Options dialog can save them. The dialog
checks every option, the number ranges included, before
symbol.setDensity re-spaces the selected symbol sets.

- Size: Average gives a sprayed instance the mean size under the brush,
  or the symbol's own size with none there, without the size jitter.
- A stroke that moves an instance away and back again does not count
  it, and adds no undo step.
- symbol.adjust reads an instance's own values for Average only.
2026-11-18 15:10:38 -08:00
dotCooCoo 24d04bd50b Merge main into feat/hpgl-options-dialog 2026-11-18 15:10:32 -08:00
dotCooCoo 70c0f533f6 Transform: Show on Shape Creation counts shapes drawn in perspective
With the perspective grid shown and a plane active, a Rectangle,
Ellipse, Polygon, Star or Line Segment drag is journaled as
perspective.draw naming the shape command. note_shape_drawn now counts
that entry, alone or as a batch step, so the Transform panel opens for
a shape drawn on the plane too. perspective.draw naming another shape
(a flare, for example) still does not count.

The Transform tests now move a selected rectangle and check that the
move succeeded before checking that the panel stays closed, and check
that the frames after a shape draw the panel's controls, with a control
run where the option is off.
2026-11-18 14:27:27 -08:00
dotCooCoo cf4dd8b375 Merge main into feat/control-bar-shape-widgets 2026-11-18 14:13:10 -08:00
dotCooCoo 247bfeb11d Merge main into feat/symbolism-options-method 2026-11-18 13:32:30 -08:00
dotCooCoo 13d944539b Merge main into feat/3d-classic-map-art 2026-11-18 13:31:00 -08:00
dotCooCoo 8fdc9b6f2b Merge main into fix/export3d-revolve-side-graphics 2026-11-18 13:30:18 -08:00
dotCooCoo 49c4ae5851 Merge main into feat/reflect-tool-two-click-axis 2026-11-18 13:24:45 -08:00
dotCooCoo bcfeca7c48 Merge main into feat/tool-cards 2026-11-18 13:19:27 -08:00
dotCooCoo a9cd206c04 Merge main into feat/tangent-circle-tool 2026-11-18 13:19:09 -08:00
dotCooCoo 1fb7a864de Merge main into feat/kinsoku-sets 2026-11-18 13:18:16 -08:00
dotCooCoo 7c4cfbf82f Merge main into feat/swatches-color-group-options 2026-11-18 13:17:44 -08:00
dotCooCoo f81e83d5b9 Merge main into perf/appearance-written-set 2026-11-18 13:17:35 -08:00
dotCooCoo 9e61345342 Merge main into feat/color-profile-ask-prompts 2026-11-18 13:16:20 -08:00
dotCooCoo 91a361b520 Merge main into feat/save-pdf-custom-flattener 2026-11-18 13:15:57 -08:00