Jump to content
3DCoat Forums

SGK

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by SGK

  1. Hello.

     

    My question is simple, how do I input keyboard actions through Angel Script?

    Have looked at both the scripting docs for 3D Coat and the links to the Angel Script homepage but have not found anyway to do this.

    I understand that this type of function might be omitted because of security reasons from a scripting language.

     

    What I'm trying to do is the following.

    Create a script that takes the current selection from the retopo rooms Select tool and clone it in place and then delete the selection.

    The reason for this is so that the model gets hard split UV islands.

    So I entered the command for clone into the script and that works, (nice way of entering script commands that you can just MMB+RMB to copy the UI element ID, very good feature).

    The problem is that since when you get the transform widget from the clone tool there is no "Apply" button or other way of confirming except by pressing "Enter".

    So is it possible to do keyboard input through the script engine or will I have to use something like Auto-hotkey or other macro program?

     

    Also is it possible through the scripting functions to collapse(merge) a retopo layer to another?

    The reason for this is that I want to create another script that takes all the cloned parts and merge that into one layer.

     

    Thanks in advance for any help.

     

    /Stefan

×
×
  • Create New...