[Plugin]SketchyPhysics3 alpha.
-
@sgal said:
I saw a video of SketchyPhysics 3 showing a piston linked to a normal cylinder. When activate the corrispondent slider, the cylinder seems to multiply.Is that possible in the current version?
Youtube VideoThat feature isn't in yet. I have to figure out how to make it work with replay.
-
@sketchyman said:
I tried to download thruster magnet model but its made with version 7.0 and i cant install sketchyphysics on that one. please post some models made with sketchup 6. thanks a lot
Sketchyman, could you try this to fix your SU7 error. Find the file win32api.so in your ...Sketchup 7\plugins\SketchyPhysics3 folder and copy it to just ...\plugins\ and see if that fixes the problem.
-
-
Sorry if this has been asked before (noob here) but I noticed v2 was mentioned as having Mac support at some undefined time in the future. Will this be implemented in v3?
Cheers
XG
-
I made this things You told me, but it doesnt even help. I tried to move it out completely, or give the file to both- sketchyphysics and plugin folder, and i also tried to leave it in just plugin folder, but nothing helps. I am sorry i couldnt help You.
-
A bug (I don't know where it must be post, so I ad here): when I click on the piston joint, Internet Explorer says "script error"
-
@sgal said:
A bug (I don't know where it must be post, so I ad here): when I click on the piston joint, Internet Explorer says "script error"
Thanks Sgal. Fixed in next version.
-
@xgraphica said:
Sorry if this has been asked before (noob here) but I noticed v2 was mentioned as having Mac support at some undefined time in the future. Will this be implemented in v3?
Cheers
XG
Mac version isnt out yet. But soon.....
-
@sketchyman said:
I made this things You told me, but it doesnt even help. I tried to move it out completely, or give the file to both- sketchyphysics and plugin folder, and i also tried to leave it in just plugin folder, but nothing helps. I am sorry i couldnt help You.
Sorry, I am at a loss. I will keep looking for a solution. Let me know if you figure anything out.
-
SketchyPhysics 3 alpha for the Mac is in the vault and only awaits a final go-ahead for release. You should all see SP3a available for the Mac very, very soon.
The mac version shares the same basic code base as windows so most bugs will be common. The library that implements the Newton Physics engine is almost completely common code between Mac and PC so not likely to be a big differential bug source.
There are 2 other Mac Libraries
GetKeys.dylib is a Carbon based lib for getting keyboard state. It still works with Leopard as of the most recent OS release but the Carbon APIs it uses are being deprecated. Unfortunately, there aren't any simple APIs in MacOS for doing this when the Carbon ones go away. I'll have to move this to the HID Manager.
MacInput.dylib is an HID Manager library for reading USB Joysticks. This is pretty experimental right now. I'm using a Saitek P880 and it works great. Any other USB Joystick should work however if it implements a different output range on the axis then the response may be messed up. All axis and buttons are supported but dHat isn't. I'm working on supporting the XBox 360 controller right now. I'm using a Wireless XBOX controller with the MS Wireless gaming adapter and I have experimental code working at home. However, the XBox360 controller shows up as a gamepad in USB, not as a joystick so I have a little more work to do. I'm also putting in place the code necessary to read the keyboard and when that is done I will eliminate the GetKeys.dylib library.
Known bugs / issues:
Whatever shows up in this forum from PC users will almost certainly affect mac users.
On the Mac you have to be sure and change focus out of a web dialog field before any edits will be committed. If for instance you edit a ruby function in the Inspector window but leave the cursor in the field and then hit run you'll have unexpected behavior. My best recommendation right now is to always hit the tab key after an edit to force an onBlur event.
The control key can't be overridden in Sketchup Ruby scripts since it is reserved by Sketchup to implement a right mouse click on a one-button mouse. Therefore, anything in PC SketchyPhysics that refers to using the CONTROL key as a modifier should use the OPTION/ALT key instead. Shift as a modifier works just fine for both. Left handers may have a problem, please let me know, since I think we're using LSHIFT and LCONTROL and LALT. Lefties will just have to reach to the "wrong" side of the keyboard.
Keyboard emulation of joysticks works just fine. However, on the Mac the ASDW keys will fill the keyboard input buffer and start beeping at you when you use them. The arrow keys don't suffer this indignity. I'm working on it. If anybody knows how to turn this off please let me know!
Mac WebDialogs remain a little flaky. Much more so than on the PC. I don't know if Google is using WebKit or what for their built in browser but it isn't the most fun thing to work with right now. You'll see that windows don't retain location well and windows open at the wrong size but if you resize the window you can see all the stuff you need to see.
Have fun with it and tell me what you find so we can fix and improve!!!
Kevin Willey
-
@cphillips said:
Sorry, I am at a loss. I will keep looking for a solution. Let me know if you figure anything out.
Sketchyman, I might have found the problem. Your system is probably missing the msvcr71.dll. Another user just fixed a similar problem by installing that file in his windows/system32 folder. But I think it would also work if you put it in the Sketchup 7/ directory.
Let me know if it works and I will fix it in the installer.
-
Dear Coen,
I know what you mean. But I am really using windows xp proffesional. That what you see is just a theme for XP Which i really like. Because of that You thought I am using Linux. -
YOU ARE GENIUS CHRIS
I just made what you told me and it WORKS, I am so HAPPY
Thank you very much -
Cool. Ill update the installer. Thanks SketchyMan.
-
I found a mistake in buyoancy. If you make a boyoancying´palne and give it just to some space the ball acts like in water even out of that space. Look at this model
-
The water plane is infinite. Just the graphic has size.
-
@cphillips said:
The water plane is infinite. Just the graphic has size.
You mean that there is no chance to make something as pool on the top floor? -
How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.
-
@unknownuser said:
How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.
Set the magnet strength to something like:
x*300.0
300 being the strength of the magnet when the button is pressed.
I thought I had that bug in the joint names. Can you post the exact steps to reproduce it?
-
@cphillips said:
by CPhillips on Wed Feb 18, 2009 9:01 am
=Mr Planet= wrote:How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! :tada: Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.
Set the magnet strength to something like:
Code: Select all
x*300.0can we assign other keyboard buttons to controls other than WASD & arrow keys?
Advertisement