-
Notifications
You must be signed in to change notification settings - Fork 114
Operators
Operators are constructs in Blender that can be called from the GUI, thus whenever you click a button or menu item, you execute an operator. Thus while you can use lots of Phobos' functions when scripting in Blender, most of the time you will work with the set of operators it provides.
For each currently selected object, this operator selects the root link of the corresponding robot.
Selects all objects of a specified phobostype.
For each currently selected object, this operator selects all objects (including links, visuals, collisions, inertials, sensors and controllers) belonging to the robot the object is part of.
This operator sets the chosen phobostype for all selected objects.
This operator sorts the selected objects to their corresponding layers. See Editing a model for more information about layers in phobos.
This operator edits the specified custom property for all selected objects. If the new value is '' it deletes the property. Otherwise it sets it to the new value and even creates it if necessary.
Purpose
The selected objects will share the active objects mesh among each other. The overwritten meshes will be lost forever!
Parameters
shared Meshes Name
This is the new name for the shared mesh to use when exporting it.
Context Requirements
- The active object must not have an already shared mesh
- The active object has to be a visual or collision object
- The number of selected visual/collision objects has to be >= 2
This operator takes the active objects poperties and copies it to all other selected objects. You can choose to purge all other custom properties.
Breaks the bond between the shared meshes. The objects will not get there old meshes back, but the meshes can now be edited and exported individually again. If you undo a sharing on a source object without undoing it on its adherents you may have problems with the mesh export later on!
This operators takes all selected objects and renames a given custom property. You can choose whether you want to override existing properties or not.
This operator takes all selected objects and applies the shade_smooth blender operator to them.
This operator takes all selected objects and sets their geometry types. It omits all objects that are no visual or collision objects.
This operator iterates over all selected objects and sets the mass specified in the parameters.
This operator takes all selected objects and sets their inertia data to the specified one. It omits non inertial objects
This is were the model's destined export path is specified.
Selecting this check box will cause the specified export path to be interpreted as a relative path; otherwise the path will be interpreted as an absolute one.
Exports the selected robot to the specified path using the export setting selections. Only those parts of the robot that are currently selected will be exported.
This operator allows for browsing for either a MARS scene or a URDF file and importing the model specified inside it.
For a description of individual operators please refer to our source documentation.
Back to top.