Commit 1da7b229 authored by Jan Möbius's avatar Jan Möbius

Marlin: Additional and fixed vsi metadatas

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9512 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 03d5cdcc
<OpenFlipper>
<element name="datacontrol_getobjectname">
<category>Object Manipulation</category>
<short>Get Object Name</short>
<long>Gets the name of an object.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
</inputs>
<outputs>
<output name="name" type="String">
<short>Object name</short>
<long>Name of the object given by the input ID.</long>
</output>
</outputs>
<code>
[output="name"] = datacontrol.getObjectName([input="obj"]);
</code>
</element>
<element name="datacontrol_setobjectname">
<category>Object Manipulation</category>
<short>Set Object Name</short>
<long>Sets the name of an object.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
<input name="name" type="String">
<short>Object name</short>
<long>Name of the object given by the input ID.</long>
</input>
</inputs>
<code>
datacontrol.setObjectName([input="obj"], [input="name"]);
</code>
</element>
<element name="datacontrol_objectvisibility">
<category>Object Manipulation</category>
<short>Object visibility</short>
<long>Shows or hides an object.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
<input name="visible" type="Bool">
<short>Visible?</short>
<long>True to set visible, false to set invisible.</long>
</input>
</inputs>
<code>
if ([input="visible"])
datacontrol.showObject([input="obj"]);
else
datacontrol.hideObject([input="obj"]);
</code>
</element>
<element name="datacontrol_objectdelete">
<category>Object Manipulation</category>
<short>Delete object</short>
<long>Deletes an object from the scene.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
</inputs>
<code>
datacontrol.objectDelete([input="obj"]);
</code>
</element>
<element name="datacontrol_objectcopy">
<category>Object Manipulation</category>
<short>Copy object</short>
<long>Creates a copy of an object.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
</inputs>
<code>
datacontrol.copyObject([input="obj"]);
</code>
</element>
</OpenFlipper>
......@@ -37,7 +37,7 @@
<function name="true">
<short>"true" case</short>
</function>
<function name="content">
<function name="false">
<short>"false" case</short>
</function>
</functions>
......@@ -48,4 +48,4 @@
[function="false"]();
</code>
</element>
</OpenFlipper>
\ No newline at end of file
</OpenFlipper>
......@@ -33,7 +33,7 @@
</outputs>
<code>
if ([is_connected="add"])
[output="add"] = [input="a"] + [input="b"];
[output="add"] = Number([input="a"]) + Number([input="b"]);
if ([is_connected="sub"])
[output="sub"] = [input="a"] - [input="b"];
if ([is_connected="mul"])
......
<OpenFlipper>
<element name="move_translate">
<category>Object Manipulation</category>
<short>Move/rotate</short>
<long>Translates and transforms all vertices of an object.</long>
<dataflow>true</dataflow>
<inputs>
<input name="obj" type="ObjectId">
<short>ID</short>
<long>ID of an object</long>
</input>
<input name="vec" type="Vector">
<short>Translation vector</short>
<long>Vector to translate with</long>
</input>
<input name="mat" type="Matrix">
<short>Transformation matrix</short>
<long>Matrix to transform with</long>
</input>
</inputs>
<code>
move.translate([input="obj"], [input="vec"]);
move.transform([input="obj"], [input="mat"]);
</code>
</element>
</OpenFlipper>
<OpenFlipper>
<element name="printing_print">
<category>Misc</category>
<short>Printing</short>
<long>Print the current view.</long>
<dataflow>true</dataflow>
<inputs>
</inputs>
<code>
printingplugin.printView();
</code>
</element>
</OpenFlipper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment