Docs Core

OpFamily

The FNS tab in the OP Create dialog: an operator family whose members are FNS tools placed from the store as one node each, with stubs for projects that travel and in-place updates that keep retained parameters and state. Built with TDFam.

◈ Core

Why use it

Many FNS tools behave like operators: a Random CHOP, a scene changer, a sequencer, PrismTOP. Each is a COMP with a network inside, and without help you place one by finding its .tox and dragging it in. Every copy then stays the version it was when you dropped it, and nothing keeps track of where the copies went.

The operator family gives these tools their own FNS tab in the OP Create dialog. Every entry reads as one operator: inputs on the left, outputs on the right, its own parameters, placed into the network you are working in like any stock type. Because the family knows every copy you placed, it can also update them in place, or turn them into light stubs before a project travels.

Features

  • Create FNS tools from OP CreateAdds an FNS tab beside COMP, TOP, CHOP and the others; each entry places an FNS tool into the current network as one operator.
  • Remove the FNS tabPick Tools, the FNS Tab in OP Create switch or Remove Operator Family take the tab away, the choice sticks, and the switch brings it back.
  • Members mirrored from the storeThe tab lists exactly the members this machine's store holds, kept in step by the updater, and the same folder shows up in the Palette.
  • Replace a stock operator with a memberA member can also be offered in place of a stock operator, such as Random when you create a Noise CHOP with the alternatives shortcut held.
  • Stub operators for projects that travelPlaced members become light placeholders that keep their wiring, position, retained parameters and state, and come back as the real operators wherever the family is installed.
  • Update placed operators in placeUpgrades every placed member to the newest version in the family folder, keeping its retained parameters and state.
  • Sync, stub and update from quick-launchStub, replace, update and resync from quick-launch without dialogs, for the whole project or only the network you are in.
  • Manifest-declared retentionEach member's manifest declares which parameters and which state survive a stub or an update.for tool authors

How to use it

  1. Install a family operator. The installer adds the family with the first of its operators and removes it with the last. When you tick a family operator in Pick Tools, the selection bar shows Add FNS tab to OP Create; leave it ticked for the tab, or untick it to keep the operators in your palette only.
  2. Open the OP Create dialog in any network and click the FNS tab.
  3. Pick an operator. It lands in the network you are in as one node, ready to wire.

More than thirty tools are members, among them Random, the scene changers, the sequencers, SeqMod, PrismTOP and ChopBank. A project without FNS operators has no FNS tab, no family registry and no family folder.

To take the tab away, untick FNS Tab in OP Create on the FNSTools page of the toolkit's parameters, untick the same switch in Pick Tools, or run Remove Operator Family from quick-launch. The switch brings the tab back as long as at least one family operator is installed. Your FNS tools stay installed either way, and the choice sticks: installing another family operator, or setting up a new project like the last one, keeps the tab off until you tick the switch again.

Where the operators come from

Members are the packages you already know, mirrored from the machine's store into the family's operator folder, FNSTools/FNS/ in your palette folder: one tox per member under its plain name, with a manifest beside it. The same folder shows up in TouchDesigner's own Palette as FNSTools > FNS.

The FNS updater keeps that folder in step with the store. Every install and update pass that leaves the store complete runs the sync, and the family asks for one when it arrives in a project, so the FNS tab lists every member the machine holds, and only those. Sync Family From Store runs it by hand.

The store only holds the packages your account is entitled to. A Pro-tier member therefore appears on the tab for Pro members and not for Base members, with no extra gate anywhere. A member you never installed is still on the tab once the store holds it, since the store is complete by default (see Keep the Whole Release in the Store on the updater).

A member can also be an operator alternative: create a Noise CHOP with the alternatives shortcut held and Random is offered. Two doors, one tox.

Stubs and updates

A placed member stays the version it was placed at, and it needs the family folder to exist. Two jobs follow from that:

  • Sending a project to a machine without the toolkit. Run Stub Family Operators first. Each placed member becomes a light placeholder that keeps its wiring, position, retained parameters and retained state. On a machine with the family, Replace Family Stubs brings the real operators back from the family folder. A stub whose package that machine's store does not hold stays a stub, and the command tells you how many.
  • Bringing placed operators up to date. Update Family Operators upgrades every placed member to the newest version in the family folder, applying each member's retained parameters and state. Members that are already current are left alone.

Which parameters and which state survive a stub or an update is declared per member in its manifest.

These quick-launch commands act without dialogs and report what they did. Stub Family Operators, Replace Family Stubs and Update Family Operators can each be limited to the network you are looking at.

The Stubs page on this package's parameters has the same actions as pulses, for every operator, one Target Op, everything inside a Target Comp, or every placed operator of one Target Type. Those are TDFam's own buttons: they ask before they act and report in dialogs, which suits a click and not a script.

The toolkit's own copies of the members are never stubbed or updated this way, by the commands or by the pulses: those copies belong to the FNS updater.

Credits

The family is a TDFam family named FNS, coloured brick red (0.569 0.265 0.188) and installed on project start. Its registry promotes itself to /sys the way TDFam designs it.

Built with TDFam by Lyell Hintz (dotsimulate) and Dan Molnar (Function Store), Apache-2.0. The licence and notice ship inside the package.

Get it

Tick it on the install page and it installs with the rest of your setup and stays up to date.

Download FNS_OpFamily.tox Version 0.1.12, the tool on its own. It works in any project, and this copy never updates itself.

Parameters

Its Registry page comes from FNS_ConfigRegistry.

Family

ControlType / defaultWhat it does
Family NameFamily textempty The family name: the tab the operators appear under in the OP Create dialog.
VersionVersionread-only textempty The version of the family registry.
InstallInstall on / offon Install the family into the OP Create dialog.
Install On StartInstallonstart on / offon Install the family every time the project opens.
ColorColor colour0.569 The family's colour in the OP Create dialog and on its operators.
IndexIndex number9 Position of the family's tab among the OP Create dialog's tabs.
Compatible Op FamiliesCompatibletypes menu, editableempty Which operator families the family's operators connect to, for filtering in the dialog.
Options: COMP, TOP, CHOP, SOP, POP, MAT, DAT, FNS
Op CompOpcomp operatorempty The COMP holding the family's operators.
Create Op CompCreateopcomp button Create an empty COMP for the family's operators and point Op Comp at it.
[ .tox ] Op FolderOpfolder folder pathempty A folder of .tox operators to add to the family.
Color .tox from FolderColorfileops on / offoff Colour the operators loaded from the folder in the family colour.
Version Regex MatchNamingconventionread-only menu, editableempty How version numbers are read from .tox file names.
Options: name_vX.Y.Z (default), name_X.Y.Z, name-X.Y.Z, No versioning
Ensure ManifestsEnsuremanifests button Give every operator in the family a manifest if it lacks one.
FamUI COMPFamuicomp operatorempty The COMP that draws the family's UI in the dialog.

Stubs

ControlType / defaultWhat it does
Create Stubs For AllCreatestuball button Create a stub for every operator in the family.
Replace Stubs For AllReplacestuball button Replace every stub in the project with the current operator.
Update AllUpdateall button Update every family operator in the project to the current version.
Target OpTargetop operatorempty Operator to stub or stub to replace
Create Stub For OpCreatestubop button Create stub for target operator
Replace Stub For OpReplacestubop button Replace target stub with full operator
Update OpUpdateop button Update the selected operator to the current version.
Target CompTargetcomp operatorempty Network container to process
Create Stubs In CompCreatestubscomp button Stub all operators in target network
Replace Stubs In CompReplacestubcomp button Regenerate all stubs in target network
Update Ops In CompUpdatecomp button Update every family operator inside a COMP.
Target TypeTargettype menu, editableempty The operator type Update Type acts on.
Update TypeUpdatetype button Update every placed operator of Target Type.

Callbacks

ControlType / defaultWhat it does
Callback DATCallbackdat operatorempty The DAT holding the family's callbacks.
Create CallbacksCreatecallbacks button Create a callbacks DAT from the template and point Callback DAT at it.

About

ControlType / defaultWhat it does
AboutAbout button Show the about text.
LicenseLicense button Show the license.
Dev ModeDevmode on / offoff Development mode, for authoring the family itself.
SupportTdfamcreators0support button Open the support page of a TDFam creator.
SupportTdfamcreators1support button Open the support page of a TDFam creator.