Utils

Curve Resample

Inputs

Name Type Description Default
Geometry Geometry required
Offset Float 2.3
Length Float 0.36
Field Float Float 0.0
Field Int Int 0
Field Vec Vector [0.0, 0.0, 0.0]

Outputs

Name Type Description Default
Geometry Geometry required
Position Vector [0.0, 0.0, 0.0]
Tangent Vector [0.0, 0.0, 0.0]
Normal Vector [0.0, 0.0, 0.0]
Field Float Float 0.0
Field Int Int 0
Field Vec Vector [0.0, 0.0, 0.0]

Vector Angle

Compute the angle in radians between two vectors.

Inputs

Name Type Description Default
A Vector [0.0, 0.0, 0.0]
B Vector [0.0, 0.0, 0.0]

Outputs

Name Type Description Default
Angle Float Angle between the two given vectors in radians 0.0

Vector Axis Angle

Computes the angle between two vectors, AB & CD around around the axis of BC. The first vector AB is treated as the “12 O’clock” up position, looking down the axis towards C, with angles being return in the range of (-Pi, Pi). Clockwise angles are positive and anti-clockwise angles are negative.

Inputs

Name Type Description Default
A Vector First vector for the calculation, which draws a line to B [0.0, 0.0, 0.0]
B Vector Second vector for the calculation, which receives a line from A and draws a line to C [0.0, 0.0, 0.0]
C Vector Third vector for the calculation, which receives a line from B and draws a line to D [0.0, 0.0, 0.0]
D Vector Last vector for the calculation, which is the end point of the line from D [0.0, 0.0, 0.0]

Outputs

Name Type Description Default
Angle Float The angle between the vectors AB and CD, when made perpendicular to BC. 0.0
BA⟂(BC) Vector The vector BA when made perpendicular to the axis BC [0.0, 0.0, 0.0]
CD⟂(BC) Vector The Vector CD when makde perpendicular to the axis BC [0.0, 0.0, 0.0]
BC Vector The axis vector BC [0.0, 0.0, 0.0]

Cartoon Utilities

The underlying node group which powers the cartoon style

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges. required
Selection Bool True
Shade Smooth Bool True
Interpolate Color Bool Interpolate between distinct color selections True
Material Material MN Default
As Arrows Bool Render beta-strands with directional arrows. False
Arrows Sharp Bool False
Arrows Point Bool False
Arrow Thickness Scale Float 1.0
Arrow Width Scale Float 1.0
Profile Curve Geometry A custom curve-cirlce making SS ribbons. required
Profile Resolution Int 4
BS Ribbon Rotate Float 0.0
BS Ribbon Thickness Float 0.5
BS Ribbon Width Float 2.0
BS Smooth Float 1.0
BS Subdivision Int 3
As Cylinders Bool False
Cylinders Curved Bool True
Cylinder Radius Float 2.0
Cylinder Resolution Int 12
Cylinder Subdivisions Int 5
AH Ribbon Rotate Float 0.0
AH Ribbon Thickness Float 0.5
AH Ribbon Width Float 2.0
AH Subdiv Int 5
AH Curve Smooth Bool Smoothen out AH to be more cylindrical. True
Loop Subdivisions Int 6
Loop Radius Float 0.3
Loop Resolution Int 8

Outputs

Name Type Description Default
Cartoon Mesh Geometry required

Spheres Cycles

A sphere atom representation, visible ONLY in Cycles. Based on point-cloud rendering

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges. required
Selection Bool True
Radii Float 0.8
Material Material MN Default

Outputs

Name Type Description Default
Point Cloud Geometry required

Spheres Eevee

A sphere atom representation, visible in EEVEE and Cycles. Based on mesh instancing which slows down viewport performance

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges. required
Selection Bool True
Radii Float Scale the VDW radii of the atoms. 0.8
Subdivisions Int 2
Shade Smooth Bool True
Material Material MN Default

Outputs

Name Type Description Default
Instances Geometry required