Files
vectorcraft/crates/engine/src/cmd/addons.rs
T
dotCooCoo 3768dd0829 Packaging Tools: Set Fold Angle's OK changes the lines its dialog opened on
The dialog keeps the lines it opened on as the command's ids, with the uid
of their document. OK changes those lines even when the selection changes
while the dialog is open, and changes nothing once another document is the
active one.

The split flap raster test now requires a flap at both samples: the right
flap at both, or the left flap's inner part at the near sample and its
outer part at the far one.
2026-11-20 20:00:47 -08:00

43 lines
1.1 KiB
Rust

//! VectorCraft's built-in add-ons: extra tools beyond the standard menus, each a module of its own
//! with commands under `addon.<name>.*` (see `docs/mcp.md`).
mod arrange;
mod cleanup;
mod color;
mod contour;
mod cutting;
mod document;
mod image;
mod packaging;
mod pathtools;
mod pen;
mod select;
mod shapes;
mod typetools;
mod units;
pub(crate) use image::{DecodedImages, refresh_color_masks};
pub use packaging::{FoldAngles, fold_source, print_hidden, selection_fold_angles, selection_fold_lines};
pub(crate) use packaging::{role_swatch_edited, role_swatches_merged};
use super::CommandSpec;
/// The commands of every built-in add-on.
pub fn specs() -> Vec<CommandSpec> {
let mut v = arrange::specs();
v.extend(cleanup::specs());
v.extend(color::specs());
v.extend(contour::specs());
v.extend(cutting::specs());
v.extend(document::specs());
v.extend(image::specs());
v.extend(packaging::specs());
v.extend(pathtools::specs());
v.extend(pen::specs());
v.extend(select::specs());
v.extend(shapes::specs());
v.extend(typetools::specs());
v.extend(units::specs());
v
}