ThreePipe
    Preparing search index...

    Class DuplicateTracker

    Tracks the transform delta after a duplicate operation to enable smart duplicate chaining — pressing Ctrl+D repeatedly places copies at consistent offsets.

    Supports two modes (only position application differs):

    • simple: translation in constant parent-space direction (Figma-style, grids)
    • compound: translation rotates with the object (circular arrays, spirals)

    Stores no object references — only the initial matrix and chain state. The source object's current transform is passed in at apply time.

    The offset only applies when the selection has not changed since the last duplicate. Any selection change (even reselecting the same objects) breaks the chain.

    Index

    Constructors

    Methods