|
Robowflex
v0.1
Making MoveIt Easy
|
Functions | |
| def | resolve_package (path) |
| def | resolve_path (path) |
| def | select_all_children (item) |
| def | apply_smooth_shade (item) |
| def | apply_edge_split (item, angle=math.pi/8) |
| def | find_object_in_collection (coll_name, item_name) |
| def | move_selected_to_collection (name) |
| def | find_collection (item) |
| def | get_collection (name) |
| def | remove_collection (name, remove_objects=True) |
| def | make_collection (name) |
| def | deselect_all () |
| def | create_object_parent (parent, child) |
| def | get_object_parent (parent, child) |
| def | parent_object (parent, child, frame) |
| def | unparent_object (parent, child, frame) |
| def | set_active (item) |
| def | add_material (item, material) |
| def | set_color (obj, element) |
| def | pose_to_quat (pose) |
| def | pose_to_vec (pose) |
| def | pose_add (obj, pose1, pose2) |
| def | set_pose (obj, pose) |
| def | read_YAML_data (file_name) |
| def | remove_doubles (item, threshold=0.0001) |
| def | remove_inner_faces (item) |
| def | clear_alpha (obj) |
| def | get_tf_origin_xml (xml) |
Helper functions for the Robowflex Visualization library.
| def robowflex_visualization.utils.add_material | ( | item, | |
| material | |||
| ) |
| def robowflex_visualization.utils.apply_edge_split | ( | item, | |
angle = math.pi / 8 |
|||
| ) |
Applies the edge-split modifier to the provided object.
Definition at line 83 of file utils.py.
| def robowflex_visualization.utils.apply_smooth_shade | ( | item | ) |
| def robowflex_visualization.utils.create_object_parent | ( | parent, | |
| child | |||
| ) |
Definition at line 179 of file utils.py.
| def robowflex_visualization.utils.find_collection | ( | item | ) |
| def robowflex_visualization.utils.find_object_in_collection | ( | coll_name, | |
| item_name | |||
| ) |
Retrieves an object by name from a collection.
Definition at line 101 of file utils.py.
| def robowflex_visualization.utils.get_collection | ( | name | ) |
| def robowflex_visualization.utils.get_object_parent | ( | parent, | |
| child | |||
| ) |
| def robowflex_visualization.utils.make_collection | ( | name | ) |
Creates a new collection, deleting collections with the same name.
Definition at line 154 of file utils.py.
| def robowflex_visualization.utils.move_selected_to_collection | ( | name | ) |
Moves selected objects to collection.
Definition at line 112 of file utils.py.
| def robowflex_visualization.utils.parent_object | ( | parent, | |
| child, | |||
| frame | |||
| ) |
Definition at line 221 of file utils.py.
| def robowflex_visualization.utils.pose_add | ( | obj, | |
| pose1, | |||
| pose2 | |||
| ) |
| def robowflex_visualization.utils.pose_to_quat | ( | pose | ) |
| def robowflex_visualization.utils.pose_to_vec | ( | pose | ) |
| def robowflex_visualization.utils.read_YAML_data | ( | file_name | ) |
| def robowflex_visualization.utils.remove_collection | ( | name, | |
remove_objects = True |
|||
| ) |
| def robowflex_visualization.utils.remove_doubles | ( | item, | |
threshold = 0.0001 |
|||
| ) |
Definition at line 360 of file utils.py.
| def robowflex_visualization.utils.remove_inner_faces | ( | item | ) |
Definition at line 376 of file utils.py.
| def robowflex_visualization.utils.resolve_package | ( | path | ) |
| def robowflex_visualization.utils.resolve_path | ( | path | ) |
| def robowflex_visualization.utils.select_all_children | ( | item | ) |
Selects and returns all children, recursively.
Definition at line 57 of file utils.py.
| def robowflex_visualization.utils.set_active | ( | item | ) |
| def robowflex_visualization.utils.set_color | ( | obj, | |
| element | |||
| ) |
| def robowflex_visualization.utils.set_pose | ( | obj, | |
| pose | |||
| ) |
| def robowflex_visualization.utils.unparent_object | ( | parent, | |
| child, | |||
| frame | |||
| ) |
Definition at line 249 of file utils.py.