• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

MSPhysics 1.0.3 (16 October 2017)

Scheduled Pinned Locked Moved Plugins
920 Posts 170 Posters 882.9k 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.
  • T Offline
    topdeadcentre
    last edited by 26 Jun 2017, 20:47

    Hello there, I am loving MSPhysics, although I am finding limited tutorials and have gotten stuck trying to make a basic monitor arm (robot arm pretty much) I understand the tools yet I am struggling to understand how to get 2 or more servos on one arm. For instance, I group my first arm to a servo, yet I cannot use the joint connection tool further into that group onto the next arm for it to stay relative to the first arm. below is a file submitted which works perfectly but I am trying to understand how he did this, is it obtainable without scripting?

    here is a working example of what I want to know: https://3dwarehouse.sketchup.com/model/c3eabd528e13297ddf6d65aa66a5c53/Robot-arm

    thank you! ๐Ÿ‘

    1 Reply Last reply Reply Quote 0
    • A Offline
      Anton_S
      last edited by 27 Jun 2017, 04:48

      Hello, Jon,

      The concept of joints in MSPhysics is similar to SketchyPhysics. If you check out YouTube tutorials on joints in SketchyPhysics, same things could be accomplished through MSPhysics in a similar way, just through using MSPhysics tools.

      So, to create a joint that is relative to another group, first, all arms should be top level groups. Then, within the context of each arm, add a joint and connect it to the next arm. Here, I made a quick tutorial on adding joints to a robot arm:

      For the tutorial, I used the latest version of MSPhysics, which I haven't released yet but the way of doing it is not any different from the current version.

      I know MSPhysics lacks the tutorials on many of its features, but that's because it is still under development. Making a tutorial with an unstable version, would make it obsolete when a better, stable, and more user-friendly version of MSPhysics is released; therefore, I want to finish the stable version first before proceeding to tutorials.

      Best regards,
      Anton

      1 Reply Last reply Reply Quote 0
      • T Offline
        topdeadcentre
        last edited by 27 Jun 2017, 16:02

        Amazing reply, thank you so much!

        1 Reply Last reply Reply Quote 0
        • J Offline
          juju
          last edited by 27 Jun 2017, 18:59

          @Anton_S cough cloth cough simulator clears throat

          Save the Earth, it's the only planet with chocolate.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anton_S
            last edited by 27 Jun 2017, 20:05

            Hi, Juju! I started working on Drape a few weeks ago. I first wanted to use NewtonDynamics for cloth but then figured to write my own specific purpose physics engine instead. I already got the cloth working. All I need to do now is add contacts and the user interface. Adding the collision contacts is the hardest part, but I'm researching that.

            1 Reply Last reply Reply Quote 0
            • topic:timeago-later,12 days
            • A Offline
              Anton_S
              last edited by 10 Jul 2017, 04:53

              Announcing MSPhysics 1.0.0!

              This version comes with a significant amount of improvements and a few new features. Main feature is a custom automated transitioning of scenes, which can transition forward, backward, and loop. Here is a model demonstrating it:
              Planned Steps.skp
              A detailed list of other features and bug fixes can be found here: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/file/RubyExtension/MSPhysics/CHANGELOG.md

              This requires installing AMS Library version 3.5.0, which is referenced in first post. If you received development versions of AMS Library, you must upgrade to the latest one.

              Also, you no longer have to bother removing original versions as the overwriting should work fine now.

              I have removed geared joints feature until the next release, as it was the only thing that preventing me from releasing this version.

              And one more thing, models creating with prior MSPhysics version might work differently/be incompatible with this version. Make sure to update your models' physics properties and scripts if necessary.

              1 Reply Last reply Reply Quote 0
              • F Offline
                faust07
                last edited by 11 Jul 2017, 17:16

                Hi Anton, thanks for the great improvements!
                Keyboard navigation and scenes animation are great new features and work very well. It would be great if the scenes excluded from the SketchUp animation are also excluded from MSPhysics (e.g. EDIT scenes or the like).

                For rendering single images, I usually set 30 frames per second. All previous scripts, for example for programmed emitters, refer to this in terms of lifetime. What image rate does MSPhysics use for internal calculation and export, if I want to convert the previous lifetime settings in seconds?

                Adjusting the settings and rewriting the scripts will probably take me a while longer. First small test example see at post "MSPhysics Tests and Questions".

                1 Reply Last reply Reply Quote 0
                • E Offline
                  ecati
                  last edited by 11 Jul 2017, 20:22

                  How to convert a model created with MSPhysics 0.9.9 to 1.0.0.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Anton_S
                    last edited by 11 Jul 2017, 21:05

                    Faust: I fixed it. Update to 1.0.1.


                    Ecati: It depends on a model. If your model is working properly, then there is nothing necessary to update; otherwise, adjust the properties of joints, body properties, like emitters, and scripts (if any). If you have trouble doing so, post a model in "MSPhysics Tests and Questions" thread if you need help.

                    1 Reply Last reply Reply Quote 0
                    • topic:timeago-later,26 days
                    • R Offline
                      rick149
                      last edited by 7 Aug 2017, 01:59

                      Camera Follow Tool: Can I hide the highlighted selection?

                      The Camera Follow and Target tools work by right clicking the required entity as the target to follow during the simulation.

                      The selected item is highlighted in a blue box.

                      .

                      Is there any way to suppress the highlighting while the simulation is running?

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Anton_S
                        last edited by 7 Aug 2017, 05:35

                        Left-click on the sky/background to suppress the highlighting. You can't unfortunately hide the group from the menu though. I should've thought of adding this command.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rick149
                          last edited by 7 Aug 2017, 06:10

                          thanks Anton, that works fine
                          MSPhysics is truly awesome

                          i am keen to learn more about scripts

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jb1016
                            last edited by 13 Aug 2017, 00:02

                            Is there a way to utilize multi core processors with msphysics?

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by 13 Aug 2017, 00:45

                              @jb1016 said:

                              Is there a way to utilize multi core processors with msphysics?

                              Probably not. When I compiled Newton, I disabled multi-threading, due to issues encountered with it. I will try to enable multi-threading in the next release.

                              1 Reply Last reply Reply Quote 0
                              • topic:timeago-later,14 days
                              • E Offline
                                ecati
                                last edited by 26 Aug 2017, 21:01

                                Is it possible to move or rotate a model with a joint connected to it?
                                Please click on the picture.


                                move.gif

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Anton_S
                                  last edited by 27 Aug 2017, 21:38

                                  Making relative joints is easy if you know the concept. Here is how it's done: https://drive.google.com/open?id=0B3qg8f4WrNdHUDJrTUsybmU0NGs

                                  1 Reply Last reply Reply Quote 0
                                  • topic:timeago-later,11 days
                                  • F Offline
                                    faust07
                                    last edited by 7 Sept 2017, 18:06

                                    Hello Anton,
                                    What is to do to get faces (not in a Group), scripted during MSPhysics simulation, handled in MSPhysics Replay?
                                    They are displayed during the simulation and disappear in replay and also in the animation export.
                                    Thank you in advance.

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Anton_S
                                      last edited by 7 Sept 2017, 19:33

                                      Faust, replay doesn't record transformation of vertices. There is nothing you can do with it yet, but is a good request.

                                      1 Reply Last reply Reply Quote 0
                                      • topic:timeago-later,12 days
                                      • R Offline
                                        RobiBue
                                        last edited by 19 Sept 2017, 19:58

                                        I have an odd result with a test I've been trying to get to work:
                                        I have two aluminium pieces, connected through two aluminium bars.
                                        One aluminium piece is static with two hinge joints (each connected to one bar).
                                        One of the hinge joints I have set up as an angular spring to dampen the fall.
                                        The other aluminium piece is connected to two hinge joints, each on the end of the two bars.

                                        My problem is, the system starts to wobble after 10 seconds ๐Ÿ˜ž , and after 30 seconds it spins out of control ๐Ÿ˜ฎ .

                                        what am I doing wrong?

                                        attached is the SU15 model with MSPhysics 1.0.2 and AMS_lib 3.5.2SketchUp 2015 model of MSPhysics hinged test

                                        edit: I wanted to attach a spring (instead of using the angular spring hinge) but I believe that springs are fixed and non-movable) and somehow I can't implement this idea.
                                        with spring.png

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Anton_S
                                          last edited by 20 Sept 2017, 04:43

                                          @robibue said:

                                          My problem is, the system starts to wobble after 10 seconds ๐Ÿ˜ž , and after 30 seconds it spins out of control ๐Ÿ˜ฎ .

                                          what am I doing wrong?

                                          If you set simulation solver model to iterative 64 passes and update timestep to 1/120, the wobbling should be significantly reduced.

                                          @robibue said:

                                          edit: I wanted to attach a spring (instead of using the angular spring hinge) but I believe that springs are fixed and non-movable) and somehow I can't implement this idea.

                                          Don't do that. Spring joints are for linear motion, not for angular. Either use angular spring, or since you want to dampen the whole thing, simply change hinge mode to Angular Friction and increase the friction parameter, to say, 4000000.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 34
                                          • 35
                                          • 36
                                          • 37
                                          • 38
                                          • 45
                                          • 46
                                          • 36 / 46
                                          36 / 46
                                          • First post
                                            712/920
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement