rfdiazpr / sketchyphysics

Automatically exported from code.google.com/p/sketchyphysics
1 stars 0 forks source link

Joint Connector can't recognize SP ver. 3.2 #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Sketchup 8.0.11752
2. Install SketchyPhysics 3.2
3. draw any two parts
4. use Joint Connector

What is the expected output? What do you see instead?
Joint Connector tool doesn't work, text output on top left of drawing window: 
"Requires SketchyPhysics 3.2"

What version of the product are you using? On what operating system?
Sketchup 8.0.11752 , SketchyPhysics 3.2 , Windows 7 32 bit

Please provide any additional information below.

It was already pointed out in Issue 80 by user awestfal...@gmail.com on Dec 21, 
2011 .

Original issue reported on code.google.com by zad...@gmail.com on 12 Jan 2012 at 11:45

GoogleCodeExporter commented 8 years ago
Go to the SketchyPhysics folder (C:\Program Files\Google\Google SketchUp 
8\Plugins\SketchyPhysics3) and find the file "input.rb". Open it with Notepad.

Change this line: 
return (($win32GetKeyStateFunc.call(key)>>16)!=0)

To: 

return (($win32GetKeyStateFunc.call(key)>>VK_LCONTROL)!=0)

Save the file and run SketchUp 8 again. It should work now.

WARNING: It only works with the LEFT Control key. It doesn't work with the 
RIGHT Control key.

Original comment by yonicstu...@gmail.com on 28 Oct 2012 at 4:02