PythonProject
ActivePublic

Members

  • This project does not have any members.

Properties

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Thu, Aug 17

Joshua Leung (aligorith) closed T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable as "Resolved" by committing rB743bacaa6f4e: Fix T52401: "Export Keying Set" operator generated incorrect ID's for shapekeys.
Thu, Aug 17, 3:04 PM · Python, Animation, BF Blender
Joshua Leung (aligorith) claimed T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable.
Thu, Aug 17, 1:03 PM · Python, Animation, BF Blender

Wed, Aug 16

Vuk Gardašević (lijenstina) added a project to T52288: Cut/paste to the python console reports indentation errors when empty lines in code: Python.
Wed, Aug 16, 1:10 PM · Python

Tue, Aug 15

Andres Stephens (Draise) created T52401: Default Shape Key ID in Keying Set files broken - TypeError: 'builtin_function_or_method' object is not subscriptable.
Tue, Aug 15, 2:19 AM · Python, Animation, BF Blender

Fri, Aug 11

Bastien Montagne (mont29) closed T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python as "Archived".

Thanks, so I guess we can consider the initial issue as fixed.

Fri, Aug 11, 2:33 PM · Mesh Modeling, BF Blender, Python

Tue, Aug 8

Sybren A. Stüvel (sybren) closed T46329: [PY API Documentation] bpy.app.handlers.scene_update_{pre,post} documentation needs clarification as "Resolved" by committing rB01ee88563b64: Fix T46329: scene_update_{pre,post} doc needs clarification.
Tue, Aug 8, 3:17 PM · Python, BF Blender

Wed, Aug 2

Imran Peerbhai (ipeerbhai) added a comment to T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python.

I tested the following:
retested script on blender 2.79 from nightly buildbot.
BMESH fails -- get incorrect mesh ( mesh ends up with large, non-manifold hole ).
CARVE works, no crash on OSX.

Wed, Aug 2, 8:07 PM · Mesh Modeling, BF Blender, Python
Bastien Montagne (mont29) renamed T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python from "Crash on OSX and Windows 8.1 when using difference modifier via Python" to "Crash on OSX and Windows 8.1 when using boolean difference modifier via Python".
Wed, Aug 2, 9:44 AM · Mesh Modeling, BF Blender, Python
Bastien Montagne (mont29) triaged T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python as "Incomplete" priority.

Please always try the latest build from our buildbot.

Wed, Aug 2, 9:43 AM · Mesh Modeling, BF Blender, Python

Tue, Aug 1

Imran Peerbhai (ipeerbhai) created T52244: Crash on OSX and Windows 8.1 when using boolean difference modifier via Python.
Tue, Aug 1, 11:52 PM · Mesh Modeling, BF Blender, Python

Fri, Jul 28

Campbell Barton (campbellbarton) closed T52195: Sculpt API can no longer be used to draw strokes via python as "Resolved" by committing rBf3782c0a9e44: Fix T52195: Sculpt from Python fails.
Fri, Jul 28, 9:52 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender
Sergey Sharybin (sergey) triaged T52195: Sculpt API can no longer be used to draw strokes via python as "Normal" priority.

Can get the script to work in 2.76b, but not in 2.77a.

Fri, Jul 28, 10:58 AM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender

Thu, Jul 27

Vuk Gardašević (lijenstina) closed T49919: Invoke popup menu has issue with operators that have custom keymaps as "Resolved".

Should be resolved by the previous commit.

Thu, Jul 27, 11:05 PM · User Interface, Python, BF Blender
Vuk Gardašević (lijenstina) added a commit to T49919: Invoke popup menu has issue with operators that have custom keymaps: rB920bff522483: Fix button text overlapping with shortcut text in popups.
Thu, Jul 27, 11:04 PM · User Interface, Python, BF Blender

Wed, Jul 26

Tom Musgrove (letterrip) added a project to T52195: Sculpt API can no longer be used to draw strokes via python: BF Blender: Regressions.
Wed, Jul 26, 7:25 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender
Tom Musgrove (letterrip) assigned T52195: Sculpt API can no longer be used to draw strokes via python to Campbell Barton (campbellbarton).

Campbell, I believe it is one of these commits that caused the issue (I think the more recent of the two, but can't recall for certain.)

Wed, Jul 26, 7:14 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender
Tom Musgrove (letterrip) created T52195: Sculpt API can no longer be used to draw strokes via python.
Wed, Jul 26, 6:59 PM · BF Blender: Regressions, Python, Sculpting and Painting, BF Blender

Jul 24 2017

john peterson (bliblubli) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

@john peterson (bliblubli), this isn't enough info, are you interested to create a task that includes proposed changes? (something like T51219).

Jul 24 2017, 8:25 PM · BF Blender: 2.8, Python

Jul 23 2017

Aleksandr Zinovev (raa) abandoned D2475: Show 'X' icon to clear value of text button.
Jul 23 2017, 10:22 AM · Python
Brecht Van Lommel (brecht) closed T52155: Denoising parameters not accessible in Python as "Archived".

Displaying the path automatically in tooltip or copying it is not supported yet (it's an old to do, see e.g. T25746). However the properties are accessible:

bpy.context.scene.render.layers[0].cycles.use_denoising
Jul 23 2017, 12:45 AM · Cycles, Python

Jul 22 2017

Steffen Hauser (shauser) edited the description of T52155: Denoising parameters not accessible in Python.
Jul 22 2017, 10:53 PM · Cycles, Python
Steffen Hauser (shauser) created T52155: Denoising parameters not accessible in Python.
Jul 22 2017, 10:52 PM · Cycles, Python

Jul 20 2017

Bastien Montagne (mont29) closed T52132: Internationnal unit support for default values as "Invalid".

Thanks for the suggestion, but we do not accept feature requests or suggestions on this tracker (use forums or bf-funboard ML for that).

Jul 20 2017, 5:49 PM · BF Blender, Python
Vuk Gardašević (lijenstina) edited projects for T52132: Internationnal unit support for default values, added: Python, BF Blender; removed Addons.
Jul 20 2017, 5:15 PM · BF Blender, Python
Campbell Barton (campbellbarton) edited the description of T47811: Blender 2.8x / Python, Proposed Changes.
Jul 20 2017, 8:30 AM · BF Blender: 2.8, Python

Jul 19 2017

Bastien Montagne (mont29) closed T52044: blender quit after press P key as "Invalid".

Thanks for the report, but we do not support very limited platforms like raspberry pi at all - those are considered as waaayyyyyy to limited to run a modern Blender.

Jul 19 2017, 11:04 AM · Python, Blender File
Bastien Montagne (mont29) closed T52047: PointerPropety of ID sub type doesn't work as Operator attribute as "Invalid".

PointerProperty is not supposed to work in Operator at all (technically, we have no 'runtime' definition for Ppinter RNA property type).

Jul 19 2017, 11:00 AM · Python, BF Blender

Jul 17 2017

Brecht Van Lommel (brecht) closed T52090: EnumProperty weird behavior using ENUM_FLAG option with `number` items argument as "Resolved" by committing rBd268cad06a52: Fix T52090: clarify meaning of EnumProperty number when using ENUM_FLAG..
Jul 17 2017, 6:55 PM · Python, User Interface, BF Blender
Brecht Van Lommel (brecht) added a comment to T52090: EnumProperty weird behavior using ENUM_FLAG option with `number` items argument.

I updated the documentation to describe the reason for this behavior, the numbers must be powers of two:

Jul 17 2017, 6:55 PM · Python, User Interface, BF Blender
Mikhail Rachinskiy (alm) created T52090: EnumProperty weird behavior using ENUM_FLAG option with `number` items argument.
Jul 17 2017, 1:18 PM · Python, User Interface, BF Blender

Jul 15 2017

Aaron Carlisle (Blendify) closed T52040: Rename file as "Archived".

Thanks for the suggestion but the naming is still being discussed see T43623 so I would rather not make noisy commits until this is finalized on.

Jul 15 2017, 10:29 PM · User Interface, Python
Vuk Gardašević (lijenstina) added a comment to T52040: Rename file.

Half way there:) Press the continue button and fill up the title and the summary fields and create the differential.
You don't need to assign any developer as reviewer if you are not sure who to add.

Jul 15 2017, 10:15 PM · User Interface, Python
Anders Lindén (AndersBillLinden) added a comment to T52040: Rename file.

Differential at https://developer.blender.org/differential/diff/9010/ please let me know if I should add it somewhere to this task.

Jul 15 2017, 4:31 PM · User Interface, Python
Vuk Gardašević (lijenstina) added a comment to T52040: Rename file.

For submitting patches to blender please consult this page:
https://wiki.blender.org/index.php/Dev:Doc/Process/Contributing_Code

Jul 15 2017, 9:35 AM · User Interface, Python

Jul 14 2017

Anders Lindén (AndersBillLinden) added a comment to T52040: Rename file.

I already provided a unified diff. Please tell me what more to provide!

Jul 14 2017, 9:24 AM · User Interface, Python
Anders Lindén (AndersBillLinden) edited the description of T52040: Rename file.
Jul 14 2017, 9:20 AM · User Interface, Python

Jul 13 2017

Vuk Gardašević (lijenstina) added projects to T52040: Rename file: Python, User Interface.

Please can you make a differential for this patch?
Add a small description explaining the purpose of the proposed changes. After possible approval / code review it can be included in future versions (2.80 series) since we are really close to 2.79.

Jul 13 2017, 8:11 PM · User Interface, Python
Przemyslaw Golab (n-pigeon) created T52047: PointerPropety of ID sub type doesn't work as Operator attribute.
Jul 13 2017, 4:00 PM · Python, BF Blender
sekmani (sekmani52) created T52044: blender quit after press P key.
Jul 13 2017, 9:51 AM · Python, Blender File
Campbell Barton (campbellbarton) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

@john peterson (bliblubli), this isn't enough info, are you interested to create a task that includes proposed changes? (something like T51219).

Jul 13 2017, 4:53 AM · BF Blender: 2.8, Python

Jul 12 2017

john peterson (bliblubli) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

As suggested today on IRC, making robust naming conventions for bmesh operators would help new coders to jump in. It will be very helpful for making the nodal everything work faster. At the moment, the use of for example underscores is pretty random. Having easy to search names will give more time for real coding.

Jul 12 2017, 11:56 AM · BF Blender: 2.8, Python

Jul 11 2017

Campbell Barton (campbellbarton) added a comment to T51745: extrude_face_region BMesh operator non-functioning argument.

The value is used, this is more of a documentation issue, committed edit.

Jul 11 2017, 6:44 AM · Python, Mesh Modeling, BF Blender
Campbell Barton (campbellbarton) closed T51745: extrude_face_region BMesh operator non-functioning argument as "Resolved" by committing rB218c254e7211: Resolve T51745: Mesh extrude keep-orig needs edges.
Jul 11 2017, 6:44 AM · Python, Mesh Modeling, BF Blender

Jul 10 2017

Campbell Barton (campbellbarton) closed T51052: CacheFile Open Operator Crashes Blender as "Resolved" by committing rB2c10e8a3cfff: Fix T51052: CacheFile Open crashes from Python.
Jul 10 2017, 9:29 AM · Python, Import/Export, BF Blender

Jul 7 2017

Another Tux User (ntuxer) added a comment to T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument.

Thanks for your precision

Jul 7 2017, 4:21 PM · Python, BF Blender
Sergey Sharybin (sergey) added a comment to T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument.

As mentioned above, UI is launched but is not being drawn at the time when your script runs.

Jul 7 2017, 3:44 PM · Python, BF Blender
Another Tux User (ntuxer) added a comment to T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument.

Thanks for your answer but, forgetting "--background" option (1st and 2nd "NOT working" cases), why are these commands not being able to a take valid screenshot since the UI is launched and can be modified by my script as you can test if you uncomment corresponding lines (so the OpenGL buffer should be readable as you mentioned, since Blender is not started in background) ?

Jul 7 2017, 3:17 PM · Python, BF Blender
Sergey Sharybin (sergey) closed T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument as "Archived".

The warning is caused by script trying to trick the system and override the context, that context is likely in inconsistent state. When running screenshot from the interface you don't need to override any of the contexts.

Jul 7 2017, 9:48 AM · Python, BF Blender

Jul 6 2017

Another Tux User (ntuxer) edited the description of T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument.
Jul 6 2017, 11:58 PM · Python, BF Blender
Another Tux User (ntuxer) edited the description of T51983: bpy.ops.screenshot() provoke error if python script is called as command line argument.
Jul 6 2017, 11:57 PM · Python, BF Blender