Skip to content

fontlabapp.contours.nodes.duplicator.model

model

Three literal Node Duplicator policies, independent of either editor's API.

Keep per-occurrence replay, numeric target indices and selected-object identity separate. The all-layer original intentionally does not deduplicate parents or recheck the indexed destination's type. Other profiles only copy selected on-curves in the first selected layer. No original body is imported or executed.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
Mode attribute
plan function (source: Source, mode: Mode) -> Result Predict the complete original operation, including distinct no-op messages.
run_all_layers function () -> dict Replay first-layer indices for every layer of every selected parent occurrence.
run_current function () -> dict Duplicate selected on-curves in the first selected layer, with LINE copies.
run_with_handles function () -> dict Add coincident cubic handle pairs in the first layer only, in selection order.