Page MenuHome

Python & Add-onsProject
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

This project includes the Python API, Add-ons, the console the text editor and more.

Module Page: T63733
Sub-Modules Page:

Recent Activity

Today

Brecht Van Lommel (brecht) added a revision to T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package: D6962: Fix T73977, T73825: ignore Python user site-packages directory by default.
Fri, Feb 28, 9:37 AM · Import/Export, Python & Add-ons, BF Blender
Brecht Van Lommel (brecht) added a revision to T73977: Animation Nodes -> numpy.core.multiarray -> import aud: D6962: Fix T73977, T73825: ignore Python user site-packages directory by default.
Fri, Feb 28, 9:37 AM · Audio, Python & Add-ons, BF Blender
Campbell Barton (campbellbarton) changed the status of T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package from Needs Information from User to Needs Developer to Reproduce.
Fri, Feb 28, 1:59 AM · Import/Export, Python & Add-ons, BF Blender

Wed, Feb 26

Richard Antalik (ISS) added a comment to T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script.

Technically bpy.ops.render.render() should use it's own depsgraph and it should be an instance, not a new state, so this may be a bug.
I was just suggesting quick workaround.

Wed, Feb 26, 5:01 PM · Python & Add-ons, BF Blender
Julien DUROURE (julien) changed the status of T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script from Needs Information from User to Needs Triage.
Wed, Feb 26, 6:32 AM · Python & Add-ons, BF Blender
Julien DUROURE (julien) added a comment to T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script.

Well, if mesh instance is destroyed by calling ops.render.render(), we will have to refactorize the code to render first, and evaluate after (The complete code is of course not simplier than this example: this is for glTF export).
Is there any problem to evaluate it twice? (performance, memory usage?)

Wed, Feb 26, 6:31 AM · Python & Add-ons, BF Blender

Tue, Feb 25

Germano Cavalcante (mano-wii) changed the status of T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script from Needs Triage to Needs Information from User.

@Julien DUROURE (julien), did @Richard Antalik (ISS)'s comment help solve the problem?
(I don't know if it is worth investigating further as this does not seem like a bug, but it works as intended although poorly documented).

Tue, Feb 25, 6:59 PM · Python & Add-ons, BF Blender

Mon, Feb 24

Richard Antalik (ISS) added a comment to T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script.

I am not really familiar with depsgraph implementation here, but I will assume, that bpy.ops.render.render() will use depsgraph to evaluate another scene, so your mesh instance will be destroyed by calling this operator.

Mon, Feb 24, 2:31 PM · Python & Add-ons, BF Blender

Sun, Feb 23

Jose Conseco (joseconseco) added a comment to T60766: Modal keymap customization from an addon is not restored properly.

I want to bump this, since fix seems to be really so simple (one line of code). @Campbell Barton (campbellbarton)

Sun, Feb 23, 6:03 PM · Python & Add-ons, BF Blender

Fri, Feb 21

Ankit (ankitm) updated the task description for T74092: "ReferenceError: StructRNA of type Mesh has been removed" when accessing mesh data (created using depsgraph evaluation) after rendering by script.
Fri, Feb 21, 11:34 PM · Python & Add-ons, BF Blender
Richard Antalik (ISS) changed the status of T74067: Crash: Custom Panel UI Toggle while Undoing from Needs Triage to Confirmed.
Fri, Feb 21, 3:51 PM · User Interface, BF Blender

Thu, Feb 20

Campbell Barton (campbellbarton) added a comment to D6884: Fix T73301: Support mathutils.Vector.rotate for 2D vectors.

Committed improved support for 2x2 matrices separately rB1e3ffd1f872b: mathutils: support for to_2x2 as well as non-square matrices

Thu, Feb 20, 5:20 AM · Python & Add-ons, Python
Campbell Barton (campbellbarton) closed D6884: Fix T73301: Support mathutils.Vector.rotate for 2D vectors.
Thu, Feb 20, 4:06 AM · Python & Add-ons, Python
Campbell Barton (campbellbarton) accepted D6884: Fix T73301: Support mathutils.Vector.rotate for 2D vectors.

Made some changes to matrix parsing, using a generic function.

Thu, Feb 20, 4:05 AM · Python & Add-ons, Python

Wed, Feb 19

Germano Cavalcante (mano-wii) accepted D6884: Fix T73301: Support mathutils.Vector.rotate for 2D vectors.

It looks good, I didn't see any problems.
If @Campbell Barton (campbellbarton) doesn't have any observations, I can commit (this week maybe).

Wed, Feb 19, 8:17 PM · Python & Add-ons, Python
Evan Wilson (EAW) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

This seems like a terrible solution, since I imagine plenty of people have python installed alongside Blender

Wed, Feb 19, 6:47 PM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Honestly, I took everything python related out of my system variable path in my environment variables. I had already uninstalled python, but its files still existed on my hard drive and so did the system variable pointing to them. (I believe Anaconda which installed python 3.7 for me automatically adds this pointer to the path)

Wed, Feb 19, 4:22 PM · Audio, Python & Add-ons, BF Blender
Brecht Van Lommel (brecht) updated subscribers of T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Files from the appdata directory may be loaded because of this:
https://docs.python.org/3/library/site.html#site.USER_SITE

Wed, Feb 19, 4:14 PM · Audio, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Judging by the process monitor, I assume we will conclude that Blender was loading python scripts from a path library instead of its default library?

Wed, Feb 19, 3:54 PM · Audio, Python & Add-ons, BF Blender
Tiago Chaves (laurelkeys) added projects to D6884: Fix T73301: Support mathutils.Vector.rotate for 2D vectors: Python, Python & Add-ons.
Wed, Feb 19, 1:06 PM · Python & Add-ons, Python
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

I've scrubbed every instance of python on my computer and removed all python pointers in my environment variables and path, then restarted for good measure.

Wed, Feb 19, 3:20 AM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Don't know that program at all, but here's what I could find when trying to import numpy, it seems to still be sourcing from another installation of python, but you might know better.

Wed, Feb 19, 1:41 AM · Audio, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

can you trace the process with process monitor and validate that the _multiarray_umath.cp37-win_amd64.pyd file is actually being read from the blender folder and not some other place?

Wed, Feb 19, 1:14 AM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Same exact thing with 2.83, file is included, import fails. =c

Wed, Feb 19, 1:03 AM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

I've downloaded the portable to desktop, unzipped and verified there is indeed the numpy multiarray as seen in the attached images (if I can attach them).

Wed, Feb 19, 12:55 AM · Audio, Python & Add-ons, BF Blender
Brecht Van Lommel (brecht) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

It may be worth trying Blender 2.83, which has changes to ignore Python environment variables:
https://builder.blender.org/download/

Wed, Feb 19, 12:50 AM · Audio, Python & Add-ons, BF Blender

Tue, Feb 18

Evan Wilson (EAW) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Don't Install Blender, try the portable build instead.
https://www.blender.org/download/Blender2.82/blender-2.82-windows64.zip/
Open the folder and check to see if
_multiarray_umath.cp37-win_amd64.pyd

Tue, Feb 18, 11:56 PM · Audio, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

the blender_debug_log.cmd batch file has this in it

Tue, Feb 18, 11:14 PM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

I have not updated my PYTHONPATH environment variable since that github post, I can try that in a moment.

Tue, Feb 18, 9:56 PM · Audio, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

@Evan Wilson (EAW) the debug batch files reset the PYTHONPATH var, i'm 100% sure it is not set when blender starts with those.

Tue, Feb 18, 9:33 PM · Audio, Python & Add-ons, BF Blender
Evan Wilson (EAW) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

First, I copied my python37 site-packages into my Blender2.8.2 python folder (the second option in the link you provided). This did not work, so I proceeded to the first option.

Tue, Feb 18, 9:26 PM · Audio, Python & Add-ons, BF Blender
Odie Fox (Oddyfox) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Opened blender via blender_debug_log.cmd
went to scripting tab
same error as mentioned above when trying

import aud

Tue, Feb 18, 6:28 PM · Audio, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73977: Animation Nodes -> numpy.core.multiarray -> import aud.

Can't repro on windows with the official 2.82 or latest master

Tue, Feb 18, 6:19 PM · Audio, Python & Add-ons, BF Blender
Brecht Van Lommel (brecht) added projects to T73977: Animation Nodes -> numpy.core.multiarray -> import aud: Python & Add-ons, Audio.
Tue, Feb 18, 6:12 PM · Audio, Python & Add-ons, BF Blender
Dalai Felinto (dfelinto) updated the task description for T63733: Python & Add-ons Module.
Tue, Feb 18, 2:49 PM · Python & Add-ons, Add-ons, Python, BF Blender
Richard Antalik (ISS) changed the status of T61860: FBX Exporter: vertices exported in incorrect position causing mesh deformation from Needs Information from User to Confirmed.
Tue, Feb 18, 9:38 AM · Python & Add-ons, Add-ons
Samuel Santos (samuelsantos) added a comment to T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package.

No, it does not.

Tue, Feb 18, 7:12 AM · Import/Export, Python & Add-ons, BF Blender
Ray molenkamp (LazyDodo) added a comment to T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package.

When you start blender with the blender_debug_log.cmd batch file located in the blender folder, does it work?

Tue, Feb 18, 6:27 AM · Import/Export, Python & Add-ons, BF Blender
Samuel Santos (samuelsantos) added a comment to T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package.
  • Unfortunately the Thonny IDE doesn't allow to choose which Python to Install. I don't have Python installed manually anymore and didn't have this problem with Python 3.7 64 bit when I did. And I did another workaround using Thonny's feature virtual environment (I know it's Python feature, but the IDE allow to manage it).
  • I tried the "latest buildbot" (blender-2.83-d0c159ae9745-windows64) and the problem persist.
Tue, Feb 18, 4:42 AM · Import/Export, Python & Add-ons, BF Blender

Mon, Feb 17

Ray molenkamp (LazyDodo) added a comment to T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package.

It should not be looking outisde the blender folder for addons ever since rB7c2f0074f3fe2411daa7a6e351d7cbc535246871 can you still reproduce this on the latest buildbot ?

Mon, Feb 17, 7:00 PM · Import/Export, Python & Add-ons, BF Blender
Aaron Carlisle (Blendify) changed the status of T73825: glFT export fail (update with:) when Thonny (Python IDE) is installed with NumPy package from Needs Triage to Needs Information from User.

Can you trying installing python 64 bit instead?

Mon, Feb 17, 6:56 PM · Import/Export, Python & Add-ons, BF Blender
Bastien Montagne (mont29) added a comment to D6484: Fix broken python nodes API and some user counting.

Sorry, commented on wrong review...

Mon, Feb 17, 6:44 PM · Python & Add-ons, Nodes & Physics, Data, Assets & I/O, BF Blender, Python, Nodes
Tsuna Hiiragi (Tsuna) added a comment to T61860: FBX Exporter: vertices exported in incorrect position causing mesh deformation.

@Richard Antalik (ISS) Tested with 2.83 Alpha .
Able to reproduce the issue.
For safety i also tried entering pose mode and applying pose to rest.
Same result as previously.

Mon, Feb 17, 5:33 PM · Python & Add-ons, Add-ons
Bastien Montagne (mont29) edited projects for T61860: FBX Exporter: vertices exported in incorrect position causing mesh deformation, added: Python & Add-ons; removed Tracker Curfew.
Mon, Feb 17, 5:13 PM · Python & Add-ons, Add-ons
Bastien Montagne (mont29) changed the subtype of T67111: Edit linked library addon breaks relative links from "Report" to "Known Issue".
Mon, Feb 17, 5:13 PM · Python & Add-ons, Add-ons
Bastien Montagne (mont29) changed the subtype of T47043: Importing an fbx skeletal mesh from Blender into Unreal Engine 4 results in bones being too small to create Unreal physics asset. Requires scaling workaround. from "Report" to "Known Issue".
Mon, Feb 17, 5:08 PM · Python & Add-ons, Import/Export, Add-ons
Bastien Montagne (mont29) changed the subtype of T56653: FBX Animation Action Export Issue from "Report" to "Bug".
Mon, Feb 17, 5:05 PM · Python & Add-ons, Import/Export, Add-ons
Bastien Montagne (mont29) changed the subtype of T57542: Node wrangler: image sequence put absolute path, even if the relative box is checked. from "Report" to "Bug".
Mon, Feb 17, 5:04 PM · Python & Add-ons, Add-ons
Bastien Montagne (mont29) changed the subtype of T58701: Node Wrangler add-on: viewer node bug from "Report" to "Bug".
Mon, Feb 17, 5:04 PM · Python & Add-ons, Add-ons
Bastien Montagne (mont29) changed the subtype of T66272: Fbx exporter: Shape keys animation export broken from "Report" to "Known Issue".
Mon, Feb 17, 5:02 PM · Python & Add-ons, Import/Export, Add-ons