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

    MSPhysics 1.0.3 (16 October 2017)

    Scheduled Pinned Locked Moved Plugins
    926 Posts 171 Posters 883.2k Views 172 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.
    • A Offline
      Anton_S
      last edited by

      Hello, Bert,

      @delchrys said:

      Ultimately I want an overview of the instalation with a bit of walking around. Then fly in the gripper tool. See it attach to the pipe by closing the gripper and putting in the pin. Then rotating it with the msphysics animation. Then zooming out to overview.

      It can be done with MSPhysics, but it won't be simple. It will require adding scripts and other things... I would suggest you use Animator by Fredo6 for animations and camera transitions. It also allows rendering your animations with Thea Render and some other modern rendering programs, which is what you ultimately want.

      @delchrys said:

      Can I create some more hinges and actions in msphysics. For instance a slider to push the upper pin in and out and another hinge for turning the gripper around the bottom pin?

      Yes!

      @delchrys said:

      This way I must use some of the same hinges for different purposes. Is that even possible? Maybe I can use servo motors. And trigger them by button presses.

      And yes, that is possible. I will upload your model with such features tomorrow.

      Regards,
      Anton

      1 Reply Last reply Reply Quote 0
      • D Offline
        delchrys
        last edited by

        @anton_s said:

        Hello, Bert,

        And yes, that is possible. I will upload your model with such features tomorrow.

        Regards,
        Anton

        Wow, that would be great. I'm still trying to inderstand which of the items should be placed within a group and which ones outside the group. Slowly getting there.

        1 Reply Last reply Reply Quote 0
        • I Offline
          ITman496
          last edited by

          I have not updated this plugin in a very long time, and have recently done so. I have a problem, though. When I click the double back arrow, the model does NOT snap back to its previous state, it acts as if I paused the simulation. I have checked the 'undo on stop' checkbox in the ui, and it does not affect it. What can I do?

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anton_S
            last edited by

            Hello, Daniel,

            I'm currently working on 1.0.0 and it may address this issue. So, you can wait a bit until I release it. But so we're sure it's fixed, I would appreciate if you PM me the model that causes that.

            Regards,
            Anton

            1 Reply Last reply Reply Quote 0
            • I Offline
              ITman496
              last edited by

              it must be some kind of conflict on my end, as every model, even a brand new file, causes it. It appears that msphysics has trouble 'undoing' anything. I reverted to an older version and the reset simulation command works again, but if I have 'hide joints' checked, it hides them, but doesn't unhide them. I'm not sure what could be happening.. If you don't have any ideas, I guess I'll just try to reinstall sketchup / my plugins.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Anton_S
                last edited by

                I think I know what's going on. It could be that when installing MSPhysics some files failed to overwrite. I suggest you delete MSPhysics and AMS Library from the plugins folder and do a fresh install. The details are listed in the main post.

                1 Reply Last reply Reply Quote 0
                • I Offline
                  ITman496
                  last edited by

                  will do! I'll let you know if it works, thank you!

                  Also, question, is there a link to a tutorial on how to script multiple hinges to sort of act on a routine? I am modelling a door mechanism and would like to simulate several servo hinges going to set positions at set times, triggered by an on screen button or a time delay or something.. I've had a read through some of the scripting stuff on the reference pages but its all very confusing..

                  EDIT: I just noticed some new tutorial links on the first post that were not there last time I looked, admittedly a while ago. I will check those out first to see if it helps!

                  EDIT2: they did not. So I would still appreciate help, haha.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Anton_S
                    last edited by

                    Yes, the tutorials are quite weak at the moment. I will focus on tutorials after version 1.0.0 is released.

                    Doors should be the easiest to make. Basically, you attach one Servo joint at where the door's hinge is supposed to be and use the joint connection tool to connect the door to the Servo joint. Then open MSPhysics UI, select the Servo joint, and assign a desired controller to it. To open a door 70 degress with a press of an 's' key, add this command to the controller: key('s') * 70. To open the door with a slider controller, use the "Add Slider Controller" button. You can do other stuff too. I will make a detailed tutorial once I release 1.0.0.

                    You may as well watch this tutorial. It's not what you're looking for, but it will enrich your understanding of MSPhysics and controllers: https://www.youtube.com/watch?v=NLeGfJd8aQg

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ITman496
                      last edited by

                      thank you!

                      Right now my current method is to use a bunch of slide controllers for all the powered elements of the mechanical system. This means having to jump around and move them one by one, and since they tend to appear out of order.. its difficult.

                      My main goal is to make it so I can press one thing, say, the S key, and then trigger a sequence of scheduled events? Like move this servo id from this, to this, then move that piston, then start these two servos to unfold vents.. etc.

                      Again, thank you so much. This plugin has allowed me to evaluate so many mechanical designs in such a short time that its really changing how I do things for the better.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Anton_S
                        last edited by

                        For that you can use wheel with flaps that will each do a particular task when touched. Here is an example gif:
                        Planned Steps.gif

                        I might do a tutorial on it later. But basically, you assign onTouch event to each of the flops with its task, such as setting the arm a particular angle.

                        The example assembly line model is attached below.
                        Planned Steps.skp

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          ITman496
                          last edited by

                          wow, a mechanical scripting system! I had not thought of that at all!

                          I hope one day I can set it up much like I program microcontrollers (eg: at 1000ms, do this, at 1500ms, do this, or when servo1 at 65degrees, move servo2 to 30) but for now this will work great for my purposes. Thank you!

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            Kadri_slhn
                            last edited by

                            Burada soru sorabilirbiyim? Yoksa konu mu açmam gerek. Bu site nedir nasıl kullanılır? Özür dilerim.

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              Just post your question.
                              After a few posts you will be recognized as not being a 'bot'.
                              BUT please post in a language with which users will be familiar.
                              Your Turkish is not often seen...
                              I recommend you use Google Translate into English...


                              Sorunuzu gönderiniz.
                              Birkaç mesajın ardından 'bot' olmadıklarınızın farkına varacaksınız.
                              Ancak lütfen kullanıcılarınıza aşina olacakları bir dilde gönderin.
                              Türkçe çok sık görülmüyor ...
                              Google Translate'i İngilizce'ye kullanmanızı öneririz ...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                faust07
                                last edited by

                                Hi Anton,
                                The last version of MSPhysics is quite accurate. Simple tests with falling objects show that in comparison with previous versions.
                                A little issue in "Export Replay To SkIndigo" (MSPhysics 1.0.0.WIP7) - some components of the scene disappear during and after the export process.
                                They are not deleted, but optically hidden and re-emerge only after the zoom out or the scene change.
                                What is the progress of the final version 1.0.0 of MSPhysics?

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Anton_S
                                  last edited by

                                  @kadri_slhn said:

                                  Burada soru sorabilirbiyim? Yoksa konu mu açmam gerek. Bu site nedir nasıl kullanılır? Özür dilerim.

                                  Hello, Kadri,

                                  This site is for posting MSPhysics questions and other stuff. So, if you have a question you can post it here with a sample model.

                                  Bu site MSPhysics sorularını ve diğer şeyler göndermek içindir. Yani, bir sorunuz varsa burada örnek bir modelle gönderebilirsiniz.

                                  Regards,
                                  Anton

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Anton_S
                                    last edited by

                                    Hi, Faust,

                                    @faust07 said:

                                    A little issue in "Export Replay To SkIndigo" (MSPhysics 1.0.0.WIP7) - some components of the scene disappear during and after the export process.
                                    They are not deleted, but optically hidden and re-emerge only after the zoom out or the scene change

                                    This is probably due to some groups falling too far away from the camera. There may be an object that falls through the floor into infinity. If you search for a falling object, you may very likely find it.

                                    @faust07 said:

                                    What is the progress of the final version 1.0.0 of MSPhysics?

                                    I'm currently improving the algorithm of CurvySlider joint for a more optimal behavior with looped curves. I also need to figure out why long cylindrical rods go crazy when interacting with buoyancy or simply applied an irregular torque. This could be the issue of the physics engine, but I need to verify it before reporting it there. Then, I can't seem to get around on improving the functionality of geared joints with parent bodies. I need to rethink the approach on utilizing geared joints for making differential and other geared systems. I just need to find time to think on it for a bit so it's simple yet powerful. I might as well lay it of to the post 1.0.0 releases. Either way, I intended to release MSPhysics sometime in the beginning of May. That's the story.

                                    Regards,
                                    Anton

                                    1 Reply Last reply Reply Quote 0
                                    • ecatiE Offline
                                      ecati
                                      last edited by

                                      Hi, Anton.
                                      I work on a machine design. As you can see in the attached file, I want to move the pieces. I used the piston and servo. The piston works the way I want it. But I have not been able to rotate all the parts together with the servo. I need your help and your suggestions. Thank you.


                                      makine.jpg


                                      makine.skp

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Anton_S
                                        last edited by

                                        Hello, Ecati,

                                        To rotate everything with the servo joint, you have to move the two hinges and the piston inside the yellow, main body group. That way the hinges and the piston will have a parent body, which will allow them to move relative to it. Also, convex decomposition is not necessary there. When a joint, with a specific parent, is connected to a child body, the child body is by default set to be non-collideable with the parent body.

                                        Here is how your model should ultimately be:
                                        makine.skp

                                        Regards,
                                        Anton

                                        1 Reply Last reply Reply Quote 0
                                        • ecatiE Offline
                                          ecati
                                          last edited by

                                          Hi, Anton,
                                          First of all thank you very much.
                                          I do not want to bother you with such simple questions. But I have not found a tutorial that will answer my questions. If I'm not wrong, you're preparing a tutorial, are not you?
                                          Now, how can I bring the green piston into its original position with a spring after it is pulled out?
                                          Thank you.


                                          makine.jpg

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

                                            I got the worm gear to do it's work quite nicely (MSPhysics & Sketchy). Just making the collision mesh groups is time consuming. I wonder if there exist possibility for something like in Blender & mesh collision option? The collision frame is not so super exact...

                                            WormDriveSimu.gif

                                            GroupsNCompound.png

                                            SketchUp, 3D printing stuff and more:
                                            http://www.youtube.com/user/CinemaTablet

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 31
                                            • 32
                                            • 33
                                            • 34
                                            • 35
                                            • 46
                                            • 47
                                            • 33 / 47
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement