sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    SketchyPhysics3.1

    已排程 已置頂 已鎖定 已移動 SketchyPhysics
    85 貼文 37 Posters 70.1k 瀏覽 37 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • J 離線
      jblively
      最後由 編輯

      @cphillips said:

      Updated the scripting reference. Not done yet, but more usable now.

      Link Preview Image
      Google Code Archive - Long-term storage for Google Code Project Hosting.

      favicon

      (code.google.com)

      WOW!

      I know how it's not fun to doc (i've done my share) but I know we all will really appreciate this new format. Very readable and usable! Great Job!

      1 條回覆 最後回覆 回覆 引用 0
      • C 離線
        CPhillips
        最後由 編輯

        Version delayed while I deal with a family issue.

        1 條回覆 最後回覆 回覆 引用 0
        • D 離線
          Davidfi1
          最後由 編輯

          Wonderful Work !!!
          Thank you.

          the http://forums.sketchucation.com/viewtopic.php?f=61&t=24201#p206890 bug is not fixed yet but it is not that interesting

          1 條回覆 最後回覆 回覆 引用 0
          • C 離線
            CPhillips
            最後由 編輯

            New version is up here:
            http://code.google.com/p/sketchyphysics/downloads/list

            Changes:
            http://code.google.com/p/sketchyphysics/wiki/SP31Oct7

            Once a few people verify it works I'll turn on the auto update feature.

            Update:
            I have enabled the autoupdate. Hopefully it works. Some of the first few people who downloaded may have to update again as I forgot to change the version.

            1 條回覆 最後回覆 回覆 引用 0
            • P 離線
              phy
              最後由 編輯

              @cphillips said:

              Update:
              I have enabled the autoupdate. Hopefully it works. Some of the first few people who downloaded may have to update again as I forgot to change the version.

              The auto update worked great.

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

              1 條回覆 最後回覆 回覆 引用 0
              • J 離線
                jblively
                最後由 編輯

                @cphillips said:

                I have enabled the autoupdate. Hopefully it works.

                Auto update works like a charm.

                I have having a bit of troubles with the auto connecting Joints and the Slider. I can get the slider to show up, but I can't get it to react to the slide when I move it. I'm using a motor joint, maybe that's the issue?

                I've attached a very simple sample, can you see what I might be doing wrong?

                Here is the joint code I am using:

                ontouch{|t,s,p|
                @jnt=connect(t,"motor",0,0,1,0.5)
                ontouch{}
                }
                ontick{
                if @jnt!=nil
                @jnt.controllerValue=slider("motor",0)
                end
                }

                Thanks,

                Joe


                gears2.skp

                1 條回覆 最後回覆 回覆 引用 0
                • C 離線
                  CPhillips
                  最後由 編輯

                  Ah, i forgot about the motor joint. Ill fix in next version.

                  1 條回覆 最後回覆 回覆 引用 0
                  • J 離線
                    jblively
                    最後由 編輯

                    @cphillips said:

                    Ah, i forgot about the motor joint. Ill fix in next version.

                    Thanks! Thought I was going a little crazy!

                    1 條回覆 最後回覆 回覆 引用 0
                    • R 離線
                      reddoor
                      最後由 編輯

                      Hi,

                      Just having a little trouble loading this new version on Sketchup 8 Macintosh 10.5.8

                      I get this error on startup:

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

                      Any suggestions?

                      Thanks

                      1 條回覆 最後回覆 回覆 引用 0
                      • S 離線
                        shareck
                        最後由 編輯

                        Hi. Can somebody tell me how to use the camera function? is it possible to achieve the same thing as with the lazy script where you have a box with a camera "attached" to its centre?

                        1 條回覆 最後回覆 回覆 引用 0
                        • W 離線
                          willeykj
                          最後由 編輯

                          @reddoor said:

                          Hi,

                          Just having a little trouble loading this new version on Sketchup 8 Macintosh 10.5.8

                          I get this error on startup:

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

                          Any suggestions?

                          Thanks

                          I'm the developer of the Mac Port of SP3. Are you running on a Mac or a Hackintosh? Which CPU (has to be INTEL).

                          This may be a case of the build being unique to 10.6 but I'm trying to dig in.

                          Kevin

                          1 條回覆 最後回覆 回覆 引用 0
                          • W 離線
                            willeykj
                            最後由 編輯

                            @willeykj said:

                            @reddoor said:

                            Hi,

                            Just having a little trouble loading this new version on Sketchup 8 Macintosh 10.5.8

                            I get this error on startup:

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

                            Any suggestions?

                            Thanks

                            I'm the developer of the Mac Port of SP3. Are you running on a Mac or a Hackintosh? Which CPU (has to be INTEL).

                            This may be a case of the build being unique to 10.6 but I'm trying to dig in.

                            Kevin

                            Just got done working with Chris.
                            The Mac port requires shared libraries for SDL to work just like the PC version.
                            The libraries I generated for Chris last week had unintended linkages to a version of SDL I had installed on my machine.
                            Therefore, if you didn't have SDL installed the libraries in the SketchyPhysics directory didn't work which was the cause of Reddoor's error.

                            SP 3.1 uses the standard SDL library as well as the SDL_mixer extension for audio. On the PC these are 2 separate shared libraries. On the Mac, it didn't seem to make sense to have SDL_mixer statically linked to the complete SDL library if the SDL shared library was going to be needed anyway. All complicated by the fact that the SP3.1 plugin folder isn't a library load directory. SOOOO.....

                            I've compiled a new "SDL_Special.dylib" which has the necessary object code from SDL and SDL_mixer merged. This file is undergoing testing as I type and everything looks good so far. I hope to deliver to Chris later tonight and we'll get past this hiccup with the Mac version

                            Thanks for your patience.

                            Kevin

                            1 條回覆 最後回覆 回覆 引用 0
                            • C 離線
                              CPhillips
                              最後由 編輯

                              I have the updated Mac files now and will release a new version in a few days.

                              Thanks Kevin!!

                              1 條回覆 最後回覆 回覆 引用 0
                              • R 離線
                                reddoor
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • H 離線
                                  hpnisse
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • C 離線
                                    CPhillips
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • H 離線
                                      hpnisse
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • R 離線
                                        reddoor
                                        最後由 編輯

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • W 離線
                                          Wacov
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 0
                                          • C 離線
                                            CPhillips
                                            最後由 編輯

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

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement