Commit Graph
760 Commits
Author SHA1 Message Date
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 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
yoriswind 3f09579dcd Merge upstream main to resolve PR #6601 documentation conflicts 2026-11-18 02:41:17 -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
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 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 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
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
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 4d1a36fb34 Merge main into fix/instance-row-effects-outline-hit 2026-11-17 08:37:25 -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
Don Omondi 4881a46f34 Merge remote-tracking branch 'upstream/main' into fix/twist-smooth-7069
# Conflicts:
#	docs/effects-parity.md
#	docs/target-app-parity.md
2026-11-17 08:33:56 -05:00
dotCooCoo 5434635e49 Clipping: a stroked clipping type does not widen the box a clip group's gradient follows
Free Distort and the Warp effects move a group's placed gradient from the group's bounds before the effect to its bounds after it. A clip group whose clipping type strokes is measured as that clip group, so the stroke outside the clip no longer changes how its gradient follows the effect.
2026-11-17 05:15:15 -08:00
yoriswind 443b081128 Merge upstream main and retain independent parity history 2026-11-16 19:11:21 -08:00
BFlat dff94107d9 Merge pull request #8247 from dotCooCoo/feat/rasterize-transform-copies
Effects: each copy of a Transform effect listed after Rasterize carries the Rasterize image
2026-11-17 09:48:50 +07:00
BFlat 7c65af31ce Merge pull request #8067 from dotCooCoo/feat/align-3d-preview-bounds-1302
Use Preview Bounds: Extrude & Bevel, Revolve, Inflate and Rotate are measured by their 3D art
2026-11-17 08:19:29 +07:00
yoriswind e9444983ef Merge main and preserve source-fitted container gradients 2026-11-16 14:16:34 -08:00
dotCooCoo 00f42826ef Effects: each copy of a Transform effect listed after Rasterize carries the Rasterize image
On a path or compound path, a Transform effect with copies listed after
the object's own Rasterize effect now places the one image Rasterize
makes of the art before it on the original and on each copy: copy k
through the effect's map applied k times, with its pixel grid and its
room around the art, the last copy lowest and the original on top.
Before, the Transform effect copied the art and Rasterize made one image
of all the copies on a grid square to the page.

The image is made once for every placement, also when a shadow or glow
is listed between the Rasterize and Transform effects. The canvas, the
object's bounds, Expand Appearance and PDF export use the same
placements; Expand Appearance and PDF export make a group of images that
share the one image's pixels. Copies stop where the copied art stops,
and a copy scaled to nothing is left out.
2026-11-16 13:55:27 -08:00
dotCooCoo 3b3f82b600 Merge main into feat/align-3d-preview-bounds-1302 2026-11-16 10:45:35 -08:00
dotCooCoo 097eaba2b5 Merge main into fix/transform-copies-raster-effects-groups 2026-11-16 10:35:16 -08:00
dotCooCoo 6076b01b1c Merge main into feat/3d-graphics-extrude-side 2026-11-16 10:34:59 -08:00
dotCooCoo 9e76750a96 Merge main into feat/3d-classic-map-art 2026-11-16 08:27:46 -08:00
yoriswind bda1c489d5 M2: reconcile Eraser fill preservation with main (#6582) 2026-11-16 07:22:56 -08:00
dotCooCoo 6a493e0fee Use Preview Bounds: clicks on a layer with a 3D effect select its members
The art that clicks and marquees test leaves 3D effects unprojected again.
The faces of a layer's 3D effect carry the layer's id, which a click
cannot select, so a click on a member of such a layer selected nothing.
Use Preview Bounds still measures the projected art.
2026-11-16 00:24:24 -08:00
dotCooCoo b10ceca2aa Use Preview Bounds: Extrude & Bevel, Revolve, Inflate and Rotate are measured by their 3D art
With Use Preview Bounds on, Align, Distribute, Distribute Spacing, the
Transform panel and the bounding box measured a 3D object by its flat
source path, so the drawn surface stuck out past the box and aligned
edges did not touch. They now measure the projected vector art the
renderer draws, built with the document's symbols as the renderer builds
it: effects on single fills and strokes, group and symbol members, a
symbol instance with its own 3D effect, appearance overrides on dynamic
symbols, and geometry effects after the 3D effect. An instance with its
own 3D effect counts toward the 4,096-instance limit. Raster effects are
still not measured, and with the preference off the geometric bounds
are unchanged.

Docs: params text of object.align, object.distribute and
object.distributeSpacing, docs/mcp.md, docs/target-app-parity.md.
2026-11-15 23:15:00 -08:00
yoriswind 573a924d19 M2: preserve evaluated ancestor gradients while erasing 2026-11-15 23:07:02 -08:00
FredApps 46ddf177e3 fix(codecs): keep the remaining decodes within the project's limits
A stored texture longer than the codec's default 2^18-pixel side still
reads back, and a gray PNG is not expanded to RGBA just to get its
levels. The AI writer and the EPS scene refuse an oversized image from
its header, then decode within MAX_IMAGE_PIXELS, keeping the pixels at
their stored depth. Flatten's see-through check uses ImageBlob's
allowance, and links.unembed decodes within MAX_RASTER_ALLOC.
2026-11-16 07:50:43 +01:00
dotCooCoo f7401096cd Merge main into fix/transform-copies-raster-effects-groups 2026-11-15 22:13:06 -08:00
dotCooCoo 1d082e161e Merge main into feat/3d-graphics-extrude-side 2026-11-15 22:10:50 -08:00
dotCooCoo 6e80aa6fc2 Merge main into feat/3d-classic-map-art 2026-11-15 22:08:30 -08:00
FredApps 3e72836b00 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs 2026-11-16 07:08:15 +01:00
BFlat 2f80541c48 Merge pull request #8000 from dotCooCoo/fix/transform-copies-raster-effects-rows
Effects: each copy of a fill's or stroke's Transform effect carries the raster effect listed before it
2026-11-16 12:55:24 +07:00
FredApps bfe5c253f4 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs
# Conflicts:
#	crates/engine/src/cmd/menucmds.rs
2026-11-16 06:35:17 +01:00
dotCooCoo 202f9e7bf8 Effects: document that type's own copying fill carries its raster effects per copy
Type is drawn as its outlines, so each copy that a fill's or stroke's own
Transform effect makes of type carries the raster effects listed before
it, as a path's copies do. A test checks this for the fill's first
Transform effect and for one listed after a Transform effect with
Transform Patterns on, drawn, expanded and baked.

The progress doc now lists type as covered, states when a later copying
Transform effect does not carry the raster effects before it, drops the
fill or stroke case from the older entry's limitation, and puts the
Rasterize entry back on its own line.
2026-11-15 20:28:28 -08:00
dotCooCoo ea42075eb8 Merge main into feat/3d-soft-shadows 2026-11-15 20:12:19 -08:00