pyflow:nodes

## FC_And

`booloan and of two boolean lists`

#### INPUT PINS

a Boolean Boolean instance

b Boolean Boolean instance

#### OUTPUT PINS

and BoolPin elementwisewise a and b

## FC_ApplyPlacements

```apply a list of placements to
a shape or a list of shapes
or a list of vectors(polygon)```

#### INPUT PINS

points VectorPin a list of vectors which define a poylgon pattern

Shapes ShapeListPin a list of shapes, the n. shape will get the n. placement

Shape_in ShapePin a single shape, there will be a copy of this shape for each placement

Placements PlacementPin the list of placement which are applied to the shape, shapelist or points

#### OUTPUT PINS

Shape_out ShapePin resulting shape

points_out VectorPin the result if the input was the points pin

## FC_ApproximateBSpline

`create an approximated BSpline for **points** on face **Shape_in**`

#### INPUT PINS

points VectorPin VectorPin instance

tolerance Float relative value for to,.erance

Shape_in ShapePin reference shape

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_AssignPoints

```assigns points to the related parametre of a function
this node reduces the parameterlist of the function by one
something like
lamda x,y ...: f(points,x,y, ...)```

Videos: https://youtu.be/_2mogZicw_0

#### INPUT PINS

function FunctionPin FunctionPin instance

points VectorPin VectorPin instance

#### OUTPUT PINS

function_out FunctionPin FunctionPin instance

## FC_BSplineCurve

```BSpline Curve
create a default bspline surface from poles and degrees```

#### INPUT PINS

poles VectorPin VectorPin instance

maxDegree Integer degree of the curve (default is 3)

periodic Boolean is curve periodic

#### OUTPUT PINS

Shape_out EdgePin resulting shape

## FC_BSplineOffset

`a poor man offset approx: create a grid of points moved in normal direction`

#### INPUT PINS

height Float Float instance

Shape ShapePin ShapePin instance

sizeU Integer Integer instance

sizeV Integer Integer instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Points_out VectorPin VectorPin instance

## FC_BSplineSegment

`segment of the BSpline `

#### INPUT PINS

uStart Float Float instance

vStart Float Float instance

uEnd Float Float instance

vEnd Float Float instance

Shape ShapePin ShapePin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_BSplineSurface

```BSpline Surface
create a default bspline surface from poles and degrees```

#### INPUT PINS

poles VectorPin Array of poles vectors

maxDegreeU Integer maximum degree for u

maxDegreeV Integer maximum degree for v

periodicU Boolean is surface periodic in u direction

periodicV Boolean is surface periodic in v direction

#### OUTPUT PINS

Shape_out FacePin BSpline Face

## FC_Bender

```transforms the poles of a BSpline Surface **Shape_in** to the poles2 of the **Shape_out**

for u in range(countA):

for v in range(countB):

[x,y,z]=poles[u,v]

poles2[u,v,0]=(a+x)*cos(b*y+c)

poles2[u,v,1]=(a+x)*sin(b*y+c)

poles2[u,v,2]=z```

#### INPUT PINS

Shape_in ShapePin reference shape

a Integer Integer instance

b Integer Integer instance

c Integer Integer instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

`blinker sender`

#### INPUT PINS

Stop ExecPin ExecPin instance

signalName StringPin StringPin instance

signalMessage StringPin StringPin instance

signalObject FCobjPin FCobjPin instance

sleep FloatPin FloatPin instance

loops IntPin IntPin instance

## FC_BoolToy

`boolean toy - make a flag list of 4 values`

#### INPUT PINS

flagA Boolean Boolean instance

flagB Boolean Boolean instance

flagC Boolean Boolean instance

flagD Boolean Boolean instance

#### OUTPUT PINS

flags BoolPin BoolPin instance

## FC_Boolean

`boolean ops of two parts example`

#### INPUT PINS

Part_in1 FCobjPin FCobjPin instance

Part_in2 FCobjPin FCobjPin instance

Shape_in1 ShapePin ShapePin instance

Shape_in2 ShapePin ShapePin instance

mode String String instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Volume FloatPin FloatPin instance

## FC_Box

`erzeuge einer Part.Box`

#### INPUT PINS

length Float Lenght of the Box

width Float Width of the Box

height Float Height of the Box

position VectorPin position of the Box

direction VectorPin direction of the height of the Box

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Camera

#### INPUT PINS

position VectorPin VectorPin instance

angle Float Float instance

pointAt VectorPin VectorPin instance

trackimages BoolPin BoolPin instance

timestamp BoolPin BoolPin instance

trackName StringPin StringPin instance

#### OUTPUT PINS

image StringPin StringPin instance

## FC_CenterOfMass

`center of mass for a list of shapes`

#### INPUT PINS

ShapeList ShapeListPin list of shapes to discover

#### OUTPUT PINS

points VectorPin the centers of mass for the shapes in ShapeList

## FC_Collect_Data

`collect data to a list`

#### INPUT PINS

reset ExecPin clear the list

refresh ExecPin update the outpin points

data AnyPin list of collected vectors

maxSize Integer maximum length of the list, if more points are gotten older points are dropped

#### OUTPUT PINS

collection AnyPin list of collected

## FC_Collect_Vectors

`collect vectors to a list`

#### INPUT PINS

reset ExecPin clear the list of collected points

refresh ExecPin update the outpin points

point VectorPin list of collected vectors

maxSize Integer maximum length of the points list, if more points are gotten older points are dropped

reduce Integer create only a discretized list of the polygon with this size

#### OUTPUT PINS

points VectorPin list of collected vectors

## FC_Compound

`compound of a list of shapes`

#### INPUT PINS

Shapes ShapePin ShapePin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Cone

`erzeuge eines Part.Kegel`

#### INPUT PINS

height Float Height of the circle

position VectorPin Position of the center of the bottom circle

direction VectorPin direction of the axis

angle Float longitude of the sector

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_ConnectPoles

`concatenate vectorarrays with the same 2nd axis together along the first axis`

#### INPUT PINS

poles_in VectorPin connection for multiple 2 dimensional vectorarrays which should be concatenated, they must have the same number of rows

tangentA Float force of the tangents of the first array

tangentB Float force of the tangents of the 2nd array

overlay Integer 0 = concatenate, 1 = calculate mean of the last and first row of two arrays, 2 = add tangent support between the faces

#### OUTPUT PINS

poles_out VectorPin 2 dim array of vectors as base for a grid or bspline surface

umults_out FloatPin list of the multiplicities in the first axis depends on overlay

Shape_out ShapePin a BSplineSurface degree 3 to visualize the poles array

## FC_Console

`write to FreeCAD.Console`

#### INPUT PINS

entity AnyPin data to print

## FC_Counter

#### INPUT PINS

reset ExecPin ExecPin instance

#### OUTPUT PINS

count IntPin IntPin instance

## FC_DemoFunction

`a node with some functions to test the function pin`

#### INPUT PINS

example StringPin StringPin instance

#### OUTPUT PINS

function_out FunctionPin FunctionPin instance

## FC_Destruct_BSpline

`provides the parameters of a bspline edge object`

#### INPUT PINS

Shape_in ShapePin Shape which has exactly one edge, this edge is explored

#### OUTPUT PINS

poles VectorPin list of the poles vectors

knots FloatPin list of the knots

mults IntPin list of the multiplicities

degree IntPin degree of the curve

periodic BoolPin flag, whether the curve is periodic/closed or open

## FC_Destruct_BSplineSurface

`provides the parameters of a bspline surface object`

#### INPUT PINS

Shape_in ShapePin Shape which has exactly one face, this edge is explored

#### OUTPUT PINS

poles VectorPin array of the poles vectors

uknots FloatPin list of the uknots

umults IntPin list of the umultiplicities

udegree IntPin udegree of the surface

uperiodic BoolPin flag, whether the face is periodic/closed or open in u direction

vknots FloatPin list of the vknots

vmults IntPin list of the umultiplicities

vdegree IntPin udegree of the surface

vperiodic BoolPin flag, whether the face is periodic/closed or open in u direction

## FC_Discretize

#### INPUT PINS

count Integer Integer instance

Wire ShapePin ShapePin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Compound_out ShapePin resulting shape as compound

## FC_DistToShape

```list of distances from  a list of shapes
to a target shape```

#### INPUT PINS

shapes ShapeListPin list of shapes

points VectorPin list of points

target ShapePin target shape

#### OUTPUT PINS

distance FloatPin distances

## FC_Dragger

`a coin tool to display a draggable placement or a list of such placements`

#### INPUT PINS

start ExecPin ExecPin instance

stop ExecPin ExecPin instance

points VectorPin VectorPin instance

reset ExecPin ExecPin instance

#### OUTPUT PINS

Points_out VectorPin VectorPin instance

point_out VectorPin VectorPin instance

hand VectorPin VectorPin instance

hands PlacementPin PlacementPin instance

## FC_Editor

`A node to edit a bspine surface`

#### INPUT PINS

commit ExecPin ExecPin instance

bake ExecPin ExecPin instance

rollback ExecPin ExecPin instance

useStart Boolean Boolean instance

startU Integer Integer instance

startV Integer Integer instance

displayStart Boolean Boolean instance

useStartPosition Boolean Boolean instance

startPosition VectorPin VectorPin instance

displayTarget Boolean Boolean instance

targetPosition VectorPin VectorPin instance

u Integer coordinate in uv space

v Integer 2nd coordinate in uv space

t Integer Integer instance

bordersFrozen Boolean Boolean instance

tangentsFrozen Boolean Boolean instance

displayIso Boolean Boolean instance

offsetUA Integer Integer instance

offsetUB Integer Integer instance

offsetVA Integer Integer instance

offsetVB Integer Integer instance

scaleU Integer Integer instance

scaleV Integer Integer instance

Shape ShapePin ShapePin instance

#### OUTPUT PINS

position_out VectorPin VectorPin instance

u_out FloatPin FloatPin instance

v_out FloatPin FloatPin instance

Shape_out ShapePin resulting shape

## FC_Elevation

#### INPUT PINS

force Boolean Boolean instance

points VectorPin VectorPin instance

mode String String instance

gridCount Integer Integer instance

bound Float Float instance

noise Integer Integer instance

Rbf Boolean Boolean instance

#### OUTPUT PINS

poles VectorPin VectorPin instance

## FC_Equal

`compare a list of floats with a threshold`

#### INPUT PINS

values Float Float instance

value Float Float instance

#### OUTPUT PINS

equal BoolPin BoolPin instance

## FC_Export

`export a shape into a file`

#### INPUT PINS

Shape ShapePin shape to export

filename StringPin path to the shape file

mode String format of the file

## FC_Expression

`evaluate  an expressions with at most 4 variables`

#### INPUT PINS

modules StringPin required module names separated by comma

expression StringPin expression with at most 4 variables a, b, c, d

a AnyPin first parameter

b AnyPin 2nd parameter

c AnyPin 3. parameter

d AnyPin last parameter

#### OUTPUT PINS

string_out StringPin result as string

float_out FloatPin result as float

int_out IntPin result as integer

bool_out BoolPin result as boolean

## FC_Expression2Function

```creates a function for an expression
function_out=lambda a,b,c:expression```

#### INPUT PINS

expression StringPin StringPin instance

#### OUTPUT PINS

function_out FunctionPin FunctionPin instance

## FC_False

`boolean false lists`

#### INPUT PINS

count Integer Integer instance

#### OUTPUT PINS

false BoolPin BoolPin instance

## FC_FigureOnFace

`map figures pattens onto a surface`

#### INPUT PINS

Shape_in ShapePin reference shape

pattern VectorPin VectorPin instance

cutBorder Boolean Boolean instance

transformation TransformationPin TransformationPin instance

degree Integer Integer instance

createFaces Boolean Boolean instance

tangentForce Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

details ShapeListPin ShapeListPin instance

## FC_FillEdge

`closed wire to face Part.makeFilledFace`

#### INPUT PINS

Edges ShapePin ShapePin instance

Wire ShapePin closed wire to be filled

#### OUTPUT PINS

Shape_out ShapePin filled face

## FC_FlipSwapArray

`flip directions of the vector-array or swap its axes`

#### INPUT PINS

poles_in VectorPin 2 dim vector array

swap Boolean Flag for swap axes of the array

flipu Boolean Flag for invert u direction of the array

flipv Boolean Flag for invert v direction of the array

#### OUTPUT PINS

poles_out VectorPin 2 dim vector array flipped or swapped poles_in

Shape_out ShapePin a BSplineSurface degree 3 to visualize the poles array

## FC_FloatToy

`float toy - make a list of 10 floats`

#### INPUT PINS

float Float Float instance

float1 Float Float instance

float2 Float Float instance

float3 Float Float instance

float4 Float Float instance

float5 Float Float instance

float6 Float Float instance

float7 Float Float instance

float8 Float Float instance

float9 Float Float instance

float10 Float Float instance

scale Float all floats are multiplied with this parameter

start Float this parameter is added to the floats

limit Integer maximum count of floats in use

trailer Float these floats are appended to get larger arrays

#### OUTPUT PINS

floats FloatPin FloatPin instance

## FC_Foo

`dummy for tests`

## FC_Forum

#### INPUT PINS

reset ExecPin ExecPin instance

process Boolean Boolean instance

Delay(s) FloatPin FloatPin instance

#### OUTPUT PINS

news StringPin StringPin instance

## FC_Function

```example impementation of a node which uses a function pin and calculates
the value depending on the signature```

#### INPUT PINS

function FunctionPin FunctionPin instance

a Float Float instance

b Float Float instance

c Float Float instance

#### OUTPUT PINS

result FloatPin FloatPin instance

## FC_Geom2DArcOfCircle

```2d Geometry object - arc of a circle

an arc is created in uv space and
mapped to a reference face```

#### INPUT PINS

Shape ShapePin Face1 of this shape defines the uv space for the arc representation, default is the xy plane

uLocation Float first coordinate of the center

vLocation Float 2nd coordinate of the center

startAngle Float angle of the starting point of the arc

endAngle Float angle of the ending point of the arc

#### OUTPUT PINS

Shape_out ShapePin the projection of the geometry onto the Face1 of Shape_in

geometry ShapePin 2D Arc of Circle geometry object

## FC_Geom2DArcOfEllipse

`2d Geometry object`

#### INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

startAngle Float Float instance

endAngle Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

## FC_Geom2DArcOfParabola

`2d Geometry object`

#### INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

startAngle Float Float instance

endAngle Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

## FC_Geom2DCircle

`2d Geometry object`

#### INPUT PINS

Shape ShapePin ShapePin instance

u Float coordinate in uv space

v Float 2nd coordinate in uv space

#### OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

## FC_Geom2DEllipse

`2d Geometry object`

#### INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

## FC_Geom2DGeometry

`2d Geometry object`

#### INPUT PINS

Shape ShapePin ShapePin instance

ua Float Float instance

va Float Float instance

ub Float Float instance

vb Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

## FC_Hull

`delaynay triangulation, convex hull and alpha hull for a given set of points`

#### INPUT PINS

Shape ShapePin ShapePin instance

singleSimplex Boolean Boolean instance

simplex Integer index of the displayed simplex if singleSimplex is set

showFaces Boolean display alpha and convex hull by faces

alpha Integer Integer instance

uList Float Float instance

vList Float Float instance

#### OUTPUT PINS

uEdges ShapeListPin ShapeListPin instance

vEdges ShapeListPin ShapeListPin instance

Points ShapePin ShapePin instance

convexHull ShapePin ShapePin instance

delaunayTriangles ShapePin ShapePin instance

alphaHull ShapePin edges or faces compound of the alpha hull

## FC_IfElse

`switch exec flow based on a flag`

#### INPUT PINS

flag Boolean flag to control which exec pin is fired

#### OUTPUT PINS

if ExecPin ExecPin instance

else ExecPin ExecPin instance

out Boolean the same as flag

## FC_ImageT

#### INPUT PINS

image StringPin StringPin instance

red Integer Integer instance

green Integer Integer instance

blue Integer Integer instance

invert Boolean Boolean instance

mode String String instance

#### OUTPUT PINS

Points_out VectorPin VectorPin instance

## FC_Import

`import a shape from a file`

#### INPUT PINS

filename StringPin path to the shape file

mode String format of the file

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_ImportCSVFile

#### INPUT PINS

filename String String instance

force Boolean Boolean instance

separator String String instance

#### OUTPUT PINS

data Float Float instance

points VectorPin VectorPin instance

## FC_Index

`returns item with a given index from a list`

#### INPUT PINS

list AnyPin a list

index Integer position of the item in the list starting with 0

#### OUTPUT PINS

item AnyPin element of list at index position

## FC_IndexToList

```create a flag list with 1 for the numbers
and 0 for the others```

#### INPUT PINS

index Integer numbers where the flag should be 1 (the others are 0)

#### OUTPUT PINS

flags BoolPin list of 0's and 1's

## FC_InterpolateBSpline

`create an interpolated BSpline for **points** on face **Shape_in**`

#### INPUT PINS

points VectorPin VectorPin instance

tolerance Float relative value for to,.erance

Shape_in ShapePin reference shape

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_IronCurve

`find a curve which is smoother than the starting curve with a lot of parameters to play`

Videos: https://youtu.be/FlHtj-xWKDg

#### INPUT PINS

loopsA Integer Integer instance

loopsB Integer Integer instance

k Integer Integer instance

deflection Integer Integer instance

mode String String instance

weight Integer Integer instance

Shape ShapePin ShapePin instance

#### OUTPUT PINS

points VectorPin VectorPin instance

Shape_out ShapePin resulting shape

## FC_IronSurface

#### INPUT PINS

loopsA Integer Integer instance

loopsB Integer Integer instance

k Integer Integer instance

weight Integer Integer instance

Shape ShapePin ShapePin instance

#### OUTPUT PINS

points VectorPin VectorPin instance

Shape_out ShapePin resulting shape

## FC_Keyboard

`a Keyboard Sensor`

#### INPUT PINS

start ExecPin ExecPin instance

stop ExecPin ExecPin instance

timeout FloatPin FloatPin instance

stopEvent BoolPin BoolPin instance

#### OUTPUT PINS

key StringPin StringPin instance

count IntPin IntPin instance

## FC_LessThan

`compare a list of floats with a threshold`

#### INPUT PINS

values Float Float instance

threshold Float Float instance

#### OUTPUT PINS

lessThan BoolPin BoolPin instance

## FC_ListOfPlacements

`create a list of placements from  lists of data`

#### INPUT PINS

moves VectorPin moving vectors/base vector property of the placements, default is (0,0,0)

axes VectorPin rotation axes, default is (0,0,1)

angles Float rotation angles in degree, default is 0

centers VectorPin rotation centers, default is (0,0,0)

#### OUTPUT PINS

Placements PlacementPin list of placements created from given lists, the length is defined by the longest input list, the values for the other list are filled with default values

## FC_ListOfShapes

`create a list of shapes from single shapes`

#### INPUT PINS

Shape ShapePin the shapes are ordered by thy y coordinate of the nodes

#### OUTPUT PINS

ShapeList ShapeListPin the ordered list of the input shapes

## FC_ListOfVectorlist

#### INPUT PINS

vectorlists VectorPin VectorPin instance

#### OUTPUT PINS

vectorarray VectorPin VectorPin instance

## FC_ListOfVectors

```create a list of vectors from  single vectors
the order of the vector is defined by
the y coordiante of the vector nodes```

#### INPUT PINS

pattern VectorPin VectorPin instance

#### OUTPUT PINS

vectors VectorPin VectorPin instance

## FC_Loft

`'makeLoft(list of wires,[solid=False,ruled=False,closed=False,maxDegree=5]) -- Create a loft shape.'`

#### INPUT PINS

shapes ShapeListPin ShapeListPin instance

solid Boolean Boolean instance

ruled Boolean Boolean instance

closed Boolean Boolean instance

maxDegree Integer Integer instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_MinimizeFunction2

```finds the local minimum parameter target_min of function(target)
using scipy.optimize.minimize```

#### INPUT PINS

function FunctionPin FunctionPin instance

start FloatPin FloatPin instance

Method StringPin the scipy methods for optimize.

If the computation time is to long or not good results are calcuated a change of the method may help.

#### OUTPUT PINS

result FloatPin FloatPin instance

minimum FloatPin FloatPin instance

## FC_MoreThan

`compare a list of floats with a threshold`

#### INPUT PINS

values Float Float instance

threshold Float Float instance

#### OUTPUT PINS

moreThan BoolPin BoolPin instance

## FC_Mouse

`a Mouse Sensor`

#### INPUT PINS

start ExecPin ExecPin instance

stop ExecPin ExecPin instance

zIndex Integer Integer instance

#### OUTPUT PINS

SelectionChanged ExecPin ExecPin instance

positionApp VectorPin position of the mouse in the Application window

positionWindow VectorPin position of the mouse in the ActiveDocument window

positionSelection VectorPin position on a selected component

selectedFace ShapePin ShapePin instance

selectedFaceChanged ExecPin ExecPin instance

## FC_MoveVectors

`move a list of vectors`

#### INPUT PINS

vectors VectorPin VectorPin instance

mover VectorPin mover vector

#### OUTPUT PINS

vectors_out VectorPin VectorPin instance

## FC_Nearly

`compare a list of floats with a threshold`

#### INPUT PINS

values Float Float instance

value Float Float instance

tolerance Float Float instance

#### OUTPUT PINS

nearly BoolPin BoolPin instance

## FC_Not

`boolean not of a boolean list`

#### INPUT PINS

a Boolean Boolean instance

#### OUTPUT PINS

not BoolPin BoolPin instance

## FC_Nurbs

`converts faces to nurbs`

#### INPUT PINS

shape ShapePin ShapePin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Object2

`load and save objects in FreeCAD document`

#### INPUT PINS

objectname String String instance

Store_to_FC ExecPin ExecPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Offset

`create a curve around a wire on a face with some offset`

#### INPUT PINS

produce ExecPin ExecPin instance

count Integer Integer instance

Wire ShapePin ShapePin instance

Shape ShapePin ShapePin instance

offset Float Float instance

height Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Compound_out ShapePin resulting shape as compound

## FC_Or

`booloan or of two boolean lists`

#### INPUT PINS

a Boolean Boolean instance

b Boolean Boolean instance

#### OUTPUT PINS

or BoolPin elementwisewise a or b

## FC_Parallelprojection

`parallal projection of an edge onto a face`

#### INPUT PINS

face ShapePin the target face for projection

edge ShapePin the edge which is projected

direction VectorPin direction of the projection light

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Perspectiveprojection

`perspective projection of an edge onto a face`

#### INPUT PINS

face ShapePin the target face for projection

edge ShapePin the edge which is projected

center VectorPin center of projection, position of the point light

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_PinsTest

`pins testcase: what is possible`

#### INPUT PINS

Show ExecPin ExecPin instance

trace BoolPin BoolPin instance

randomize BoolPin add some random noise to the layout

objectname StringPin StringPin instance

shapeOnly BoolPin BoolPin instance

Any_in AnyPin AnyPin instance

Any_in_array AnyPin AnyPin instance

Vector_in VectorPin VectorPin instance

Vector_in_array VectorPin VectorPin instance

Rotation_in RotationPin RotationPin instance

Rotation_in_array RotationPin RotationPin instance

Shape_in ShapePin reference shape

Shape_in_array ShapePin ShapePin instance

ShapeList_in ShapeListPin ShapeListPin instance

ShapeList_in_array ShapeListPin ShapeListPin instance

FCobj_in FCobjPin FCobjPin instance

FCobj_in_array FCobjPin FCobjPin instance

Array_in ArrayPin ArrayPin instance

Array_in_array ArrayPin ArrayPin instance

Float_in FloatPin FloatPin instance

Float_in_array FloatPin FloatPin instance

Int_in IntPin IntPin instance

Int_in_array IntPin IntPin instance

String_in StringPin StringPin instance

String_in_array StringPin StringPin instance

Bool_in BoolPin BoolPin instance

Bool_in_array BoolPin BoolPin instance

yyy AnyPin AnyPin instance

Shape_or_Rotation AnyPin AnyPin instance

#### OUTPUT PINS

Part FCobjPin FCobjPin instance

Shape ShapePin ShapePin instance

Any_out AnyPin AnyPin instance

Any_out_array AnyPin AnyPin instance

Vector_out VectorPin VectorPin instance

Vector_out_array VectorPin VectorPin instance

Rotation_out RotationPin RotationPin instance

Rotation_out_array RotationPin RotationPin instance

Shape_out ShapePin resulting shape

Shape_out_array ShapePin ShapePin instance

ShapeList_out ShapeListPin ShapeListPin instance

ShapeList_out_array ShapeListPin ShapeListPin instance

FCobj_out FCobjPin FCobjPin instance

FCobj_out_array FCobjPin FCobjPin instance

Array_out ArrayPin ArrayPin instance

Array_out_array ArrayPin ArrayPin instance

Float_out FloatPin FloatPin instance

Float_out_array FloatPin FloatPin instance

Int_out IntPin IntPin instance

Int_out_array IntPin IntPin instance

String_out StringPin StringPin instance

String_out_array StringPin StringPin instance

Bool_out BoolPin BoolPin instance

Bool_out_array BoolPin BoolPin instance

## FC_Placement

`Placement xyz`

#### INPUT PINS

Placement_Base VectorPin VectorPin instance

Rotation_Axis VectorPin VectorPin instance

Rotation_Angle FloatPin FloatPin instance

objectname StringPin StringPin instance

## FC_Plot

`display matplotlib windows with data`

#### INPUT PINS

x Float x values for the first curve

y Float y values for the first curve

x2 Float x values for the 2nd curve

y2 Float y values for the 2nd curve

Figure String Selector for the window name, there a re at most 4 diagram windows possible

## FC_Polygon

```erzeuge eines Streckenzugs
input pin for a list of vectors```

#### INPUT PINS

points VectorPin list of points as array

#### OUTPUT PINS

Shape_out ShapePin resulting shape

#### INPUT PINS

hide Boolean Boolean instance

points VectorPin VectorPin instance

#### OUTPUT PINS

```create a Bspline Surface of degree 1
by 4 points```

#### INPUT PINS

vecA VectorPin VectorPin instance

vecB VectorPin VectorPin instance

vecC VectorPin VectorPin instance

vecD VectorPin VectorPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

`blinker receiver`

#### INPUT PINS

subscribe ExecPin ExecPin instance

unsubscribe ExecPin ExecPin instance

signalName StringPin StringPin instance

autoSubscribe BoolPin BoolPin instance

#### OUTPUT PINS

senderName StringPin StringPin instance

senderMessage StringPin StringPin instance

