Page MenuHome

PythonProject
ActivePublic

Members

  • This project does not have any members.

Watchers (10)

Details

Description

Python API for scripting and console editor.

Module Owner: @Campbell Barton (campbellbarton)

Recent Activity

Yesterday

Hitokage raised the priority of T68303: Particle system baking not working in Python API from Needs Information from User to Needs Triage by Developer.
Mon, Aug 19, 2:45 PM · BF Blender, Python
Philipp Oeser (lichtwerk) added a comment to T68784: custom icons addons not showing.

Hi @virgil sisoe (virgil89) : could you show us as small snippet how you are loading them into the PreviewCollection (how is the path you are passing into .load() constructed etc.)?
(this might give a hint when this changed)

Mon, Aug 19, 9:50 AM · Add-ons, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T68784: custom icons addons not showing: Python, Add-ons.
Mon, Aug 19, 9:37 AM · Add-ons, Python, BF Blender

Fri, Aug 16

Philipp Oeser (lichtwerk) added projects to T60094: Render crash when using Python API to modify object data in frame_change_pre handler: Rendering, Python.
Fri, Aug 16, 11:27 AM · Python, Rendering, BF Blender

Wed, Aug 14

Christian Friedrich (rbx775) updated the task description for T68643: Python function bpy.ops.transform.skin_resize('INVOKE_DEFAULT') not taking effect after bmesh.verts loop.
Wed, Aug 14, 2:34 PM · Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T65624: Python Write Access to Hair Particle Data Broken (2.8 vs. 2.79): Python, Physics.

@Olivier Maury (omaury): I assume this can be closed now? (from reading this, all issues seem to be resolved?)

Wed, Aug 14, 1:29 PM · Physics, Python, BF Blender

Tue, Aug 13

Pedro Reis (veryprofessionaldodo) added a comment to T53768: Pixels and resolution not for multilayer EXR and Render Result.

I'm currently in a bind at work, and this would be tremendously helpful. I need to access Render Result pixels, and the most lightweight way to do so would be to access them directly. Performance is highly critical for the job at hand, and using GPU offscreen techniques proved to be quite inefficient.

Tue, Aug 13, 11:28 AM · Rendering, Python, BF Blender

Mon, Aug 12

Bastien Montagne (mont29) updated the task description for T63733: Python & Add-ons Module.
Mon, Aug 12, 4:15 PM · Add-ons, Python, BF Blender
Bastien Montagne (mont29) added a comment to T47811: Blender 2.8x / Python, Proposed Changes.

Time to close that one I think, further development shall be handled through T63733: Python & Add-ons Module.

Mon, Aug 12, 4:07 PM · BF Blender: 2.8, Python
Philipp Oeser (lichtwerk) updated subscribers of T68565: Crash on undo changes in template_list.

@Campbell Barton (campbellbarton): seems related to rB6b0d4302beb5 / rB48e8a1a16701 / rB5ac9e587d48c, mind checking?

Mon, Aug 12, 1:15 PM · Add-ons, Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T68565: Crash on undo changes in template_list.

Confirmed, checking...

Mon, Aug 12, 12:52 PM · Add-ons, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T68565: Crash on undo changes in template_list: Python, Add-ons.
Mon, Aug 12, 9:44 AM · Add-ons, Python, BF Blender

Sat, Aug 10

hudson barkley (snuq) added a comment to T68488: Property registration using ":" does not work in simple "object" classes..

sorry, i guess this isnt really a bug, more of a misunderstanding on my part.

Sat, Aug 10, 1:13 AM · Python, BF Blender
hudson barkley (snuq) closed T68488: Property registration using ":" does not work in simple "object" classes. as Invalid.
Sat, Aug 10, 1:13 AM · Python, BF Blender
hudson barkley (snuq) added a project to T68488: Property registration using ":" does not work in simple "object" classes.: Python.
Sat, Aug 10, 12:59 AM · Python, BF Blender

Thu, Aug 8

Philipp Oeser (lichtwerk) added projects to T68406: Crash when rapitedly setting custom property on material node tree: Python, Nodes.
Thu, Aug 8, 1:30 PM · Nodes, Python, GPU / Viewport, BF Blender

Wed, Aug 7

Hitokage updated the task description for T68303: Particle system baking not working in Python API.
Wed, Aug 7, 11:13 AM · BF Blender, Python
Hitokage updated the task description for T68303: Particle system baking not working in Python API.
Wed, Aug 7, 11:06 AM · BF Blender, Python
Hitokage added a comment to T68303: Particle system baking not working in Python API.

Please follow our submission template and guidelines and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
A guideline for making a good bug report can be found here: https://wiki.blender.org/wiki/Process/Bug_Reports
Marking as "Incomplete" until the requested information/data is provided.

Wed, Aug 7, 10:23 AM · BF Blender, Python
Hitokage updated the task description for T68303: Particle system baking not working in Python API.
Wed, Aug 7, 10:23 AM · BF Blender, Python
Sybren A. Stüvel (sybren) added a comment to T68303: Particle system baking not working in Python API.

Please follow our submission template and guidelines and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.

Wed, Aug 7, 10:09 AM · BF Blender, Python

Tue, Aug 6

Hitokage created T68303: Particle system baking not working in Python API.
Tue, Aug 6, 10:39 AM · BF Blender, Python

Sun, Aug 4

Peter Fog (tintwotin) removed a reviewer for D5097: Adding 'Trim Whitespace' and 'Change Case' to Text Editor : William Reynish (billreynish).

Change info about whitespace trimmed lines from popover to report in statusbar.

Sun, Aug 4, 8:34 AM · BF Blender, Python, Text Editor

Thu, Aug 1

Philipp Oeser (lichtwerk) added a comment to T68053: bpy.data.node_groups is not accessible via the Python console.

@Bastien Montagne (mont29): should we tweak the data-path-reporting to their respective owner then? (or is this this even imposiible? -- havent checked code yet...)
(inclined to repoen as TODO with low prio for my desk -- this has been bugging me as well, just feels like a bug -- same goes for T68054...)

Thu, Aug 1, 12:03 PM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T68054: Python expression window does not show image texture source image change operations.

Generating the proper 'python path' is not always working, especially with ugly things like 'root' node trees of other IDs. Thanks for the report, but that's not considered a bug, although enhancements are possible here for sure.

Thu, Aug 1, 11:51 AM · Python, BF Blender
Bastien Montagne (mont29) added a comment to T68053: bpy.data.node_groups is not accessible via the Python console.

That is not technically a bug, although it is confusing (and a pain to handle in C code as well), 'root' node trees *are not* regular data-blocks, and are not available from bpy.data. They are closer to some private data of their owner (material, light, scene data-blocks), and should only be accessed through them. Thanks for the report anyway.

Thu, Aug 1, 11:47 AM · Python, BF Blender
Philipp Oeser (lichtwerk) added a comment to T68053: bpy.data.node_groups is not accessible via the Python console.

Will put on my desk for investigation

Thu, Aug 1, 11:34 AM · Python, BF Blender
Philipp Oeser (lichtwerk) added a project to T68054: Python expression window does not show image texture source image change operations: Python.

Can confirm, T68053 is a bit related, will put on my desk for investigation...

Thu, Aug 1, 11:34 AM · Python, BF Blender
Philipp Oeser (lichtwerk) added a project to T68053: bpy.data.node_groups is not accessible via the Python console: Python.

Confirmed, checking...

Thu, Aug 1, 11:10 AM · Python, BF Blender
D1613: Add set selection function to text api now requires changes to proceed.

In general this is useful, there is a problem though.

Thu, Aug 1, 11:07 AM · Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T68050: Online Manual / Online Python reference fails for anything related to CyclesRenderSettings: Documentation, Python, Cycles, User Interface.
Thu, Aug 1, 9:43 AM · User Interface, Cycles, Python, Documentation, BF Blender

Wed, Jul 31

Peter Fog (tintwotin) updated the summary of D5097: Adding 'Trim Whitespace' and 'Change Case' to Text Editor .
Wed, Jul 31, 8:38 PM · BF Blender, Python, Text Editor
Peter Fog (tintwotin) retitled D5097: Adding 'Trim Whitespace' and 'Change Case' to Text Editor from Adding 'Trim Whitespaces', 'Split & Join Line' and 'Change Case' to Text Editor to Adding 'Trim Whitespace' and 'Change Case' to Text Editor .

Updated the diff: Using clipboard code has been removed, instead code to get selection by @Dalai Felinto (dfelinto) has been used: https://developer.blender.org/diffusion/BAC/browse/master/text_editor_hastebin.py If/when this function will be added to the API this def can be removed.

Wed, Jul 31, 1:10 PM · BF Blender, Python, Text Editor

Mon, Jul 29

Philipp Oeser (lichtwerk) closed T67857: Segmentation fault on assigning None to the data of an empty object using python. as Resolved by committing rB0ae52711b6b8: Fix T67857: crash assigning None to the data of an empty using python.
Mon, Jul 29, 3:30 PM · Python, BF Blender
Philipp Oeser (lichtwerk) added a revision to T67857: Segmentation fault on assigning None to the data of an empty object using python.: D5362: Fix T67857: crash assigning None to the data of an empty using python.
Mon, Jul 29, 12:42 PM · Python, BF Blender
Philipp Oeser (lichtwerk) claimed T67857: Segmentation fault on assigning None to the data of an empty object using python..
Mon, Jul 29, 9:49 AM · Python, BF Blender
Philipp Oeser (lichtwerk) added a project to T67857: Segmentation fault on assigning None to the data of an empty object using python.: Python.

Confirmed, checking...

Mon, Jul 29, 9:49 AM · Python, BF Blender

Wed, Jul 24

Philipp Oeser (lichtwerk) added a comment to T63651: `ImagePreviewCollection.load` and `ImagePreviewCollection.new` don't behave as described in the Python API docs.

I am not available to look into this this week, so it might not make it into 2.80, but can step down from it, so others can pick it up.
Sorry this has been lying around, other things had higher priority...

Wed, Jul 24, 8:48 AM · Python, BF Blender
Jasper van Nieuwenhuizen (jasperge) added a comment to T63651: `ImagePreviewCollection.load` and `ImagePreviewCollection.new` don't behave as described in the Python API docs.

@Philipp Oeser (lichtwerk) Any updates on this? Would be nice to get it in for the release.

Wed, Jul 24, 8:24 AM · Python, BF Blender

Mon, Jul 22

Germano Cavalcante (mano-wii) added a comment to T67295: Blender is unable to generate a complete error message when there is bad indentation in python code.

It seems that this can even result in crash.

Mon, Jul 22, 2:18 PM · Python, BF Blender

Jul 20 2019

Ulysse Martin (youle) updated subscribers of T67295: Blender is unable to generate a complete error message when there is bad indentation in python code.

I don't know if bpy_traceback.c changed, or if python was updated since 2.79b.

Jul 20 2019, 12:09 PM · Python, BF Blender
Magvasi Lajos (Insula) added a comment to T66527: bpy.ops.transform.rotate works incorrect if not set "orient_matrix" value.

Also If you set the orientation type to VIEW and dont set the orient_matrix, it will use the global orientation.

Jul 20 2019, 11:55 AM · Python, BF Blender
nBurn (nBurn) updated the task description for T67295: Blender is unable to generate a complete error message when there is bad indentation in python code.
Jul 20 2019, 8:37 AM · Python, BF Blender
nBurn (nBurn) renamed T67295: Blender is unable to generate a complete error message when there is bad indentation in python code from bpy is not including line number when there is bad indentation to bpy is not including a line number when there is bad indentation.
Jul 20 2019, 8:12 AM · Python, BF Blender
nBurn (nBurn) added a project to T67295: Blender is unable to generate a complete error message when there is bad indentation in python code: Python.
Jul 20 2019, 8:11 AM · Python, BF Blender

Jul 17 2019

Campbell Barton (campbellbarton) added a comment to T65909: Python API calling: bpy.ops.text.cut +bpy.ops.text.paste will fail when undo..

Fixed by rB366865dd020904116086e6d9ec46b8f70c42cdd1

Jul 17 2019, 1:24 PM · Python, BF Blender
Jasper van Nieuwenhuizen (jasperge) added a comment to T63651: `ImagePreviewCollection.load` and `ImagePreviewCollection.new` don't behave as described in the Python API docs.

Before the final release I think this should be fixed. I noticed this bug is still in the release candidate.

Jul 17 2019, 9:43 AM · Python, BF Blender
Dalai Felinto (dfelinto) added a comment to T66725: Object not in View Layer error when trying to select a new object in a new scene from a panel..

Thanks for the report, but you are creating a new scene in your script, you need to pass the new view_layer to the select_set function:
testob.select_set(True, view_layer=scene.view_layers[0])

Jul 17 2019, 1:23 AM · Python, BF Blender

Jul 16 2019

Philipp Oeser (lichtwerk) added a comment to D5264: Fix object name typo in background_job template.

oh, @Campbell Barton (campbellbarton) was quicker :)

Jul 16 2019, 9:03 AM · Python
Philipp Oeser (lichtwerk) added a comment to D5264: Fix object name typo in background_job template.

Thx for finding this @Loïc Carr (dimtion), since this is such a small and safe change, I guess it is fine if I commit this...

Jul 16 2019, 9:02 AM · Python