Commit Graph
834 Commits
Author SHA1 Message Date
bflatastic aa853ad275 Merge main into #8741
# Conflicts:
#	docs/effects-parity.md
#	docs/three-d.md
2026-11-20 06:07:45 +07:00
dotCooCoo 856e61afb4 Merge main into feat/3d-custom-bevels 2026-11-19 11:13:58 -08:00
BFlat 9d334e90ea Merge pull request #8392 from dotCooCoo/feat/distort-images
Free Transform: Perspective Distort and Free Distort put an image's corners on the handles
2026-11-20 02:02:42 +07:00
bflatastic 0513b6ac7d Merge remote-tracking branch 'origin/main' into fix/7767 2026-11-19 23:39:30 +07:00
bflatastic a383279b73 Merge remote-tracking branch 'origin/main' into fix/7766
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	docs/mcp.md
2026-11-19 23:15:56 +07:00
dotCooCoo 55438151f3 Merge main into feat/distort-images 2026-11-19 06:08:29 -08:00
dotCooCoo 3fb77f58bb Merge main into feat/3d-custom-bevels 2026-11-19 04:54:39 -08:00
dotCooCoo cb96dc123a Merge main into feat/3d-graphics-inflate 2026-11-19 04:53:50 -08:00
Sven Lafebre 4c20c3e21f Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	crates/eps/src/import/ai/read/ops.rs
#	docs/file-format-parity.md
2026-11-19 12:34:27 +01: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
dotCooCoo db1442db8a Merge main into feat/3d-custom-bevels 2026-11-18 23:53:53 -08:00
dotCooCoo 96a4c8a881 Merge main into feat/pathfinder-effect-options 2026-11-18 18:49:46 -08:00
dotCooCoo 3f253b4da2 Merge main into feat/distort-images 2026-11-18 18:48:32 -08:00
dotCooCoo 621c06bd26 Free Transform: distorted images keep their corners and placement through files, exports and refusals
- A file's corners are kept only when there are exactly four that the
  image can take; a longer list is skipped without decoding it. Corners
  the affine map misses stay a distortion, and a scale past the
  perspective limit leaves the image at its nearest affine placement.
- Distort checks the corners in a frame local to the quad, so a missed
  corner far from the origin is still refused.
- Relink and Unembed refuse a named or selected distorted image before
  searching a folder or writing a file. Create Gradient Mesh lists the
  distorted images it leaves in `skipped`. Place with Replace refuses
  only when the measured image is distorted and the file is not text.
- SVG cuts a distorted image in a scaled symbol instance at the placed
  size. EMF pieces store only the pixels inside their clip. PDF mesh
  pieces of a CMYK image keep a same-corner mask as its soft mask, color
  mask included. Both `.ai` writers write an image at the nesting limit
  at its nearest placement with a warning. DXF warns only when it writes
  the image.
- The canvas cuts the mesh by the view's largest stretch. Warped images
  with a singular placement keep finite corners.
- docs/mcp.md and docs/plugins.md describe the tolerances, the DXF and
  WMF fallback, the partial result of Create Gradient Mesh, and when a
  plug-in sees `corners`.
2026-11-18 17:13:56 -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 13d944539b Merge main into feat/3d-classic-map-art 2026-11-18 13:31:00 -08:00
dotCooCoo 8ea7d2155c Merge main into fix/export3d-revolve-side-graphics 2026-11-18 07:39:59 -08:00
dotCooCoo 86f821754f Merge main into feat/3d-graphics-inflate 2026-11-18 06:16:38 -08:00
yoriswind 3f09579dcd Merge upstream main to resolve PR #6601 documentation conflicts 2026-11-18 02:41:17 -08:00
dotCooCoo 45835405a5 Merge main into feat/distort-images 2026-11-18 01:42:11 -08:00
dotCooCoo 87abf8b66b Merge main into feat/pathfinder-effect-options 2026-11-18 01:36:33 -08:00
dotCooCoo 19b5ca1869 Merge main into feat/3d-classic-map-art 2026-11-18 01:15:52 -08:00
dotCooCoo 51c0c21624 Map Art: art on a facet with curved edges is clipped to those edges
A wall facet whose edges follow the profile's curves kept the straight
corners of its cell, so the mapped art was clipped to the chord and could
reach past a curve that bows into the facet. Such a facet now clips the
art to its curved outline.
2026-11-17 22:26:14 -08:00
dotCooCoo 935558d489 Merge main into feat/3d-graphics-inflate 2026-11-17 22:21:50 -08:00
BFlat 1350204bfd Merge pull request #7706 from dotCooCoo/feat/3d-graphics-extrude-side
3D: graphics map onto Extrude & Bevel's walls and bevels
2026-11-18 13:13:27 +07:00
BFlat dcc3b28845 Merge pull request #7433 from dotCooCoo/fix/instance-row-effects-outline-hit
Symbols: instance fill and stroke effects count in Pathfinder effects and clicks
2026-11-18 13:03:58 +07:00
dotCooCoo ac6a625d52 Merge main into feat/3d-classic-map-art 2026-11-17 22:03:18 -08:00
dotCooCoo 6016f40cf6 Map Art: a wall set out by a bevel is laid out at its own length
The side surfaces were measured along the traced outline, so with a bevel
added around the shape each wall's art was stretched by the bevel's width
at both ends. Walls are now measured on the ring at the walls' inset, and
a bevel band takes the length of the wall below it. Docs: docs/three-d.md,
docs/mcp.md.
2026-11-17 22:03:06 -08:00
BFlat 439e224933 Merge pull request #8385 from dotCooCoo/fix/twist-boundary-tangent
Twist: boundary handles follow the inward tangent
2026-11-18 13:01:25 +07:00
dotCooCoo 7f4e3077f0 3D: Export 3D Object writes the art mapped onto a Revolve's side
Export 3D Object wrote a Revolve as one plain mesh, so graphics mapped
onto its side were left out of the file. The side's triangles are now a
mesh of their own with a PNG texture, as Extrude & Bevel's caps and the
plane already export.

- three-d: revolve_mesh_surface gives, for each triangle of the side,
  the point of the unrolled side each corner shows, from the same layout
  the drawn faces carry (SurfaceCell): around the axis, the angle times
  the distance from it; along the profile, its length. End caps, cut
  sides and other contours of a compound profile carry none.
- effects: a Revolve with graphics splits its mesh into the side, with
  those points as its MeshGraphics art about the side's middle, and the
  rest. In a group, the graphics go on the side of the member with the
  longest profile, as the canvas draws them. A Revolve without graphics
  builds the same single mesh as before.
- The params text of assets.export3D, docs/mcp.md and the progress line
  in docs/target-app-parity.md describe the side textures.
2026-11-17 18:46:19 -08:00
yoriswind 0dd87f8921 Merge main into the qualified Eraser group-stroke repair 2026-11-17 17:40:53 -08:00
dotCooCoo ad03873c06 Merge main into feat/distort-images 2026-11-17 16:21:37 -08:00
dotCooCoo 1c89800023 Twist: keep fractional boundary tangents accurate 2026-11-17 15:34:20 -08:00
dotCooCoo f4359f39b9 Merge main into fix/twist-boundary-tangent 2026-11-17 13:42:02 -08:00
dotCooCoo 3a64d72a64 Merge main into fix/painted-type-used-as-a-clipping-path-loses-its 2026-11-17 13:15:58 -08:00
dotCooCoo 7f92a8ec6e Merge main into fix/instance-row-effects-outline-hit 2026-11-17 13:13:10 -08:00
dotCooCoo eb040a8390 Merge main into feat/3d-custom-bevels 2026-11-17 12:41:57 -08:00
dotCooCoo 8920f81410 Merge main into feat/3d-graphics-extrude-side 2026-11-17 12:41:57 -08:00
dotCooCoo 848633a629 Merge main into feat/3d-classic-map-art 2026-11-17 12:37:23 -08:00
dotCooCoo f0305c87a6 Merge main into feat/3d-graphics-inflate 2026-11-17 12:33:11 -08:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
Sven Lafebre 86a92d0e11 Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	docs/file-format-parity.md
2026-11-17 20:48:35 +01:00
dotCooCoo 0b25050130 Twist: compute exact directional derivatives 2026-11-17 11:34:31 -08:00
dotCooCoo ba3c7197f7 Twist: preserve boundary tangents 2026-11-17 10:45:19 -08:00
dotCooCoo 4373826cc6 Free Transform: Perspective Distort and Free Distort put an image's corners on the handles
Perspective Distort and Free Distort (`object.distort`) used to give an image
only the warp's affine approximation at its center, so its corners did not
follow the handles and it drifted away from paths warped with it.

- An image's four corners now go exactly where the warp takes them, alone or
  in a mixed selection. A parallelogram stays in the image's transform; any
  other shape is kept in the new `image_quad` field of the native file, which
  older files do not have and still open as before.
- Corners that would fold the image over, fall on one line, cross the warp's
  horizon or lie too close together for a perspective map are an error, and
  nothing changes. A file whose corners break these rules opens with the image
  placed by its transform. A drag is one undo step, and a distort that leaves
  the corners where they are records none.
- Bounds, hit testing, transforms, Transform effects, blends, the Eyedropper,
  Outline view, the Color Theme Picker and Weed Box and Lines follow the
  corners. Image info measures the resolution at the image's middle, and
  plug-ins get the corners.
- The canvas, printing and every exporter draw a distorted image as a mesh of
  affine image pieces through the shared mesh warp, clipped by the corners.
  In files and print the mesh aims to stay within 0.05 pt with cells of at
  least 2 pt; the canvas cuts it for the zoom, within a quarter of a pixel
  with cells of at least 4 pixels. Pieces reach into their neighbors (0.5 pt,
  or 2 pixels on the canvas), so the image stays opaque at every zoom. The
  mesh has at most 64 by 64 cells and no more cells across than the image
  has pixels on its longer side (at least 8). No warped copy of the pixels is
  stored. DXF and WMF write the nearest parallelogram and warn.
- Crop Image, Image Trace, Relink, Embed, Unembed, Create Object Mosaic,
  Create Gradient Mesh and Place with Replace refuse a distorted image with an
  error that names the distortion. Update Links puts a changed file's pixels
  between the same corners, without applying Placement Options. Mask follows
  the corners. Rasterize makes a plain image of it.
- The new error messages have rows in every complete-message catalog.

Docs: docs/mcp.md, docs/plugins.md, docs/target-app-parity.md.
2026-11-17 08:46:08 -08:00
dotCooCoo 4d1a36fb34 Merge main into fix/instance-row-effects-outline-hit 2026-11-17 08:37:25 -08:00
dotCooCoo d8eae5b560 Pathfinder: Scale Strokes & Effects scales a Pathfinder effect's precision
The Pathfinder effects' `precision` is now a distance parameter, as Trap's
is, so `effect.list` lists it under `lengths`, Scale Strokes & Effects
scales it with the object, and the Appearance panel's effect fields show
it in document units. An effect saved without a precision gets the default it evaluates
with, scaled.
2026-11-17 08:29:09 -08:00
dotCooCoo 66f805f098 Merge main into feat/pathfinder-effect-options 2026-11-17 08:06:49 -08:00
dotCooCoo 64028bceb2 Effects: the painted clipping type test checks the region Offset Path grows
The Offset Path case of painted_clipping_type_survives_enclosing_geometry_effect now also checks
the clip region against the type's own outline grown by 1 pt, so a clip region that skips the
effect fails the test even when the fill and stroke art skip it too.
2026-11-17 06:48:45 -08:00
Don Omondi b84f06f463 Twist test: walk the anchors through Anchors::iter after the merge
Main now keeps a subpath's anchors in shared chunks, which can't be sliced.
2026-11-17 08:39:39 -05:00