PythonProject
ActivePublic

Members

  • This project does not have any members.

Details

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Yesterday

LazyDodo (LazyDodo) closed T54111: Broken addons and python as Invalid.

Thank you for the report. Currently we are aware of many issues in 2.8 and actively working to fix them. But since replying to reports takes time, we have decided to limit bug reports to module team members.

Tue, Feb 20, 9:47 PM · Python, Addons, BF Blender: 2.8
Josef (wilddreams) created T54111: Broken addons and python .
Tue, Feb 20, 9:46 PM · Python, Addons, BF Blender: 2.8

Tue, Feb 13

Monique Dewanchand (mdewanchand) updated subscribers of T47811: Blender 2.8x / Python, Proposed Changes.

As this is still a proposal ...
It would be handy to have an update handler on a collection. To update collections to be used in, for example, prop_search in blender 2.7 one would probably use the scene_update handler as the CollectionProperty doesn't have an update handler.
Moreover we can add handlers into bpy.data collections.

Tue, Feb 13, 4:58 PM · BF Blender: 2.8, Python

Sun, Feb 4

Philipp Oeser (lichtwerk) placed T53768: Pixels and resolution not for multilayer EXR and Render Result up for grabs.

Unfortunately I'll only be able to look at this in April again, so let others take over....

Sun, Feb 4, 10:21 PM · Rendering, Python, BF Blender

Sat, Feb 3

Campbell Barton (campbellbarton) added a comment to T23956: Python external modules + cmake (wip).

For reference, a new version of this patch is being developed here: D2835

Sat, Feb 3, 10:19 AM · Python, BF Blender

Mon, Jan 29

Philipp Oeser (lichtwerk) added a comment to T53768: Pixels and resolution not for multilayer EXR and Render Result.

OK, had a first look, but there are remaining questions that I have to wrap my head around.

Mon, Jan 29, 8:52 PM · Rendering, Python, BF Blender

Sun, Jan 28

Brecht Van Lommel (brecht) closed T53919: 'use_freestyle' reports freestyle is off during viewport render as Invalid.

Freestyle creates a new scene to render lines, which is not the same as the existing scene. In general Blender can have multiple scenes active at the same time.

Sun, Jan 28, 3:09 PM · Python, Rendering, Freestyle, BF Blender

Sat, Jan 27

Ray Mairlot (madog) created T53919: 'use_freestyle' reports freestyle is off during viewport render.
Sat, Jan 27, 7:38 PM · Python, Rendering, Freestyle, BF Blender

Fri, Jan 26

Philipp Oeser (lichtwerk) added a comment to T53768: Pixels and resolution not for multilayer EXR and Render Result.

@Brecht Van Lommel (brecht): yep, I'm behind schedule here, but I will have a look later today

Fri, Jan 26, 9:04 AM · Rendering, Python, BF Blender
Brecht Van Lommel (brecht) triaged T53768: Pixels and resolution not for multilayer EXR and Render Result as Confirmed priority.

@Philipp Oeser (lichtwerk), since you claimed this task, are you working on a solution?

Fri, Jan 26, 8:24 AM · Rendering, Python, BF Blender

Thu, Jan 25

Bastien Montagne (mont29) closed T53363: Blender won't update mesh's usercount when deleting object datablocks in Editmode as Resolved by committing rB566eb60d817d: Fix T53363: Blender won't update mesh's usercount when deleting object….
Thu, Jan 25, 10:13 AM · Python, BF Blender

Wed, Jan 24

Philipp Oeser (lichtwerk) assigned T53363: Blender won't update mesh's usercount when deleting object datablocks in Editmode to Bastien Montagne (mont29).

@Bastien Montagne (mont29): mind having a look?

Wed, Jan 24, 7:43 PM · Python, BF Blender
Campbell Barton (campbellbarton) moved T47811: Blender 2.8x / Python, Proposed Changes from Maintenance to Other Proposals on the BF Blender: 2.8 board.
Wed, Jan 24, 2:39 AM · BF Blender: 2.8, Python
Campbell Barton (campbellbarton) moved T47811: Blender 2.8x / Python, Proposed Changes from Backlog to Maintenance on the BF Blender: 2.8 board.
Wed, Jan 24, 2:31 AM · BF Blender: 2.8, Python

Jan 20 2018

Vuk Gardašević (lijenstina) added a comment to T35785: Blender Python Initilization Crash?.

Sorry for the thread necromancy, but just to make note here for possibly showing up in search results:
An another reason for the error can be the folders (lib, icons, 2.79) being locked - not enough privileges for access. That can happen during unpacking of the tar.bz archive in certain cases using some file managers that display the contents of the archive. In that case, re-extracting the files will solve the issue.

Jan 20 2018, 8:03 PM · BF Blender, Python

Jan 18 2018

Philipp Oeser (lichtwerk) claimed T53768: Pixels and resolution not for multilayer EXR and Render Result.
Jan 18 2018, 5:55 PM · Rendering, Python, BF Blender

Jan 17 2018

Joel Godin (FloridaJo) closed T53815: How to change ui of blender? as Invalid.

Hi Yash, welcome to Blender.
Unfortunately this is not a forum for questions. It is for bugs and bug tracking.
A good place to post your question is over at BlenderArtists.org
For Python more specifically the python forum at BlenderArtists:
https://blenderartists.org/forum/forumdisplay.php?11-Python-Support

Jan 17 2018, 1:48 PM · User Interface, Python
Yash Jha (ComputerGuy) triaged T53815: How to change ui of blender? as Unbreak Now! priority.
Jan 17 2018, 12:30 PM · User Interface, Python

Jan 12 2018

Philipp Oeser (lichtwerk) added a comment to T53768: Pixels and resolution not for multilayer EXR and Render Result.

true. dont know if you know this already, but a workaround for now could be this
can have a look (, but not sure how involved this task will end up being...)

Jan 12 2018, 4:27 PM · Rendering, Python, BF Blender
Vincent Girès (VincentG) created T53768: Pixels and resolution not for multilayer EXR and Render Result.
Jan 12 2018, 10:48 AM · Rendering, Python, BF Blender

Jan 6 2018

Vuk Gardašević (lijenstina) lowered the priority of T52564: Error registering add-on's with identical class names in 2.79 master (buildbot) from Confirmed to Normal.

Since there weren't new found register errors for a while lowering the priority to Normal. We'll still keep the task open as things can be broken in the future. Well that is not just a possibility, it's the rule :)

Jan 6 2018, 7:56 AM · Python, Addons

Jan 2 2018

Campbell Barton (campbellbarton) closed T53617: importing bl_info from another file in __init__ breaks the addon importing as Invalid.

This is working as expected, bl_info must be declared in the module.

Jan 2 2018, 9:29 AM · Python, BF Blender

Dec 31 2017

Jared Webber (lvxejay) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

There are probably a lot of addon devs who would love to use the scene update handler but don't understand how it works, or they are using it incorrectly. The idealized function of the scene update handlers should still be included in 2.8, just in a less hacky way. The intended function of the scene update handlers should also be included. Specifically, when the scene is updated, the handler should run.

Dec 31 2017, 11:52 PM · BF Blender: 2.8, Python

Dec 23 2017

Jeducious (jameshcrowther) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

Hi guys, and particularly @Campbell Barton (campbellbarton), @Sergey Sharybin (sergey) :D merry Christmas to you and the blender devs team :)

Dec 23 2017, 1:43 PM · BF Blender: 2.8, Python
Walid Shouman (walid) updated the task description for T53617: importing bl_info from another file in __init__ breaks the addon importing.
Dec 23 2017, 11:40 AM · Python, BF Blender
Walid Shouman (walid) created T53617: importing bl_info from another file in __init__ breaks the addon importing.
Dec 23 2017, 11:39 AM · Python, BF Blender

Dec 20 2017

Germano Cavalcante (mano-wii) abandoned D2734: Buffer Protocol for bgl.Buffer.

Already in master

Dec 20 2017, 2:28 PM · OpenGL / Gfx, Game Python, Python

Dec 18 2017

Simon Wendsche (BYOB) added a comment to T52735: UI widget for pointer property with custom type causes segmentation fault.

I recently stumbled about this bug as well, so I can confirm it.

Dec 18 2017, 5:05 PM · Python, BF Blender

Dec 15 2017

Vic Chan Timmons (v_i_c) added a watcher for Python: Vic Chan Timmons (v_i_c).
Dec 15 2017, 12:04 AM

Dec 13 2017

Sergey Sharybin (sergey) closed T53404: Python API documentation: UI Layout Emboss description wording as Resolved by committing rB4838512e7d49: Fix T53404 - Python API documentation: UI Layout Emboss description wording.
Dec 13 2017, 12:57 PM · Python
Sergey Sharybin (sergey) closed D2952: Fix T53404 - Python API documentation: UI Layout Emboss description wording.
Dec 13 2017, 12:57 PM · Python, Documentation
Sergey Sharybin (sergey) accepted D2952: Fix T53404 - Python API documentation: UI Layout Emboss description wording.
Dec 13 2017, 12:42 PM · Python, Documentation

Dec 11 2017

Sergey Sharybin (sergey) closed T53540: mathutils.Color do not support alpha value in latest 2.79.1 as Archived.

Thanks for the report, but it's more a feature request.

Dec 11 2017, 3:27 PM · Python
Campbell Barton (campbellbarton) changed the status of T28724: Crash when calling UNDO from a python script from Invalid to Resolved.
Dec 11 2017, 12:31 PM · Python, BF Blender
Jose Conseco (joseconseco) created T53540: mathutils.Color do not support alpha value in latest 2.79.1.
Dec 11 2017, 11:33 AM · Python

Dec 8 2017

João Seixas (j_seixas) retitled D2952: Fix T53404 - Python API documentation: UI Layout Emboss description wording from T53404 to Fix T53404 - Python API documentation: UI Layout Emboss description wording.
Dec 8 2017, 10:52 PM · Python, Documentation
João Seixas (j_seixas) created D2952: Fix T53404 - Python API documentation: UI Layout Emboss description wording.
Dec 8 2017, 7:02 PM · Python, Documentation

Dec 6 2017

Campbell Barton (campbellbarton) updated the task description for T47811: Blender 2.8x / Python, Proposed Changes.
Dec 6 2017, 1:13 PM · BF Blender: 2.8, Python
Campbell Barton (campbellbarton) added a comment to T53294: API Image Operator bpy.ops.image.open - Segmentation Fault.

note: better to use bpy.data.images.load

Dec 6 2017, 6:11 AM · Python, BF Blender
Campbell Barton (campbellbarton) merged T53446: bpy.ops.image.open() fails in external python script on Windows into T53294: API Image Operator bpy.ops.image.open - Segmentation Fault.
Dec 6 2017, 6:10 AM · Python, BF Blender

Nov 28 2017

Vuk Gardašević (lijenstina) renamed T53404: Python API documentation: UI Layout Emboss description wording from API doc error or not to Python API documentation: UI Layout Emboss description wording.
Nov 28 2017, 7:08 AM · Python
Vuk Gardašević (lijenstina) triaged T53404: Python API documentation: UI Layout Emboss description wording as Normal priority.

The wording here can be improved for sure.

Nov 28 2017, 7:05 AM · Python

Nov 26 2017

Jared Webber (lvxejay) added a comment to T53396: Node Socket Name Change results in Cycles Material Rendering Black.

This issue is part of a deeper problem. Sockets are not uniquely named. Unlike everything in else in Blender, multiple nodes can have the same socket names (even the same node can have the same socket names). I don't think this is good or consistent behavior. There's three things that could solve this issue...

Nov 26 2017, 4:48 PM · Python, Cycles, Nodes, BF Blender
Brecht Van Lommel (brecht) triaged T53396: Node Socket Name Change results in Cycles Material Rendering Black as Normal priority.

The socket name is also the identifier, so you should not change it.

Nov 26 2017, 4:10 PM · Python, Cycles, Nodes, BF Blender
Jared Webber (lvxejay) created T53396: Node Socket Name Change results in Cycles Material Rendering Black.
Nov 26 2017, 4:46 AM · Python, Cycles, Nodes, BF Blender

Nov 22 2017

ronan ducluzeau (zeauro) added a project to T53363: Blender won't update mesh's usercount when deleting object datablocks in Editmode: Python.
Nov 22 2017, 3:40 PM · Python, BF Blender

Nov 12 2017

Campbell Barton (campbellbarton) closed T53294: API Image Operator bpy.ops.image.open - Segmentation Fault as Resolved by committing rB5b3c15e3363a: Fix T53294: bpy.ops.image.open crash.
Nov 12 2017, 5:57 AM · Python, BF Blender
Campbell Barton (campbellbarton) closed T53296: Bmesh vertex color alpha can not be set from python. as Resolved.

fixed rBaae8e211006a1d9099397727b48201b865504750

Nov 12 2017, 5:42 AM · Python, BF Blender

Nov 11 2017

Riccardo Giovanetti (harvester) added a comment to T52564: Error registering add-on's with identical class names in 2.79 master (buildbot).

Here on Win10 64bit + Blender 2.79.1 (Hash: a466d7a) 64bit portable the Amaranth Toolset add-on is working fine. Thank you for the fix.

Nov 11 2017, 11:39 AM · Python, Addons

Nov 10 2017

Jose Conseco (joseconseco) created T53296: Bmesh vertex color alpha can not be set from python..
Nov 10 2017, 10:33 PM · Python, BF Blender