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

    SketchyPhysics3.2 (Dec 2)

    Scheduled Pinned Locked Moved SketchyPhysics
    55 Posts 23 Posters 20.7k Views 23 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.
    • P Offline
      phy
      last edited by

      @mptak said:

      Chris:

      Very Cool Stuff. I'm going to have students in my class start using it when it looks like a few others have succeeded in using 3.2. However, I keep getting a Webdialog is still dirty!!!!!!! message flash to the ruby console often when I make even a minor change to the code changing an if(frame==0) to if(frame==10) for instance.

      There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.

      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

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

        That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it.

        @phy said:

        @mptak said:

        Chris:

        There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.

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

          @driven said:

          %(#0040BF)[Error Loading File sketchyphysics.rb
          dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find:
          /Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022]

          do you know what this means

          john
          also get this if I attempt to proceed

          %(#BF0000)[Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds
          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize']

          Typically this means that the OS attempting to load (dlopen) the dynamic library is not compatible with the library (either architecture or 32-64 bit mismatch).
          I need to know what version of OX X you're running. The best bet is 10.6 on a newer intel box but it should work on any intel mac after 10.4 I would think.

          Please drop me a note with the specifics of your mac or post something here and I'll take a look.

          Kevin

          1 Reply Last reply Reply Quote 0
          • P Offline
            phy
            last edited by

            @cphillips said:

            That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it.

            I couldn't quite interpret what you mean there. Do you mean you can't reproduce the problem?

            If so, add or change some script on a simple model and straightway exit the sketchyphysics inspector.

            You see the inspector doesn't make the change to the script until you take the focus off of the text area.
            If you x out of the inspector before taking the focus off the text area the webdialog gets dirty.

            Hope I make sense.

            Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

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

              Error Loading File sketchyphysics.rb
              dlopen(/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9); no suitable image found.  Did find;
              	/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib; unknown required load command 0x80000022
              
              1 Reply Last reply Reply Quote 0
              • C Offline
                CPhillips
                last edited by

                It looks like right now SketchyPhysics will only work on Mac's running 10.6. We may be able to make a 10.5 version if there is enough demand. Can a few mac users chime in and let me know if you are still using 10.5. Also is anyone using 10.6 getting this error?

                Chris

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

                  Mac OS X 10.5.8

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mptak
                    last edited by

                    Spent a few minutes Christmas morning installing SP3.2 on my triplet nephew's Macbook with SnowLeopard and it worked nicely...I guess it is time to upgrade to snow leopard....Adapt or perish I guess.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jblively
                      last edited by

                      • New script command setFrameRate overrides physics settings framerate.

                      Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.

                      Can you let me know the usage and where to put it.

                      I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.

                      Thanks,

                      Joe

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bossdave
                        last edited by

                        I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          phy
                          last edited by

                          @bossdave said:

                          I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks

                          There you go http://forums.sketchucation.com/viewtopic.php?f=61&t=33030
                          webdialogs don't work in wine without this tweak.

                          Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

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

                            @jblively said:

                            • New script command setFrameRate overrides physics settings framerate.

                            Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.

                            Can you let me know the usage and where to put it.

                            I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.

                            Thanks,

                            Joe

                            Thats not quite how it works. a frame rate of 5 will make the physics simulation step 5 times before updating the sketchup model. To make it go a little slower you could use a frame rate of 1.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              MichaelG.1
                              last edited by

                              I posted a comment
                              [more particularly a plea for help]
                              in the newbie forum, yesterday.

                              Grateful for any assistance.

                              MichaelG.

                              Update: 01-01-2011
                              ... Having received no response. I finally discovered that my download of SP3.2 was either incomplete or corrupt.
                              Now, having downloaded a fresh copy, everything seems to work.

                              1 Reply Last reply Reply Quote 0
                              • robintR Offline
                                robint
                                last edited by

                                help UI window not working

                                Postby robint on Mon Jan 03, 2011 8:59 am
                                ive got su8 latest and sp 3.2 installed

                                when I try to inspect joints i get the usual info for a hinge (say). when I try to input say accel or a controller name , it accepts them but doesnt do anything - no slider in the run panel

                                Ive tried the other tip of clicking on the UI button to exit the UI window to no avail

                                I saw a tuorial where it said that you can turn a hinge into a reversible motor by putting accel = 1 and giving the controller a name - which is then supposed to bring up a slider in the run panel - i just get a blank.

                                then i go back and look again and just get blank boxes. only restarting su8 will clear the prob but it comes back if I try to change a parameter

                                cheers Robin

                                ps I havent got so excited since I first used SU4 - this could be a wonderful educational tool if physical values could be added to demonstrate newtons laws for example

                                I made a double pendulum the other day, but as already said, there's lots of real world physical attributes to be addressed (eg mass, density, friction, elasticity etc) but its early days

                                As one door closes another one slams in your face

                                1 Reply Last reply Reply Quote 0
                                • robintR Offline
                                  robint
                                  last edited by

                                  Hi guys

                                  how or where do I post a skp model for discussion

                                  also i cant post a link here?

                                  robin

                                  As one door closes another one slams in your face

                                  1 Reply Last reply Reply Quote 0
                                  • robintR Offline
                                    robint
                                    last edited by

                                    This site seems to be moribund, not a lot happening?

                                    Anyway Ive solved the UI problem

                                    so all working ok now

                                    As one door closes another one slams in your face

                                    1 Reply Last reply Reply Quote 0
                                    • robintR Offline
                                      robint
                                      last edited by

                                      here my 2c worth for sp 3.2

                                      if you want to make a reversible motor joint, use the hinge (as per sp2) and set the controller blue box to

                                      quote slider ( 'anyname' )

                                      you can see the same construction using the motor joint

                                      wish I didnt have to waste hours getting to this point.

                                      Also

                                      to make magnetic solids work you need to set the ui box status to magnetic
                                      and the magnetic force to a large value eg +- 1000

                                      not obvious is it?

                                      I wonder whether its worth contributing to a wikimanual at5 this stage if thereis going to be an sp4 completely recoded?

                                      Robin

                                      As one door closes another one slams in your face

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jblively
                                        last edited by

                                        @robint said:

                                        to make magnetic solids work you need to set the ui box status to magnetic
                                        and the magnetic force to a large value eg +- 1000

                                        I do believe that magnetic force is also affected by mass and scale. So if the model is very large, you'll need a larger value for magnetic force. If you have a small scale model, you can use a magnetic force of as little as 10 to see results.

                                        There is so much involved in SP, more documentation would be nice, but i'm just glad we have people here we can chat with who want to help!

                                        1 Reply Last reply Reply Quote 0
                                        • pilouP Offline
                                          pilou
                                          last edited by

                                          Does this vervion can works on the V6?

                                          Frenchy Pilou
                                          Is beautiful that please without concept!
                                          My Little site :)

                                          1 Reply Last reply Reply Quote 0
                                          • robintR Offline
                                            robint
                                            last edited by

                                            Hi JB

                                            good point

                                            afik though there is a density coeff, I dont know how well it correlates to the mass of an object?
                                            the apparent mass i governed by the size of the collision shape as set in the rt click physics setting

                                            havent figured this tiresome details out yet

                                            I have a number of cu4rious physical models i would like to post for discussion (eg double pendulums etc) but havent yet found a way to post these little experiments.

                                            It seems daft that one cant attach these on this forum - severly limiting

                                            Any ideas?

                                            As one door closes another one slams in your face

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

                                            Advertisement