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

    MSPhysics 1.0.3 (16 October 2017)

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

      You nailed on the wish list faust 😉

      1 條回覆 最後回覆 回覆 引用 0
      • F 離線
        faust07
        最後由 編輯

        Please help:
        how can I reach the "self splitting" Method in MSPhysics? The simulation stops with the following error:
        "MSPhysics Simulation has been aborted due to an error!
        MSPhysics::ScriptException: A NoMethodError has occurred while evaluating entity script, line 1:
        undefined method ontouch' for #<MSPhysics::Body:0x11916240> Trace: MSPhysics Script&#058;1:in add_group'
        ..."

        This script works in SketchyPhysics:
        ontouch{
        split(self,2)
        }

        And the next thing is: how do I define paths in MSP analogous to the SP-curve method in the context menu?

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

          These features aren't available in the current version of MSPhysics.

          1 條回覆 最後回覆 回覆 引用 0
          • F 離線
            faust07
            最後由 編輯

            OK, have just read your very long TODO list ... "path follow joint", "advanced explosion function" ... and much more. I wish you 48 hours a day.
            First I thought, MSP is more focused on scientific simulation ( 😞 ), what can be seen at the many metal materials and the many possible fine adjustments. But it is refreshing to experiment with it.
            Now I also read in the FAQ that: "The major aim of MSPhysics is to improve gaming in SketchUp" - Other interesting feelds are physical based simulations and animations of every kind. Nevertheless, I have two more questions: Is there a comparison of differences in script commands between MSP and SP, or is something like that planned for the future? Is there somewhere another forum where MSPhysics issues are discussed?
            It seems that there is a relatively small interest in this forum.

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

              Faust, once it gets to version 1.0, a list of comparable functions between SP and MSP would be added, as well as, potential SP compatibility. There is no other forum yet either. Once all the features, including soft bodies, are added and a high quality demonstration of an FPS game or something else is made, this project might gain more interests, but for now it's in development.

              1 條回覆 最後回覆 回覆 引用 0
              • E 離線
                erichokk
                最後由 編輯

                Hi Anton,

                In Sketchyphysics there is a "controller" dialog box when simulation is runnging, which has a slider to control each individual servo. Is there anything similar in the MSphysics?

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

                  Version 0.5.0 has been released!
                  Update change log: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/CHANGELOG.md
                  Download available in first post.

                  1 條回覆 最後回覆 回覆 引用 0
                  • F 離線
                    faust07
                    最後由 編輯

                    Great news, Anton. Short question: I want this Topic not bloat with simple examples and tests. Should I better open a new topic as entitled "MSPhysics examples and tests"?

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

                      Hello,

                      Does this work on SU 2016 64bit ?

                      Thanks

                      1 條回覆 最後回覆 回覆 引用 0
                      • G 離線
                        gepponline77
                        最後由 編輯

                        Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.

                        If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
                        So, how to move an object connected to a servo joint?

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

                          @gepponline77 said:

                          Hi, I'm just trying it on SU2016 make. It all seems to work but i cannot understand how to use piston or servo motor or motor.

                          If i press UI button i expect a window with interactive controller to appear but it's not, or better, a window appear, with many tabs, but the joint tab is empty when in play mode.
                          So, how to move an object connected to a servo joint?

                          • Drawing 1 group.
                          • Create a Joint.
                          • Select the "Joint Connection Tool" (red/green, rotary arrows)
                          • Click onto group
                          • Hold the left Ctrl / Shift
                          • Click onto Joint
                          • Done!

                          /OR/

                          • Drawing 2 group.
                          • Click on one of them. Be it an "A".
                          • Create a Joint on "A" group.
                          • Show UI, Remove the check mark from the "Connected Collide" check box.
                          • Controller:
                          righty * 10 /OR/ rightx * 10 for right arrows. 10 is the velocity.
                          key('up') /// key('down') /// key('left') /// key('right')
                          
                          lefty /OR/ leftx for WASD
                          
                          key('w') * 10 for "W" button on keyboard
                          
                          key('lbutton') for left click on mouse ( lbutton, mbutton, rbutton )
                          
                          get_var('variable') for script.
                          
                          
                          • Select "A" group and joint. (Hold the left Ctrl OR Shift)
                          • Right click / Make Group
                          • Select "Joint Connection Tool"
                          • Select "B" group
                          • Hold the left Ctrl OR Shift and click onto Joints.
                          • Done!

                          Not complicated.

                          1 條回覆 最後回覆 回覆 引用 0
                          • G 離線
                            gepponline77
                            最後由 編輯

                            Maybe I didn't explain well my problem.

                            I know how to use joints!
                            The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.

                            If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
                            With MS, nothing appear and i can't move my object

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

                              @gepponline77 said:

                              Maybe I didn't explain well my problem.

                              I know how to use joints!
                              The problem is that if use hinge, or motor or slider, all work well. I simply have to drag my object to move it.

                              If i use piston or servo, in Sketchyphysiscs, when i press play, a popu control panel with a slider appear and it allow me to mov emy object.
                              With MS, nothing appear and i can't move my object

                              I'm sorry, I misunderstood. In the MSPhysics at present there is no "Controller Panel".
                              Anton is likely to put into it as well. For the time being, you can control the keyboard.

                              1 條回覆 最後回覆 回覆 引用 0
                              • soloS 離線
                                solo
                                最後由 編輯

                                @sekramer10 said:

                                Hello,

                                Does this work on SU 2016 64bit ?

                                Thanks

                                From the requirements section of the website:
                                http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/README.md

                                SketchUp 6 or later. SU2016 64bit is recommended!

                                http://www.solos-art.com

                                If you see a toilet in your dreams do not use it.

                                1 條回覆 最後回覆 回覆 引用 0
                                • G 離線
                                  gepponline77
                                  最後由 編輯

                                  @pituphysics said:

                                  For the time being, you can control the keyboard.

                                  Could you please explain me how?
                                  For example, if i place a servo joint connected to an object, what should I do to move that object in play mode?

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

                                    @gepponline77 said:

                                    Could you please explain me how?
                                    For example, if i place a servo joint connected to an object, what should I do to move that object in play mode?

                                    Write this codes into Joint / "Controller":

                                    
                                    rightx         Left - right arrows
                                    righty         Up - down arrows
                                    
                                    leftx          A - D
                                    lefty          W - S
                                    
                                    key('1')       0-9
                                    key('a')       A-Z keys
                                    key('enter')   All the Windows function keys. (lctrl, rctrl, space, backspace, etc...)
                                    key('numpad1') 0-9 Right numpad keys
                                    key('+')       Numpad operations (+, -, *, /)
                                    
                                    key('lbutton') Mouse keys (mbutton, rbutton, xbutton1, xbutton2)
                                    
                                    get_var('variable')   ... for script.
                                    
                                    
                                    1 條回覆 最後回覆 回覆 引用 0
                                    • G 離線
                                      gepponline77
                                      最後由 編輯

                                      Sorry but for me is really unclear.
                                      What should i have to write?
                                      Controller field is a single line field.
                                      So eventually i can insert only a row of what you have write above.
                                      I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                      Of course is my fault.
                                      But could you gave mme an example step by step of using a piston joint?

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

                                        @gepponline77 said:

                                        Sorry but for me is really unclear.
                                        What should i have to write?
                                        Controller field is a single line field.
                                        So eventually i can insert only a row of what you have write above.
                                        I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                        Of course is my fault.
                                        But could you gave mme an example step by step of using a piston joint?

                                        I made an test model: piston test.skp

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

                                          @pituphysics said:

                                          @gepponline77 said:

                                          Sorry but for me is really unclear.
                                          What should i have to write?
                                          Controller field is a single line field.
                                          So eventually i can insert only a row of what you have write above.
                                          I paste "rightx Left - right arrows" in the controller field, press the play button and press left and right arrow but nothing happen.
                                          Of course is my fault.
                                          But could you gave mme an example step by step of using a piston joint?

                                          I made an test model: [attachment=0:1hwdkrag]<!-- ia0 -->piston test.skp<!-- ia0 -->[/attachment:1hwdkrag]

                                          Succeeded solve?

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • F 離線
                                            faust07
                                            最後由 編輯

                                            Very good example and important notes above. It works.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 46
                                            • 47
                                            • 26 / 47
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement