Comments (11)
oh, I am not used to new extension system, i just found the path you are talking about. This is the second case that I was talking about. You are working in directory that is already loaded to blender by default.
No, you need to have your addon outside of blender managed directory (however is is called).
For example I have it like this:
from blender_vscode.
on linux I would recommend to copy with option to follow the links. But maybe we can also fix it in code. Will see. Made a draft with fix.
from blender_vscode.
Hi just a quick reply: where are you doing your add-on development? If I remember correctly this extension will do a hard link (in windows links are a bit weird) of your add-on to blender directory for add-ons.
So if you are developing your add-on in blender add-on folder, this extension might create a duplicate but I would need to check deeper.
from blender_vscode.
@Mateusz-Grzelinski Hi, I am currently working in the blender_org folder, the reson is that if I try to do it in user_default and the start up Blender with VS Code it just crashes on all of the add-on I tried to far.
What is the current recommended way to work?
from blender_vscode.
your duplicate addon might be coming from
Scripts Directories
user setting https://docs.blender.org/manual/en/latest/advanced/extensions/addons.html#user-defined-add-on-path- you are working in directory that is already loaded to blender by default https://docs.blender.org/manual/en/latest/advanced/blender_directory_layout.html#blender-directory-path-layout
When if you start bledner from VS code VS code will make sure that blender can see the addon by making a hard link to scripts/addons/<addon name>
.
When you can see the duplicate of addon, what is the path reported?
from blender_vscode.
from blender_vscode.
your duplicate addon might be coming from
Scripts Directories user setting https://docs.blender.org/manual/en/latest/advanced/extensions/addons.html#user-defined-add-on-path
you are working in directory that is already loaded to blender by default https://docs.blender.org/manual/en/latest/advanced/blender_directory_layout.html#blender-directory-path-layout
I have never used them to load any add-ons, so thats probely not the problem
from blender_vscode.
if you are using addon
the VS code will setup your addon in scripts/addons
and if you are using new extension
you addon will be setup in user_default
.
from blender_vscode.
Oh! Thank you so much! It seems to be working! I did not know that it was possible to run from an external folder! Thats so nice!
The only problem I see with this metod is that it's slightly less convenient since I usually work and do iterations quite often, and then send over my Blender config folder to another computer. Then it's quite nice if the add-on is placed directly in the Blender config files to begin with. But thats a nit pick. Anyway, thanks for the help! I appreciate it!
from blender_vscode.
Awsome! Thank you so much!
from blender_vscode.
Completed by mistake. It is worked on in #172
from blender_vscode.
Related Issues (20)
- Not working in Blender 3.6 HOT 5
- Blender 3.6.4 crashes pushing undo step from script
- Blender 3.6 and blender development HOT 2
- Blender 4.0 and Run Script Error from VSCode HOT 5
- Changing or deleting scene in blender when running through this VS code addon seems broken? HOT 3
- Does this work for Blender 4.0? HOT 8
- License of adding developed with the extension HOT 1
- Using "Blender Start" terminated with exit code: 3221225477 after reading userpref.blend that was altered by this extension HOT 2
- Publishing to the public vsx registry
- Reloading imported modules in a script HOT 3
- Question: How open existing .blend file on startup HOT 4
- Add option to start blender using custom command (not only custom binary) HOT 1
- Does not register macros HOT 3
- debugpy issues HOT 6
- Issue when debugging, no path mappings to source? HOT 1
- Windows: pip install packages fails with PermissionError: [Errno 13] Permission denied HOT 1
- Custom repository for Blender 4.2 extensions HOT 7
- Weird "addon target directory" / "installed addons" behavior HOT 9
- Extension Addon (Blender 4.2) Preferences show "Warning /\ Policy violation with top level module: <addon_id>
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender_vscode.