Python script to plugin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/10/2012 at 14:14, xxxxxxxx wrote:

    Hi guys.
    Is it possible to convert standard python script to python plugin?
    I wrote some stuff that does some great stuff for my workflow, but now I am looking at ways how to make it better:) So I thought I should look into creating a plugin for it.

    Is it doable? Is it very difficult? I am sort of newby with coding, and I am slow, and also a bit dumb:) But I have my hopes high:)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/10/2012 at 16:17, xxxxxxxx wrote:

    Hey Tomas,

    Have a look in the SDK-Examples. They are easy to understand and its very similiar to scripts.
    The main different is, that you now have classes instead of functions. But there are many tutorials out there. Just try it!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 24/10/2012 at 01:27, xxxxxxxx wrote:

    Thanks Tori for your input.
    Yes, I looked at examples, and even if you say they are easy, they do look awfully complicated for me:)

    I thought if there's any way like: take this code, paste your script between these lines, get pluginID and you are done:) But apparently there's not. Unless I am blind and don't see it :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 24/10/2012 at 01:51, xxxxxxxx wrote:

    Hi Tomas,

    If you have a script and just want to convert it to a Command plugin, it's an easy process.

    Did you read this thread?
    https://plugincafe.maxon.net/topic/6665/7261_transfering-pyscript-to-plugin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/10/2012 at 05:41, xxxxxxxx wrote:

    Oh yeah, nice. Thatn's, that's exactly what I was looking for.
    Thank you Thank you Thank You.


Log in to reply