• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

SketchyPhysics working in SU 2013

Scheduled Pinned Locked Moved SketchyPhysics
24 Posts 14 Posters 14.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    willeykj
    last edited by 28 Dec 2013, 04:36

    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

    1 Reply Last reply Reply Quote 0
    • X Offline
      xgamerx
      last edited by 1 Jan 2014, 15:57

      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?... πŸ˜„

      1 Reply Last reply Reply Quote 0
      • W Offline
        willeykj
        last edited by 3 Jan 2014, 02:56

        @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.

        1 Reply Last reply Reply Quote 0
        • F Offline
          faust07
          last edited by 4 Jan 2014, 22:07

          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 ... πŸ‘

          1 Reply Last reply Reply Quote 0
          • X Offline
            xgamerx
            last edited by 9 Jan 2014, 10:57

            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! πŸ˜‰

            1 Reply Last reply Reply Quote 0
            • M Offline
              mptak
              last edited by 9 Jan 2014, 14:15

              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.

              1 Reply Last reply Reply Quote 0
              • X Offline
                xgamerx
                last edited by 10 Jan 2014, 11:43

                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! πŸ’š

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mptak
                  last edited by 10 Jan 2014, 14:05

                  They are correct it is just a typo.

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xgamerx
                    last edited by 11 Jan 2014, 01:36

                    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.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tyson
                      last edited by 16 Jan 2014, 15:59

                      Just chiming in to say I'm thrilled to hear there is work being done on this plugin, many, many thanks!!

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bouleaux
                        last edited by 17 Jan 2014, 17:45

                        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)

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jim
                          last edited by 18 Jan 2014, 00:01

                          @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?

                          Hi

                          1 Reply Last reply Reply Quote 0
                          • X Offline
                            xgamerx
                            last edited by 27 Jan 2014, 21:04

                            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.

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              willeykj
                              last edited by 7 Mar 2014, 01:48

                              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...

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Jim
                                last edited by 7 Mar 2014, 02:02

                                @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!

                                Hi

                                1 Reply Last reply Reply Quote 0
                                • ashscottA Offline
                                  ashscott
                                  last edited by 11 Mar 2014, 09:02

                                  That is fantastic news!

                                  Just some stuff I do with Sketchup.

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    faust07
                                    last edited by 11 Mar 2014, 09:22

                                    Sounds good! It's always funny to play with SketchyPhysics. What happened to Chris Phillips?

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      txcrittr
                                      last edited by 30 Mar 2014, 03:20

                                      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:in require' 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:in require' 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:in load' 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:in doLoad' C:/Users/Vicki/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/sketchyphysics.rb:137:in <top (required)>'

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        ciscan81
                                        last edited by 13 Apr 2014, 01:24

                                        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.

                                        1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          VimanaTech
                                          last edited by 1 May 2014, 03:56

                                          so... no plugin yet?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement