fieldOfView / pyZUtilities

Some helpful nodes for ZOCP networks, implemented in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zutilties

Some helpful nodes for ZOCP networks, implemented in Python.

zcounter

Counts and displays the number of signals received on its input (which can be anything) for debugging purposes.

zmultiplier

Multiplies an input by a factor. Useful when a node outputs a float between 0.0 and 1.0 but another node needs a number between 0 and 255.

usage: zmultiplier.py [-h] [-f --factor F] [-i --inverse] [N]

positional arguments:
  N              the number of ports to add, all multiplied by the same factor

optional arguments:
  -h, --help     show this help message and exit
  -f --factor F  initial value of Factor
  -i --inverse   multiply (False) or divide (True) by factor

zstringsplitter

Splits an input string by a settable delimiter, and outputs one of the resulting items

zswitchin

Virtual switchboard node that allows one of a number of inputs to be connected to a single output.

usage: zswitchin.py [-h] [{boolean,int,float,vec2f,vec3f,vec4f,string}] [N]

positional arguments:
  {boolean,int,float,vec2f,vec3f,vec4f,string}
                        the type of ports to use for input and output
  N                     the number of input-ports to add

optional arguments:
  -h, --help            show this help message and exit

zswitchout

Virtual switchboard node that allows a single input to be connected to one of the nodes outputs.

usage: zswitchout.py [-h] [{boolean,int,float,vec2f,vec3f,vec4f,string}] [N]

positional arguments:
  {boolean,int,float,vec2f,vec3f,vec4f,string}
                        the type of ports to use for input and output
  N                     the number of output-ports to add

optional arguments:
  -h, --help            show this help message and exit

About

Some helpful nodes for ZOCP networks, implemented in Python.

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%