senderObject FCobjPin FCobjPin instance

## FC_Reduce

`select a sublist fo a list of shapes on  flag list selection`

#### INPUT PINS

shapes ShapeListPin list of shapes

selection Boolean list of flags which shapes should be in the resulting list

#### OUTPUT PINS

Shape_out ShapePin compound of the filtered shapes

## FC_ReduceCurve

`interactive reduce poles from a curve to get it smoother `

#### INPUT PINS

commit ExecPin accept changes into working copy

bake ExecPin store working copy as nonparametric Shape

rollback ExecPin cancel all changes and go back to the inputpin Shape curve

Move1 Integer interactive move the calculated new pole first direction

Move2 Integer interactive move the calculated new pole 2nd direction

hide Boolean do not display the controls in 3D after works is finished

position VectorPin a position to use as new pole instead of the calculated pole

useStartPosition Boolean use the pin position as new pole base

usePositionAsAbsolute Boolean use the pin position as absolute else it is added to the center of mass

start Integer knot number where modification starts

segments Integer number of segments which are smoothed

Strategy StringPin how the curve should be simplified:

1. `Center of Mass` starts at the center fo the old poles
2. `Shortest` calculates the shortest segement to fill the gap
3. `Point` makes the curve fitting a point

Method StringPin the scipy methods for optimize.

If the computation time is to long or not good results are calcuated a change of the method may help.

Shape ShapePin a bspline curve edge

preservePolesCount Boolean Boolean instance

#### OUTPUT PINS

points VectorPin the list of knotes before and after change

Shape_out ShapePin the reduced bspline curve

## FC_ReduceFunction

```reduces the parameters of a function by values
examples:
function_out = lambda a,b :function(a,b,c)
function_out = lambda b :function(a,b,c)
function_out = lambda:function(a,b,c)```

#### INPUT PINS

function FunctionPin FunctionPin instance

reduse_a Boolean Boolean instance

reduse_b Boolean Boolean instance

reduse_c Boolean Boolean instance

a Float Float instance

b Float Float instance

c Float Float instance

#### OUTPUT PINS

function_out FunctionPin FunctionPin instance

signature StringPin StringPin instance

## FC_Repeat

`list of the same element repeated`

#### INPUT PINS

in AnyPin element to repeat

count Integer how often to repeat element in

#### OUTPUT PINS

out AnyPin count repetitions of elment in

Shapes ShapeListPin list of shapes if input element is a shape

## FC_RepeatPattern

```repeat a pattern along a vectors list
each vector of vectors is a start position
of a copy of the pattern vectors```

#### INPUT PINS

pattern VectorPin list of starting points for the copies of the figure pattern

vectors VectorPin VectorPin instance

#### OUTPUT PINS

pattern_out VectorPin list of pattern lists

Shape_out ShapePin Compound of the copied pattern polygons

## FC_ScaleVectors

`scale list of vectors`

#### INPUT PINS

vectors VectorPin VectorPin instance

scaler VectorPin factors to scale the three ain axes

#### OUTPUT PINS

vectors_out VectorPin VectorPin instance

## FC_Seam

`create a seam bspline face between two bspline surfaces with tangent constraint`

#### INPUT PINS

shapeA ShapePin first bspline face

shapeB ShapePin 2nd bspline face

flipUA Boolean invert u direction of 1st face

flipVA Boolean invert v direction of 2nd face

swapA Boolean swap u and v axes of 1st face

flipUB Boolean invert u direction of 2nd face

flipVB Boolean invert v direction of 2nd face

swapB Boolean swap u and v axes of 2nd face

seamonly Boolean if false the result is one bspline surface containing 1st 2nd face and the seam

tangentA Integer force for the tangent from 1st face

tangentB Integer force for the tangent from 2nd face

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_ShapeExplorer

`information about a shape`

#### INPUT PINS

Shape_in ShapePin reference shape

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Points VectorPin the coodinates of the vertexes as vectors

Faces ShapeListPin the list of faces

Edges ShapeListPin the list of edges

Volume Float Float instance

Area Float Float instance

Length Float Float instance

CenterOfMass VectorPin VectorPin instance

Mass Float Float instance

ShapeType String String instance

## FC_ShapePattern

#### INPUT PINS

hide Boolean hide or show pattern

mode String predefined object to display

height Integer to scale the pattern in z direction

width Integer to scale the pattern in xy directions

randomize Integer use it to create the pattern in different sizes for example with tree for a forest

points VectorPin list fo vectors where the pattern should accure

forces VectorPin is used to display the line pattern: direction and length of the line

color VectorPin list of vector to define the rgb color for each pattern

#### OUTPUT PINS

Points_out VectorPin VectorPin instance

## FC_Simplex

`Tetraeder ..`

#### INPUT PINS

noise Float Float instance

pointA VectorPin VectorPin instance

pointB VectorPin VectorPin instance

pointC VectorPin VectorPin instance

pointD VectorPin VectorPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Compound_out ShapePin resulting shape as compound

## FC_Slice

```>>> wires=list()
>>>
>>> for i in shape.slice(Base.Vector(0,0,1),5):
>>>     wires.append(i)
>>>
>>> comp=Part.Compound(wires)```

#### INPUT PINS

shape ShapePin ShapePin instance

direction VectorPin VectorPin instance

distance Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Solid

`make solid of faces`

#### INPUT PINS

bake ExecPin ExecPin instance

Shapes ShapePin ShapePin instance

Faces FacePin FacePin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Compound_out ShapePin resulting shape as compound

## FC_Sphere

`erzeuge einer Part.Kurgel`

#### INPUT PINS

position VectorPin position of the Sphere

direction VectorPin direction of the south north axis

angle1 Float maximum north latitude

angle2 Float maximum south latitude

angle3 Float maximum longitude (start is always 0)

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_SumDistances

```defines a function which computes the
sum of the distances of points from target```

#### OUTPUT PINS

function_out FunctionPin FunctionPin instance

## FC_Sweep

`'makeSweepSurface(edge(path),edge(profile),[float]) -- Create a profile along a path.'`

#### INPUT PINS

path ShapePin ShapePin instance

profile ShapePin ShapePin instance

profiles ShapeListPin ShapeListPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_Tape

#### INPUT PINS

Shape ShapePin ShapePin instance

k Integer Integer instance

l Integer Integer instance

hands VectorPin VectorPin instance

scalesU FloatPin FloatPin instance

scalesV FloatPin FloatPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Points_out VectorPin VectorPin instance

## FC_Topo2

`dummy for tests`

#### INPUT PINS

ShapeA ShapePin ShapePin instance

ShapeB ShapePin ShapePin instance

vertexA Integer Integer instance

vertexB Integer Integer instance

selA Integer Integer instance

singleIndex Boolean Boolean instance

flagA Boolean Boolean instance

flagB Boolean Boolean instance

#### OUTPUT PINS

points VectorPin the list of knotes before and after change

Shape_out ShapePin the reduced bspline curve

## FC_Toy

`methode zum spielen`

#### INPUT PINS

Slider IntPin IntPin instance

Simple IntPin IntPin instance

Default IntPin IntPin instance

Slider1 FloatPin FloatPin instance

Simple2 FloatPin FloatPin instance

Default3 FloatPin FloatPin instance

## FC_Toy2

#### INPUT PINS

Show ExecPin ExecPin instance

trace BoolPin BoolPin instance

randomize BoolPin add some random noise to the layout

objectname StringPin StringPin instance

shapeOnly BoolPin BoolPin instance

inExec1 ExecPin ExecPin instance

objectname4 StringPin StringPin instance

randomize5 BoolPin BoolPin instance

Shape ShapePin ShapePin instance

k Integer Integer instance

l Integer Integer instance

points VectorPin VectorPin instance

uvs VectorPin VectorPin instance

#### OUTPUT PINS

Part FCobjPin FCobjPin instance

Shape_out ShapePin resulting shape

outExec2 ExecPin ExecPin instance

Part3 FCobjPin FCobjPin instance

## FC_Toy3

#### INPUT PINS

objectname StringPin StringPin instance

shapeOnly BoolPin BoolPin instance

randomize BoolPin add some random noise to the layout

Shape ShapePin ShapePin instance

k Integer Integer instance

l Integer Integer instance

points VectorPin VectorPin instance

uvs VectorPin VectorPin instance

data AnyPin AnyPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

out AnyPin AnyPin instance

result BoolPin BoolPin instance

## FC_Transformation

`affine transformation matrix`

#### INPUT PINS

vectorX VectorPin the result of the first base vector X=(1,0,0)

vectorY VectorPin the result of the 2nd base vector Y=(0,1,0)

vectorZ VectorPin the result of the 3rd base vector X=(0,0,1)

vector0 VectorPin movement vector after generic affine transformation

#### OUTPUT PINS

transformation TransformationPin TransformationPin instance

`Schindel oder Stufe`

#### INPUT PINS

produce ExecPin ExecPin instance

noise Float Float instance

point_0 VectorPin VectorPin instance

point_1 VectorPin VectorPin instance

point_2 VectorPin VectorPin instance

point_3 VectorPin VectorPin instance

point_4 VectorPin VectorPin instance

point_5 VectorPin VectorPin instance

point_6 VectorPin VectorPin instance

point_7 VectorPin VectorPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Compound_out ShapePin resulting shape as compound

## FC_Tripod

`position on a surface or curve`

#### INPUT PINS

name String String instance

u Float coordinate in uv space

v Float 2nd coordinate in uv space

Shape ShapePin ShapePin instance

display Boolean option to create a resulting part

directionNormale Boolean Boolean instance

curvatureMode Boolean Boolean instance

#### OUTPUT PINS

position VectorPin VectorPin instance

poles VectorPin VectorPin instance

polesIndex IntPin IntPin instance

placement PlacementPin PlacementPin instance

## FC_True

`boolean true  lists`

#### INPUT PINS

count Integer Integer instance

#### OUTPUT PINS

true BoolPin BoolPin instance

## FC_Tube

`calculate the points for a parametric tube along a backbone curve`

#### INPUT PINS

backbone ShapePin backbone curve for the tube

parameter Float u parameter of the position of the ribs

#### OUTPUT PINS

points VectorPin array of poles for the postprocessing bspline surface

## FC_UIso

`uIso curve on a surface`

#### INPUT PINS

Face_in ShapePin Face reference

u Float coordinate in uv space

#### OUTPUT PINS

Shape_out EdgePin Shape for the curve

## FC_UVGrid

`uIso and vIso curves grid`

#### INPUT PINS

Face_in ShapePin reference face

uCount Integer number of u Iso curves

vCount Integer number of v Iso curves

#### OUTPUT PINS

uEdges ShapeListPin list of uIso curve edges

vEdges ShapeListPin list of vIso curve edges

Shape_out ShapePin all curves as compound

## FC_UVprojection

```uv projection of an edge onto a face
the curve is discretized,
the points are mapped
and a interpolated curve is computed```

#### INPUT PINS

face ShapePin the target face for projection

edge ShapePin the edge which is projected

pointCount Integer number of points of the edge used for constructing the curve

inverse Boolean Boolean instance

Extrusion Boolean Boolean instance

ExtrusionUp Float Float instance

ExtrusionDown Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_VIso

`vIso curve on a surface`

#### INPUT PINS

Face_in ShapePin reference face

v Float 2nd coordinate in uv space

#### OUTPUT PINS

Shape_out EdgePin Shape for the curve

## FC_VectorArray

```Array of Vectors
and a generated default BSplineSurface```

#### INPUT PINS

vecA VectorPin step vector for the first dimension

vecB VectorPin step vector for the 2nd dimension

vecC VectorPin step vector for the 3rd dimension

vecBase VectorPin starting point of the array

countA Integer number of elements in the first direction

countB Integer number of elements in the 2nd direction

countC Integer if c>1 a 3 dimensional arry of vector is created

randomX Float adds some randomness onto the x coordinates of the points

randomY Float adds some randomness onto the y coordinates of the points

randomZ Float adds some randomness onto the z coordinates of the points

degreeA Integer degree of the generated surface in u direction, degreeA = 0 means wire model

degreeB Integer degree of the generated surface in u direction, degreeB = 0 means wire model

#### OUTPUT PINS

Shape_out ShapePin resulting shape

vectors_out VectorPin 2 or 3 dimensional array of vectors

## FC_Voronoi

`voronoi cells, delaunay triangulation on a surface for a given set of uv points  on this surface`

#### INPUT PINS

Face ShapePin ShapePin instance

useLines Boolean Boolean instance

indA Integer Integer instance

indB Integer Integer instance

uList Float Float instance

vList Float Float instance

flipArea Boolean Boolean instance

#### OUTPUT PINS

uEdges ShapeListPin ShapeListPin instance

vEdges ShapeListPin ShapeListPin instance

Points ShapePin ShapePin instance

convexHull ShapePin ShapePin instance

delaunayTriangles ShapePin ShapePin instance

voronoiCells ShapePin ShapePin instance

## FC_Zip

`create a list of vectors from the lists of coordinates`

#### INPUT PINS

x Float list of x coordinates

y Float list of y coordinates

z Float list of z coordinates

#### OUTPUT PINS

vectors_out VectorPin list of created vectors

## FC_elastic

`dummy for tests`

#### INPUT PINS

Hide ExecPin ExecPin instance

Show ExecPin ExecPin instance

a Integer Integer instance

b Integer Integer instance

points VectorPin VectorPin instance

fixpoints VectorPin VectorPin instance

force FunctionPin FunctionPin instance

hide BoolPin BoolPin instance

animate BoolPin BoolPin instance

#### OUTPUT PINS

Points_out VectorPin VectorPin instance

Shape_out ShapePin the reduced bspline curve

## FC_handrail

`staircase handrail`

#### INPUT PINS

Path ShapePin ShapePin instance

borderA ShapePin ShapePin instance

borderB ShapePin ShapePin instance

steps Integer Integer instance

heightStair Float Float instance

heightBorder Float Float instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_replacePoles

#### INPUT PINS

Shape ShapePin ShapePin instance

poles VectorPin VectorPin instance

polesIndex IntPin IntPin instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

## FC_swept

`sweptpath step generator`

#### INPUT PINS

trackPoints VectorPin VectorPin instance

centerAxis VectorPin VectorPin instance

Path ShapePin ShapePin instance

steps Integer Integer instance

step Integer Integer instance

#### OUTPUT PINS

Shape_out ShapePin resulting shape

Car_out ShapePin ShapePin instance

tracks_out ShapePin ShapePin instance

flowAxes_out ShapePin ShapePin instance

## FC_uv2xyz

`calculate the wolrd xyz coordinates for a list of uv coordinates in relation to a surface`

#### INPUT PINS

points VectorPin list of vectors with uv coodinates - used are vectors with x=u, y=v

Shape ShapePin the reference bspline surface

#### OUTPUT PINS

Points_out VectorPin the list of 3D vectors

## FC_xyz2uv

`calculate the uv coordinates for a set of xyz points on a bsline surface`

#### INPUT PINS

points VectorPin a list of vectors

Shape ShapePin a bspline surface

#### OUTPUT PINS

Points_out VectorPin the list of uv Vectors (3D Vectors are used but z is set to zero)

# Nodes by category

## Algebra

number of nodes:1

## BSpline

number of nodes:15

## Coin

number of nodes:4

## Combination

number of nodes:8

## Conversion

number of nodes:12

## Curves

number of nodes:1

## Default

number of nodes:4

## Development

number of nodes:9

## Document

number of nodes:2

## File

number of nodes:2

## Flow

number of nodes:1

## Geom2D

number of nodes:6

## HighLevel

number of nodes:5

## Image

number of nodes:1

## Information

number of nodes:6

## Lambda

number of nodes:7

## Logic

number of nodes:12

## Nurbs

number of nodes:1

## Object

number of nodes:1

## Placement

number of nodes:1

## Points

number of nodes:1

## Primitive

number of nodes:9

## Projection

number of nodes:3

## Sensor

number of nodes:5

## Signal

number of nodes:2

## VectorArray dim 2

number of nodes:1

## Voronoi

number of nodes:2

number of nodes 122