3D: a group's fill or stroke takes no 3D effect

Revolve, Extrude & Bevel, Inflate and Rotate on a group or layer draw only as the group's own effect. On the group's fill or stroke they drew nothing, yet effect.apply and effect.setParams accepted them. Both now refuse that placement.
This commit is contained in:
dotCooCoo
2026-11-09 17:51:22 -08:00
parent 32ddc21045
commit cddebdf7f6
3 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -2461,7 +2461,8 @@ checked as that effect's. It is one undo step. Any other `threeDType` value, or
`effect.apply {effect: "threeD.extrude" | "threeD.inflate" | "threeD.rotate", params: {...}, ids?, item?}` applies
the other 3D types to a path or compound path, live like Revolve (the source stays editable; SVG/PDF exports and
`effect.expandAppearance` use the same shaded faces). An object takes one 3D effect, Revolve included.
`effect.expandAppearance` use the same shaded faces). An object takes one 3D effect, Revolve included. On a group or
layer the 3D effect goes on the group itself: `effect.apply` and `effect.setParams` refuse one on its fill or stroke.
`threeD.extrude`: `depth` (points, 0..2000, default 50), `twist` (degrees, 0..360, 0), `taper` (1..100%, 100),
`cap` (true solid, false hollow), `bevel` (`none`, `classic`, `rounded`, `cove`, `step`, `ogee`), `bevelWidth`