Video tutorial: Scripting intro using only the plugins

A place for unofficial tutorials posted by MH users

Moderator: joepal

Video tutorial: Scripting intro using only the plugins

Postby Gaberlunzy » Thu Mar 03, 2016 7:01 pm

Introduction to scripting using only the plugins.
https://youtu.be/57wREoOnEHw

Please let me know if this is helpful. I need the practice making videos, so I would be happy to create more. I am trying to develop some tools and techniques to easily create informational videos. Any feedback or criticism is invited. You can PM me if it is off topic. Thanks.

Rick Murphy
Gaberlunzy
 
Posts: 10
Joined: Tue Feb 23, 2016 9:38 pm

Re: Video tutorial: Scripting intro using only the plugins

Postby duststorm » Thu Mar 03, 2016 8:36 pm

Cool :)
I think your videos are very accessible and are good examples for people to get started.

Another hint that's worth mentioning: The shell allows completion with the TAB key, so you don't have to type all. Also it offers all the options when multiple things are possible.
It's still pretty basic, but can be convenient in some cases.

In the future I hope to include a full ipython shell in there, which will allow more things, like multi-line editing, and using the '?' character to get help from within the shell. (you can follow the status of that here http://bugtracker.makehumancommunity.org/issues/824)

Still, using python builtins .__doc__ and dir() you can already do some introspection into the code, and grab documentation directly from the shell, instead of having to read in the code.

If you're interested in this, this article might gave you some ideas:
http://www.diveintopython.net/power_of_introspection/

If you're acquinted with an IDE like Eclipse that helps you while writing code, you might be inspired by how these concepts built into the python language can offer similar features.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Video tutorial: Scripting intro using only the plugins

Postby Gaberlunzy » Thu Mar 03, 2016 11:24 pm

Thanks for the tips. I will incorporate that into the next video. I especially like the tab functionality.
Gaberlunzy
 
Posts: 10
Joined: Tue Feb 23, 2016 9:38 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest