Inscribed Circle¶
Functionality¶
This node calculates the center and the radius of the inscribed circle for each triangular face of the input mesh. For non-tri faces, the node will either skip them or give an error, depending on a setting.
Inputs¶
This node has the following inputs:
Vertices. The vertices of the input mesh. This input is mandatory.
Faces. The faces of the input mesh. This input is mandatory.
Parameters¶
This node has the following parameter:
On non-tri faces. Defines what the node should do if it encounters a non-triangular face. There are following options available:
Skip. Just skip such faces - do not generate inscribed circles for them.
Error. Stop processing and give an error (turn the node red).
The default option is Skip. This parameter is available in the N panel only.
Outputs¶
This node has the following outputs:
Center. Centers of the inscribed circles.
Radius. Radiuses of the inscribed circles.
Normal. Normals of the planes where inscribed circles lie - i.e., face normals.
Matrix. For each inscribed circle, this contains a matrix, Z axis of which points along face normal, and the translation component equals to the center of the inscribed circle. This output can be used to actually place circles at their places.
See also¶
CAD-> Offset
Examples of usage¶
Generator-> Circle
Generator->Generatots Extended-> Regular Solid
Viz-> Viewer Draw
Inscribed circles for icosphere:
Generator-> Circle
Generator-> IcoSphere
Viz-> Viewer Draw
Inscribed circles for (triangulated) Suzanne:
Generator-> Circle
Generator-> Suzanne
Modifiers->Modifier Change-> Triangulate Mesh
Number-> Number Range
Color-> Color In
List->List Main-> List Length