Skip to main content

Integer, Integer

Scalar, Scalar

Scalar Field, Scalar Field

Temperature, Scalar

Temperature, Temperature

Temperature Field, Scalar Field

Temperature Field, Temperature Field

Vector, Vector

Vector Field, Vector Field

2D Vector Field, 2D Vector Field, 5.31.0


About this Block

What it does: The Subtract block returns the result of the first input minus the second input (ABA - B). Common uses:
  • Defining custom equations for implicit geometry or field-driven design.
  • Reducing a property by a specific constant or variable.
  • Calculating the relative distance or displacement between two points or vectors.
Tips:
  • Unlike the Add block, the order of inputs in the Subtract block matters. Ensure your Minuend (the value being decreased) is the first input and your Subtrahend (the value to subtract) is the second.
  • When used with scalar fields, this block subtracts the value of the second scalar field from the first at every point in space.
  • To create TPMS from an equation, refer to this guide.
  • For more information on building mathematical workflows, see our tips for creating equations.

Integer, Integer

Return the subtraction of one Integer from another.

Inputs

NameTypeDescription
Operand aIntegerFirst operand.
Operand bIntegerSecond operand.

Outputs


Scalar, Scalar

Return the subtraction of one Scalar number from another.

Inputs

NameTypeDescription
Operand aScalarFirst operand.
Operand bScalarSecond operand.

Outputs

Type
Scalar

Scalar Field, Scalar Field

Return the subtraction of one Scalar Field from another.

Inputs

NameTypeDescription
Operand aScalar FieldFirst operand.
Operand bScalar FieldSecond operand.

Outputs


Temperature, Scalar

Return the subtraction of a Scalar from a Temperature.

Inputs

NameTypeDescription
Operand aTemperatureFirst operand.
Operand bScalarSecond operand.

Outputs


Temperature, Temperature

Return the subtraction of one Scalar Field from another.

Inputs

NameTypeDescription
Operand aTemperatureFirst operand.
Operand bTemperatureSecond operand.

Outputs

Type
Scalar

Temperature Field, Scalar Field

Return the subtraction of a Scalar Field from a Temperature Field.

Inputs

NameTypeDescription
Operand aTemperature FieldFirst operand.
Operand bScalar FieldSecond operand.

Outputs


Temperature Field, Temperature Field

Return the subtraction of one Temperature Field from another.

Inputs

NameTypeDescription
Operand aTemperature FieldFirst operand.
Operand bTemperature FieldSecond operand.

Outputs


Vector, Vector

Return the subtraction of one Vector from another.

Inputs

NameTypeDescription
Operand aVectorFirst operand.
Operand bVectorSecond operand.

Outputs

Type
Vector

Vector Field, Vector Field

Return the subtraction of one Vector Field from another.

Inputs

NameTypeDescription
Operand aVector FieldFirst operand.
Operand bVector FieldSecond operand.

Outputs


2D Vector Field, 2D Vector Field, 5.31.0

Return the subtraction of one Vector Field from another.

Inputs

NameTypeDescription
Operand a2D Vector FieldFirst operand.
Operand b2D Vector FieldSecond operand.

Outputs