Created
October 19, 2019 00:41
-
-
Save EricCousineau-TRI/296d04225763e017ce022782ca6ab63e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Small JSON snippet using this stuff: | |
# https://github.com/EricCousineau-TRI/blender_server/blob/175054b15df1dc0b99795cc15fe80ef555d7dafa/blender_dump.py | |
... | |
"Cylinder.002": { | |
"_obj_id": 140067398049800, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002']", | |
"_relpath": "['Cylinder.002']", | |
"_type": "<class 'bpy_types.Object'>", | |
"animation_data": null, | |
"animation_visualization": { | |
"_obj_id": 140067398050152, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].animation_visualization", | |
"_relpath": ".animation_visualization", | |
"_type": "<class 'bpy.types.AnimViz'>", | |
"motion_path": "<visited: 140067398050152>" | |
}, | |
"bound_box": [ | |
[ | |
-8.55454158782959, | |
-11.336409568786621, | |
-26.886634826660156 | |
], | |
[ | |
-8.55454158782959, | |
-11.336409568786621, | |
26.886634826660156 | |
], | |
[ | |
-8.55454158782959, | |
12.940572738647461, | |
26.886634826660156 | |
], | |
[ | |
-8.55454158782959, | |
12.940572738647461, | |
-26.886634826660156 | |
], | |
[ | |
8.554539680480957, | |
-11.336409568786621, | |
-26.886634826660156 | |
], | |
[ | |
8.554539680480957, | |
-11.336409568786621, | |
26.886634826660156 | |
], | |
[ | |
8.554539680480957, | |
12.940572738647461, | |
26.886634826660156 | |
], | |
[ | |
8.554539680480957, | |
12.940572738647461, | |
-26.886634826660156 | |
] | |
], | |
"children": [], | |
"collision": { | |
"_obj_id": 140066633185544, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].collision", | |
"_relpath": ".collision", | |
"_type": "<class 'bpy.types.CollisionSettings'>", | |
"absorption": 0.0, | |
"cloth_friction": 5.0, | |
"damping": 0.10000000149011612, | |
"damping_factor": 0.0, | |
"damping_random": 0.0, | |
"friction_factor": 0.0, | |
"friction_random": 0.0, | |
"permeability": 0.0, | |
"stickiness": 0.0, | |
"thickness_inner": 0.20000000298023224, | |
"thickness_outer": 0.019999999552965164, | |
"use": false, | |
"use_culling": true, | |
"use_normal": false, | |
"use_particle_kill": false | |
}, | |
"color": [ | |
1.0, | |
1.0, | |
1.0, | |
1.0 | |
], | |
"constraints": {}, | |
"cycles": {}, | |
"cycles_visibility": {}, | |
"data": { | |
"_obj_id": 140067404592648, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].data", | |
"_relpath": ".data", | |
"_type": "<class 'bpy_types.Mesh'>", | |
"animation_data": null, | |
"auto_smooth_angle": 0.5235987901687622, | |
"auto_texspace": true, | |
"cycles": {}, | |
"edge_keys": "<len = 1104 >= 500>", | |
"edges": "<len = 1104 >= 500>", | |
"face_maps": {}, | |
"has_custom_normals": false, | |
"is_editmode": false, | |
"is_evaluated": false, | |
"is_library_indirect": false, | |
"library": null, | |
"loop_triangles": {}, | |
"loops": "<len = 2140 >= 500>", | |
"materials": { | |
"Material": "<visited: 140067381020936>", | |
"Material.002": "<visited: 140067381059720>", | |
"Material.003": "<visited: 140067381098248>" | |
}, | |
"name": "Cylinder.003", | |
"name_full": "Cylinder.003", | |
"original": "<visited: 140067404592648>", | |
"override_library": null, | |
"polygon_layers_float": {}, | |
"polygon_layers_int": {}, | |
"polygon_layers_string": {}, | |
"polygons": "<len = 535 >= 500>", | |
"preview": null, | |
"shape_keys": null, | |
"skin_vertices": {}, | |
"tag": false, | |
"texco_mesh": null, | |
"texspace_location": "Vector((-9.5367431640625e-07, 0.8020815849304199, 0.0))", | |
"texspace_size": "Vector((8.554540634155273, 12.138490676879883, 26.886634826660156))", | |
"texture_mesh": null, | |
"total_edge_sel": 0, | |
"total_face_sel": 0, | |
"total_vert_sel": 0, | |
"use_auto_smooth": false, | |
"use_auto_texspace": true, | |
"use_customdata_edge_bevel": false, | |
"use_customdata_edge_crease": false, | |
"use_customdata_vertex_bevel": false, | |
"use_fake_user": false, | |
"use_mirror_topology": false, | |
"use_mirror_x": false, | |
"use_paint_mask": false, | |
"use_paint_mask_vertex": false, | |
"users": 1, | |
"uv_layer_clone": { | |
"_obj_id": 140068025591752, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].data.uv_layer_clone", | |
"_relpath": ".uv_layer_clone", | |
"_type": "<class 'bpy.types.MeshUVLoopLayer'>", | |
"active": true, | |
"data": "<len = 2140 >= 500>", | |
"name": "UVMap" | |
}, | |
"uv_layer_clone_index": 0, | |
"uv_layer_stencil": "<visited: 140068025591752>", | |
"uv_layer_stencil_index": 0, | |
"uv_layers": { | |
"UVMap": "<visited: 140068025591752>" | |
}, | |
"vertex_colors": {}, | |
"vertex_layers_float": {}, | |
"vertex_layers_int": {}, | |
"vertex_layers_string": {}, | |
"vertex_paint_masks": {}, | |
"vertices": "<len = 570 >= 500>" | |
}, | |
"delta_location": "Vector((0.0, 0.0, 0.0))", | |
"delta_rotation_euler": "Euler((0.0, 0.0, 0.0), 'XYZ')", | |
"delta_rotation_quaternion": "Quaternion((1.0, 0.0, 0.0, 0.0))", | |
"delta_scale": "Vector((1.0, 1.0, 1.0))", | |
"dimensions": "Vector((21.349472045898438, 35.926387786865234, 53.77326965332031))", | |
"display": "<visited: 140067398049800>", | |
"display_bounds_type": "BOX", | |
"display_type": "TEXTURED", | |
"empty_display_size": 1.0, | |
"empty_display_type": "PLAIN_AXES", | |
"empty_image_depth": "DEFAULT", | |
"empty_image_offset": [ | |
0.0, | |
0.0 | |
], | |
"empty_image_side": "DOUBLE_SIDED", | |
"face_maps": {}, | |
"field": "<visited: 140066633185544>", | |
"grease_pencil_modifiers": {}, | |
"hide_render": false, | |
"hide_select": false, | |
"hide_viewport": false, | |
"image_user": null, | |
"instance_collection": null, | |
"instance_faces_scale": 1.0, | |
"instance_type": "NONE", | |
"is_evaluated": false, | |
"is_from_instancer": false, | |
"is_from_set": false, | |
"is_instancer": false, | |
"is_library_indirect": false, | |
"library": null, | |
"location": "Vector((3.244307041168213, -53.372520446777344, -0.966458797454834))", | |
"lock_location": [ | |
false, | |
false, | |
false | |
], | |
"lock_rotation": [ | |
false, | |
false, | |
false | |
], | |
"lock_rotation_w": false, | |
"lock_rotations_4d": true, | |
"lock_scale": [ | |
false, | |
false, | |
false | |
], | |
"material_slots": { | |
"Material": { | |
"_obj_id": 140067398021432, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].material_slots['Material']", | |
"_relpath": "['Material']", | |
"_type": "<class 'bpy.types.MaterialSlot'>", | |
"link": "DATA", | |
"material": "<visited: 140067381020936>", | |
"name": "Material" | |
}, | |
"Material.002": { | |
"_obj_id": 140067398021416, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].material_slots['Material.002']", | |
"_relpath": "['Material.002']", | |
"_type": "<class 'bpy.types.MaterialSlot'>", | |
"link": "DATA", | |
"material": "<visited: 140067381059720>", | |
"name": "Material.002" | |
}, | |
"Material.003": { | |
"_obj_id": 140067398021424, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].material_slots['Material.003']", | |
"_relpath": "['Material.003']", | |
"_type": "<class 'bpy.types.MaterialSlot'>", | |
"link": "DATA", | |
"material": "<visited: 140067381098248>", | |
"name": "Material.003" | |
} | |
}, | |
"matrix_basis": [ | |
[ | |
9.420963920092618e-08, | |
-1.4798539876937866, | |
-4.371138828673793e-08, | |
3.244307041168213 | |
], | |
[ | |
0.0, | |
-6.468647484325629e-08, | |
1.0, | |
-53.372520446777344 | |
], | |
[ | |
-1.2478444576263428, | |
-1.1172586766861059e-07, | |
-3.3001180777756647e-15, | |
-0.966458797454834 | |
], | |
[ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
] | |
], | |
"matrix_local": [ | |
[ | |
9.420963920092618e-08, | |
-1.4798539876937866, | |
-4.371138828673793e-08, | |
3.244307041168213 | |
], | |
[ | |
0.0, | |
-6.468647484325629e-08, | |
1.0, | |
-53.372520446777344 | |
], | |
[ | |
-1.2478444576263428, | |
-1.1172586766861059e-07, | |
-3.3001180777756647e-15, | |
-0.966458797454834 | |
], | |
[ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
] | |
], | |
"matrix_parent_inverse": [ | |
[ | |
1.0, | |
0.0, | |
0.0, | |
0.0 | |
], | |
[ | |
0.0, | |
1.0, | |
0.0, | |
0.0 | |
], | |
[ | |
0.0, | |
0.0, | |
1.0, | |
0.0 | |
], | |
[ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
] | |
], | |
"matrix_world": [ | |
[ | |
9.420963920092618e-08, | |
-1.4798539876937866, | |
-4.371138828673793e-08, | |
3.244307041168213 | |
], | |
[ | |
0.0, | |
-6.468647484325629e-08, | |
1.0, | |
-53.372520446777344 | |
], | |
[ | |
-1.2478444576263428, | |
-1.1172586766861059e-07, | |
-3.3001180777756647e-15, | |
-0.966458797454834 | |
], | |
[ | |
0.0, | |
0.0, | |
0.0, | |
1.0 | |
] | |
], | |
"mode": "OBJECT", | |
"modifiers": {}, | |
"motion_path": null, | |
"name": "Cylinder.002", | |
"name_full": "Cylinder.002", | |
"original": "<visited: 140067398049800>", | |
"override_library": null, | |
"parent": null, | |
"parent_bone": "", | |
"parent_type": "OBJECT", | |
"parent_vertices": [ | |
0, | |
0, | |
0 | |
], | |
"particle_systems": {}, | |
"pass_index": 0, | |
"pose": null, | |
"pose_library": null, | |
"preview": { | |
"_obj_id": 140066633438440, | |
"_path": "scenes['Scene'].collection.all_objects['Cylinder.002'].preview", | |
"_relpath": ".preview", | |
"_type": "<class 'bpy.types.ImagePreview'>", | |
"icon_id": 1048, | |
"icon_pixels": [], | |
"icon_pixels_float": [], | |
"icon_size": [ | |
0, | |
0 | |
], | |
"image_pixels": [], | |
"image_pixels_float": [], | |
"image_size": [ | |
0, | |
0 | |
], | |
"is_icon_custom": false, | |
"is_image_custom": false | |
}, | |
"proxy": null, | |
"proxy_collection": null, | |
"rigid_body": null, | |
"rigid_body_constraint": null, | |
"rotation_axis_angle": [ | |
0.0, | |
0.0, | |
1.0, | |
0.0 | |
], | |
"rotation_euler": "Euler((-1.5707963705062866, 1.570796251296997, 0.0), 'XYZ')", | |
"rotation_mode": "XYZ", | |
"rotation_quaternion": "Quaternion((1.0, 0.0, 0.0, 0.0))", | |
"scale": "Vector((1.2478444576263428, 1.4798539876937866, 1.0))", | |
"shader_effects": {}, | |
"show_all_edges": false, | |
"show_axis": false, | |
"show_bounds": false, | |
"show_empty_image_orthographic": true, | |
"show_empty_image_perspective": true, | |
"show_in_front": false, | |
"show_instancer_for_render": true, | |
"show_instancer_for_viewport": true, | |
"show_name": false, | |
"show_only_shape_key": false, | |
"show_texture_space": false, | |
"show_transparent": false, | |
"show_wire": false, | |
"soft_body": null, | |
"tag": false, | |
"track_axis": "POS_Y", | |
"type": "MESH", | |
"up_axis": "Z", | |
"use_dynamic_topology_sculpting": false, | |
"use_empty_image_alpha": false, | |
"use_fake_user": false, | |
"use_instance_faces_scale": false, | |
"use_instance_vertices_rotation": false, | |
"use_shape_key_edit_mode": false, | |
"users": 1, | |
"vertex_groups": {} | |
}, | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment