SketchyPhysics3.1
-
@willeykj said:
@reddoor said:
Hi,
Just having a little trouble loading this new version on Sketchup 8 Macintosh 10.5.8
I get this error on startup:
Error Loading File sketchyphysics.rb
dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib, 9): no suitable image found. Did find:
/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib: unknown required load command 0x80000022Any suggestions?
Thanks
I'm the developer of the Mac Port of SP3. Are you running on a Mac or a Hackintosh? Which CPU (has to be INTEL).
This may be a case of the build being unique to 10.6 but I'm trying to dig in.
Kevin
Just got done working with Chris.
The Mac port requires shared libraries for SDL to work just like the PC version.
The libraries I generated for Chris last week had unintended linkages to a version of SDL I had installed on my machine.
Therefore, if you didn't have SDL installed the libraries in the SketchyPhysics directory didn't work which was the cause of Reddoor's error.SP 3.1 uses the standard SDL library as well as the SDL_mixer extension for audio. On the PC these are 2 separate shared libraries. On the Mac, it didn't seem to make sense to have SDL_mixer statically linked to the complete SDL library if the SDL shared library was going to be needed anyway. All complicated by the fact that the SP3.1 plugin folder isn't a library load directory. SOOOO.....
I've compiled a new "SDL_Special.dylib" which has the necessary object code from SDL and SDL_mixer merged. This file is undergoing testing as I type and everything looks good so far. I hope to deliver to Chris later tonight and we'll get past this hiccup with the Mac version
Thanks for your patience.
Kevin
-
I have the updated Mac files now and will release a new version in a few days.
Thanks Kevin!!
-
Thanks Guys for all your hard work on the code. We Mac users really appreciate it!
All my students thank you also.
Reddoor
Hong Kong -
Hello CPhilips! (or someone else).
How can I use Velocity & Torque in sketchyphysics 3.1?
Is it something with, get the speed of a physics joint (hinge/motor for example)?
Some examples or something will be appreciate.
Its from this website that you named in this post I find it, but no instructions how to use them.
http://code.google.com/p/sketchyphysics/wiki/ScriptFunctions/hpnisse
-
setVelocity takes a vector that is the direction the object will be moving and the length of the vector is how fast. It is different from push because it actually sets the objects velocity rather than just try to push it.
setTorque does the same thing with the objects rotation.
I updated the script page on the wiki.
Example attached
-
Hey!
Thanks for fast answer, is it possible to "getTorque/velocity" to know if something is moving in any direction.
And get the speed of an object, if I will do a speed/RPM -meter?
/hpnisse -
Hi,
Just wondering if there was any news about the updated, "fixed", mac version?
I was looking around and I didn't see any new files
Thanks
-
@reddoor said:
Hi,
Just wondering if there was any news about the updated, "fixed", mac version?
I was looking around and I didn't see any new files
Thanks
Try:
http://forums.sketchucation.com/viewtopic.php?f=61&t=32200&p=284163#p284163 -
Yeah 3.2 should work on Mac. I'll do a zip file for it tonight.
-
Am I being stupid but could someone put a link directly to the latest MAC version of SP 3.1 or 3.2 what ever is latest. I often read the forums and see Mac version coming then the next posts are of people trying to get Mac version to work. However I never see the link or if there is one it takes you to a PC exe file.
Thanks in advance.
-
@unknownuser said:
Error Loading File sketchyphysics.rb
dlopen(/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib, 9): no suitable image found. Did find:
/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib: unknown required load command 0x80000022 -
@rovap said:
Am I being stupid but could someone put a link directly to the latest MAC version of SP 3.1 or 3.2 what ever is latest. I often read the forums and see Mac version coming then the next posts are of people trying to get Mac version to work. However I never see the link or if there is one it takes you to a PC exe file.
Thanks in advance.
Good question. I tried downloading SketchyPhysics3RC1-MacAndWin-Fixed.zip off the Wiki front page, but the newest files in there are dated March 26, 2009, so I figured that can't be right.
-
Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.
-
@cphillips said:
Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.
Coolness! Looking forward to it!
-
Guys
Could you please "STICK" this final version on the top of the forum?Thank you all very much.
Good work!
David.
-
where can i get tutorial for sketchyphysics...maybe a pdf file...??
-
@cphillips said:
Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.
Any progress?
-
@cljohnston108 said:
@cphillips said:
Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.
Any progress?
How 'bout now?
-
Sorry, I know I am late with the new version. I have been real busy.
I'll work on this week but no promises.
-
I downloaded the newest version of sketchy physics and installed it. I have sketchup pro 8. When sketch up starts i get the following message
Error Loading File sketchyphysics.rb
undefined methodextend_object' for
Singleton'then when i try to download and use a sketchy physics model from wharehouse, they dont work and i get the following message.
Error starting the simulation:uninitialized constant. msketchyphysics 3::SP3xSimulationContext::SP Sounds C:/PROGRA~1/google/GOOGLE~3/plugins/sketchyphysics3/controller commands. Rb:777:in 'initialize'
can anyone help me with how i sort this out?
Lucy
Advertisement