Comments (8)
Hi Denis~
First of all sorry so much for the delay of the reply, and thanks so much for the words~ ♥
By the way yeah, starting Blender with PyCharm's run configurations only start the client socket (pycharm_connector.py) but doesn't start the server one, thus it's not working~
I will have to implement a way to allow the user to define environment variables, right now you have 0 power of customization over the configuration. (This project started as a personal project for fun, it was not expecting configurable stuff :c)
Meanwhile a possible workarround I'm tinking may be to manually add them to the Windows system variables~
This is a LOT dirty, but it will do the trick as long as they are not required to change too much.
On the other end you may change and set them directly in the script on the %LocalAppData%\Temp\BlendCharm
path, but keep in mind that the file will be regenerated on PyCharm restart.
I definitely have to do something to make this easier.
Sorry so much for the troubles,
I hope the workarround may do the trick meanwhile an easier method will be developed~ ♥
from pycharm-blender-plugin.
Hi again Denis~
I want to publish a new release soon adding the option to handle environment variables.
But first... Sorry even more for the delay this time :c
I'm not good with Swing UI, and this caused some delays.
By the way, the idea is to add them in the Blender configuration window, so you may have different runnable configurations (eventually using the same Blender executable) with different environment variables.
I do think this would do the trick perfectly, do you have any suggestion?
Thanks once again~ 🌸
from pycharm-blender-plugin.
I've managed to implement a table containing the list (key, value) of the defined enviroment variables.
The only things that still triggers me is that random white aurea around the table:
I've tried a lot of stuff (setBorder(null), etc...) but I can't get rid of it .-.
Anyway, at runtime the enviroment variable can be read by:
Once I've defeated the white aurea I'll publish a release!
Sorry that this took 3 weeks~ ^-^'
from pycharm-blender-plugin.
Hi, small update for why it's taking longer than a day...
I want to implement a collapsable group in my dialog like the one here:
It will have the "Optional Settings" label and it will contains all the extra... well, optional settings.
This way new user will not see too many stuff if they just want to setup the Blender Executable~
The problem is that I'm unable to find the JComponent for it and I'm starting to hate Swing even more! :D
Anyway, In the meanwhile I'll publish here the two beta version that support the enviroment variables but have the ugly UI, so if you don't mind and wish to experiment with it you can do it~ :3 ✨
Blend-Charm.2023.1-Beta.Community.Edition.zip
Blend-Charm.2023.1-Beta.Professional.Edition.zip
They should be stable, and the data of the enviroments will be kept on the final release as well (unless I REALLY need to change stuff, but probably not)
from pycharm-blender-plugin.
sorry for the delay of the reply
No worries at all, I was away for the long Easter weekend and even then, your reply is actually the fastest reply to a GitHub issue I ever had :) ahah
meanwhile ... (usage of) Windows system variables
Unfortunately it is not practical to use Windows' system as I need to set different script variables for the different Blender versions I use and test addon code against
(possibility to) set them directly in the (temporary) script on the %LocalAppData%\Temp\BlendCharm
Oh! Cool, I will have a look and evaluate if I could use that as a workaround, thank you for the tip 👍
Sorry so much for the troubles
No trouble at all, I can live with the actual plugin state and...
this project started as a personal project for fun
... I understand and I'm definitely happy you graciously shared it with the world! I cannot offer code contributions at the moment as I am not familiar with Java but I would definitely offer a donation as it is a real time saver :]
from pycharm-blender-plugin.
Good day @BlackStartx
I did not see those last few weeks fly by me, but I can see you were hard at work! This will be incredibly useful, once again thank you!
💯 / 💯
from pycharm-blender-plugin.
Thank you, that is very cool! I will try to experiment a bit with it during the coming weekend!
from pycharm-blender-plugin.
Did a little testing and it does works wonderfully so far! 🤩
Thank you!
from pycharm-blender-plugin.
Related Issues (18)
- Plugin not supported anymore in pycharm 2021.1.1 HOT 2
- 'exe' dependency for adding instance HOT 5
- Debug mode seems to be inactive HOT 4
- Is it possible to output to the console? HOT 6
- Can't Debug with 2023.1 HOT 5
- No option to mark folder as Blender Add-On, bpy module not found HOT 2
- Configure Blender Executable
- cann't connect to blender? HOT 1
- Plugin does not want to install PyCharm 2023.1 and 2023.2 Community's Edition HOT 8
- Blender 4.0 Crash HOT 3
- I got an error HOT 2
- print nothing HOT 3
- Reload on Save not working HOT 14
- Windows: only works with traditionally installed Blender HOT 2
- Linux: Random NullPointerException
- After following the installation, my PyCharm still does not give me bpy object introspection HOT 3
- No connection to the Blender while using the debug mode
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 pycharm-blender-plugin.