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

Today

Stanislas Paillereau (stanp) added a watcher for Python: Stanislas Paillereau (stanp).
Sat, Jun 23, 3:27 AM

Wed, Jun 20

nBurn (nBurn) triaged T55495: MeasureIt vert indexes change in debug mode when using view selected as Normal priority.
Wed, Jun 20, 8:46 AM · Python, Addons
nBurn (nBurn) raised the priority of T55495: MeasureIt vert indexes change in debug mode when using view selected from Normal to Needs Triage.

Which Blender release did you use? I just tried 0a8af46 from builder.blender.org (blender-2.79-0a8af46-win64) and am still able to reproduce this bug. I updated the "steps to reproduce" and added an "Additional details" section to the description with some more info.

Wed, Jun 20, 8:43 AM · Python, Addons
nBurn (nBurn) updated the task description for T55495: MeasureIt vert indexes change in debug mode when using view selected.
Wed, Jun 20, 8:39 AM · Python, Addons
nBurn (nBurn) updated the task description for T55495: MeasureIt vert indexes change in debug mode when using view selected.
Wed, Jun 20, 8:33 AM · Python, Addons
nBurn (nBurn) updated the task description for T55495: MeasureIt vert indexes change in debug mode when using view selected.
Wed, Jun 20, 8:27 AM · Python, Addons

Tue, Jun 19

Philipp Oeser (lichtwerk) triaged T55495: MeasureIt vert indexes change in debug mode when using view selected as Normal priority.
Tue, Jun 19, 4:16 PM · Python, Addons
Vuk Gardašević (lijenstina) closed T55532: Python : Add Baking Callback as Archived.

Hi, while we love to hear these ideas, this is not the right place for them. This website is mainly used to track bug reports and not feature requests. But luckily, there are some other nice solutions you can take, so please use one of the other forms of communication listed below:

Tue, Jun 19, 1:37 PM · Addons, Python, BF Blender
Félix (Miadim) added projects to T55532: Python : Add Baking Callback: Python, Addons.
Tue, Jun 19, 1:33 PM · Addons, Python, BF Blender
Philipp Oeser (lichtwerk) assigned T55527: Quaternion() returning "Quaternion((0.0, 0.0, 0.0, 0.0))" Instead of Quaternion((1.0, 0.0, 0.0, 0.0)) to Campbell Barton (campbellbarton).

Thanx for spotting this.
Made a differential in D3487

Tue, Jun 19, 10:02 AM · Python, BF Blender

Mon, Jun 18

Andrey B (befzz) created T55527: Quaternion() returning "Quaternion((0.0, 0.0, 0.0, 0.0))" Instead of Quaternion((1.0, 0.0, 0.0, 0.0)).
Mon, Jun 18, 10:00 PM · Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T55495: MeasureIt vert indexes change in debug mode when using view selected.

havent hunted down the related commit, but this seems to be resolved in master?

Mon, Jun 18, 2:06 PM · Python, Addons

Sun, Jun 17

Sergey Sharybin (sergey) accepted D1862: Proof of concept restricted Python evaluation (using bytecode evaluation).

Very important code style feedback ;)

Sun, Jun 17, 7:04 PM · Python
Campbell Barton (campbellbarton) updated the diff for D1862: Proof of concept restricted Python evaluation (using bytecode evaluation).

Update for latest master

Sun, Jun 17, 6:58 PM · Python

Fri, Jun 15

nBurn (nBurn) updated the task description for T55495: MeasureIt vert indexes change in debug mode when using view selected.
Fri, Jun 15, 4:12 PM · Python, Addons
nBurn (nBurn) claimed T55495: MeasureIt vert indexes change in debug mode when using view selected.
Fri, Jun 15, 4:11 PM · Python, Addons
nBurn (nBurn) created T55495: MeasureIt vert indexes change in debug mode when using view selected.
Fri, Jun 15, 4:11 PM · Python, Addons
Kilon Alios (kilon) added a revision to T54272: Python API for Blender's internal image functions: D3480: [Blender Python Image API] Image Buffer duplicate.
Fri, Jun 15, 11:52 AM · BF Blender, Python

Sat, Jun 9

Campbell Barton (campbellbarton) reopened T54272: Python API for Blender's internal image functions as "Open".
Sat, Jun 9, 11:46 AM · BF Blender, Python
Campbell Barton (campbellbarton) updated the task description for T54272: Python API for Blender's internal image functions.
Sat, Jun 9, 11:46 AM · BF Blender, Python
Campbell Barton (campbellbarton) updated the task description for T54272: Python API for Blender's internal image functions.
Sat, Jun 9, 11:45 AM · BF Blender, Python
Campbell Barton (campbellbarton) added a comment to T54272: Python API for Blender's internal image functions.

Correction, the API was only committed at a very basic level, so keep this open.

Sat, Jun 9, 11:42 AM · BF Blender, Python
Vitor Balbio (vitorbalbio) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

Recently released Toonkit also relies on this function. Remove it without any replacement just make impossible to start porting it for blender 2.8.
Any news about it?

Sat, Jun 9, 2:27 AM · BF Blender: 2.8, Python

Thu, Jun 7

Campbell Barton (campbellbarton) closed T54272: Python API for Blender's internal image functions as Resolved.

Committed to master, closing.

Thu, Jun 7, 8:06 AM · BF Blender, Python
Kilon Alios (kilon) placed T54272: Python API for Blender's internal image functions up for grabs.
Thu, Jun 7, 2:07 AM · BF Blender, Python

Mon, Jun 4

Bastien Montagne (mont29) closed T55260: load Text File with Python from GUI Button results in 0 User as Resolved by committing rB7277f8973b08: Fix T55260: load Text File with Python from GUI Button results in 0 User.
Mon, Jun 4, 12:47 PM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T55260: load Text File with Python from GUI Button results in 0 User.

Am not totally happy with it, but looks like operators creating new datablocks usually ensure they have one user, even if not actually used… Image opening one e.g., which can probably generate some usercount inconsistency in some cases. So guess we can do that unconditionally for text opening op too.

Mon, Jun 4, 12:34 PM · Python, BF Blender

Thu, May 31

Philipp Oeser (lichtwerk) assigned T55260: load Text File with Python from GUI Button results in 0 User to Bastien Montagne (mont29).

I think this has to do with commit rBa9163f7d222d, rB646aa40cf707 (which only ensured real user for doing it from the UI?).
Also see rB15eb83c8b375.
Doing this from python [via bpy.ops.text.open] would skip this step because SpaceText as well as PropertyPointerRNA are not set in this case.
Doing this from python [via bpy.data.texts.load] would also skip this.

Thu, May 31, 11:21 AM · Python, BF Blender

Wed, May 30

Doc Holiday (doc_holiday) created T55260: load Text File with Python from GUI Button results in 0 User.
Wed, May 30, 5:35 PM · Python, BF Blender

Sun, May 27

Campbell Barton (campbellbarton) abandoned D3420: Cleanup of select_prev in find_adjacent.py.

Closing revision: issues with performance of selection history can be addressed separately from this patch.

Sun, May 27, 10:32 AM · Mesh Modeling, Python
nBurn (nBurn) updated the diff for D3420: Cleanup of select_prev in find_adjacent.py.

Fixed bad indexing of select_history in modified select_prev, updated benchmark results with code changes

Sun, May 27, 9:55 AM · Mesh Modeling, Python
Campbell Barton (campbellbarton) added a comment to D3420: Cleanup of select_prev in find_adjacent.py.

Am not too keen on this, mainly because the selection history is typically not a very large list.

Sun, May 27, 9:39 AM · Mesh Modeling, Python
Campbell Barton (campbellbarton) added inline comments to D3420: Cleanup of select_prev in find_adjacent.py.
Sun, May 27, 9:29 AM · Mesh Modeling, Python

May 21 2018

nBurn (nBurn) created D3420: Cleanup of select_prev in find_adjacent.py.
May 21 2018, 7:28 PM · Mesh Modeling, Python

May 20 2018

Nathan V. Morrical (nathanvollmer) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

So, I just downloaded '2.80 (sub 3)', commit date - b'2017-12-22'. I started work on supporting it in our addon. But there is a key handler that we use that has been removed. bpy.app.handlers.scene_update_post is gone??!?!?!

I have checked the discussion above and I think that most posting here were in favour of keeping it, but also not in its current form, and re-purposing it to actually do what its meant to do, i.e. only trigger when there is a meaningful change to the scene that affects the final output of a render, either to viewport or final.

I understand that the problem with the scene_update_pre/post handlers constantly triggering is a big issue. In fact this was a big problem for us at first in using it, but we managed to use it regardless. Not having it though, breaks our ability to efficiently tell if something in the scene has changed and what that something is. With no alternative we'll have to poll and that pretty much means using a modal operator with a timer and we're back to constantly running code again, something I believe we're all trying to avoid in 2.8.

Worse, since we'll be forced to do a search on all data to see what has changed since the last run of our operator, the time taken to process will scale linearly with the number of ID blocks in the scene, so more advanced or complicated blend files will get worse performance with the addon enabled.

May 20 2018, 12:24 AM · BF Blender: 2.8, Python

May 13 2018

Cody (bldebg) added a comment to T55020: Blender crash when creating node tree links with Python.

Video of the error: https://www.dropbox.com/s/zvw4c1v78n55wef/Blender_Tree_Link_Bug.mp4?dl=0

May 13 2018, 4:47 PM · Platform: Windows, Nodes, Python, BF Blender

May 11 2018

Erick Tukuniata (erickblender) added a comment to T55020: Blender crash when creating node tree links with Python.

I tried this on win 7 gtx 550ti master hash d5c1c0b, every things seems okay, I run the script till my Mem was 50.90M i don't remember how many times but more than needed :)

May 11 2018, 4:18 PM · Platform: Windows, Nodes, Python, BF Blender
Cody (bldebg) updated the task description for T55020: Blender crash when creating node tree links with Python.
May 11 2018, 3:30 PM · Platform: Windows, Nodes, Python, BF Blender
Philipp Oeser (lichtwerk) added a project to T55020: Blender crash when creating node tree links with Python: Platform: Windows.

OK, seems like a Windows issue then (I'm on linux as well).
Someone here on Windows can reproduce?

May 11 2018, 3:12 PM · Platform: Windows, Nodes, Python, BF Blender
Cody (bldebg) added a comment to T55020: Blender crash when creating node tree links with Python.

“Does this happen on other computers as well?”

May 11 2018, 3:04 PM · Platform: Windows, Nodes, Python, BF Blender
Cody (bldebg) updated the task description for T55020: Blender crash when creating node tree links with Python.
May 11 2018, 3:03 PM · Platform: Windows, Nodes, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T55020: Blender crash when creating node tree links with Python.

Seems I cant reproduce.
Made several runs in both master and 2.79 (each running the script 100 times)

May 11 2018, 1:57 PM · Platform: Windows, Nodes, Python, BF Blender

May 10 2018

Cody (bldebg) added projects to T55020: Blender crash when creating node tree links with Python: Python, Nodes.
May 10 2018, 12:53 AM · Platform: Windows, Nodes, Python, BF Blender

May 7 2018

Bastien Montagne (mont29) closed T54966: mathutils.noise.voronoi Memory leak as Resolved by committing rBa3b4c3823ca7: Fix T54966: mathutils.noise.voronoi Memory leak.
May 7 2018, 11:12 AM · Python, BF Blender
Bastien Montagne (mont29) claimed T54966: mathutils.noise.voronoi Memory leak.
May 7 2018, 11:06 AM · Python, BF Blender
Bastien Montagne (mont29) triaged T54966: mathutils.noise.voronoi Memory leak as Confirmed priority.

Confirmed, fix incoming.

May 7 2018, 11:06 AM · Python, BF Blender

May 3 2018

Campbell Barton (campbellbarton) closed T54927: Unexpected results when slicing the selection history from bmesh as Resolved by committing rB0f217de4033f: Fix T54927: BMesh Py error w/ select history slice.
May 3 2018, 8:24 PM · Python, BF Blender
nBurn (nBurn) updated the summary of D3197: Potential fix for T54927, bmesh selection history.
May 3 2018, 7:15 AM
nBurn (nBurn) added a comment to D3197: Potential fix for T54927, bmesh selection history.
May 3 2018, 7:09 AM
nBurn (nBurn) updated the task description for T54927: Unexpected results when slicing the selection history from bmesh.
May 3 2018, 7:03 AM · Python, BF Blender