PDA

View Full Version : OD How To Script Series.



oliverhotz
04-19-2018, 04:21 PM
Not sure where this is going to lead.. but I made two quick videos that were based on two questions I received today. I posted it here in general as well as the python part of the forum, for the specific reason of reaching "non scripters"..

https://vimeo.com/album/5122797/video/265588333

and

https://vimeo.com/album/5122797/video/265658556

JohnMarchant
04-20-2018, 03:28 AM
Good effort Oliver, i hope you get time for more.

KANUSO
04-20-2018, 09:35 AM
Thumbs up! Good Job!

Regards,
KANUSO

machbeowulf
04-20-2018, 09:52 AM
Thank you both !!! I am finally past 'Hello World' ! If I may ask a question / Is there a way to reveal how a feature has been coded ? I am interested in expanding the parametric objects feature in layout - currently for parametric stuff I go into linux land and export out - would be awesome to be able to do within Lightwave itself. Again, many thanks for the great tutorials and samples !

oliverhotz
04-20-2018, 11:35 AM
You would write your own.. thats the fastest way.. you'd do that in modeler (to start, as its easier). It might be a bit advanced to start with modeler stuff though. Its not difficult, but it requires a bit more knowledge than what I have shown above.

- - - Updated - - -

I forgot to post this yesterday:

https://vimeo.com/album/5122797/video/265664126

machbeowulf
04-21-2018, 10:22 AM
Thank you .. I appreciate the direction - I am finding that when it comes to programming - as a beginner - its often difficult to even find the correct words to phrase a question ... which likely means time to read more ;)

oliverhotz
04-21-2018, 10:26 AM
We had a great LightWiki hangout last night.. I went into some more detail and more explanations.. and I "believe" i got one of the users to write their first script :)... so.. I call it a success.

ernpchan
04-22-2018, 08:51 AM
This is a fantastic effort by you Oliver. Scripting opens up what one can do and "fix" in a program.

I would encourage people to not just think this is a LW specific thing. Learning the scripting language in any of the programs you use will open up what's possible to you and improve your workflow.

erikals
04-30-2018, 03:14 PM
one day, i will learn scripting

https://imgs.xkcd.com/comics/python_environment.png

Stardust
05-01-2018, 05:31 PM
Thank you!

oliverhotz
07-26-2018, 10:52 PM
Another Installment in the How To Script Series. This time, we'll create a simple Animation Take System for Lightwave:
Enjoy !
https://vimeo.com/album/5122797/video/281917767

Tobian
07-27-2018, 02:44 AM
Thanks Oliver, one day I will figure it out myself. I have a script i need to write.. maybe this weekend...

erikals
07-27-2018, 05:56 AM
neat!

ps, if you folks haven't, check these >

Python for LW 1 - https://www.youtube.com/watch?v=9NPWg2sQ4xI
Python for LW 2 - https://www.youtube.com/watch?v=5RQ8iSQTM3I
Python for LW 3 - https://www.youtube.com/watch?v=e_KAqNGnUoc
Python for LW 4 - https://www.youtube.com/watch?v=aaJi2CfpoAM