User Tools

Site Tools


pyflow:nodes

Table of Contents

PyFlowFreeCAD

FC_And

Logic ...

booloan and of two boolean lists

More ...

INPUT PINS

a Boolean Boolean instance

b Boolean Boolean instance

OUTPUT PINS

and BoolPin elementwisewise a and b

FC_ApplyPlacements

Default ...

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

More ...

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

BSpline ...

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

More ...

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

Lambda ...

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, ...)

More ...

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

Primitive ...

BSpline Curve
create a default bspline surface from poles and degrees

More ...

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

BSpline ...

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

More ...

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

BSpline ...

segment of the BSpline 

More ...

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

Primitive ...

BSpline Surface 
create a default bspline surface from poles and degrees

More ...

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

HighLevel ...

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

More ...

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

FC_Blinker

Signal ...

blinker sender

More ...

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

OUTPUT PINS

FC_BoolToy

Logic ...

boolean toy - make a flag list of 4 values

More ...

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

Combination ...

boolean ops of two parts example

More ...

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

Primitive ...

erzeuge einer Part.Box

More ...

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

Information ...

center of mass for a list of shapes

More ...

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

Sensor ...

collect data to a list

More ...

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

Sensor ...

collect vectors to a list

More ...

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

Combination ...

compound of a list of shapes

More ...

INPUT PINS

Shapes ShapePin ShapePin instance

OUTPUT PINS

Shape_out ShapePin resulting shape

FC_Cone

Primitive ...

erzeuge eines Part.Kegel

More ...

INPUT PINS

radius1 Float Radius of the bottom circle

radius2 Float Radius of the top circle

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

VectorArray dim 2 ...

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

More ...

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

Information ...

write to FreeCAD.Console

More ...

INPUT PINS

entity AnyPin data to print

OUTPUT PINS

FC_Counter

INPUT PINS

reset ExecPin ExecPin instance

OUTPUT PINS

count IntPin IntPin instance

FC_DemoFunction

Lambda ...

a node with some functions to test the function pin

More ...

INPUT PINS

example StringPin StringPin instance

OUTPUT PINS

function_out FunctionPin FunctionPin instance

FC_Destruct_BSpline

BSpline ...

provides the parameters of a bspline edge object

More ...

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

BSpline ...

provides the parameters of a bspline surface object

More ...

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

Information ...

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

More ...

INPUT PINS

shapes ShapeListPin list of shapes

points VectorPin list of points

target ShapePin target shape

OUTPUT PINS

distance FloatPin distances

FC_Dragger

Coin ...

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

More ...

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

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

Logic ...

compare a list of floats with a threshold

More ...

INPUT PINS

values Float Float instance

value Float Float instance

OUTPUT PINS

equal BoolPin BoolPin instance

FC_Export

File ...

export a shape into a file

More ...

INPUT PINS

Shape ShapePin shape to export

filename StringPin path to the shape file

mode String format of the file

OUTPUT PINS

FC_Expression

Algebra ...

evaluate  an expressions with at most 4 variables

More ...

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

Lambda ...

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

More ...

INPUT PINS

expression StringPin StringPin instance

OUTPUT PINS

function_out FunctionPin FunctionPin instance

FC_False

Logic ...

boolean false lists

More ...

INPUT PINS

count Integer Integer instance

OUTPUT PINS

false BoolPin BoolPin instance

FC_FigureOnFace

HighLevel ...

map figures pattens onto a surface

More ...

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

BSpline ...

closed wire to face Part.makeFilledFace

More ...

INPUT PINS

Edges ShapePin ShapePin instance

Wire ShapePin closed wire to be filled

OUTPUT PINS

Shape_out ShapePin filled face

FC_FlipSwapArray

Conversion ...

flip directions of the vector-array or swap its axes

More ...

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

Logic ...

float toy - make a list of 10 floats

More ...

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

Development ...

dummy for tests

More ...

INPUT PINS

OUTPUT PINS

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

Lambda ...

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

More ...

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

Geom2D ...

2d Geometry object - arc of a circle

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

More ...

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

radius Float radius of the circle

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

Geom2D ...

2d Geometry object

More ...

INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

MajorRadius Float Float instance

MinorRadius Float Float instance

startAngle Float Float instance

endAngle Float Float instance

OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

FC_Geom2DArcOfParabola

Geom2D ...

2d Geometry object

More ...

INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

MajorRadius Float Float instance

MinorRadius Float Float instance

startAngle Float Float instance

endAngle Float Float instance

OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

FC_Geom2DCircle

Geom2D ...

2d Geometry object

More ...

INPUT PINS

Shape ShapePin ShapePin instance

u Float coordinate in uv space

v Float 2nd coordinate in uv space

radius Float Float instance

OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

FC_Geom2DEllipse

Geom2D ...

2d Geometry object

More ...

INPUT PINS

Shape ShapePin ShapePin instance

uLocation Float Float instance

vLocation Float Float instance

direction Float Float instance

MajorRadius Float Float instance

MinorRadius Float Float instance

OUTPUT PINS

Shape_out ShapePin resulting shape

geometry ShapePin ShapePin instance

FC_Geom2DGeometry

Geom2D ...

2d Geometry object

More ...

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

Voronoi ...

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

More ...

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

Logic ...

switch exec flow based on a flag

More ...

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

maskSize Integer Integer instance

OUTPUT PINS

Points_out VectorPin VectorPin instance

FC_Import

File ...

import a shape from a file

More ...

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

Default ...

returns item with a given index from a list

More ...

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

Conversion ...

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

More ...

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

BSpline ...

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

More ...

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

BSpline ...

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

More ...

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

Sensor ...

a Keyboard Sensor

More ...

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

Logic ...

compare a list of floats with a threshold

More ...

INPUT PINS

values Float Float instance

threshold Float Float instance

OUTPUT PINS

lessThan BoolPin BoolPin instance

FC_ListOfPlacements

Conversion ...

create a list of placements from  lists of data

More ...

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

Conversion ...

create a list of shapes from single shapes

More ...

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

Conversion ...

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

More ...

INPUT PINS

pattern VectorPin VectorPin instance

OUTPUT PINS

vectors VectorPin VectorPin instance

FC_Loft

Combination ...

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

More ...

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

Lambda ...

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

More ...

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.

see https://docs.scipy.org/doc/scipy/reference/optimize.html

OUTPUT PINS

result FloatPin FloatPin instance

minimum FloatPin FloatPin instance

FC_MoreThan

Logic ...

compare a list of floats with a threshold

More ...

INPUT PINS

values Float Float instance

threshold Float Float instance

OUTPUT PINS

moreThan BoolPin BoolPin instance

FC_Mouse

Sensor ...

a Mouse Sensor

More ...

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

Conversion ...

move a list of vectors

More ...

INPUT PINS

vectors VectorPin VectorPin instance

mover VectorPin mover vector

OUTPUT PINS

vectors_out VectorPin VectorPin instance

FC_Nearly

Logic ...

compare a list of floats with a threshold

More ...

INPUT PINS

values Float Float instance

value Float Float instance

tolerance Float Float instance

OUTPUT PINS

nearly BoolPin BoolPin instance

FC_Not

Logic ...

boolean not of a boolean list

More ...

INPUT PINS

a Boolean Boolean instance

OUTPUT PINS

not BoolPin BoolPin instance

FC_Nurbs

Nurbs ...

converts faces to nurbs

More ...

INPUT PINS

shape ShapePin ShapePin instance

OUTPUT PINS

Shape_out ShapePin resulting shape

FC_Object2

Information ...

load and save objects in FreeCAD document

More ...

INPUT PINS

objectname String String instance

Reload_from_FC ExecPin ExecPin instance

Store_to_FC ExecPin ExecPin instance

OUTPUT PINS

Shape_out ShapePin resulting shape

FC_Offset

Curves ...

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

More ...

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

Logic ...

booloan or of two boolean lists

More ...

INPUT PINS

a Boolean Boolean instance

b Boolean Boolean instance

OUTPUT PINS

or BoolPin elementwisewise a or b

FC_Parallelprojection

Projection ...

parallal projection of an edge onto a face

More ...

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

Projection ...

perspective projection of an edge onto a face

More ...

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

Development ...

pins testcase: what is possible

More ...

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 ...

Placement xyz

More ...

INPUT PINS

Placement_Base VectorPin VectorPin instance

Rotation_Axis VectorPin VectorPin instance

Rotation_Angle FloatPin FloatPin instance

objectname StringPin StringPin instance

OUTPUT PINS

FC_Plot

Information ...

display matplotlib windows with data

More ...

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

OUTPUT PINS

FC_Polygon

Primitive ...

erzeuge eines Streckenzugs
input pin for a list of vectors

More ...

INPUT PINS

points VectorPin list of points as array

OUTPUT PINS

Shape_out ShapePin resulting shape

FC_QuadMesh

INPUT PINS

hide Boolean Boolean instance

points VectorPin VectorPin instance

OUTPUT PINS

FC_Quadrangle

Primitive ...

create a Bspline Surface of degree 1
by 4 points

More ...

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

FC_Receiver

Signal ...

blinker receiver

More ...

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

Combination ...

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

More ...

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

BSpline ...

interactive reduce poles from a curve to get it smoother 

More ...

Videos: https://youtu.be/iEHDOwz9S3Q https://youtu.be/vuQ4s3iYqOA

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.

see https://docs.scipy.org/doc/scipy/reference/optimize.html

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

Lambda ...

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)

More ...

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

Default ...

list of the same element repeated

More ...

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

Combination ...

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

More ...

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

Conversion ...

scale list of vectors

More ...

INPUT PINS

vectors VectorPin VectorPin instance

scaler VectorPin factors to scale the three ain axes

OUTPUT PINS

vectors_out VectorPin VectorPin instance

FC_Seam

Combination ...

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

More ...

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 ...

information about a shape

More ...

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

radius FloatPin FloatPin instance

OUTPUT PINS

Points_out VectorPin VectorPin instance

FC_Simplex

Primitive ...

Tetraeder ..

More ...

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

Combination ...

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

More ...

INPUT PINS

shape ShapePin ShapePin instance

direction VectorPin VectorPin instance

distance Float Float instance

OUTPUT PINS

Shape_out ShapePin resulting shape

FC_Solid

Document ...

make solid of faces

More ...

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

Primitive ...

erzeuge einer Part.Kurgel

More ...

INPUT PINS

radius Float Radius of the sphere

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

Lambda ...

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

More ...

INPUT PINS

OUTPUT PINS

function_out FunctionPin FunctionPin instance

FC_Sweep

Combination ...

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

More ...

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

Development ...

dummy for tests

More ...

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

Development ...

methode zum spielen

More ...

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

OUTPUT PINS

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

Conversion ...

affine transformation matrix

More ...

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

FC_Tread

HighLevel ...

Schindel oder Stufe

More ...

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

Document ...

position on a surface or curve

More ...

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

Logic ...

boolean true  lists

More ...

INPUT PINS

count Integer Integer instance

OUTPUT PINS

true BoolPin BoolPin instance

FC_Tube

Object ...

calculate the points for a parametric tube along a backbone curve

More ...

INPUT PINS

backbone ShapePin backbone curve for the tube

parameter Float u parameter of the position of the ribs

radius Float radius/size of the rib rings

OUTPUT PINS

points VectorPin array of poles for the postprocessing bspline surface

FC_UIso

BSpline ...

uIso curve on a surface

More ...

INPUT PINS

Face_in ShapePin Face reference

u Float coordinate in uv space

OUTPUT PINS

Shape_out EdgePin Shape for the curve

FC_UVGrid

BSpline ...

uIso and vIso curves grid

More ...

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

Projection ...

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

More ...

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

BSpline ...

vIso curve on a surface

More ...

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

Primitive ...

Array of Vectors 
and a generated default BSplineSurface

More ...

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 ...

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

More ...

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

Conversion ...

create a list of vectors from the lists of coordinates

More ...

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

Development ...

dummy for tests

More ...

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

HighLevel ...

staircase handrail

More ...

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

HighLevel ...

sweptpath step generator

More ...

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

Conversion ...

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

More ...

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

Conversion ...

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

More ...

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

Expression /°/

number of nodes:1

BSpline

Coin

Combination

Conversion

Curves

Offset /°/

number of nodes:1

Default

Development

Document

Solid /°/ Tripod /°/

number of nodes:2

File

Export /°/ Import /°/

number of nodes:2

Flow

Counter /°/

number of nodes:1

Geom2D

HighLevel

Image

ImageT /°/

number of nodes:1

Information

Lambda

Logic

Nurbs

Nurbs /°/

number of nodes:1

Object

Tube /°/

number of nodes:1

Placement

Placement /°/

number of nodes:1

Points

Discretize /°/

number of nodes:1

Primitive

Projection

Sensor

Signal

Blinker /°/ Receiver /°/

number of nodes:2

VectorArray dim 2

ConnectPoles /°/

number of nodes:1

Voronoi

Hull /°/ Voronoi /°/

number of nodes:2

number of nodes 122

pyflow/nodes.txt · Last modified: 2020/02/11 16:47 by admin