Home
last modified time | relevance | path

Searched refs:bpy (Results 1 – 25 of 1544) sorted by relevance

12345678910>>...62

/dports/graphics/blender/blender-2.91.0/doc/python_api/rst/
H A Dchange_log.rst12 bpy.types.CyclesPreferences
20 bpy.types.BakeSettings
80 bpy.types.DopeSheet
138 bpy.types.Gizmo
156 bpy.types.Brush
183 bpy.types.Mesh
192 bpy.types.Scene
200 bpy.types.Screen
326 bpy.types.Sculpt
334 bpy.types.Panel
[all …]
/dports/graphics/blender/blender-2.91.0/tests/python/
H A Dbl_pyapi_idprop_datablock.py19 import bpy
56 test_prop: bpy.props.PointerProperty(type=bpy.types.Object)
83 bpy.types.Object.prop = bpy.props.PointerProperty(type=bpy.types.Object)
90 bpy.data.objects["Cube"].prop = bpy.data.objects['Camera']
149 bpy.context.window.scene = bpy.data.scenes["Scene_lib"]
169 bpy.context.window.scene = bpy.data.scenes["Scene_lib"]
256 bpy.types.Scene.prop = bpy.props.PointerProperty(type=bpy.types.Object)
257 bpy.types.Scene.prop1 = bpy.props.PointerProperty(type=bpy.types.Object, poll=poll)
258 bpy.types.Scene.prop2 = bpy.props.PointerProperty(type=bpy.types.NodeTree, poll=poll1)
283 bpy.types.Object.prop_gr = bpy.props.PointerProperty(
[all …]
H A Dbl_run_operators.py26 import bpy
153 for scene in bpy.data.scenes:
194 bpy.types.Brush,
337 bpy.ops.mesh.uv_texture_add()
347 bpy.ops.mesh.delete()
368 bpy.ops.object.metaball_add()
373 bpy.ops.object.text_add()
378 bpy.ops.object.armature_add()
386 bpy.ops.armature.delete()
427 bl_types = dir(bpy.types)
[all …]
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/builder/
H A Dbpymorse.py10 bpy = None variable
13 import bpy
52 if bpy:
87 if bpy:
108 if bpy and bpy.context.selected_objects:
126 if bpy and bpy.data.lamps:
141 if bpy and bpy.data.materials:
165 if bpy and bpy.data.texts:
180 if bpy and bpy.data.sounds:
195 if bpy and bpy.data.scenes:
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.python/
H A Dbindproject.cpp63 namespace bpy = boost::python;
87 return bpy::object(project); in create_default_project()
93 return bpy::object(project); in create_cornell_box_project()
96 bpy::object wrap_cpp_project_pointer(const bpy::long_& ptr) in wrap_cpp_project_pointer()
99 return bpy::object(bpy::ptr(binary_cast<Project*>(x))); in wrap_cpp_project_pointer()
104 bpy::list paths; in project_get_search_paths()
118 for (bpy::ssize_t i = 0, e = bpy::len(paths); i < e; ++i) in project_set_search_paths()
178 return bpy::object(config); in create_base_final_config()
184 return bpy::object(config); in create_base_interactive_config()
294bpy::class_<Configuration, auto_release_ptr<Configuration>, bpy::bases<Entity>, boost::noncopyable… in bind_project()
[all …]
H A Dbindassembly.cpp46 namespace bpy = boost::python;
71 const bpy::dict& params) in create_assembly_with_params()
79 const bpy::dict& params) in create_assembly_with_model_and_params()
105 const bpy::dict& params, in create_assembly_instance()
133 bpy::class_<BaseGroup, boost::noncopyable>("BaseGroup", bpy::no_init) in bind_assembly()
134 … .def("colors", &BaseGroup::colors, bpy::return_value_policy<bpy::reference_existing_object>()) in bind_assembly()
142bpy::class_<Assembly, auto_release_ptr<Assembly>, bpy::bases<Entity, BaseGroup>, boost::noncopyabl… in bind_assembly()
146 .def("bsdfs", &Assembly::bsdfs, bpy::return_value_policy<bpy::reference_existing_object>()) in bind_assembly()
148 .def("edfs", &Assembly::edfs, bpy::return_value_policy<bpy::reference_existing_object>()) in bind_assembly()
161bpy::class_<AssemblyInstance, auto_release_ptr<AssemblyInstance>, bpy::bases<Entity>, boost::nonco… in bind_assembly()
[all …]
H A Dbindvector.cpp40 namespace bpy = boost::python;
49 if (bpy::len(l) != N) in construct_vec_from_list()
213 .def(bpy::self += bpy::self) in do_bind_vector()
214 .def(bpy::self + bpy::self) in do_bind_vector()
215 .def(bpy::self -= bpy::self) in do_bind_vector()
216 .def(bpy::self - bpy::self) in do_bind_vector()
223 .def(bpy::self / bpy::self) in do_bind_vector()
225 .def(bpy::self == bpy::self) in do_bind_vector()
226 .def(bpy::self != bpy::self) in do_bind_vector()
229 .def(bpy::self_ns::str(bpy::self)) in do_bind_vector()
[all …]
H A Dbindcurveobject.cpp48 namespace bpy = boost::python;
65 const bpy::dict& params) in create_curve_obj()
81 for (bpy::ssize_t i = 0, e = bpy::len(search_paths); i < e; ++i) in read_curve_object()
124 for (bpy::ssize_t i = 0, e = bpy::len(points); i < e; ++i) in create_curve()
135 for (bpy::ssize_t i = 0, e = bpy::len(widths); i < e; ++i) in create_curve()
146 for (bpy::ssize_t i = 0, e = bpy::len(opacities); i < e; ++i) in create_curve()
157 for (bpy::ssize_t i = 0, e = bpy::len(colors); i < e; ++i) in create_curve()
169 bpy::len(widths) == 1 in create_curve()
189bpy::class_<CurveObject, auto_release_ptr<CurveObject>, bpy::bases<Object>, boost::noncopyable>("C… in bind_curve_object()
209 bpy::class_<CurveObjectReader>("CurveObjectReader", bpy::no_init) in bind_curve_object()
[all …]
H A Ddict2dict.cpp44 namespace bpy = boost::python;
70 bpy::list keys = d.keys(); in convert_from_bpy_dict()
72 for (bpy::ssize_t i = 0, e = bpy::len(d); i < e; ++i) in convert_from_bpy_dict()
189 bpy::extract<bpy::dict> extractor(value); in convert_from_bpy_dict()
212 return bpy::object(v); in obj_from_string()
219 return bpy::object(v); in obj_from_string()
226 return bpy::object(d); in obj_from_string()
245 return bpy::object(str); in obj_from_string()
256 bpy::dict result; in dictionary_to_bpy_dict()
282 bpy::dict dictionaries; in dictionary_array_to_bpy_dict()
[all …]
H A Dbindmatrix.cpp40 namespace bpy = boost::python;
49 if (bpy::len(l) != 4 * 4) in construct_matrix_from_list()
52 bpy::throw_error_already_set(); in construct_matrix_from_list()
59 bpy::extract<T> ex(l[i]); in construct_matrix_from_list()
77 if (bpy::len(indices) != 2) in get()
85 bpy::extract<int> ex0(indices[0]); in get()
119 if (bpy::len(indices) != 2) in set()
203 .def(bpy::init<T>()) in bind_typed_matrix4()
213 .def(bpy::self * bpy::self) in bind_typed_matrix4()
217 .def(bpy::self_ns::str(bpy::self)) in bind_typed_matrix4()
[all …]
H A Dbindobject.cpp44 namespace bpy = boost::python;
65 const bpy::dict& params) in factory_create_object()
73 const bpy::dict& params) in create_object()
83 bpy::throw_error_already_set(); in create_object()
91 bpy::list result; in obj_material_slots()
131 bpy::dict()); in create_obj_instance()
146 bpy::dict result; in material_mappings_to_dict()
167bpy::class_<Object, auto_release_ptr<Object>, bpy::bases<Entity>, boost::noncopyable>("Object", bp… in bind_object()
177bpy::class_<ObjectInstance, auto_release_ptr<ObjectInstance>, bpy::bases<Entity>, boost::noncopyab… in bind_object()
189 bpy::class_<IObjectFactory, boost::noncopyable>("IObjectFactory", bpy::no_init) in bind_object()
[all …]
H A Dbindimage.cpp48 namespace bpy = boost::python;
108 bpy::object arr_module(bpy::handle<>(PyImport_ImportModule("array"))); in c_array_to_py_array()
113 bpy::object string_py(bpy::handle<>(PyBytes_FromStringAndSize(data, size))); in c_array_to_py_array()
115 bpy::object string_py(bpy::handle<>(PyString_FromStringAndSize(data, size))); in c_array_to_py_array()
152 bpy::class_<CanvasProperties, boost::noncopyable>("CanvasProperties", bpy::no_init) in bind_image()
172 .def("__copy__", copy_tile, bpy::return_value_policy<bpy::manage_new_object>()) in bind_image()
173 .def("__deepcopy__", deepcopy_tile, bpy::return_value_policy<bpy::manage_new_object>()) in bind_image()
184 bpy::class_<Image, boost::noncopyable>("Image", bpy::no_init) in bind_image()
185 .def("__copy__", copy_image, bpy::return_value_policy<bpy::manage_new_object>()) in bind_image()
186 .def("__deepcopy__", copy_image, bpy::return_value_policy<bpy::manage_new_object>()) in bind_image()
[all …]
H A Dbindquaternion.cpp35 namespace bpy = boost::python;
114 .def(bpy::init<>()) in do_bind_quaternion()
121 .def(bpy::self + bpy::self) in do_bind_quaternion()
122 .def(bpy::self - bpy::self) in do_bind_quaternion()
123 .def(-bpy::self) in do_bind_quaternion()
127 .def(bpy::self += bpy::self) in do_bind_quaternion()
128 .def(bpy::self -= bpy::self) in do_bind_quaternion()
131 .def(bpy::self * bpy::self) in do_bind_quaternion()
132 .def(bpy::self *= bpy::self) in do_bind_quaternion()
135 .def(bpy::self_ns::str(bpy::self)) in do_bind_quaternion()
[all …]
H A Dbindenvironment.cpp43 namespace bpy = boost::python;
66 const bpy::dict& params) in create_environment_edf()
76 bpy::throw_error_already_set(); in create_environment_edf()
103 const bpy::dict& params) in create_environment_shader()
113 bpy::throw_error_already_set(); in create_environment_shader()
121 const bpy::dict& params) in create_environment()
137bpy::class_<EnvironmentEDF, auto_release_ptr<EnvironmentEDF>, bpy::bases<ConnectableEntity>, boost… in bind_environment()
147bpy::class_<EnvironmentShader, auto_release_ptr<EnvironmentShader>, bpy::bases<ConnectableEntity>,… in bind_environment()
155bpy::class_<Environment, auto_release_ptr<Environment>, bpy::bases<Entity>, boost::noncopyable >("… in bind_environment()
161 bpy::class_<IEnvironmentEDFFactory, boost::noncopyable>("IEnvironmentEDFFactory", bpy::no_init) in bind_environment()
[all …]
H A Dbindtransform.cpp43 namespace bpy = boost::python;
51 X.def(bpy::init<const UnalignedTransformd&>()); in bind_typed_transform_extra()
56 X.def(bpy::init<const UnalignedTransformf&>()); in bind_typed_transform_extra()
72 .def(bpy::self * bpy::self) in bind_typed_transform()
82 .def(bpy::self_ns::str(bpy::self)) in bind_typed_transform()
83 .def(bpy::self_ns::repr(bpy::self)); in bind_typed_transform()
100 bpy::tuple transform_seq_get_transform( in transform_seq_get_transform()
112 bpy::list result; in transform_seq_as_list()
119 bpy::tuple t = bpy::make_tuple(time, UnalignedTransformd(xform)); in transform_seq_as_list()
139 .def(bpy::init<>()) in bind_transform()
[all …]
/dports/graphics/blender/blender-2.91.0/source/tools/utils_api/
H A Dbpy_introspect_ui.py274 bpy.types.Menu = Menu
381 bpy.data.scenes = ()
382 bpy.data.speakers = ()
384 bpy.data.meshes = ()
388 bpy.data.lights = ()
390 bpy.data.fonts = ()
392 bpy.data.cameras = ()
393 bpy.data.curves = ()
395 bpy.data.masks = ()
413 bpy.app.debug = False
[all …]
/dports/games/pioneer/pioneer-20210723/scripts/
H A DShipPlanner015.py21 import bpy
407 bpy.types.Scene.Price = bpy.props.IntProperty(
456 bpy.types.Scene.FWD = bpy.props.FloatProperty(
463 bpy.types.Scene.BWD = bpy.props.FloatProperty(
470 bpy.types.Scene.UP = bpy.props.FloatProperty(
477 bpy.types.Scene.DWN = bpy.props.FloatProperty(
484 bpy.types.Scene.LEFT = bpy.props.FloatProperty(
498 bpy.types.Scene.ANG = bpy.props.FloatProperty(
506 bpy.types.Scene.EV = bpy.props.FloatProperty(
550 bpy.types.Scene.Scoop = bpy.props.IntProperty(
[all …]
/dports/graphics/blender/blender-2.91.0/source/tools/utils_maintenance/
H A Dblender_menu_search_coverage.py27 import bpy
221 for mod_name in dir(bpy.ops):
242 from bpy.types import Menu
440 bpy.ops.mesh.uv_texture_add()
458 bpy.ops.object.metaball_add()
463 bpy.ops.object.text_add()
468 bpy.ops.object.armature_add()
476 bpy.ops.armature.delete()
528 bpy.ops.object.quick_fur()
545 for mesh in bpy.data.meshes:
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/magic_uv/utils/
H A Dcompatibility.py26 import bpy
36 if bpy.app.version[0] == major and bpy.app.version[1] == minor:
38 if bpy.app.version[0] > major:
40 if bpy.app.version[1] > minor:
105 bpy.context.scene.objects.active = obj
160 'INFO': bpy.types.SpaceInfo,
161 'NLA_EDITOR': bpy.types.SpaceNLA,
168 'VIEW_3D': bpy.types.SpaceView3D,
172 'VIEW_3D': bpy.types.SpaceView3D,
176 'NLA_EDITOR': bpy.types.SpaceNLA,
[all …]
/dports/misc/ompl/ompl-1.5.2/py-bindings/ompl/morse/addons/
H A Dompl_addon.py53 import bpy
67 class Plan(bpy.types.Operator):
128 bpy.ops.wm.save_mainfile()
134 @bpy.app.handlers.persistent
143 bpy.data.scenes.remove(bpy.data.scenes['Scene'])
145 bpy.context.screen.scene = bpy.data.scenes['Scene']
150 class Play(bpy.types.Operator):
409 bpy.ops.object.add()
539 bpy.ops.object.add()
667 class OMPLMenu(bpy.types.Menu):
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/mesh_tissue/
H A Ddual_mesh.py33 import bpy
34 from bpy.types import Operator
35 from bpy.props import (
88 ob1 = bpy.data.objects[name1]
175 act = bpy.context.active_object
195 for o in bpy.data.objects:
213 bpy.ops.mesh.select_mode(
226 bpy.ops.mesh.select_mode(
255 bpy.ops.mesh.select_similar(
265 bpy.ops.mesh.select_more()
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/rigify/legacy/
H A D__init__.py45 import bpy
48 class RigifyName(bpy.types.PropertyGroup):
49 name: bpy.props.StringProperty()
53 name: bpy.props.StringProperty()
67 bpy.utils.register_class(RigifyName)
72 bpy.types.PoseBone.rigify_parameters = bpy.props.PointerProperty(type=RigifyParameters)
74 bpy.types.Armature.rigify_layers = bpy.props.CollectionProperty(type=RigifyArmatureLayer)
76 IDStore = bpy.types.WindowManager
91 del bpy.types.PoseBone.rigify_type
94 IDStore = bpy.types.WindowManager
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/
H A Dmesh_auto_mirror.py22 import bpy
26 import bpy
31 from bpy.types import (
38 from bpy.props import (
97 class AutoMirror(bpy.types.Operator):
112 if bpy.context.object and bpy.context.object.type == 'MESH':
170 bpy.ops.mesh.bisect(
197 bpy.ops.object.modifier_apply(modifier = bpy.context.object.modifiers[-1].name)
223 if bpy.context.object and bpy.context.object.type == 'MESH':
346 update_panel(None, bpy.context)
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/sun_position/
H A D__init__.py54 import bpy
59 bpy.types.Scene.sun_pos_properties = (
66 bpy.utils.register_class(ui_sun.SUNPOS_MT_Presets)
67 bpy.utils.register_class(ui_sun.SUNPOS_PT_Panel)
68 bpy.utils.register_class(ui_sun.SUNPOS_PT_Location)
69 bpy.utils.register_class(ui_sun.SUNPOS_PT_Time)
70 bpy.utils.register_class(hdr.SUNPOS_OT_ShowHdr)
76 bpy.utils.unregister_class(hdr.SUNPOS_OT_ShowHdr)
77 bpy.utils.unregister_class(ui_sun.SUNPOS_PT_Panel)
79 bpy.utils.unregister_class(ui_sun.SUNPOS_PT_Time)
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/space_view3d_spacebar_menu/
H A Dedit_mesh.py21 import bpy
22 from bpy.types import (
26 from bpy.props import (
92 bpy.ops.object.mode_set(mode="EDIT")
107 bpy.ops.object.mode_set(mode="EDIT")
122 bpy.ops.object.mode_set(mode="EDIT")
138 bpy.ops.object.mode_set(mode="EDIT")
141 bpy.ops.object.mode_set(mode="EDIT")
155 bpy.ops.object.mode_set(mode="EDIT")
232 bpy.utils.register_class(cls)
[all …]

12345678910>>...62