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.
    • A Offline
      aasssddff
      last edited by

      Where can I find documentation on how the servo works? There was a comment way back that had...

      @unknownuser said:

      CODE: SELECT ALL
      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.

      What do I do with this?

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

        ๐Ÿ˜ข Xbox controller please !!!!

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

          Announcing version 0.7.3. Download in first post.

          Faust07, I fixed the replay bug. I also added the feature to save replay into model. The replay is saved into model automatically just like in SP.

          SynSuka3d, I added joystick controls similar to SketchyPhysics.
          Here is a sample model: See controls in model

          Note that in order for the joystick to work it must be attached to USB before SketchUp is opened; that is, restart SketchUp if joystick doesn't work in the first place.

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

            Good news, as always. ๐Ÿ‘

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

              The boat-car is a good example to learn the use of thrusters and joints (motor joint as a component copy).
              Version 0.7.4 (May 26, 2016) has the same problem in Replay that Play, Stop and then Play again is running into problems...
              Maybe it is my computer...

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

                The emitter test you posted in one of the earlier post works as expected. Can you elaborate more on what problems you encounter?

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

                  Sorry. Maybe I have the function of the stop button just now understood. I think that with the stop function the model can be held and saved in an intermediate state of the simulation. After that you should delete the replay storage, otherwise unexpected intermediate phases of the simulation arise if you start or play again.

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

                    Announcing version 0.8.0!
                    This version comes with many bug fixes and improvements. As well as with two new joints: CurvySlider and CurvyPiston. A demonstration of these two joints is available at 3DWarehouse: https://3dwarehouse.sketchup.com/model.html?id=d21984a9-477b-44d7-9eca-c191ae85afe4

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

                      The new Curvy Joints improve animation along paths fundamentally. The possibilities are not yet in sight. Great is that you can take curved sections and even edges with the joint in a group without to weld them, and therefore the curve in turn can be moved. Your examples show this excellent.
                      Two questions:
                      What are the rules for the orientation of the joints to an individual curve - exactly parallel?
                      It seems that old Servo Joints with Oscillator as a controller are not functioning as in version 0.7.0? Tested for example, with birdy and orca.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Ralphxyz
                        last edited by

                        Well I hopefully thought I'd try again.

                        http://gettheworkdone.net/images/MSPhysics/6-13-2016_0.8.0.jpg

                        http://gettheworkdone.net/images/MSPhysics/6-13-2016_0.8.0.jpg

                        the error at least looks a little different.

                        Windows 10

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

                          Hello Faust,

                          Curvy joint orientation has no effect on a curve or whatsoever. The curve may be parallel or not parallel to the actual joint - it doesn't affect the way joint behaves. The joint object just represents the origin of the joints. The edge closest to the origin of the joint is considered as the starting edge and all its connected edges are considered as the consequent edges. As long as the curve (or a set of connected edges/arcs) is created within the joint, with the angle between each edge set to a maximum of 45 degrees, the curvy joint will work fine. To my experience CurvyJoints operate better on iterative solver than on exact solver. So if you use curvy joints, setting a solver model to iterative 4+ passes will guarantee the optimal behavior.

                          The servo joint was reworked in this version. Now instead of accel and damp, it uses angular rate, and the SP Mode was removed. If your joints relied on SP Mode, their controller values ranged from 0.0 to 1.0. Now that is changed. The controller values range from -min_angle to max_angle. So for your birdy the servo controllers should be changed to something like, oscillator(100)*30. The limits should be disabled or adjusted to -30,30.


                          Ralph,

                          Sometimes the zip file fails to extract all content. Try checking if Plugins/MSPhysics/win64/2.0/msp_lib_no_sdl.so exists.

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

                            Ralph, I reworked the main.rb to display more info about the loading errors.


                            Place in .../Plugins/MSPhysics/ folder. Overwrite the original one.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Ralphxyz
                              last edited by

                              Thanks Anton,

                              http://gettheworkdone.net/images/MSPhysics/2016-06-13_18-25-06.jpg

                              http://gettheworkdone.net/images/MSPhysics/2016-06-13_18-25-06.jpg

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

                                Okay that's better. Based on the message, particular files are missing from the plugin's folder. As mentioned before this could be due to extraction issues, where the zip extractor fails to extract all the files. To ensure that its not the code error, go to C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/win64/
                                and check if all of the following files are there:

                                • libFLAC-8.dll
                                • libmikmod-2.dll
                                • libmodplug-1.dll
                                • libogg.dll
                                • libogg-0.dll
                                • libvorbis.dll
                                • libvorbis-0.dll
                                • libvorbisfile-3.dll
                                • SDL2.dll
                                • SDL2_mixer.dll
                                • smpeg2.dll

                                If that's not the case, try re-downloading MSPhysics and extracting using 7-zip, as it might a better alternative to the standard windows extractor. If you don't want to go through all that manual extracting and moving mess, you can instead use PluginStore plugin to download and install MSPhysics by a few clicks.

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  Ralphxyz
                                  last edited by

                                  When I download from the PlugIn store all I get is a .rbz file not the zip file.

                                  Does that go in the Plugins folder?

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Ralphxyz
                                    last edited by

                                    This is so irritating.

                                    I cannot run 7-zip I have had it installed and have used it with Windows 8 but it does not run in Windows 10.

                                    Win Zip apparently is not extracting all of the files specifically the win64 folder.

                                    I can go to GitHub and see the win64 files but I do not know how to download the individual files.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      Ralphxyz
                                      last edited by

                                      Finally I got the win64 folder downloaded completely, I got 7-zip to work.

                                      Now:
                                      http://gettheworkdone.net/images/MSPhysics/x2016-06-14_12-18-54.jpg

                                      http://gettheworkdone.net/images/MSPhysics/x2016-06-14_12-18-54.jpg

                                      I am so sorry to be such a bother, I do not even know if I will understand how to use MSPhysics once I get it working it seems kinda complicated, but really neat in what I have seen.

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

                                        I have tested the installation of MSP-Version 0.8.0 with the ExtensionStore and it does not work (Windows 8.1, SUp 16 Make). But downloading from Google Drive, unzip, delete the old MSPhysics SubDirectory and copy the new into the plugin directory works.

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

                                          Ralph, Faust, that's bad. Installing MSPhysics via PluginStore (on SU2014 and SU2016) works just fine on mine. I think an automated installer would be the best way to for installing such plugin. I will create an installer and we'll see if it works then...

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

                                            Ralph, I created the installer, which installs both MSPhysics and AMS Library. The link is available in first post. See if it will work after installing with the installer.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 46
                                            • 47
                                            • 16 / 47
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement