mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 14:34:34 +00:00
3D: a replay draws the custom bevel it recorded, and a mixed selection takes the whole bevel
effect.apply and effect.setParams given bevel {custom: name} record the
bevel's points in their journal entry as savedBevel, and savedBevel given
with the name is used in place of the bevels file's points, so a replay
draws the same bevel after the file changes or drops the name.
The 3D and Materials panel sends a custom bevel's name and points with
bevel whenever any of the three changes, so an Extrude & Bevel in a mixed
selection that had no custom bevel takes the whole bevel.
This commit is contained in:
+3
-1
@@ -3529,7 +3529,9 @@ returns each bevel's `name` and `points`, the `file` path, the `skipped` symbols
|
||||
and store it as `bevel: "custom"` with `bevelName` and `bevelProfile`, a copy of the points (`[[x, y], …]`, 2 to 64
|
||||
shares 0..1 of the width and height from `[0, 0]` to `[1, 1]`), so the document draws the bevel without the file. An
|
||||
unknown name, `custom` without `bevelProfile`, points that do not run from `[0, 0]` to `[1, 1]` within 0..1, or a
|
||||
`bevelName` that is not a string is refused and the document is not changed. The help page
|
||||
`bevelName` that is not a string is refused and the document is not changed. The command's journal entry records the
|
||||
points as `savedBevel`, and `savedBevel` given with `{"custom": name}` is used in place of the file's points, so a
|
||||
replay draws the same bevel after the file changes or drops the name. The help page
|
||||
[Add custom bevel paths](https://helpx.adobe.com/illustrator/desktop/special-effects-styles/create-3d-graphics/add-custom-bevel-paths.html)
|
||||
describes custom bevels drawn as open paths and kept as symbols in a bevels document.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user