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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • P 離線
      PituPhysics
      最後由 編輯

      For me 63 fps.

      mortar 5.2.skp

      1 條回覆 最後回覆 回覆 引用 0
      • robintR 離線
        robint
        最後由 編輯

        Wow PP that has blown me away, havent looked into detail yet, tomorrow am

        Now could this be mounted on a tank? Forward, left, right track

        Then we could have two or more, multi players

        Tank battle, forests, obstacles, terrain, mines, smoke etc

        Pls assume all rights, I'll be your beta tester and write the manual

        Robin

        Ps I wrote a game like this in BASIC years ago, for four players, it was extemely addictive, hidng under tree cover trying to guess where you opponents were. Each tank had a home base corner and had to return for new ammo and fuel. we spent hours on it

        I turned this into a kids game sliding around on mats on a polished wood floor blindfold, getting coded instruction from their base commanders. They fired foam tennis balls at each other and only had three reserve tanks. Couldn't get them out of the classroom, oh and they had to give their instructions in a foreign language, French German, Italian and swedish - a summer uni job - but the kids loved it

        Robin

        As one door closes another one slams in your face

        1 條回覆 最後回覆 回覆 引用 0
        • robintR 離線
          robint
          最後由 編輯

          Hi PP
          changed the angle so its a cannon 0 - 80deg azimuth control
          just gets better 😄


          mortar 5.3.skp

          As one door closes another one slams in your face

          1 條回覆 最後回覆 回覆 引用 0
          • I 離線
            INVR
            最後由 編輯

            I have a little issue where sometimes when I run the sim (simple hinges) it starts scanning and objects seem to disappear. I can control the camera and see them or half of the object. But it gets worse and worst until I have to reset it. Is there any steps I can take to fix this?

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

              INVR, camera clipping is very like caused by some objects falling down too far away from camera. To fix this, find the objects that fall down non stop and draw a floor below them or set them to ignore if they are not necessary for the simulation. These objects could be hidden groups or hidden layers. So uif you unhinde everything, and run simulation, you should be able to notice which objects do that.

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

                Testing "export replay to images" in SketchUp 2017.
                The result is incomplete images with always the same empty white parts..
                The same happens when using the following line in a MSPhysics script:

                Sketchup.active_model.active_view.write_image("e;/MSPh_Temp/frame_%06d.png" % frame,1600,900,true,1.0)
                

                How should it be right for SUp 2017?

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

                  Hi, Anton. Here I have yet an other question:
                  It would be great if, for example, there would be a mode for the servos to hold the joint exactly at the center of rotation and completely prevent the centrifugal forces and the pulling out of the components involved.
                  In the enclosed example, I have not found any way to keep the outer sections of the wings exactly at the center of rotation of the servos. There always develops a gap between the parts.
                  Have screwed at all settings and nothing was useful.
                  It seems to be a kind of inertia of the outer wing segments, which can not be stopped by reducing weight, gravitation, friction, etc.


                  TestBirdWing0001.gif


                  WingTest-SUp-MSP_01.jpg

                  1 條回覆 最後回覆 回覆 引用 0
                  • luckyvacL 離線
                    luckyvac
                    最後由 編輯

                    Hi Anton, is it possible to control the movement of a servo motor with a function of time. An Excel file ? In the command section can replace the slider by a function of time ( ontick ? ). ... thank you very match.

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

                      Yes, luckyvac, it is possible to control servo angle through a function of time. There are lots of ways it can be done. One way is to simply write a function into the controller section of the the servo. Say, you want to control the angle of the servo, in degrees, with a function f(t) = t*3 + 150.
                      Converting it to ruby and MSPhysics, the code would like like this: world.time * 3 + 150. If you paste this snippet into the controller section of a servo, it will have the servo angle be the value of this function at simulation time, t.

                      1 條回覆 最後回覆 回覆 引用 0
                      • luckyvacL 離線
                        luckyvac
                        最後由 編輯

                        Hello Anton,

                        Thank you for your reply. I will need more knowledge to carry out my project.

                        I am guitarist and I teach guitar accompanying songs.
                        This project aims to realize a tutorial to learn how to play the accompanying guitar and to show that one can realize accompaniments guitar with 5 or 6 rhythmic figures.

                        http://www.luckyanimationspectacle.com/index.asp?pageid=33

                        I used MSPhysics to simulate the movement of the arm and hand of a guitarist holding a pick.
                          He accompanies guitar with a song following the rhythm 1-2-345et.
                        Fig.01 As an attachment. pierrot robo guitar

                        I used 2 servomotors:

                        • one for the forearm which operates the up and down of the forearm.
                        • a second for the descent of the hand.
                          I made a stop-motion video by adjusting the two actuators point by point according to the following diagram:
                          Fig.02 As an attachment 1-2-345et

                        I would like to replace the slider by time functions, point by point (FIG. 2) or FFT.

                        The displacement coordinates of the servomotors are shown in the table in figure 02.
                        You will find the simulation with the <FOREARM> (avant bras ) and <HAND> (main ) slider in my drive and an example video. I chose the refrain of Bob Dylan's "blowin in the wind".
                        Here is the link :
                        https://drive.google.com/open?id=0B00m7nJr8D_qTnRXX3AyeWVyZmc
                        The video tutorial shows the synchronized movement with a rhythmic tablature made with Guitar Pro MIDI (*.gpx, *.mid ). There is no human, just my voice 😉.

                        I thank you for your attention and information you can communicate to me to help me realize my project.

                        Best regards

                        jean-luc alias luckyvac... lucky guitaR


                        perrot robo guitar.png


                        figure 2 _  1-2-345et_ 24 images.jpg

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

                          Anton Awesome Plugin Thanks for the hard work!
                          I add And not to complain but hopefully to help.
                          Platform: Sketchup 2017 on Mac 64 bit
                          Known issues: 1 setting dont get saved in multiple areas for instance in the Joint and Piston Settings: Max and Min wont save always defaults back to -393.7007874, as well as the controller line resets back to default values. Controller name wont transfer over either. In the Servo panel: cannot save custom servo names, Plus Servo Max and MIn wont save either. Just some examples. Hope it helps. -S

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

                            Hello
                            Problem of direction axes
                            Xbox Controller

                            Joystick 🙂 righty) is X-XAXIS position on right stick.???
                            Joystick 🙂 rightx) is axes button LT.????
                            No axes Y-XAXIS right stick.???

                            please.

                            1 條回覆 最後回覆 回覆 引用 0
                            • luckyvacL 離線
                              luckyvac
                              最後由 編輯

                              Great thanks Anton, I wait peacefully while working on other rhythm guitar. 😄

                              1 條回覆 最後回覆 回覆 引用 0
                              • luckyvacL 離線
                                luckyvac
                                最後由 編輯

                                Hello, I would like to know how to increase the damping of the servo motor. Thank you 😄

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

                                  Hi, Luckyvac,

                                  Which of the joints are you referring to, a servo or a motor?

                                  To increase the damping of a motor joint, simply select the desired motor joint, open MSPhysics UI, and increase the Damp parameter.

                                  To increase the damping of a servo joint, that is decrease its angular rate, select the desired servo joint, open MSPhysics UI, and decrease the Angular Rate parameter.

                                  Hope this helps,

                                  Anton

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

                                    @luckyvac My appologies for not responding any sooner. I am a bit busy. In short, it's possible to have the servo angle correspond to the table values at time t. The table with angles and times must be converted to a Ruby Hash and then the rest is easy. I will examine your model in depth soon and we'll see what can be done to get the guitar stringing.


                                    @TheSniper Apparently there were a few reports about the dialog options not working properly on Mac OS X and that's not good. I will check it out soon.


                                    @SynSuka3D The joystick function accepts four symbols and each of them correspond to an axis on one of the joysticks:
                                    joystick(:leftx) returns X position on left stick.
                                    joystick(:lefty) returns Y position on left stick.
                                    joystick(:rightx) returns X position on right stick.
                                    joystick(:righty) returns Y position on right stick.

                                    The position ranges from -1.0 to 1.0.

                                    Here is the documentation link to the function: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/MSPhysics/CommonContext#joystick-instance_method

                                    I suggest you explore the MSPhysics scripting documentation for specs and other functions that might be useful, such as joybutton(button).

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • luckyvacL 離線
                                      luckyvac
                                      最後由 編輯

                                      Hi Anton,
                                      Thank you for your advice it works ... but ... I send you the left hand of the guitarist named "Pierrot".
                                      I feel that the system comes into resonance when I connect several servo motors to each other.
                                      What do you think ? How to decrease the resonance ?

                                      Merci 😉

                                      have a nice week end. 👍

                                      Lucky guitaR


                                      main gauche MOV 03.skp

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

                                        @SynSuka3D Interesting, I will fix this.

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

                                          @anton_s said:

                                          @luckyvac My appologies for not responding any sooner. I am a bit busy. In short, it's possible to have the servo angle correspond to the table values at time t. The table with angles and times must be converted to a Ruby Hash and then the rest is easy. I will examine your model in depth soon and we'll see what can be done to get the guitar stringing.


                                          @TheSniper Apparently there were a few reports about the dialog options not working properly on Mac OS X and that's not good. I will check it out soon.


                                          @SynSuka3D The joystick function accepts four symbols and each of them correspond to an axis on one of the joysticks:
                                          joystick(:leftx) returns X position on left stick.
                                          joystick(:lefty) returns Y position on left stick.
                                          joystick(:rightx) returns X position on right stick.
                                          joystick(:righty) returns Y position on right stick.

                                          The position ranges from -1.0 to 1.0.

                                          Here is the documentation link to the function: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/MSPhysics/CommonContext#joystick-instance_method

                                          I suggest you explore the MSPhysics scripting documentation for specs and other functions that might be useful, such as joybutton(button).

                                          https://youtu.be/b0YBVqUhMdU xbox controller faill script ?

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

                                            Add joystick(:rightz) and joystick(:leftz) for joy(RT) and joy(LT) please.
                                            for xbox controler.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 46
                                            • 47
                                            • 20 / 47
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement