Skip to content

Conversation

@TC-Wheel
Copy link
Contributor

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.

TC-Wheel added 30 commits April 12, 2022 10:06
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
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.
removing unused modules
referenced module before import
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.
TC-Wheel added 22 commits May 11, 2022 09:31
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
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
reverting to older version since I didn't fix the script all the way. I might have broken it more.
@TC-Wheel TC-Wheel requested a review from pgleeson May 17, 2022 17:23
@pgleeson
Copy link
Member

Looks good!

@pgleeson pgleeson merged commit 2e7bd2f into master May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants