DocsNodesModifiers

Assert

Lets the graph state a contract about itself, and fail if it breaks.

check, contract, validate, guard, test, constraint, budget
Category
Modifiers
Outputs
value
Runs live in
no target yet

Build a check out of the nodes you already have: the base sits on the ground, the lid clears the rim, the whole thing stays under a triangle budget. Wire the result here and the graph refuses to export when it stops being true.

These are contracts about relationships, seating and budgets. A passing assert says the stated relationship holds. It says nothing about whether the model looks right.

It draws nothing, and exporters strip it along with any chain that only feeds it.

Inputs

SocketTypeWiring
valuefield, optional

Parameters

NameTypeDefaultAvailable whenWhat it does
MessagetextAssertion failedalways
Severityerror | warningerroralways

Built with this node

Nothing in the manual is built around this node yet.

See also

  • boundsThe usual source of a measurement to assert against.
  • publishValueTo export a computed number rather than check one.

Open the editor and try it