SketchyPhysics3.1
-
Here 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/wiki/ReleaseNotes3_1All the scripted events and commands. This list will get fleshed out over time.
http://code.google.com/p/sketchyphysics/wiki/ScriptFunctionsMac version, more docs and examples to follow....
Updated Oct 7 2010
Changes:
http://code.google.com/p/sketchyphysics/wiki/SP31Oct7 -
SWEET!!!!!!!!!
-
is this for SU7 too?
-
Yes it will run under SU7. Just change the location its installed to.
-
Here 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.
-
Another curve example. This time the curve is used to set the position (via controller field) of a pair of pistons.
-
This 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.
-
Here are some older examples that now work in this official release version.
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168251
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168253
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168254
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168265 -
Yipee...Yapee...Yahooeee!
-
Thank 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.
-
Standing by for the mac "version"...
-
How 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.
-
@cphillips said:
Here are some older examples that now work in this official release version.
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168251
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168253
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168254
http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168265On 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
-
@hobbnob said:
How 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.
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. -
Turns 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.
-
@jblively said:
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
Thats a bit harder than it sounds. But I will look into it.
-
@cphillips said:
@jblively said:
I'll never draw another dang joint again if this works
Thats a bit harder than it sounds. But I will look into it.
Ah! Turns out to be easier than I thought. This will work in next version:
!!!Example only. Will not work in Sept 27 version!!! ontouch{|t,s,p| @jnt=connect(t,"servo",0,90) ontouch{} } ontick{ if @jnt!=nil @jnt.controllerValue=slider("position") end }
-
Updated the scripting reference. Not done yet, but more usable now.
http://code.google.com/p/sketchyphysics/wiki/ScriptFunctions
-
Well 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.
-
@cphillips said:
Ah! Turns out to be easier than I thought. This will work in next version:
Excellent!!!!!
Can't Wait
Advertisement