sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    SketchyPhysics3.1

    Scheduled Pinned Locked Moved SketchyPhysics
    85 Posts 37 Posters 68.0k Views 37 Watching
    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.
    • R Offline
      reddoor
      last edited by

      Thanks Guys for all your hard work on the code. We Mac users really appreciate it!

      All my students thank you also.

      Reddoor
      Hong Kong

      1 Reply Last reply Reply Quote 0
      • H Offline
        hpnisse
        last edited by

        Hello CPhilips! (or someone else).
        How can I use Velocity & Torque in sketchyphysics 3.1?
        Is it something with, get the speed of a physics joint (hinge/motor for example)?
        Some examples or something will be appreciate.
        Its from this website that you named in this post I find it, but no instructions how to use them.
        http://code.google.com/p/sketchyphysics/wiki/ScriptFunctions

        /hpnisse

        ` /hpnisse`
        ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

        1 Reply Last reply Reply Quote 0
        • C Offline
          CPhillips
          last edited by

          setVelocity takes a vector that is the direction the object will be moving and the length of the vector is how fast. It is different from push because it actually sets the objects velocity rather than just try to push it.

          setTorque does the same thing with the objects rotation.

          I updated the script page on the wiki.

          Example attached


          SetVelAndTorqueExample.skp

          1 Reply Last reply Reply Quote 0
          • H Offline
            hpnisse
            last edited by

            Hey!
            Thanks for fast answer, is it possible to "getTorque/velocity" to know if something is moving in any direction.
            And get the speed of an object, if I will do a speed/RPM -meter?
            /hpnisse

            ` /hpnisse`
            ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

            1 Reply Last reply Reply Quote 0
            • R Offline
              reddoor
              last edited by

              Hi,

              Just wondering if there was any news about the updated, "fixed", mac version?

              I was looking around and I didn't see any new files

              Thanks

              1 Reply Last reply Reply Quote 0
              • W Offline
                Wacov
                last edited by

                @reddoor said:

                Hi,

                Just wondering if there was any news about the updated, "fixed", mac version?

                I was looking around and I didn't see any new files

                Thanks

                Try:
                http://forums.sketchucation.com/viewtopic.php?f=61&t=32200&p=284163#p284163

                http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CPhillips
                  last edited by

                  Yeah 3.2 should work on Mac. I'll do a zip file for it tonight.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    ROVAP
                    last edited by

                    Am I being stupid but could someone put a link directly to the latest MAC version of SP 3.1 or 3.2 what ever is latest. I often read the forums and see Mac version coming then the next posts are of people trying to get Mac version to work. However I never see the link or if there is one it takes you to a PC exe file.

                    Thanks in advance. 😲

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      solodown
                      last edited by

                      @unknownuser said:

                      Error Loading File sketchyphysics.rb
                      dlopen(/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib, 9): no suitable image found. Did find:
                      /Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL.dylib: unknown required load command 0x80000022

                      😢 😢 😢

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cljohnston108
                        last edited by

                        @rovap said:

                        Am I being stupid but could someone put a link directly to the latest MAC version of SP 3.1 or 3.2 what ever is latest. I often read the forums and see Mac version coming then the next posts are of people trying to get Mac version to work. However I never see the link or if there is one it takes you to a PC exe file.

                        Thanks in advance. 😲

                        Good question. I tried downloading SketchyPhysics3RC1-MacAndWin-Fixed.zip off the Wiki front page, but the newest files in there are dated March 26, 2009, so I figured that can't be right.

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          CPhillips
                          last edited by

                          Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cljohnston108
                            last edited by

                            @cphillips said:

                            Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.

                            Coolness! Looking forward to it!

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Davidfi1
                              last edited by

                              Guys
                              Could you please "STICK" this final version on the top of the forum?

                              Thank you all very much.

                              Good work!

                              David.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                arjunmax09
                                last edited by

                                where can i get tutorial for sketchyphysics...maybe a pdf file...??

                                when you fail at something....you haven't really failed...you've found one way the thing will not work out

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cljohnston108
                                  last edited by

                                  @cphillips said:

                                  Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.

                                  Any progress?

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dorritos
                                    last edited by

                                    @cljohnston108 said:

                                    @cphillips said:

                                    Sorry for the late reply. Mac will be supported in the next version. It was supposed to be out last week but I found some problems and havent had a chance to fix them. It should be in a few days.

                                    Any progress?

                                    How 'bout now? 😄

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      CPhillips
                                      last edited by

                                      Sorry, I know I am late with the new version. I have been real busy.

                                      I'll work on this week but no promises.

                                      1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        loolytoo
                                        last edited by

                                        I downloaded the newest version of sketchy physics and installed it. I have sketchup pro 8. When sketch up starts i get the following message

                                        Error Loading File sketchyphysics.rb
                                        undefined method extend_object' for Singleton'

                                        then when i try to download and use a sketchy physics model from wharehouse, they dont work and i get the following message.

                                        Error starting the simulation:uninitialized constant. msketchyphysics 3::SP3xSimulationContext::SP Sounds C:/PROGRA~1/google/GOOGLE~3/plugins/sketchyphysics3/controller commands. Rb:777:in 'initialize'

                                        can anyone help me with how i sort this out?

                                        Lucy

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          CPhillips
                                          last edited by

                                          I have never seen that error before. Best guess something went wrong with the new Midi sound support. What version of windows are you using? Do you have any thing unusual about your sound setup?

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            andy1347
                                            last edited by

                                            Hi,

                                            I get the exact same error as Loolytoo above. The only apparent difference is I am using Windows 7 Pro 64 bit and SU7. I have tried reinstalling SketchyPhysics. When I run a sample model, the Ruby console shows this;

                                            Checking if dueForUpdate
                                            String doesn't compile: uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds#<NameError: uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds>
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in initialize' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:727:in new'
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:727:in initialize' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1623:in new'
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1623:in startphysics' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1650:in physicsTogglePlay'
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1738
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1737:in `call'
                                            C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/SKMtools/image_class.rb:946

                                            Had I made this model myself, I would say it is operator error, but that is not the case.
                                            Could someone shed some light on how to either solve this or work around it so I could try my hand at using this plug-in?

                                            Thanks,

                                            Andy

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

                                            Advertisement