SketchyPhysics working in SU 2013
-
I've been banging on the code recently and I have a partial fix for getting SP to work with SU 2013 (at least on the mac). Up until now running any simulation caused a hard bugsplat.
I've notified Chris of my findings and hopefully he can take a look.
I have a single edit to the Ruby code that I believe allows at least some models to run.
Edit the SketchyPhysicsTool.rb file and comment out this line in the initialize section.
comment out "NewtonServer.newtonCommand("set",key+" "+value.to_s)"This code allows for overrides to the scene globals - defaultobjectdensity, gravity, and worldsize
Try it if you feel like it and let me know what you find.
I'm also working on a fully compliant SU2013 installable version that uses the extension manager.
More to come...Kevin
-
Is there any way for you to change or improve the plug-in? I'm new to sketchup and has no idea about ruby or any other scripts, hope you'll find the best way to continue the unfinished program?...
-
@xgamerx said:
Is there any way for you to change or improve the plug-in? I'm new to sketchup and has no idea about ruby or any other scripts, hope you'll find the best way to continue the unfinished program?...
I did the Macintosh port of Chris's SketchyPhysics plug-in. I have all of the source code for the entire project. My goal for now is to make the plugin function with SU 2013 and with OSX 10.9.
While I'm in the code, I'm looking for opportunities to clean up the C code that is used for the bridge between the Newton Physics engine and SU's ruby. Maybe this will help stability.
I'm also interested to see if I can get a clean build using the Newton2 engine which has been out for some time.
I'll post more as it comes.
As it is, I have a build of SP3.2 that works under SU 2013 on Newton 1. I'm packaging it up as a ruby plug-in that can be installed with the SU2013 plug-in manager. I can probably use some Beta Testers for this real soon.
-
Oh, that sounds good! I'm glad to hear that SketchyPhysics will not die. Perhaps the bann is then taken away from this brilliant Plugin sometime ...
-
That sounds good, I cant wait any longer. By the way thank you for giving us hope and sorry for a late response I've been in school for the pass days.
Keep Believing!
-
I hate to state the obvious here but will these improvements also allow Sketchy Physics to work in Sketchup2014? Either way this is very exciting for we Sketchy Physics die hards.
-
Good day sir, I've been checking up for the latest update hoping to use it. I was just wondering, do you have the SketchyPhysics 3.2 for windows? Because when I tried to install it it says that I was installing 3.1 some says that it was just some typo error, not really sure. Thanks in advance!
-
They are correct it is just a typo.
-
I wish that there would be more physics added, like some waves, rope properties, explosion and even growing and shrinking(that seems too much ) will that's what I hope.
By the way thanks for confirming that it was just some typo.
-
Just chiming in to say I'm thrilled to hear there is work being done on this plugin, many, many thanks!!
-
Thanks of a lot for your efforts !
I can't wait to be able to use this wonderful plugin again sometime soon
(unfortunately I can't be of any help, not knowing anything about programming... sorry) -
@bouleaux said:
Thanks of a lot for your efforts !
I can't wait to be able to use this wonderful plugin again sometime soon
(unfortunately I can't be of any help, not knowing anything about programming... sorry)No one can help if the source is not made available. Why not make it public?
-
yeah I agree but the author might be uncomfortable showing the source code. You can't just go banging down and go messing with the code.
-
I'm not really the owner of the source code. Chris Phillips is.
But I can share the news that we plan on making the source code fully available to the community through GitHub soon. We just have to get it cleaned up and "compilable" so others can use it.
More soon...
-
@willeykj said:
I'm not really the owner of the source code. Chris Phillips is.
But I can share the news that we plan on making the source code fully available to the community through GitHub soon. We just have to get it cleaned up and "compilable" so others can use it.
More soon...
That's great news!
-
That is fantastic news!
-
Sounds good! It's always funny to play with SketchyPhysics. What happened to Chris Phillips?
-
When I try to open SP in SU 2014, I get the following error message. Any direction on what it might take to fix this? Windows 7 OS. Thanks!
I did comment out the "newtonCommand" line referenced, if that makes any difference.
Error Loading File sketchyphysics.rb
Error: #<LoadError: 126: The specified module could not be found. - C:/Users/txcrittr/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/plugins/SketchyPhysics3/dl.so>
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/dl.rb:1:in<top (required)>' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchyPhysics3/newton.rb:5:in
<top (required)>'
C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/sketchyphysics.rb:26:inload' C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/sketchyphysics.rb:26:in
LoadSketchyPhysics3'
C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/sketchyphysics.rb:61:indoLoad' C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/sketchyphysics.rb:137:in
<top (required)>' -
Hi
I'm in the process of doing some internal combustion engine design in SU 2013 on Mac OSX 10.8.5....
So far I'm just using Dynamic Components to animate the moving parts using formulae...it works well, but takes a fair bit of trig to make it work, which can be time consuming and brain-straining...
I stumbled across SketchyPhysics on YouTube, which lead me to this thread...
It seems to me that SP is just what I need to help me quickly animate my moving parts...
williekj: how is the fix for Mac coming along?
Where can I find the beta you mentioned above? I'm keen to give it a try...
Thanks.
-
so... no plugin yet?
Advertisement