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

    How to change the density of the emitters?

    Scheduled Pinned Locked Moved SketchyPhysics
    15 Posts 5 Posters 5.4k Views 5 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.
    • S Offline
      sofie9536
      last edited by

      hi,it's just a density of several combined groups. i think so


      density.jpg

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

        Hi Anton, very thanks, but not works for me. i change the file, sk works not correct (SP7)

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

          @javisomm said:

          but as I can not edit the density of emitters
          Yup, SketchyPhysics emitter function does not set density.

          Here is the new SketchyPhysicsTool.rb for SP3.2 which makes minor fixes and improvements to SP simulation.
          Copy to ...\Google SketchUp [n]\Plugins\SketchyPhysics3\ and click yes to replace
          [attachment=0:1tdn0e75]<!-- ia0 -->ControllerCommands.rb<!-- ia0 -->[/attachment:1tdn0e75]

          Now, you won't have to reduce the density of the boat; just increase the density of the ball you're emitting. πŸ˜‰

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

            @sofie9536 said:

            sk works not correct

            Oops, forgot to add ControllerCommands.rb. Now, it must work ❗

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

              Thank you very much, it worked πŸ˜„ , then when you finish the ship and its sinking, I will do a video and I'll show πŸ˜„

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

                thanks Anton, now it works

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

                  @javisomm said:

                  Thank you very much, it worked πŸ˜„ , then when you finish the ship and its sinking, I will do a video and I'll show πŸ˜„

                  @sofie9536 said:

                  thanks Anton, now it works

                  Great πŸ‘
                  I'll probably do more improvements and fixes, until CPhillips (the creator of SketchyPhysics) releases a new version.

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

                    I wait for the new version, it's a holiday for me 😍

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mptak
                      last edited by

                      Anton: hooray for you. Can you give a quick rundown on what you have or will be doing? I will also try to experiment with what you released above but a short rundown would be greatly appreciated.

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

                        @mptak said:

                        give a quick rundown

                        In progress, I didn't done much there. The original focus was to improve SP error handlers. In original version when you got an ontstart error, it displayed a huge messagebox lacking the exact info. The new error handlers are much better. They give you the info you need:

                        • Stating exact callback property, like if error comes from onpostframe, it says 'OnPostFrame Error...'
                        • the error
                        • line number
                        • group entity from which the error comes from
                        • the error is posted in both the messagebox and ruby console

                        Features:

                        • Added FPS to the status text
                        • My own ViewportDrawing Utility which modifies the model bounds to avoid being clipped
                        • Added cursorPos function, which returns [x,y] cursor position relative to Viewport origin.

                        I'll make a documentation of all SP function once I'll clean it up a little.

                        My aim: First - clean-up and fix bugs. Later - we'll see.

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

                          hi Anton, with the 2 new files will no longer run my twilight render engine (animation rendering). ? please help

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

                            I installed the old files back, thanks anyway anton πŸ˜„

                            1 Reply Last reply Reply Quote 0
                            • ashscottA Offline
                              ashscott
                              last edited by

                              Anton, you wrote Sketchyphysicstools.rb and controllercomands.rb yourself?

                              Have you posted these in a separate thread so everyone can benefit from them?

                              Fantastic work, I'm really impressed

                              Ash

                              Just some stuff I do with Sketchup.

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

                                @ashscott said:

                                Anton, you wrote Sketchyphysicstools.rb and controllercomands.rb yourself?

                                No, just modified them.

                                @ashscott said:

                                Have you posted these in a separate thread so everyone can benefit from them?
                                Well, those files don't do much; they don't fix SU2013 crash, and in fact there are much more improvements and bug fixes to be made, including those are not the only files that require optimizations. Fixing them would require re-uploading the whole SketchyPhysics.

                                I'm also not sure if I have the right to mess into this project. I can work on a unofficial release, but I think CPhillips will update it soon. So, making more changes wouldn't be necessary.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement