SketchyPhysics3.2 (Dec 2)
-
The 3.2 version of SP is ready. This version should finally work on Mac. Sorry for the delay.
Try it out and if works (or doesn't) please let me know. As soon as it seems it is stable I will turn on the auto update notice.
This is mostly the same as the last 3.2 test. Plus a few bugs fixed.
Old samples in this thread:
http://forums.sketchucation.com/viewtopic.php?f=61&t=32200I will make some new ones when I get a chance.
Change log:
http://code.google.com/p/sketchyphysics/wiki/SP32Dec2Chris
-
Chris:
Very Cool Stuff. I'm going to have students in my class start using it when it looks like a few others have succeeded in using 3.2. However, I keep getting a Webdialog is still dirty!!!!!!! message flash to the ruby console often when I make even a minor change to the code changing an if(frame==0) to if(frame==10) for instance. I have noticed and worked around this in the past....you must quit out of sketchup and restart it...but this seems to be more frequent. Any insights. I also will install it on the Mac side (I am running windows in boot camp) and see if it is any different.
Many many many kudos!...later that morning on the apple side of a macbook...
Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize'?????
-
I dont seem to have the problem with the dirty dialog message. Can you give me some steps to reproduce it? Also does it act broken or just display a message?
I'll look into the Mac problem.
-
%(#0040BF)[Error Loading File sketchyphysics.rb
dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find:
/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022]do you know what this means
john
also get this if I attempt to proceed%(#BF0000)[Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize'] -
It could be an issue with my machine so I will get back to you after I have tried an install on a few other machines and then send some examples if it persists. Good luck with the Apple side. I see a confluence of mystical powers to higher math and modeling understanding when you can mix Apple Grapher with SP....(even though I know the original Apple Grapher is now Pacific T. Cheers!
-
@mptak said:
Chris:
Very Cool Stuff. I'm going to have students in my class start using it when it looks like a few others have succeeded in using 3.2. However, I keep getting a Webdialog is still dirty!!!!!!! message flash to the ruby console often when I make even a minor change to the code changing an if(frame==0) to if(frame==10) for instance.
There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.
-
That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it.
@phy said:
@mptak said:
Chris:
There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.
-
@driven said:
%(#0040BF)[Error Loading File sketchyphysics.rb
dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find:
/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022]do you know what this means
john
also get this if I attempt to proceed%(#BF0000)[Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize']Typically this means that the OS attempting to load (dlopen) the dynamic library is not compatible with the library (either architecture or 32-64 bit mismatch).
I need to know what version of OX X you're running. The best bet is 10.6 on a newer intel box but it should work on any intel mac after 10.4 I would think.Please drop me a note with the specifics of your mac or post something here and I'll take a look.
Kevin
-
@cphillips said:
That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it.
I couldn't quite interpret what you mean there. Do you mean you can't reproduce the problem?
If so, add or change some script on a simple model and straightway exit the sketchyphysics inspector.
You see the inspector doesn't make the change to the script until you take the focus off of the text area.
If you x out of the inspector before taking the focus off the text area the webdialog gets dirty.Hope I make sense.
-
Error Loading File sketchyphysics.rb dlopen(/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9); no suitable image found. Did find; /Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib; unknown required load command 0x80000022
-
It looks like right now SketchyPhysics will only work on Mac's running 10.6. We may be able to make a 10.5 version if there is enough demand. Can a few mac users chime in and let me know if you are still using 10.5. Also is anyone using 10.6 getting this error?
Chris
-
Mac OS X 10.5.8
-
Spent a few minutes Christmas morning installing SP3.2 on my triplet nephew's Macbook with SnowLeopard and it worked nicely...I guess it is time to upgrade to snow leopard....Adapt or perish I guess.
-
- New script command setFrameRate overrides physics settings framerate.
Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.
Can you let me know the usage and where to put it.
I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.
Thanks,
Joe
-
I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks
-
@bossdave said:
I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks
There you go http://forums.sketchucation.com/viewtopic.php?f=61&t=33030
webdialogs don't work in wine without this tweak. -
@jblively said:
- New script command setFrameRate overrides physics settings framerate.
Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.
Can you let me know the usage and where to put it.
I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.
Thanks,
Joe
Thats not quite how it works. a frame rate of 5 will make the physics simulation step 5 times before updating the sketchup model. To make it go a little slower you could use a frame rate of 1.
-
I posted a comment
[more particularly a plea for help]
in the newbie forum, yesterday.Grateful for any assistance.
MichaelG.
Update: 01-01-2011
... Having received no response. I finally discovered that my download of SP3.2 was either incomplete or corrupt.
Now, having downloaded a fresh copy, everything seems to work. -
help UI window not working
Postby robint on Mon Jan 03, 2011 8:59 am
ive got su8 latest and sp 3.2 installedwhen I try to inspect joints i get the usual info for a hinge (say). when I try to input say accel or a controller name , it accepts them but doesnt do anything - no slider in the run panel
Ive tried the other tip of clicking on the UI button to exit the UI window to no avail
I saw a tuorial where it said that you can turn a hinge into a reversible motor by putting accel = 1 and giving the controller a name - which is then supposed to bring up a slider in the run panel - i just get a blank.
then i go back and look again and just get blank boxes. only restarting su8 will clear the prob but it comes back if I try to change a parameter
cheers Robin
ps I havent got so excited since I first used SU4 - this could be a wonderful educational tool if physical values could be added to demonstrate newtons laws for example
I made a double pendulum the other day, but as already said, there's lots of real world physical attributes to be addressed (eg mass, density, friction, elasticity etc) but its early days
-
Hi guys
how or where do I post a skp model for discussion
also i cant post a link here?
robin
Advertisement