Results 1 to 8 of 8
  1. #1

    Macro script runner - make your operator prototyping faster

    Hello, this little addon is what I use during large projects - do you need to quickly script something small, and you still want full operator functionality with tuning of properties and undo?
    then this is for you.

    This addon adds a new tab with your commands. You can script anything from one line to a longer script.
    Any Integer, float, string and boolean properties defined before actual start of the script, will be interpreted as operator properties(up to 5 supported of each type)

    download the script here:
    https://github.com/vilemnovak/blende.../master/addons

    and watch a super short video here(which also shows a long-standing blender bug where last edited text disappears when hitting undo, so save your file before running the macro and tweaking operator properties):


    If you like the script and want to support me, go to this page and donate to the blender CAM project.
    Last edited by pildanovak; 24-Oct-16 at 07:28.



  2. #2
    Very cool ! This is definitely the type of thing that will help development of small quality-of-life features.



  3. #3
    Yes... And actually, I use it every day for heavier projects. Imagine you realise you need to move a specific animation key for hundreds of objects... or similar stuff which cannot be done manually and developing an addon for it is too much work, and not having operator-like behaviour is not comfortable



  4. #4
    Member
    Join Date
    Dec 2012
    Location
    Paris
    Posts
    19
    hello,
    Thank you for this addon which really useful. Well done!
    I can not get it to work with my Blender 2.70. I activate the addon and I receive this message.
    "
    Traceback (most recent call last):
    File "C:\Users\PORTABLE\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\Macro menu.py", line 110, in draw
    row.operator("text.run_script_by_name", text=t[0]).text=t[1]
    AttributeError: 'NoneType' object has no attribute 'text'


    location: <unknown location>:-1
    "



  5. #5
    Member vitorbalbio's Avatar
    Join Date
    Nov 2008
    Location
    Rio de Janeio - Brasil
    Posts
    1,170
    Very useful! Great addon!



  6. #6
    Member Spirou4D's Avatar
    Join Date
    Jul 2010
    Location
    Lille, France
    Posts
    1,257
    Hi pildanovak,
    Could you make a update to your very useful addon for Blender 2.75, please.
    This traceback about attribut "text" is always there.
    Thanks in advance for your reply, please.
    Words are Images that loosed Light!
    Linux Mint 18.2 Saunya - Bi-Quad Intel 2.66Ghz x64Bytes - Nvidia OpenGL GT 630 4Go-vram



  7. #7
    This script was just updated in the repo.

    new are :
    few bugs fixed
    enable path strings (there was a problem with strings which have \\ in them)
    enable creating shortcuts(there was a blender bug with text specific operators)

    Shortcuts currently work only in object mode, don't know why. Add editmode toggles to start/beggining of your script...



  8. #8
    Member
    Join Date
    Oct 2013
    Location
    Belgium
    Posts
    317
    Can someone test this script with blender 2.78.4 because
    a=1
    for i in range(0,a):
    Is not working for me



Posting Permissions

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