Skip to content

Object Nodes

infeeeee edited this page Nov 4, 2020 · 4 revisions

Table of Contents generated with DocToc

Action Action

AddToGroup

Add an object to a group.

Move

Move a FreeCAD object by given coordinates. You have to plug numbers to the connectors.

MoveByVector

Move a FreeCAD object by a vector. You have to plug a Dynamovector to the Vector receptor!

RemoveObject

Deletes an object from the FreeCAD document.

Rotate

Rotate a FreeCAD object. Center coordinates are the origin of the rotation, axis is the main axis you are rotating around, degree is the degree you want to rotate the element.

RotateByVectorAndPoint

Rotate a FreeCAD object around a Dynamo Point and a Dynamo vector. See MoveRotatePartCubes.dyn in Examples folder for real life usage!

The point is relative to the element you are rotating! So if you rotate around a point which is at (0,0,0) it will rotate the element around its origin!

SetPropertyByName

Sets a property of a FreeCAD object. Check available properties with the Object.Get.GetPropertyValueByName or with Object.Get.Properties nodes.

Query Query

Document

Gets the FreeCAD document of the object.

GetPropertyValueByName

Gets the value of a property of an object,

ID

Gets the numberical ID of an object

Label

Gets the Label of an object

Name

Gets the immutable name property of an object.

Placement

Gets the placement of an object. The base, rotation and matrix outputs are the same as the placement output, but separated for easier management.

Properties

List all properties and property values of a FreeCAD object. Ouputs a dictionary, where the keys are the proprty names, values are the property values.