All Questions
233
questions
-1
votes
0
answers
18
views
How to access data (point_data, cell_data) written by meshio in Blender shader editor? [closed]
Conext:
I have a mesh (N points, M cells) in my Python script (outside Blender).
I associate to each point and to each cell a ...
2
votes
1
answer
35
views
Correct way of using bpy.ops.import_mesh.stl bpy function?
First time here! So, I'm trying to create a python script that uses bpy (This script is not being used from within blender, but rather bpy is being called from python as a module), and in this script ...
0
votes
0
answers
16
views
Loading gltf via bpy in headless mode crashes while UI works
I have been trying to import a .gltf file into belnder via python script using bpy.
...
0
votes
0
answers
10
views
Particle system Alembic/USD export issue [duplicate]
I am facing the export issue for ever type of simulation in blender, tried Alembic/USD for flip fluids, RBD labs for ground destruction, particle system, But nothing is exporting.
Tried all type of ...
0
votes
0
answers
19
views
Rotate an object around its origin with an arbitrary (imported) global axis. Do it while keyframing. Do not rotate around root's origin
Can someone explain how to do this, rotate around an object's origin, not the root object, Rotate objects around their origin along a global axis (scripted) without bpy.ops but do it in terms of ...
1
vote
0
answers
19
views
USD Import Context Error
I am trying to import a USDC file, I am using a custom built QT tool that has a UI, that I am using to manage my assets but each time I try to import something I get a context is incorrect issue.
Any ...
0
votes
0
answers
26
views
Get USD file start frame number in Python?
USD file stage may have an arbitrary start frame. Is there a way to access that information from Python?
There is a (bpy.context.active_object.modifiers[0]).cache_file object, but it seems not to ...
0
votes
0
answers
18
views
Importing Vertex groups with duplicated vertices
I'm working on a project to generate a mesh that was written in VSCode. When I create my vertex groups and run it directly in Blender, there is no issue.
However, when import the file as a .obj, it ...
1
vote
0
answers
33
views
I have several files in my addon. Where should I initialize the global variable?
I have several files in my addon:
__init__.py,
operators.py,
ui.py, etc.
Where should I ...
1
vote
0
answers
31
views
daz to Blender bridge issue with exporting
I have installed the Daz to Blender bridge add on and it used to work fine. But now I am having some variation of this error message whenever I try to import a model animation in Blender:
If anyone ...
0
votes
0
answers
27
views
okay...im getting a scripting error when trying to port a map from a game to blender
I'm getting an error stating,
"
Error: Python: File "\Text", line 9
base_dir ="G:\umodel\game\assets"
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes ...
0
votes
0
answers
47
views
How can i make normals on an imported mesh face the right way?
I'm writing an addon to import a model from a game, and it works for the most part, but some of the meshes always end up with their normals facing the wrong way no matter what i do.
The format i'm ...
0
votes
1
answer
111
views
Importing image texture with python
I'm trying to import an image texture (in image texture node on shader editor, not as a plane) after removing the previously existing one using a script in text editor. The file path of image texture ...
0
votes
1
answer
54
views
using 4.02 docker image with aws lambda try to open .usdz error
I am trying to use blender to convert the file type from usdz to glb. It works well in my local Mac. The script is like below
...
0
votes
0
answers
37
views
Automated rotations
I am stuck on a problem in Blender. I am trying to create a function that automatically aligns an object based on its dimensions to the world axis. This mean for example the largest axis will be ...