SketchyPhysics3.1Moderator: CPhillips
86 posts
• Page 1 of 3 • 1, 2, 3
SketchyPhysics3.1Here is the long awaited new version of SP. Hopefully this version will be much more stable under SU8.
http://code.google.com/p/sketchyphysics/downloads/list Check out the Release Notes for changes: http://code.google.com/p/sketchyphysics ... seNotes3_1 All the scripted events and commands. This list will get fleshed out over time. http://code.google.com/p/sketchyphysics ... tFunctions Mac version, more docs and examples to follow.... Updated Oct 7 2010 Changes: http://code.google.com/p/sketchyphysics/wiki/SP31Oct7
Re: SketchyPhysics3.1Here is an example of something I just added recently. A script function that allows you to get a point along a Sketchup curve. It can be used for any number of things. In this case I use it to move bodies along a curve.
Re: SketchyPhysics3.1Another curve example. This time the curve is used to set the position (via controller field) of a pair of pistons.
Re: SketchyPhysics3.1This example shows off several features. Embedded sounds, destroying bodies during simulation, logging messages to the screen, camera following a target and lots of ontouch features.
Re: SketchyPhysics3.1Here are some older examples that now work in this official release version.
viewtopic.php?f=61&t=20209&start=0#p168251 viewtopic.php?f=61&t=20209&start=0#p168253 viewtopic.php?f=61&t=20209&start=0#p168254 viewtopic.php?f=61&t=20209&start=0#p168265
Re: SketchyPhysics3.1Thank you! I am a teacher using this for my robotics class. The design abilities and creativity I get to engage my students in is amazing, thanks to you. Much appreciated.
Re: SketchyPhysics3.1How do we go about using the sound function? I tried using the playSound script but it didn't work.
Here's the file, please tell me what's wrong. My WIP Thread:Here
Re: SketchyPhysics3.1
On the self Connecting Joints Example, can you add a name of a slider in there, so there can be a way to control the joints via the control panel? ontouch{|t,s,p| connect(t,"servo") ontouch{} } I didn't see it in this Definition: connect(child,type="ball",min=0,max=0,accel=0,damp=0,breakingForce=0) I'll never draw another dang joint again if this works ![]() Re: SketchyPhysics3.1
It seem you didn't embed the sound, which this function needs because it doesn't play it directly from file, but from embedded sound data. What you do is go to Plugins -> SketchyPhysics -> Sound, and it should open up a simple UI to add/embed sound, and later on don't forget to save your model so the data get's saved with it. Re: SketchyPhysics3.1Turns out the break example will bugsplat SU8. I have a fix but I am going to wait and see if there are any other issues before I release a new version.
Re: SketchyPhysics3.1
Thats a bit harder than it sounds. But I will look into it.
Re: SketchyPhysics3.1
Ah! Turns out to be easier than I thought. This will work in next version:
Re: SketchyPhysics3.1Updated the scripting reference. Not done yet, but more usable now.
http://code.google.com/p/sketchyphysics ... tFunctions
Re: SketchyPhysics3.1Well on the whole this is a very much improved release, K's advice for embedding sounds worked fine and I've also tried out the destroy function, very useful for so many things.
My WIP Thread:Here
Re: SketchyPhysics3.1
Excellent!!!!! Can't Wait ![]() Re: SketchyPhysics3.1
WOW! I know how it's not fun to doc (i've done my share) but I know we all will really appreciate this new format. Very readable and usable! Great Job! Re: SketchyPhysics3.1
The SketchyPhysics google projects pages mention a Sept 30 version http://code.google.com/p/sketchyphysics/w/list but the listing (http://code.google.com/p/sketchyphysics/w/list) only appears to have a Sep 27 version. Is that because you just updated the Sep27 version in place, or am I just having my own comprehension problem? If so, sorry! Jay
Re: SketchyPhysics3.1Wonderful Work !!!
Thank you. the http://forums.sketchucation.com/viewtopic.php?f=61&t=24201#p206890 bug is not fixed yet but it is not that interesting Re: SketchyPhysics3.1New version is up here:
http://code.google.com/p/sketchyphysics/downloads/list Changes: http://code.google.com/p/sketchyphysics/wiki/SP31Oct7 Once a few people verify it works I'll turn on the auto update feature. Update: I have enabled the autoupdate. Hopefully it works. Some of the first few people who downloaded may have to update again as I forgot to change the version.
Re: SketchyPhysics3.1
The auto update worked great. Have A Good Day!
![]() Re: SketchyPhysics3.1
Auto update works like a charm. I have having a bit of troubles with the auto connecting Joints and the Slider. I can get the slider to show up, but I can't get it to react to the slide when I move it. I'm using a motor joint, maybe that's the issue? I've attached a very simple sample, can you see what I might be doing wrong? Here is the joint code I am using: ontouch{|t,s,p| @jnt=connect(t,"motor",0,0,1,0.5) ontouch{} } ontick{ if @jnt!=nil @jnt.controllerValue=slider("motor",0) end } Thanks, Joe
Re: SketchyPhysics3.1
Thanks! Thought I was going a little crazy! Re: SketchyPhysics3.1Hi,
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 0x80000022 Any suggestions? Thanks
86 posts
• Page 1 of 3 • 1, 2, 3
|