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.1k 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.
    • F Offline
      faust07
      last edited by

      Thanks, Anton for the explanations.
      The Indigo renderer update/halt time difference seems not to be a MSP or hardware problem. I've tested it with different model sizes on different machines. I'll try to ask this in the Indigo forum. In the SkIndigo Render Settings one can set the halt time a few seconds longer than the before tested update time and all is fine.

      The incomplete results of the view.write_image function in SketchUp 2017 I will report in the SketchUp Community Forum.

      I hope my problems with Servos I can demonstrate in the following examples more dramatically. A mode to hold connected objects in the pivot position would be fine.

      The tests with the Update Rate I did only to improve that. No need to change the oscillator script. For non real time simulations (large models with much MSP-objects) the oscillators based on frames are better than based on world time. (on the end the film with 30 frames per second brings the "real time" feeling).


      ServoTest_07.gif


      Servo-Test_06s_0107.png


      Servo-Test_06s.skp

      1 Reply Last reply Reply Quote 0
      • S Offline
        SynSuka3D
        last edited by

        Final base

        Link Preview Image
        3D Warehouse

        3D Warehouse is a website of searchable, pre-made 3D models that works seamlessly with SketchUp.

        favicon

        (3dwarehouse.sketchup.com)

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

          Another problem with a servo and a non-collision object. After the fall of the candle a strange behavior of the flame arises. Collision, gravitation, etc. do not seem to be completely canceled. The joint oscillates in high frequency, which can even lead to a crash. What can I do?


          ServoTest_08.gif


          Noncollision-Test_02.skp

          1 Reply Last reply Reply Quote 0
          • luckyvacL Offline
            luckyvac
            last edited by

            Hi Anton,
            Thank you for your reply. Since I am French I do not speak English well.

            I did not understand everything ... the hand is unstable ?

            https://www.youtube.com/watch?v=uJerEEx-btw
            funny ? ๐Ÿ˜‰

            I do not find ๐Ÿ˜„ She works well my hand ๐Ÿ˜‰. I like sketchup + msphysic because I understand what I do. Other software is too complicated for me. You will have time for: "The table with angles and times must be converted to a Ruby Hash".

            At the moment I try this function of time:


            ft = 9,75 -7,91cos(6,28world.time) -0,88cos(18,84world.time)
            -0,32cos(31,4world.time) -0,16cos(43,96world.time) -5,27sin(3,14world.time)


            Here is the Fourier series that works ๐Ÿ˜„ youpi !
            -9.75+7.91Math.cos(6.28world.time)+0.88Math.cos(18.84world.time)+0.32Math.cos(31.4world.time)+0.16Math.cos(43.96world.time)+5.27Math.sin(3.14world.time)


            it does not work. What to do? thank you

            Thank you very much, Best regards.
            luckyvac

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

              @faust07 said:

              Another problem with a servo and a non-collision object. After the fall of the candle a strange behavior of the flame arises. Collision, gravitation, etc. do not seem to be completely canceled. The joint oscillates in high frequency, which can even lead to a crash. What can I do?

              Poorly connected the groups together. I added "Ball and Socket" joint in a new group, and a new "Up vector" to green axis. This disables the rotation.

              Try it now: Test_03.skp

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

                Hello, luckyvac,

                I added a small script to your guitar to play the sound and control arm/wrist movements based on the table of values you provided in your earlier post. It turns out, it works very well! Great job with getting those angle values! It must have taken you a lot of time. You can download your attached model below.

                When I said the hand was too unstable, I meant the MSPhysics version of a hand, not the real one. I apologize if you misunderstood and took it as an offence. In MSPhysics, a hand with 22 servos will not work well. It will be very unstable. Your guitar, however, requires only two servos; one for the arm and the other for the wrist - and it is very stable. So anyway, download the model below and see how it goes. Later, we could create an emulator that would play the real midi notes for the Blowin in the Wind song.

                Regards,
                Anton


                1-2-3456et men articulation MSPhysics.skp

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jakub89
                  last edited by

                  Hi,
                  I have a problem with gears using MSphysics. Is there any way how to fix it?

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

                    Thanks, Istvan. Now it works like desired. Much joints for a little candlelight...

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

                      @jakub89 said:

                      Hi,
                      I have a problem with gears using MSphysics. Is there any way how to fix it?

                      Hi, Jakub,

                      If you enable the collision wireframe for your model, which can be done by opening MSPhysics UI, activating the Simulation tab, and, enabling the Collision Wireframe, you will see that the collision generated for the gears is improper. All sub collisions of dynamic (movable) shapes must consist from separate convex sub-groups. That said, your gears are concave. To fix it, either split the teeth in separate sub-groups/components, or use this plugin to draw gears instead: http://sketchucation.com/forums/viewtopic.php?t=46319

                      Regards,
                      Anton

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

                        @faust07 said:

                        Much joints for a little candlelight...

                        Faust07,

                        There are better ways for doing a candlelight. You could use particle effects or have a sequence of fire models that would hide unhide at a particular frame, that is, a repeating animation. The particle effects is the best approach as it always unique and easier to make. Besides you could also add a trailing smoke. An example is attached below.

                        Regards,
                        Anton


                        candle_example.skp

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jakub89
                          last edited by

                          Anton_S, thanks for fast response. I'll try it.

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

                            Hi, Anton. Thank you very much. Again a great example of the particle effect and of a script to learn efficient programming. If we could do the smoke with emitters then there is a chance to render the simulation of the candle.

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

                              Have found a solution for the problem of SketchUp 2017 animation export of SketchUp 2016 MSPhysics models. Start SUp 2017 and import the SUp 2016 MSPhysics file with the .skp-import funktion. All scene data with layers, stiles, shadows etc. are lost, but the export of animations even of large models works. To open a SUp 2016 MSPhysics model directly and export the simulation from Replay brought the incomplete images. The underlying cause of the problem I could not find unfortunately...

                              1 Reply Last reply Reply Quote 0
                              • chriC Offline
                                chri
                                last edited by

                                @jakub89 said:

                                Hi,
                                I have a problem with gears using MSphysics. Is there any way how to fix it?

                                hi jakub89
                                Please, take a look at the following example.
                                The study of this example may help you with the problem of collision with the group and the subgroup.

                                Chri


                                TEST PLUGIN SPGEAR.gif


                                CREATION PIGNON 2 AVEC PLUGIN.skp

                                1 Reply Last reply Reply Quote 0
                                • chriC Offline
                                  chri
                                  last edited by

                                  HI

                                  SPGears plugin


                                  SPGEAR PLUGIN.jpg


                                  SPGEAR PLUGIN 2.PNG

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

                                    After tests with the late discovered Cenvexify (Fredo6 - Fredo Tools) here some problems with the relatively large torus segments with the usual MSP user interface settings.


                                    Convexify_01.gif


                                    Convexify_01.skp

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

                                      @faust07 said:

                                      After tests with the late discovered Cenvexify (Fredo6 - Fredo Tools) here some problems with the relatively large torus segments with the usual MSP user interface settings.

                                      Hello Faust07. I copied the slices into a new model and it works well. Always try this solution in such cases.

                                      Convexify_02.skp

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

                                        Thanks again, Istvan. Good to know. It seems to be a similar problem as the frame export in MSP Replay in SUp 2017 using SUp 2016 models. The solution was to copy the content or to import the model into a new model.
                                        BTW, thanks for your shape loader extension! ๐Ÿ‘

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

                                          Hi Anton,
                                          during extensive physics calculations, MSPhysics reduces interim phases during image reproduction. Partially over 5 frames, the content remains the same. This can lead to pretty jerky videos. It would be helpful if this setting, at least for exporting the images in Replay, could be turned off?

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

                                            Hello all,

                                            i'm new to msphysics and intermediate at sketchup 2016, and can't get my model to work the way i want.
                                            Is there someone who can point me in the right direction???

                                            I like to reproduce this type of device and then make it animate in sketchup.
                                            https://www.youtube.com/watch?v=MO2Dy7PM7Gs
                                            http://4.bp.blogspot.com/-4t0Ghm1M8VQ/Vh1EDse0mTI/AAAAAAAAAKo/Yo5RzwcT2xs/s1600/HU_1.png

                                            For now i have made some parts already but i want to begin animating already, but can't get it to work.
                                            Someone who wants to help.
                                            I need the parts to be connected and when a cylinders move like a slider, the rest of the parts have to follow.

                                            Kinde regards and thanks,

                                            Bert.
                                            (The Netherlands)


                                            test upload.skp

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 43
                                            • 44
                                            • 45
                                            • 46
                                            • 47
                                            • 47 / 47
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement