Skip to main content

All Questions

Tagged with
-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 ...
Adel Redjimi's user avatar
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 ...
Syl's user avatar
  • 51
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. ...
Yaroslav Sotnyk's user avatar
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 ...
pratik khilari's user avatar
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 ...
John Carlson's user avatar
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 ...
Shamiel's user avatar
  • 11
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 ...
kivig's user avatar
  • 631
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 ...
Ryan Lansford's user avatar
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 ...
Cyril's user avatar
  • 21
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 ...
zak's user avatar
  • 19
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 ...
Full Salvo's user avatar
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 ...
Moff's user avatar
  • 31
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 ...
Cgpixelz's user avatar
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 ...
ja841014's user avatar
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 ...
Alessandro leone's user avatar

15 30 50 per page
1
2 3 4 5
16