Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: LWPy - An Intro to Python for Lightwave

  1. #1
    Kamehameha Chameleon BigHache's Avatar
    Join Date
    Sep 2006
    Location
    Future Past Life
    Posts
    1,899

    LWPy - An Intro to Python for Lightwave

    I'm using this thread to link to my Intro to Python for Lightwave Video tutorials. Four parts are online now.

    -BH

  2. #2
    World's Tallest Dwarf safetyman's Avatar
    Join Date
    Aug 2003
    Location
    Maryland, USA
    Posts
    1,342
    Very cool. I'm not a programmer, so it's pretty foreign to me, but I think this is a very good idea.

    BTW -- I realize it's early in LW 11's life and it's integration with python, but why haven't we seen some cool python scripts hitting the public yet? Is it difficult to take scripts that were created for other programs (Maya, Blender, etc.) and convert them for use with LW? Forgive my ignorance.

  3. #3
    Kamehameha Chameleon BigHache's Avatar
    Join Date
    Sep 2006
    Location
    Future Past Life
    Posts
    1,899
    Quote Originally Posted by safetyman View Post
    Very cool. I'm not a programmer, so it's pretty foreign to me, but I think this is a very good idea.

    BTW -- I realize it's early in LW 11's life and it's integration with python, but why haven't we seen some cool python scripts hitting the public yet? Is it difficult to take scripts that were created for other programs (Maya, Blender, etc.) and convert them for use with LW? Forgive my ignorance.
    Hey thanks! Actually, I'm not a programmer either (yet).

    There is functionality from the host applications that wouldn't carry over even if you did sucessfully convert the program from say Maya to Lightwave. I would say the main reason there hasn't been a lot of Python activity is we're still learning it. There are some folks here like Celshader who are well-versed in Python, but writing a plug-in that gets called within Lightwave is very different. It's like writing a C plug-in that doesn't get compiled.

  4. #4
    World's Tallest Dwarf safetyman's Avatar
    Join Date
    Aug 2003
    Location
    Maryland, USA
    Posts
    1,342
    Thanks for the info. Really excited to see some neat info in future vids. Staying tuned.

  5. #5
    Member
    Join Date
    Oct 2003
    Location
    Orlando, FL
    Posts
    4,144
    Quote Originally Posted by safetyman View Post
    Very cool. I'm not a programmer, so it's pretty foreign to me, but I think this is a very good idea.

    BTW -- I realize it's early in LW 11's life and it's integration with python, but why haven't we seen some cool python scripts hitting the public yet? Is it difficult to take scripts that were created for other programs (Maya, Blender, etc.) and convert them for use with LW? Forgive my ignorance.
    Actually, Jen Hachigan (spelling?) has put a few threads up posting scripts for functions she has found useful.

    I think the situation is perhaps a bit of a cycle that needs to be broken. Most people in the LW community don't know Python. This makes it hard for them to get excited about it. Without excitement not many people are motivated to learn python (but rather stick to LScript)

    It will take time and more people to learn Python and grow the userbase, and threads like this (and Jen's) will help.

  6. #6
    Newbie Member skarloc's Avatar
    Join Date
    Apr 2008
    Location
    France
    Posts
    50
    I'd like to say that these are essential viewing for beginners - they really helped me start.

  7. #7
    Kamehameha Chameleon BigHache's Avatar
    Join Date
    Sep 2006
    Location
    Future Past Life
    Posts
    1,899
    Quote Originally Posted by skarloc View Post
    I'd like to say that these are essential viewing for beginners - they really helped me start.
    Thanks, that's good to know.

    It's still a major WIP but I think now is a good point to release this. I've started a LWPy Wiki that hopefully we can all learn from. It's small but more stuff will be added.

  8. #8
    +1 to this - I just upgraded to 11 and was all excited to jump in and start learning Python and programming cool stuff and got stopped cold. 11 is still shipping with the LW 10 docs, which make no mention of Python.

    Having said that, I'm still excited and looking forward to not only learning but contributing back, hopefully.

  9. #9
    Red Mage Celshader's Avatar
    Join Date
    Feb 2003
    Location
    Burbank, California
    Posts
    1,817
    LW11.5 ships with Python documentation in its "lwpython11.5.zip" in the "sdk" folder. 11.5 also offers a new option for simplified "single-shot formatting" for generic scripts. This means "Hello World" can now be written like this for LW11.5:

    Code:
    import lwsdk
    
    lwMF = lwsdk.LWMessageFuncs()
    lwMF.info("Presenting...", "Hello, World!")
    Jen's 3D -- LightWave stuff.
    Jen's 2D -- my comic book.

    Python is my smashing board. LightWave is my S.M.A.K.

  10. #10
    I just wanted to say thanks for the overview and though it's a ton to absorb, I feel way better off exploring Python after watching the videos. A great resource to the Lightwave community!

    I know the videos were made a while ago, but I only recently upgraded to LW 11.5
    Last edited by Ryan Roye; 07-14-2013 at 08:47 PM.
    Professional-level 3d training: Ryan's Lightwave Learning
    Plugin Developer: RR Tools for Lightwave

  11. #11
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    Will more chapters to this video series be made?
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  12. #12
    Kamehameha Chameleon BigHache's Avatar
    Join Date
    Sep 2006
    Location
    Future Past Life
    Posts
    1,899
    Quote Originally Posted by chazriker View Post
    I just wanted to say thanks for the overview and though it's a ton to absorb, I feel way better off exploring Python after watching the videos. A great resource to the Lightwave community!

    I know the videos were made a while ago, but I only recently upgraded to LW 11.5
    Thanks!

    Quote Originally Posted by nickdigital View Post
    Will more chapters to this video series be made?
    I always intended to make more but I've been on other projects. I have to spend time learning before I can share info though.

  13. #13
    Super Member nickdigital's Avatar
    Join Date
    Nov 2006
    Location
    Burbank, California USA
    Posts
    4,576
    Thanks for the update. I'm still trying to get my head wrapped around python and your videos are slowly helping the process for me.
    My opinions and comments do not represent those of my employer.
    Profile piece
    2010 Reel
    'The X's' Reel

  14. #14
    Thank you!! This is great!! I really want to get into making my own tools, and so I am confident this will help.

    OTny

  15. #15
    Registered User
    Join Date
    May 2017
    Location
    Lampertheim, Germany
    Posts
    123
    Thank You, nice Job.

    You did a really nice Job for us all. Thank you again.

    I am very much the opinion, that this should have to come from the developers of the python-Integration (lwsdk).

    But so we get a fine documentation too.
    I am hard on the work to do some python script and I want to ask if there is interest in what I find out during my work. The documentation from NT is mainly stuff, that we could (most of it) get via the Pythons help command. We don't Need a documentation on the base: "Oh, look, we have implemented..." we Need more like: "Look we have implemented... and this way you can use it"
    What I'am speeking of is... examples for the usage of the lwsdk, I'am not talking about python Basic-stuff... this should be found on python sites.
    So my question is:
    If my work is done and my Boss will give me some time to do so, than I would give the Information, that I did searched together bit for bit to the community. But only if there is interrest on it.
    Even if I think, that this should have to come from NT.

    Regards,
    KANUSO
    Last edited by KANUSO; 03-28-2018 at 08:18 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. TrueArt LightWave Tutorial How To Make HBO Like Intro Full HD video
    By Sensei in forum LW - General Techniques, Tips & Tricks
    Replies: 5
    Last Post: 07-29-2012, 01:52 AM
  2. Python in lightwave
    By dsolo in forum Python Scripting
    Replies: 22
    Last Post: 03-03-2012, 09:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •