About 274,000 results
Open links in new tab
  1. How can I add a collection using Python? - Blender Stack Exchange

    Jun 27, 2020 · Recommend use the python console to figure out: >>> D.collections.new( new() BlendDataCollections.new(name) Add a new collection to the main database ... >>> my_coll = …

  2. python - How can I get vertex positions from a mesh? - Blender …

    These scripts will output the same list in either 'EDIT' or 'OBJECT' mode.. Local Coordinates. import bpy, bmesh obj = bpy.context.active_object if obj.mode == 'EDIT': # this works only in …

  3. How to install Python Modules in Blender?

    Apr 5, 2021 · How to install any module in Blender: Give complete permissions to the users of Blender's Python folder: C:\Program Files\Blender Foundation\Blender 2.92\2.92\python …

  4. python - BMesh get edge loop - Blender Stack Exchange

    May 22, 2017 · (there isn't an "edge.loop" in the bmesh python API so we'd need a bit more work but I'm skipping asserts for now) # if edge.loop and edge.loop.link_loop_radial_next != …

  5. How do I install Pillow and/or Pip in Blender Python in Windows OS

    In the Windows PowerShell I first installed Pip by typing this command in the Python executable directory for Blender: .\python -m ensurepip --default-pip Then I downloaded the Pillow wheel …

  6. How to load external modules/packages into blender python

    May 11, 2018 · Blender's Python has its own environment, so this procedure will install the dependencies there (in my case the 2.80/python folder). AFAIK this will work irrespectively of …

  7. Python: Check if object exists in Blender 2.8

    Jun 25, 2020 · Best practice is iterating through Scene.objects collection (all objects of the current scene):. import bpy for o in bpy.context.scene.objects: if o.name == "Cube": print ("Cube found …

  8. scripting - How can I use blender's python API from a Ipython …

    Mar 28, 2020 · After that we need to install the blender kernel from here, using the following command in anaconda terminal: python -m pip install blender_notebook blender_notebook …

  9. python - How to create a custom UI? - Blender Stack Exchange

    Jul 6, 2016 · That's also the way blender is designed, all real Buttons are 'operators' under the hood, mostly written in C but then exposed to python. See also: Text Editor > Templates > …

  10. python - Update viewport while running script - Blender Stack …

    Apr 20, 2015 · The UI (including viewport ) can be updated during the script execution but it is advised against it in the Blender API documentation for these reasons : Tools that lock …

Refresh