-
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 sets all selected objects origins to their center of mass.
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 where 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.
This value sets the number of decimal places used for representing floating point values inside the export files.
Selecting this option will sort the files generated during export into according subdirectories of the export directory. This may provide a better overview.
If this check box is selected, the selected model's mesh objects will be exported into a separate meshes subdirectory. The files' format is set accordingly to which option was selected (see below). The selected format is displayed below the option check boxes.
Selecting this check box causes the model's mesh objects to be exported in .bobj format, if the export meshes option was selected as well.
Selecting this check box causes the model's mesh objects to be exported in .obj format, if the export meshes option was selected as well.
Selecting this check box causes the model's mesh objects to be exported in .stl format, if the export meshes option was selected as well.
Selecting this check box causes the model's mesh objects to be exported in .dae format, if the export meshes option was selected as well.
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.