vectorcraft/crates/effects/src
Ayberk A. 8a3458a974 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.
2026-10-13 00:35:07 +07:00
..
pixel G2: add Artistic Film Grain live effect 2026-10-12 07:26:05 +07:00
stroke Close the hole whenever the inner offset of a closed stroke has crossed over 2026-10-12 20:22:07 +07:00
adjust.rs Fix #122: colour adjustment live effects (Effect > Color Adjustments) 2026-10-06 00:42:26 +07:00
bake.rs Effect › 3D and Materials: Extrude & Bevel, Inflate and Rotate 2026-10-13 00:35:07 +07:00
clip.rs M3.26: clipping sets with any clip shape 2026-10-04 17:23:57 +07:00
distort.rs Part of #885: the Transform effect's dialog takes Transform Each's controls 2026-10-10 14:32:10 +07:00
group.rs Part of #885: the Transform effect's dialog takes Transform Each's controls 2026-10-10 14:32:10 +07:00
lib.rs Effect › 3D and Materials: Extrude & Bevel, Inflate and Rotate 2026-10-13 00:35:07 +07:00
live.rs M8.16: Envelopes bend images, symbols, gradients, patterns and appearance; warps keep their frame 2026-10-06 12:01:47 +07:00
marks.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
raster.rs Fix #827: shadows and glows keep their blend modes in PDF 2026-10-10 10:28:04 +07:00
reshape.rs #1244: smaller objects: Node 352 -> 152 bytes, NodeKind 200 -> 80, and a cheaper undo estimate 2026-10-12 11:02:32 +07:00
revolve.rs #1172: share an object's appearance with its undo history until it changes 2026-10-11 23:27:21 +07:00
solids.rs Effect › 3D and Materials: Extrude & Bevel, Inflate and Rotate 2026-10-13 00:35:07 +07:00
stroke.rs Close the hole whenever the inner offset of a closed stroke has crossed over 2026-10-12 20:22:07 +07:00
stylize.rs clippy: as_chunks for fixed-size pixel and pair chunks (Rust 1.99 lint was red on main) 2026-10-05 06:24:06 +07:00
tests.rs Part of #885: the Transform effect's dialog takes Transform Each's controls 2026-10-10 14:32:10 +07:00
tests_scale.rs M3.66: Scale Strokes & Effects scales dashes and effect distances; Scale Corners works 2026-10-05 03:59:37 +07:00
tests_solids.rs Effect › 3D and Materials: Extrude & Bevel, Inflate and Rotate 2026-10-13 00:35:07 +07:00
util.rs Rename DrawCraft → VectorCraft: crates (vectorcraft-*), apps, binaries, types, env vars, docs, examples (.vectorcraft); old .drawcraft files and preferences still load. Fix: text bounds exact after opening a file; selection no longer marks a document modified (dirty = content differs from the saved document). Screenshots and renders regenerated. 2026-10-01 14:30:09 -04:00
warp.rs Rename DrawCraft → VectorCraft: crates (vectorcraft-*), apps, binaries, types, env vars, docs, examples (.vectorcraft); old .drawcraft files and preferences still load. Fix: text bounds exact after opening a file; selection no longer marks a document modified (dirty = content differs from the saved document). Screenshots and renders regenerated. 2026-10-01 14:30:09 -04:00