• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

MSPhysics 1.0.3 (16 October 2017)

Scheduled Pinned Locked Moved Plugins
920 Posts 170 Posters 882.8k Views
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 26 Apr 2016, 09:55

    @Anton: cool new MSPhysics models in 3D-Warehouse - you linked in the first post 👍
    Magnets test, copyable joints, new turret with missiles, buoyancy with flow on water surface ... - impressive!

    1 Reply Last reply Reply Quote 0
    • T Offline
      tomasz
      last edited by 26 Apr 2016, 10:27

      Can we have an option to store Replay in a model, please?

      Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

      1 Reply Last reply Reply Quote 0
      • F Offline
        faust07
        last edited by 26 Apr 2016, 12:21

        And from Anton's TODO list - the fracture/split function and Twilight implementation. 😎


        Split_02.gif

        1 Reply Last reply Reply Quote 0
        • A Offline
          andychang28
          last edited by 26 Apr 2016, 20:19

          Hey everyone, first post here. I have MSPhysics 0.4.0, and I have a model which I would like to use in a physics simulation. The model is a box with several protrusions and a few holes. When I run the simulation with show collision meshes enabled, the box's mesh is rendered as a box with all the empty spaces included, so objects hit the spaces between the protrusions instead of continuing through. Any help would be much appreciated!

          1 Reply Last reply Reply Quote 0
          • S Offline
            SynSuka3D
            last edited by 30 Apr 2016, 20:33

            I speak French
            Excuse me my english
            I want a body designated by name ? Please
            I TEST get_"group_by_name(name) Does not work !!!
            ☀ ex: skechiphysics FindBodyName(NAME)...

            1 Reply Last reply Reply Quote 0
            • S Offline
              SynSuka3D
              last edited by 30 Apr 2016, 20:50

              findBody("name") and findGroupByName("name") ==> version MSPhysics ????, please.

              1 Reply Last reply Reply Quote 0
              • R Offline
                Ralphxyz
                last edited by 2 May 2016, 00:14

                Not knowing what I am doing I cannot get a good install!!

                ERRRORS:

                Error Loading File C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/main.rb
                Error: #<LoadError: 126: The specified module could not be found. - C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/win64/2.0/msp_lib.so>
                C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/main.rb:24:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in require'
                C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in load' C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:119:in register_extension'
                C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:119:in <module:MSPhysics>' C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:101:in <top (required)>'

                Thanks for the help.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 2 May 2016, 10:24

                  @Ralph

                  The file:
                  C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/win64/2.0/msp_lib.so
                  I not being found.
                  I a proper installation it should be there.
                  How did you install the files and subfolders ?
                  Did you install the contents of both of the required ZIP files, keep the subfolder structure entirely as it is in the ZIP ?

                  Do you actually have the missing file installed ?
                  Open the Plugins folder and have a look...
                  C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins

                  Compare the ZIP file's contents with what's in Plugins...
                  All files are needed...

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Ralphxyz
                    last edited by 2 May 2016, 19:41

                    Thanks TIG, C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/win64/2.0/msp_lib.so is there!!

                    There was no "installation" I just downloaded the zip file, unzipped and copied to the Plugins folder.

                    The "missing" file msp_lib.so is the MSPhysics\win64\2.0 folder.

                    I'll try again this time un zipping directly to the plugins folder possible something was missed with the copy paste but the reported missing file is there.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anton_S
                      last edited by 2 May 2016, 19:45

                      What windows version and sketchup are you using, Ralphxyz?

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Ralphxyz
                        last edited by 2 May 2016, 20:23

                        Windows 10 SketchUp 15 Pro

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Anton_S
                          last edited by 3 May 2016, 19:35

                          @synsuka3d said:

                          findBody("name") and findGroupByName("name") ==> version MSPhysics ????, please.

                          SynSuka3D here are various ways to get bodies and groups in MSPhysics:

                          • body = simulation.get_body_by_name(name)
                          • body = simulation.get_body_by_group(group)
                          • group = simulation.get_group_by_name(name)
                          • group = this.get_group # get group by body

                          See extended docs here: http://www.rubydoc.info/github/AntonSynytsia/MSPhysics/MSPhysics/Simulation


                          Ralphxyz, it works on mine. It strange that it doesn't work on yours. Can you open MSPhysics/main.rb and uncomment #UI.messagebox info, on line 21. After you start SU a messagebox box should display with a list of libraries and their loaded IDs. Then post the library names that have their IDs set to zero if there's any. The ID of zero indicates that library failed to load.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Ralphxyz
                            last edited by 7 May 2016, 21:08

                            "Error Loading File MSPhysics/main.rb
                            Could not find included file 'MSPhysics/main.rb'

                            I have main.rb in both MSPhysics folders but it is not found!!

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by 8 May 2016, 01:46

                              Hey Ralphxyz,

                              Okay, first of all, did you extract MSPhysics_0.7.0 into the plugins folder properly? You said you have main.rb in both MSPhysics folders, what do you mean by both? There should be only one MSPhysics folder in the plugins folder. And that one folder should be named "MSPhysics". Refer to the first post of this thread to see how the MSPhysics related content in the plugins folder should look. Please elaborate more if I misunderstood.

                              Now, the error you just posted might also mean that you didn't uncomment the requested line in main.rb properly. Here is the main.rb file with the uncommented line. Place and overwrite the original file that is located in ../Plugins/MSPhysics/ folder. After you start Sketchup, a messagebox should appear listing all library names and their IDs. I would like you to post me at the forums which libraries appear with a zero ID (if any).

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                Ralphxyz
                                last edited by 9 May 2016, 21:05

                                Thanks for the replies

                                re: two MSPhysics:
                                C:\Users\Ralph\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\MSPhysic

                                C:\Users\Ralph\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\MSPhysic\RubyExtension\MSPhysics

                                did you extract MSPhysics_0.7.0 into the plugins folder properly? I "think" that is the problem.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Anton_S
                                  last edited by 9 May 2016, 22:09

                                  Yep, the files are extracted incorrectly.

                                  If you downloaded from github, only the files within the RubyExtension folder should be placed into the plugins folder. The rest are not necessary. In fact downloading from github is not necessary at all. You can download from the first post of this thread instead as it only contains the necessary files.

                                  Once you download, place MSPhysics folder and MSPhysics.rb into the Plugins folder. It should be:
                                  C:\Users[SomeUser]\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\MSPhysics/
                                  C:\Users[SomeUser]\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\MSPhysics.rb

                                  If that's not clear I guess a series of images or a video would be a better alternative for describing how to download plugins...

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Ralphxyz
                                    last edited by 10 May 2016, 21:58

                                    I downloaded from your reference once again and unzipped directly to the plugins folder.

                                    Now:

                                    Error Loading File C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/main.rb
                                    Error: #<LoadError: 126: The specified module could not be found. - C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/win64/2.0/msp_lib.so>
                                    C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                                    C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics/main.rb:24:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in require'
                                    C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in load' C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:119:in register_extension'
                                    C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:119:in <module:MSPhysics>' C:/Users/Ralph/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/MSPhysics.rb:101:in <top (required)>'

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Anton_S
                                      last edited by 11 May 2016, 09:42

                                      The extracted path is correct now. The error suggests that your system is missing certain libraries that MSPhysics relies on. I had a few reports similar to yours and I can't figure out what is causing the load error. The only thing that comes to mind is checking whether all other libraries, that msp_lib.so relies on, load properly. To do that, I want you to download main.rb in this post and place it into MSphysics folder, press 'yes' to overwrite the original file. When you start Sketchup, a messagebox will appear listing loaded libraries with their corresponding identifiers. Before pressing "Ok", I want you to see if there are any libraries that have their identifiers set to zero. If there are, please list their names here at the forums so that I could attempt to make them compatible on your system.

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        cristyan
                                        last edited by 15 May 2016, 13:20

                                        Hello Anton !!!
                                        I am not an advanced user of MS Physics and SketchyPhysics in the sense that I do not use a code script(one reason is that because I do not really understand how to use it...), but I've used both almost from the beginning...
                                        And I want to say that you did a great job with both !! Thank you very much !

                                        I really like to use all objects as they are like in the real world ...but ..

                                        I have a problem with frozen objects..

                                        • I noticed that if an object falls near a frozen one the seccond will fall without being touched...

                                        and ...
                                        how to use emitter objects? I do not understand the definition on how to use these objects ... how to increase their life ? I have to use a code script? I'd like a box where you specify this ..
                                        Thank you !!!


                                        10001.jpg


                                        10014.jpg


                                        10018.jpg


                                        10036.jpg


                                        10149.jpg


                                        1.skp

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          Ralphxyz
                                          last edited by 15 May 2016, 18:14

                                          Thanks again for the help!! Oh I am using Windows 10.

                                          http://gettheworkdone.net/images/MSPHYSICIS.jpg

                                          Sorry for the delay in answering I do not use this computer everyday.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 12
                                          • 13
                                          • 14
                                          • 15
                                          • 16
                                          • 45
                                          • 46
                                          • 14 / 46
                                          14 / 46
                                          • First post
                                            264/920
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement