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

    SketchyPhysics 3.5.6 (26 January 2015)

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

      Okay, I reverted some replay changes. Please test with LightUp and Skindigo. Tell me how it goes.
      Edit: Link removed. Download from top.

      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        Anton_S
        最後由 編輯

        Okay, I fixed it. Although current version of Indigo has a little bug.
        Keep in mind SkIndigo 3.6.28.3 has a little bug. Please follow these steps to fix it:

        1. Open Plugins/skindigo/AnimationExport.rb.
        2. Scroll down to line 369 and replace mb.build_active_mesh(ents) with mb.build_active_mesh(ents, {})
        3. Save file and you're good to go.
          I reported an error to SkIndigo support.

        Download latest version from top.

        I also finished a little SP script reference doc : http://sketchyphysics.wikia.com/wiki/Script_Overview

        1 條回覆 最後回覆 回覆 引用 0
        • cottyC 離線
          cotty
          最後由 編輯

          I've searched for that line in the current version 3.8.9.1 but the line (406) is marked as a comment...

          my SketchUp gallery

          1 條回覆 最後回覆 回覆 引用 0
          • A 離線
            Anton_S
            最後由 編輯

            I was speaking of 3.6.28.3 (as it shows up on SkIndigo website), but downloading the latest version 3.8.9.1 I find there a different bug, even if I try exporting from old SP versions. These guys need to test things before they upload it...

            I will send an error message to them for this version as well. Yet, I can't fix it, as there are too much errors. Use version 3.6.28.3 with the fix I provided in the first post. Otherwise, you'll have to wait till they fix it.

            1 條回覆 最後回覆 回覆 引用 0
            • AdamBA 離線
              AdamB
              最後由 編輯

              Hi,

              As Pilou says, the playback works, but running the Physics while in LightUp no longer works which is a pity.

              Its not that LU is not picking up the changes in transforms - its that SP appears to terminate TourTool now - whereas before it didn't touch the current selected Tool.

              Does that ring any bells in the changes you've made recently?

              Adam

              Developer of LightUp Click for website

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

                You're a genius, Anton! You should consider collaborating with the guys from Indigo/Skindigo 😄

                1 條回覆 最後回覆 回覆 引用 0
                • A 離線
                  Anton_S
                  最後由 編輯

                  @Adam All SketchyPhysics3 versions used a select_tool when simulation start, which terminates all other running tools. If you don't think so, you can download SP3.2 (the official release) on SU8 for instance and see it yourself. Start lightup and press physics toggle play button. LightUp will reset...

                  Use SP Replay as it was made for such purpose, I think. I don't know why you were assuming SP toggle play button worked with LightUp as it never worked with any versions of SP3. Maybe because SP1 or SP2 worked that way, I don't know.

                  Edit: Mayby I'm starting LightUp wrong, or I have to do it the other way around. If so, please explain how.

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

                    First of all I want to thank you, Anton, for this great update! Finally someone who takes care of this awesome plugin. 😄

                    I don't remember if previous versions of SP also showed this behaviour: Positive values for the blue axis (e.g. a piston slider) move things down, in negative direction, whereas positiv values for the green or red axis move things in positiv direction. This irritates me. A bug?

                    The other issue I want to address are units. I always use metric units but SP converts them in imperial. For instance, when I position a piston and give it a length of 100 mm (by typing 100 a hitting enter while drawing) the UI max box shows a value of 3.93... which are inches. When I type 100 into the max field, the piston moves 100 inches, not millimeter. I would appreciate it a lot if SP used the units as set in the model settings window. Actually all boxes in the UI should be labeled with the unit expected (the unit set in the model settings). For example, what's the unit of density? What's the angle unit? Radian or degree? And Strength? This would make things a lot easier.

                    1 條回覆 最後回覆 回覆 引用 0
                    • A 離線
                      Anton_S
                      最後由 編輯

                      @platinius said:

                      I don't remember if previous versions of SP also showed this behaviour: Positive values for the blue axis (e.g. a piston slider) move things down, in negative direction, whereas positiv values for the green or red axis move things in positiv direction. This irritates me. A bug?

                      Can you show an example, I can't reproduce this.

                      @platinius said:

                      The other issue I want to address are units. I always use metric units but SP converts them in imperial. For instance, when I position a piston and give it a length of 100 mm (by typing 100 a hitting enter while drawing) the UI max box shows a value of 3.93... which are inches. When I type 100 into the max field, the piston moves 100 inches, not millimeter. I would appreciate it a lot if SP used the units as set in the model settings window. Actually all boxes in the UI should be labeled with the unit expected (the unit set in the model settings). For example, what's the unit of density? What's the angle unit? Radian or degree? And Strength? This would make things a lot easier.

                      I can't change it because it could break compatibility with prior models, but I can make it to evaluate everything in the control box. For example, if you write 100mm it will turn it to 3.93.

                      Hinge min max values are in degrees. Density and strength is undetermined, it very complicated as SP bases everything on world scale. The default world scale is 9. This means all objects are assumed 9 times bigger or smaller (i cant recall), which as of results yields different volume, and mass. The volume is assumed in inches, thus the mass should be in volume_in_inches*density, where density depends on user input. Stuff are relative in SP.

                      1 條回覆 最後回覆 回覆 引用 0
                      • ashscottA 離線
                        ashscott
                        最後由 編輯

                        This is such awesome news! Can't wait to dig into it!

                        Just some stuff I do with Sketchup.

                        1 條回覆 最後回覆 回覆 引用 0
                        • cottyC 離線
                          cotty
                          最後由 編輯

                          @anton_s said:

                          I will send an error message to them for this version as well. Yet, I can't fix it, as there are too much errors. Use version 3.6.28.3 with the fix I provided in the first post. Otherwise, you'll have to wait till they fix it.

                          A new version is out and the changelog says: "Fixing up SketchPhysics export" (not tested).

                          my SketchUp gallery

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

                            @unknownuser said:

                            Can you show an example, I can't reproduce this.

                            I'm sorry about that, it seems I didn't try enough. There is no difference between the axes. It irritated me that the moving direction of a piston or slider is opposite to the direction I choose with the mouse when positioning. For example, if I put a slider joint on the corner of a box and drag the mouse to the positive green direction it will move only to the negative direction.

                            @unknownuser said:

                            I can't change it because it could break compatibility with prior models, but I can make it to evaluate everything in the control box. For example, if you write 100mm it will turn it to 3.93.

                            Maybe this would help a little bit. To put the units besides the input boxes would be great and help people also. Maybe you know that a Mars orbiter crashed in 1999 due to falsely used units. I assume no one uses SP to constructed actually flying space ships, still it feels good to know what units one uses. 😉

                            I found this thread which gives some information about units in SP:
                            http://sketchucation.com/forums/viewtopic.php?f=61%26amp;t=53209

                            A world scale factor of 1.0 and gravity of 9.81 (m/s²) seems to be suitable if using metric units.

                            Maybe this thread is of interest for you also. Looks like SP's author asked this question:
                            http://newtondynamics.com/forum/viewtopic.php?f=9%26amp;t=4684

                            1 條回覆 最後回覆 回覆 引用 0
                            • A 離線
                              Anton_S
                              最後由 編輯

                              To make the mouse control desired, simply multiply the whole controller by a negative sign.

                              I will add a list-box from which you could choose the type of limits angle/length.

                              1 條回覆 最後回覆 回覆 引用 0
                              • A 離線
                                Anton_S
                                最後由 編輯

                                @cotty said:

                                A new version is out and the changelog says: "Fixing up SketchPhysics export" (not tested).

                                Cheers!

                                It exports without problems, although the error comes when try to run the exported animation in Indigo render 3.6.28. Maybe I should download Indigo 3.8.x which is not available yet?

                                1 條回覆 最後回覆 回覆 引用 0
                                • cottyC 離線
                                  cotty
                                  最後由 編輯

                                  @anton_s said:

                                  Maybe I should download Indigo 3.8.x which is not available yet?

                                  You'll find the newest beta in the forum: http://www.indigorenderer.com/forum/viewtopic.php?f=1%26amp;t=13252

                                  my SketchUp gallery

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • T 離線
                                    Trobius
                                    最後由 編輯

                                    Hi there! I've been an on and off user of sketchyphysics since 2.0.

                                    Would it be possible to create a way to get an emitted object's lifetime? I know about the setLifetime function, but is there a similar "getLifetime?"

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • A 離線
                                      Anton_S
                                      最後由 編輯

                                      Hello, William!

                                      Yes, SP doesn't have these methods. The API is quite incomplete.
                                      I just added getLifetime, getLifeStart, and getLifeEnd.

                                      Is there any other getter or setter functions you think shall be added before I post an update? Sorry, I can't think of any myself.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • ashscottA 離線
                                        ashscott
                                        最後由 編輯

                                        You're a champ Anton, your efforts are very much appreciated.

                                        Wish I had time to get back to some of the SP work I was doing earlier.

                                        If anyone wants SP inspiration, check this model out: https://3dwarehouse.sketchup.com/model.html?id=5b618d4ba6c22ca85fd35d52fb19ea9b

                                        In fact, all of Phonic's work is pretty amazing: https://3dwarehouse.sketchup.com/user.html?id=0127263341868366760323686

                                        Just some stuff I do with Sketchup.

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • A 離線
                                          Anton_S
                                          最後由 編輯

                                          Thanks, Ash.

                                          Lately, I haven't created any SP either. I suppose, that is because I kinda lost passion in it.

                                          Phoenix is a good SP modeler. He's sharing some great stuff! 👍

                                          Mr.K made some amazing things too. For instance, take a look at the Blue vs Red. You control the bot to get across the puzzle. It may appear mind boggling at first, but you'll get it mastered after some experience.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • ashscottA 離線
                                            ashscott
                                            最後由 編輯

                                            Have you had any interaction with Phonic? I couldn't get a response when I tried some years ago - I wondered if he was only mandarin speaking.

                                            Just some stuff I do with Sketchup.

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

                                            Advertisement