-
Notifications
You must be signed in to change notification settings - Fork 5
Python3 update #17
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
Merged
Merged
Python3 update #17
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
added description of blender script importing process and how to install 3rd party modules to blender's internal version of python
Removing bad machine specific code.
Issues to fix when I finally can get the script to run in Blender. The triple hash indicates that it's something to be fixed.
blender use info
…NeuroML into python3_update
removed the write_log function- it's better to see the errors as they arise in Blender console. If you throw it all in the log, then we have no idea what's happening.
We have no dumped file anyways. If we want to add it in later- when we actually have the script working, then sure. Revert this-- but the code is just getting messy imo, and I think we should keep it simple and build from there.
comments
removing unused modules
to include all venv dirs
actually getting bpy (blender module) errors instead of importing errors
updated readme, added dependency installing script updated default workspace in .blend file
added description and fixed bugs
--editing .blend to have new workspace to make screenshots higher res --cleaned up comments on installDependencies.py --trying to figure out pynput and blender api's timers to take screenshots.
deleting all the scripts that don't really matter to me anymore that I wrote. They were just for collecting objdata from the .blend files and the 302.xls sheet. But they were supposed to interact with the Blender API and when I removed that they just stopped working- and I got sick of them because I already got the data I needed and so I'm just getting rid of them. If I want, I can rewrite them with the express purpose of extracting data-- but there are other more important things.
The image script isn't working in blender. It's external now. So no need for this.
pointed to the script to install modules in Blender Python instead of doing it manually.
also updated description to be less depressing
spelling
just so my imaging script will be tailored to the og file
removed .blend file autosaves (over populated the data file and causes crashing when using python scripts in blender) Changed cuticle's viewport material color's alpha channel to .25 to make it transparent to be able to visualize neurons in relation to it.
just cause my script was kind of doing it anyways
added transparency and turned off loose search in object browser
added some global vars to make it easier for people do adapt script to their specific setup
for skin reference
almost done
edited shortcuts
Member
|
Looks good! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't want to update the blenderToNeuroMl.py file yet.
I'm afraid that I will have broken it.
The main point of this branch is to update to python 3, which it did, and then to create the screenshots of all of the neurons, which it did. Finally, I added the virtual worm files and a few different versions of it. If it seems too cluttered, the only ones we need to keep are the Virtual_Worm_March_2011.blend and the March_2011_with_skin.blend.