mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 10:46:46 +00:00
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.
This commit is contained in:
+6
-3
@@ -6701,9 +6701,12 @@ also measured by its reshaped art when its symbol's art has geometry effects. A
|
||||
Pathfinder effects, or with a fill or stroke of its own that has geometry effects or paints members with geometry
|
||||
effects, is measured by its evaluated art. A blend, envelope or repeat whose objects have geometry effects is
|
||||
measured by its evaluated art, with those objects measured after their effects. A 100 pt square without a stroke,
|
||||
with Offset Path 10, measures 120 pt, and type with Outline Object is measured by its glyph outlines. Raster effects such as shadows and glows are not
|
||||
measured. In one object, the art of at most 4,096 symbol instances is measured with its geometry effects, and the
|
||||
other instances are measured without them. `object.setBounds` with `width: 100` gives that type a glyph box 100 pt
|
||||
with Offset Path 10, measures 120 pt, and type with Outline Object is measured by its glyph outlines.
|
||||
Extrude & Bevel, Revolve, Inflate and Rotate are measured by their projected vector art, including effects on
|
||||
individual fills or strokes and geometry effects after projection. Groups and symbol instances include their
|
||||
members' projected art. Raster effects such as shadows and glows are not measured. In one object, the art of at
|
||||
most 4,096 symbol instances is measured with its geometry or 3D effects, and the other instances are measured
|
||||
without them. `object.setBounds` with `width: 100` gives that type a glyph box 100 pt
|
||||
wide.
|
||||
|
||||
```json
|
||||
|
||||
@@ -1389,6 +1389,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
- Without a twist, a tapered Extrude & Bevel wall (and each bevel band) is one flat face; only a twist cuts walls into slices, so no seam between slices paints a light tick or a light line on a tapered, untwisted wall (#7019). Test: `solid::tests::a_tapered_wall_is_one_flat_face_and_a_twisted_one_is_sliced`.
|
||||
- Extrude & Bevel cuts a corner square where the bevel opens it and its miter would reach past four times the width (a sharp point with the bevel outside, a narrow notch with it inside), so the bevel (and, with the bevel outside, the walls) no longer runs out to a spike that does not line up with the art (#7525). Tests: `solid::tests::a_bevel_cuts_sharp_corners_square`, `solid::tests::a_cap_draws_no_empty_segment_at_a_corner_cut_square`.
|
||||
- Extrude & Bevel, Inflate and Rotate apply to type: it makes a solid of its glyph outlines, painted with its own fills and strokes or, when it has none, its characters' colour (the first run's), and stays type, so editing the text reshapes the solid (#4715).
|
||||
- Use Preview Bounds measures Extrude & Bevel, Revolve, Inflate and Rotate by VectorCraft's projected vector art, including fill and stroke effects, group and symbol members, and geometry after projection. Engine regressions cover all four families, hidden effects and the preference off, alignment and spacing with Undo, typed width, and oriented boxes. Raster effects are not measured yet. The [user guide](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf) (printed page 95, Info panel) says Use Preview Bounds counts the stroke and other appearance attributes in an object's dimensions.
|
||||
- Extrude & Bevel, Inflate and Rotate (Effect › 3D and Materials): live effects in the `three-d` crate with depth, twist, taper, solid or hollow caps, five original bevel shapes (width, height, repeat, spacing, inside, both sides), Inflate's volume, both sides, twist, taper and cap, Rotate's turned fills and strokes, Position presets, the rotation and light gizmos, SVG/PDF vector output and Expand Appearance; one 3D effect per object; covered by geometry, effect, canvas-versus-export, command and dialog tests ([three-d.md](three-d.md)).
|
||||
- Extrude & Bevel and Inflate build detailed shapes: each solid takes up to 65,536 outline points and 163,840 faces (VectorCraft's own limits, was 2,048 points and 32,768 faces), counted before any point is sampled; when the faces do not fit, every curve takes fewer pieces, down to 4. A closed path of 2,000 curves extrudes with a bevel and inflates, and paths of 5,000 and 10,000 curves build at the default settings (`crates/three-d/src/solid/tests_limits.rs`).
|
||||
- The solids of one Extrude & Bevel (both kinds) or Inflate effect on one object, its fill's, its strokes' and a group's members' together, keep up to 163,840 faces (VectorCraft's own limit). Each solid is built in turn; once their faces pass the limit, no later solid is built, the object draws its source art, and applying or editing the effect, Export 3D Object and Expand as Wireframes report that the 3D surface is too complex. Tests `solids::tests::an_objects_solids_count_their_faces_together`, `a_groups_solids_together_past_the_limit_draw_the_source`, `a_fill_and_strokes_together_past_the_limit_draw_the_source`.
|
||||
|
||||
Reference in New Issue
Block a user