Extrud shortcut
All  1  2-14

Previous
Next
 From:  Michael Gibson
5675.2 In reply to 5675.1 
Hi mir4ea, sorry no you can set a shortcut for Extrude but there is not currently any method set up for doing a shortcut for the "set direction" button, you have to just push that button if you want that function.

Right now there is not anything set up for keyboard shortcuts for any of the controls inside of a command like that.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.3 In reply to 5675.2 
thanx
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.4 In reply to 5675.3 
And is any shortcut for reset Cplane?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.5 In reply to 5675.4 
got it :

script:moi.view.setCPlaneInteractive();

Any shortucts for set object name?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5675.6 In reply to 5675.5 
Hi mir4ea, for setting the object name use this one:

script: /* Edit object name */ var pp = moi.ui.propertiesPanel; if (pp.show && pp.numSelectedObjects > 0) { pp.editName(); }

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.7 In reply to 5675.6 
Thanx Michael, where can I see these scripts? for example I couldn't find this here: http://kyticka.webzdarma.cz/3d/moi/

EDITED: 28 Jan 2013 by ANDREI SAMARDAC

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5675.8 In reply to 5675.7 
Hi mir4ea,

> Thanx Mchael, where can I see these scripts? for example I couldn't find
> this here: http://kyticka.webzdarma.cz/3d/moi/

I don't think anyone had asked for that particular one before, so that's why it was not listed anywhere.

If you can't find the particular thing that you're looking for listed there, just ask here like you did and I'll post it.

I looked it up myself by looking inside the file SidePaneContextArea.htm inside the \ui subfolder, that's the file that contains the regular UI for displaying the property name and there is an onclick="" handler that triggered the name dialog. A lot of times if you want to make a shortcut that does the same thing as a particular piece of UI you can look at the definition of the UI and then see the needed script that the UI is calling. But if you're not that familiar with looking at HTML code that might be difficult, in which case just ask and I'll dig it up for you.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.9 In reply to 5675.8 
Thank you once again)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.10 In reply to 5675.9 
what is surtcut for Add default style?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5675.11 In reply to 5675.10 
Hi mir4ea,

> what is surtcut for Add default style?

Here you go:

script: moi.geometryDatabase.addDefaultStyles();

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Andrei Samardac
5675.12 In reply to 5675.11 
Hay Michael, doesn't work(
The square around color in style tab, doesn't move.
May be it do another work.
I mean for example I added new style and want that new geometry that i create inherit this new style. For this I have to change defoult style to this newly creaded style. And I need for this shortcut :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5675.13 In reply to 5675.12 
Hi mir4ea, there is a menu item called "Add default styles" which is located here:





That's what I thought you were referring to - that one brings in the set of default styles into the current model, like if you had opened a file from someone else that had a different styles list in it and you wanted to bring in your regular set of default styles to work with.


It sounds like that is not what you wanted though, it sounds like you want a way to add in a new style and then automatically make it the "active" style as well.

Unfortunately right now there is not any method set up for a script to be able to change the "active style" so it is not currently possible to make a keyboard shortcut to do that, I will add a method so that scripts can set the active style so that it will be possible to do that in the next v3 beta.

Right now you will need to set that particular thing by a right-click on the style swatch though instead of having a shortcut key for it.

- Michael

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Andrei Samardac
5675.14 In reply to 5675.13 
Thanx
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-14