Full Version: Add Trim Point | Hotkey

From: mkdm [#3]
 18 Oct 2017
To: ALL

Hi Michael.

Thanks a lot for this very useful tip!
...and thanks also to you Berube for the right answer :)

Cheers.

Reply


From: Berube [#4]
 18 Oct 2017
To: ALL

Ah greatness!!

Thank you so much, this is perfect!

Bests,

-Berube

Reply


From: klaudio [#5]
 2 Dec 2017
To: ALL

Hi Michael.

You said to add that script line for Add Trim Point but you have to be in Trim command already.


Is there a way to have shortcut running essentially two commands, one after the other. First, run "Trim" command and then follows the "Add Trim Points" all with one shortcut?

Reply


From: Michael Gibson [#6]
 3 Dec 2017
To: ALL

Hi klaudio,

re:
> Is there a way to have shortcut running essentially two commands, one after the other. First,
> run "Trim" command and then follows the "Add Trim Points" all with one shortcut?

Sorry no, not currently unless the command is specifically written to look at parameters given to it.

But I have added a mechanism for the next v4 beta so that if you give a parameter that matches the id of a button in the command's UI it will trigger it as if it were pressed when the control is shown. So with this in place setting up a keyboard shortcut for "Trim addtrimpoints" should do what you're looking for.

- Michael

Reply


From: Michael Gibson [#7]
 3 Dec 2017
To: ALL

Hi klaudio, also I extended it a little bit more to apply to other controls as well. So in the next beta you'll be able to set up shortcut keys that either trigger buttons in the command's UI (by giving the button's id value), and also set values for things like dropdown and checkbox controls. These are done by giving an id=value pair.

So some example shortcuts that you'll be able to set up in the next beta:

Trim addtrimpoints removekeepmode=keep

Trim addtrimpoints removekeepmode=remove

Trim isocurve isodir=u

Trim isocurve isodir=v

Line bothsides=true

Extrude tapered


For a button supplying the button's id in the command parameters will trigger the button when it is first displayed, it will be the same as if you clicked the button.

For other controls the given value will be used to initialize the control instead of the last-used or default value like normally happens.

- Michael

Reply


From: klaudio [#8]
 5 Dec 2017
To: ALL

Thank you very much on quick reply Michael. Glad that you will add it for v4, it will be a handy little thing for sure!

For now in the v3 current workflow will work just fine too where i have "T" assigned to Trim command then once there pressing "Shift+T" goes to adding a trim point. All good! ;)

Best,
Klaudio

Reply


Show messages: All  1-2  3-8

Reply to All

Back to thread list | Login

© 2018 Project Beehive Forum