All Questions
20
questions
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 ...
0
votes
1
answer
114
views
Help with importing modules with classes in blender
I'm making a file importer addon (for a 3d model) for blender. Since the file format I'm working on is in binary ,for that I have been using a binaryreader for reading the needed values.
The binary ...
1
vote
0
answers
49
views
Any way to accordingly color separate parts of these LaTeX meshes with python?
I'm writing some functions in python which implement the latex2blender addon. Information about this addon can be found here: https://github.com/ghseeli/latex2blender
I'm able to create a few strings ...
2
votes
1
answer
965
views
Import methods/classes from another python file
I'm trying to use specific helper methods from another python file in my Blender addon. Although both my files "__init__.py" and "helpers.py" are located in the same directory, I ...
0
votes
1
answer
2k
views
Trouble with __init__.py loading addon with multple files
I've written a custom addon for a few Pie menus but can't figure out how to load them together from a __init.py
Currently they are all split into these four files:
...
0
votes
0
answers
565
views
Create a list of string properties
I'm looking for a way to have a dynamic amount of string properties.
currently I have setup an array which appends a bunch of string properties to a list, this is all fine and well except i can't ...
1
vote
0
answers
901
views
How to import a class from other script
Im trying to import the class named "MyOperator", which is in the script "Operator.py", into the script "init.py" but the console shows me: ImportError: cannot import ...
3
votes
0
answers
3k
views
*.JT CAD format direct import
Has anyone stumbled across a decent way of importing .jt CAD files into Blender? Direct import would be nice.
Currently I am using CAD Exchanger (paid license) but if someone is using an different ...
0
votes
0
answers
878
views
Can't import DWF File. seems like python addon error
I'm using macOS Catalina 10.15.3, Blender version is 2.82.
I installed the addon via user preferences, and would like to import a dwf file.
(I converted it from DWG using ODA File converter to 2010 ...
0
votes
0
answers
23
views
Import NodeTree from blender file during addon register [duplicate]
I have a blender file with several NodeGroups. I want to import those NodeGroups into other files using an addon. During the <...
2
votes
1
answer
118
views
Importing LEGO scenes add-on error
I am following this tutorial to create my custom LEGO scenes & characters and render them out in blender but I am getting some errors.
Basically, I have downloaded this software (Studio by ...
0
votes
1
answer
325
views
Is there an add-on for batch STL importing?
I've been able to track down add-ons for batch Obj import and batch STL export but I can't find one for batch STL import. Does anyone have a link to such an addon or have a python script?
3
votes
3
answers
19k
views
Import custom module not working (.pyd-file)
I have a file called cmake_example.cp37-win_amd64.pyd, which I've built using pybind11 (code below). It is located in Python\Python37\Lib\site-packages.
I also have a file called test.py which is ...
1
vote
0
answers
56
views
Ask for new directory while another file import is in progress
I am creating a blender plugin to import a file, which also contains path and texture name information.
What im doing in the code, is to try and actually open the path contained in the file, however, ...
1
vote
0
answers
907
views
Load Modules in Addon Preferences
I'm developing a Blender Addon which consists of multiple Modules. Each module adds a unique section with unique operators to a custom created panel. I want the user to be able to load and unload the ...