In the case above, the 'Add' node will be repeated twice: Then all inputs will be converted to lists of the same size, where the last element of the short lists will be repeated to match the length of the longest. The mixing will be performed when at least one input is a list of values. This is the case where mixing of values will be performed. At the same time, the other port receives only one value. Then the data will be combined, so a list of values will be the input for this port. There might be several wires coming into a single input port. The result will also be composed of four values: In this case the node will calculate the power of 2 of the value and set it as a result. The result of each iteration will be collected in a list and passed as an output. This means the the node will be executed for each single value to produce a single result. In this case the node will be repeated for each value on the wire The wires might carry several data values. In this case, each wire transfers only one value from the output ports to the input: 1 + 2 = 3 The numbers in red represent the actual values that run through the wires. ![]() This is a graphical demonstration of a simple value data flow: The data might be a single value or a list of values. The data type that flows on a wire from an output to an input port and is determined by the output. Then this value will flow into the 'data' port of the 'Show Dialog' node. The two 'Int' nodes will collect two numbers, then they will flow into the 'a' and 'b' ports of the 'Add' node, which will produce the sum and put it in the 'out' port. The data flow is defined by the wires that connect the input and output ports. It represents an integer value which is set in the OIP and sent downstream through the single output port:Īnd this node only has an input port and then will present a dialog with showing it's value:Ī network is a set of Marionette Nodes connected to each other to define the flow of data. This is an example of a simple node that has no input ports. ![]() Nodes can also have Object Info Palette - Shape Pane (OIP) controls when data is required from the user. Nodes might have many or no input and output ports. out - the output port with the result.This is a simple Marionette Node that adds two input numbers and outputs the result: It defines how the data will be transferred from the input ports on the left to the output ports on the right of the node. ![]() Data travels from left to right in wires between nodes, possibly generating VW drawing or BIM objects in the process.Ī series of tutorials on the basics of Marionette can be found here.Ī node is a single piece of the marionette network. A network is a collection of "Nodes" each of which represents a function or mapping from inputs to outputs. A "Script" or "Program" in Marionette is called a "Network" and resembles a flow-chart. It allows the user to generate and manipulate VW objects without learning a traditional text based language. Ultrabook, Celeron, Celeron Inside, Core Inside, Intel, das Intel-Logo, Intel Atom, Intel Atom Inside, Intel Core, Intel Inside, das „Intel Inside“-Logo, Intel vPro, Itanium, Itanium Inside, Pentium, Pentium Inside, vPro Inside, Xeon, Xeon Phi, Xeon Inside und Intel Optane sind Marken der Intel Corporation oder ihrer Tochtergesellschaften in den USA und/oder anderen Ländern.Marionette is a graphical programming language for Vectorworks.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |