Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this extension run Blender 3.3 ? #136

Open
ACMOIDRE opened this issue Oct 19, 2022 · 6 comments
Open

Does this extension run Blender 3.3 ? #136

ACMOIDRE opened this issue Oct 19, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@ACMOIDRE
Copy link

Should i need to work 2.90 ?
are there any quick work around ? to run blender 3.3

@ACMOIDRE
Copy link
Author

OR should i need to install the BETA/development build of blender ?

@M-Scott-Lassiter
Copy link

I am actively using the extension now with Blender 3.3.1.

@ACMOIDRE
Copy link
Author

Can you Please help me to setup.
i'm trying from days no result.

@ACMOIDRE
Copy link
Author

shadow
when i try to run blender instance this error pop up
how can fix it.
or any thing I missed ?

@KaijuKoder
Copy link

How to migrate blender_vscode to a new Blender version:

Yes, it does run under 3.3 and 3.4. I'm running it now, and have been doing this since 3.0.

However whenever you upgrade Blender to a new major version (e.g. 3.3 to 3.4, but not 3.3.0 to 3.3.1) you need to do a few things to keep Jacques's blender_vscode working on Windows. Part of the problem is Blender doesn't handle symbolic links properly when it copies the addons directory to the new version, and Python has issues with some of the necessary modules.

The symbolic links are really useful. They let us have one copy of our code, instead of a different copy in each version which inevitably results it lost code changes, a real problem with Blender's built in scripting editor.

For example to upgrade from 3.3 to 3.4:

  1. Install then start the latest version of blender, choose to keep the 3.3 settings on the splash screen, then quit.

  2. Go to "C:\Users\YOURNAME\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons

  3. OBVIOUSLY DO A BACKUP OF YOUR ADDONS BEFORE YOU DO THIS JUST IN CASE: Replace the addon directories of your own addons (the ones you created using blender_vscode) with symbolic links to the original code directory. Easier to show with an example. Suppose you keep your own addons MYADDON1 MYADDON2 so on in a directory z:\mysrc. From the Administrator-Mode Command Prompt you can do this:
    del C:\Users\YOURNAME\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\MYADDDON1
    mklink /d C:\Users\YOURNAME\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\MYADDDON1 z:\mysrc\MYADDON1
    del C:\Users\YOURNAME\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\MYADDDON2
    mklink /d C:\Users\YOURNAME\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\MYADDDON2 z:\mysrc\MYADDON2
    and so on

  4. Install the missing Modules:
    "c:\Program Files\Blender Foundation\Blender 3.4\3.4\python\bin\python.EXE" -m pip install debugpy click flask

  5. There have been some issues with debugpy and Blender's version of Python. If you start Blender from VSCode and it can't start, complaining about debugpy, try this:
    cd c:\Program Files\Blender Foundation\Blender 3.4\3.4\python\lib\site-packages
    xcopy "c:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\debugpy" debugpy /s /e
    Copying modules between versions is dubious so this will break eventually. For now though it works.

These work for me, but I really wish the above could be done automatically and we could get the Blender Foundation to take over this Jacque's code.

@clankill3r
Copy link

These work for me, but I really wish the above could be done automatically and we could get the Blender Foundation to take over this Jacque's code.

He work's for blender :)
But yeah, I get what you mean.

@Mateusz-Grzelinski Mateusz-Grzelinski added enhancement New feature or request bug Something isn't working and removed bug Something isn't working labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants