Effect › 3D and Materials: Extrude & Bevel, Inflate and Rotate

The three 3D types besides Revolve, as live effects in the three-d crate,
drawn as shaded vector faces by the canvas, SVG/PDF export and Expand
Appearance alike, from the public 3D and Materials documentation:

- Extrude & Bevel: depth (0-2000 pt), twist, taper, solid or hollow caps,
  and bevels in six original cross-sections (classic, rounded, cove, step,
  ogee) with width, height, repeat, spacing, inside and both sides.
- Inflate: the shape as a membrane under pressure (a Poisson solve held at
  zero along the outline and holes), so it rises vertically from the edge
  and rounds without creases; volume, depth and both sides. Steep cells
  near the outline are refined without cracks.
- Rotate: every fill and stroke turned in 3D and shaded as one plane.

All three share Revolve's view and lighting parameters, the rotation and
light gizmos (turning about the art's centre) and a dialog with Object,
Rotation and Lighting tabs, with Position presets (Front ... Isometric
Bottom, our own values). An object takes one 3D effect. Inflate cuts the
grid cells that straddle a hole's edge with pathops, hence the new
pathops -> three-d layer order.

Docs: docs/three-d.md, mcp.md, and the 3D rows of the parity docs.
This commit is contained in:
Ayberk A. authored and bflatastic committed 2026-10-13 00:35:07 +07:00
1 parent f4e72fe6a5
commit 8a3458a974
38 files changed
+2615 -57

No files matched your search

+2
View File
@@ -80,6 +80,8 @@ pub const INTRA_LAYER_ORDER: &[&[&str]] = &[
&["pdf", "eps"],
&["plugins", "effects"],
&["three-d", "effects"],
// Inflate cuts its surface's grid cells to the shape with Pathfinder's booleans.
&["pathops", "three-d"],
];
fn intra_layer_allowed(from: &str, to: &str) -> bool {