CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #16  
Old 10-20-2005, 12:02 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: mouse shortcut

I'm sure I'll be grilled in the lab for this. But then, you asked for a hack, so here is one. If it doesn't work, or if it breaks in the next version of OSDM: I told you, it's a hack. Undocumented and largely untested, and supposedly detrimental to mankind's well-being. If you call our support folks to ask why it doesn't work on your system or why those dumb R&D engineers "broke" this "feature" with that new release which you just installed, the support engineers have every right to simply ignore you.

That said, here's the hack. Define the Button1Button3 function as follows:
Code:
(defun Button1Button3 (&rest args)
  (declare (ignore args))
  (put-buffer "frame2-ui::explicit_dynamic_vp :rotate")
  (values))
One significant side effect is that you will no longer be able to complete a command by simultaneously pressing button 1 and button 3. Not a big deal with a 3-button mouse, but probably a horrible thought for those two-button mouse users out there.

With this hack, you can start dynamic rotation mode by pressing button 1 and button 3; release button 3 now, then rotate the model by moving the mouse while holding button 1 pressed.

HTH,

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #17  
Old 10-20-2005, 12:11 PM
Mad_Scientist's Avatar
Mad_Scientist Mad_Scientist is offline
Registered User
 
Join Date: Oct 2005
Posts: 20
Re: mouse shortcut

Where do I add/modify this code?
Reply With Quote
  #18  
Old 10-20-2005, 12:20 PM
May Kung May Kung is offline
Registered User
 
Join Date: Oct 2002
Location: San Jose, CA
Posts: 301
Re: mouse shortcut

Hmm. I'll have to file this away if someone ever asks about it. I was going to suggest getting a SpaceBall since that eliminates using the mouse for any dynamic motion, but that's not likely what you had in mind. I've always had difficulty simultaneously pressing two mouse buttons; for some reason, I get a lot more strain in my forearms when I do that.
Reply With Quote
  #19  
Old 10-20-2005, 12:32 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: mouse shortcut

Quote:
Originally Posted by Mad_Scientist
Where do I add/modify this code?
all_mouse_defs.lsp (see above).

May, if you don't like pressing two mouse buttons simultaneously, I have one word for you: Button1Down2x. 'nuff said

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/

Last edited by clausb; 10-20-2005 at 09:39 PM.
Reply With Quote
  #20  
Old 10-20-2005, 01:15 PM
Mad_Scientist's Avatar
Mad_Scientist Mad_Scientist is offline
Registered User
 
Join Date: Oct 2005
Posts: 20
Re: mouse shortcut

Works like a charm...thanks clausb
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:48 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.