New Apr-26 beta now available
 1-3  4-23  24-43  44-48

Previous
Next
 From:  Jesse
568.44 In reply to 568.43 
Hi Michael,

Hi Michael,

Thanks.... As long as there's a logical explanation for the way things work,
I can get used to them. :-) I don't need the old version of the hide button,
but thanks for offering. Usually, I just need to hide all the surfaces so I can see curves...
isn't there's a script for that? I'll have to install it again.

I don't mean to be a pain, but but I've observed another thing that seems unexpected to me,
but for all I know, it's probably logical and the way it's supposed to work.
I wouldn't do it intentionally, but if I use the copy and paste edit tool
and then use the hide tool, paste repeats with a click in the viewport and will not
cancel until a command other than hide is used.

Thanks,

Jesse
  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
568.45 In reply to 568.44 
Hi Jesse,

> Usually, I just need to hide all the surfaces so I can see curves...
> isn't there's a script for that? I'll have to install it again.

The following will set up a script so that pushing H will hide all surfaces:

[Shortcut Keys]
H=script:moi.geometryDatabase.getObjects().getBReps().setProperty( 'hidden', true );


> I wouldn't do it intentionally, but if I use the copy and paste edit tool
> and then use the hide tool, paste repeats with a click in the viewport and will not
> cancel until a command other than hide is used.

It's not a pain at all, I'm very interested to know things that don't seem to be working as you'd expect.

I can't quite follow your steps though - I tried drawing a circle, selecting it, then copy, then paste, then hide. Then after that right-click repeats pasting new objects. I'm not in a command at that point so there isn't anything to cancel.

Could you please go over the steps that cause the problem?

- 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:  Jesse
568.46 In reply to 568.45 

Hi Michael.

Thanks for the script. I also put paste in as a non-repeatable command.

What I find unexpected is that paste continues to paste on a right click after hide has been used...not knowing too much about UI conventions
I considered hide to be a command, so from my perspective, hide should cancel paste.
Copy, paste and hide are different that the other edit tools and other tools in general because they only change the number of objects or the visibility of them.
I understand that hide isn't the same as a command that changes the geometry of an object, so it does make sense in a way.
Would you say that hide, copy, paste aren't considered regular *commands*, but are instead, another sort of tool or feature?
History seems to be in a category of it's own, so I can see that copy and paste could be as well.
Thanks for the script. I also put copy and paste in as a non-repeating command. :-) so I guess it's just a matter of personal preference.

Jesse

EDITED: 30 Apr 2007 by JESSE

  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
568.47 In reply to 568.46 
Ok, I follow what you mean now.

Yes, hide is not technically a "real command", it's more like an inline script macro. This is to allow for the ability to hide or show something while you are already running in the middle of some other command.

Someday I should be able to fix things up so that it behaves as you'd expect anyway despite this technical distinction. But it will be a little while before I can get to that.

Actually copy and paste are regular commands. The only ones that aren't are some other things that are also set up so that they can be used while inside some already running command: Edit/Hide, View/Reset All, Select All, Deselect All and Invert.

So currently as a side effect of that none of those particular ones will repeat with a right mouse click.

It's not especially intentional, it's just a slight bug due to the way things work right now.


Also undo, redo, and delete are set by default to not repeat in the .ini file under
[Commands]
NonRepeatingCommands=delete undo redo

- 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:  Jesse
568.48 In reply to 568.47 
Hi Michael,

I appreciate the explanation about inline script macros. I learned a little more about how scripting works
and it motivated me to set up a few keyboard shortcuts for hiding and unhiding curves and surfaces,
something I hadn't bothered to do before.
The repeating paste thing isn't really a big deal, I just didn't understand why it was happening.

Thanks,

-Jesse
  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:  1-3  4-23  24-43  44-48