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

    SketchyPhysics 3.5.6 (26 January 2015)

    Scheduled Pinned Locked Moved SketchyPhysics
    208 Posts 49 Posters 289.9k Views 49 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
      Anton_S
      last edited by

      @unknownuser said:

      Except the case of the "save as" that is not yet resolved for me for mysterious reason
      how works the "explode volume" ?
      It's just scripting or there is a Menu / Button for apply this function to a selection of Groups / Components ?

      Its just scripting. Would of been helpful if I could understand which part you are confused on.
      Here are the steps I would like you to follow, on how to save broken rocks. Please reply on those that don't work or you're confused on.

      1. Open a model and select a group you want to be broken.
      2. Open the SP UI, and paste this code in the scripted field: onStart { split(self, 2) } This piece of code will split body when simulation starts. Change 2 to higher value if want to split body into more pieces. Make sure the scripted checkbox is checked.
      3. Press physics toggle play button to start simulation. You will see that your body got split into pieces.
      4. At desired frame, press physics toggle play once again to pause simulation. You may either press it right away after simulation starts to maintain full form or when pieces of rocks fall and rest on floor - Its up to you.
      5. Once simulation is paused, go to (Menu) > File > Save As and give it a different name (don't overwrite the default model).
      6. Now you may press physics reset, and close the current model without saving it.
      7. Open the new saved model, and there you will see cut rocks at desired locations.
      8. Now, before you use them it is essential to erase all hidden temporary pieces of rocks. So, enable view hidden geometry option, and delete all hidden pieces of rocks.
      9. From there, you may use the left over rocks for your purpose.

      The sketchyphysics split method was meant for ingame effects, not for saving purpose. A plugin could be developed that will split body into multiple pieces though. It's very simple and I will create it for you.

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

        @unknownuser said:

        Bingo all works with the 3.53 !!! β˜€ πŸ‘ 😎

        Great! Just a side note: Viewing the picture, I see that all pieces have box collisions. Set their collision to Convexhull2 for proper collisions generation.

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Bingo! All works fine with the 3.53 !!! β˜€ πŸ‘ 😎

          The problem is resolved and was in the NΒ° of version of SketchyPhysics (for me) ! πŸ€“
          You rocks! 😎
          resolved.jpg

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • pilouP Offline
            pilou
            last edited by

            Thx for the Hint of the Convex Hull2! β˜€

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

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

              I'm glad it's resolved 😎

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Your plugin "Split" is excellent! β˜€
                It's a part of the "physic" engine or your own cooking?

                split01.jpg

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

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

                  @unknownuser said:

                  Your plugin "Split" is excellent! β˜€
                  It's a part of the "physic" engine or your own cooking?

                  [attachment=0:1wqan515]<!-- ia0 -->split01.jpg<!-- ia0 -->[/attachment:1wqan515]

                  Just copied code snippets from SketchyPhysics and some cooking of course πŸ˜†

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

                    Okay, I've fixed enough bugs. Moving to MSPhysics now!

                    By improving SP, I learned quite a lot, especially the ideals and approaches to take when writing MSPhysics.

                    It's now up to Chris Phillips and other interested in such plugin to enhance and add features. I will no longer keep supporting SketchyPhysics as I am quite busy with College and need to make some progress in MSPhysics. Other than that, I won't mind answering questions on how to properly use SP.

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

                      Hi Anton,

                      Sorry I haven't been more involved during your flurry of input - you've done really well. When I get time away from current work I've got some cool projects to build which you have enabled.

                      Thanks again for your input.

                      Also, just checked out MSPhysics - great stuff - if I can help test or something then please keep me in the loop.

                      Just some stuff I do with Sketchup.

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

                        @ashscott said:

                        Hi Anton,

                        Sorry I haven't been more involved during your flurry of input - you've done really well. When I get time away from current work I've got some cool projects to build which you have enabled.

                        Thanks again for your input.

                        Also, just checked out MSPhysics - great stuff - if I can help test or something then please keep me in the loop.

                        Thanks ashscott, and no need to be sorry. πŸ˜„ Some descent features were supposed to be added to make SP3.5 as attractive as the plugin's first release, but I was too lazy too do that πŸ˜†

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

                          A typical example of problems with transformed objects is this:


                          buggy.skp

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

                            @faust07 said:

                            A typical example...

                            Thats very strange. When I added option readback collision geometry to the vehicle, there were 3 collision shapes below it, which came out from nowhere. That's some strange effect with default shape. Meantime for the fix, set vehicle shape to convexhull2 or compound2 for proper collision generation. Convexhull2 is preferred as it's the fastest.

                            I can't reproduce this in SP3.2, so that's some bug by me, which must be eliminated. I will look into fixing it.

                            Thanks for report.

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

                              If You add option readback collision geometry to the wheels You will sea that it happens only with flipped objects/groups ...

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

                                Okay, it is fixed now! Please download latest version and see how it goes. Thanks for report, faust07 πŸ˜„

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

                                  It works. Thanks again Anton. The door to the "Physics World" in SketchUp is wide open ...

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    BIANI patrick
                                    last edited by

                                    Si Γ§a peut Γͺtre utile !?


                                    Animation Sketchyphysics sans logiciel de rendu.pdf

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

                                      I think I see what you did there πŸ˜‰

                                      Just some stuff I do with Sketchup.

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

                                        Oh no, Anton I don't want to nerve you. I cheered too soon. A model that ran in SPh3.5.3, jolts in SPh3.5.4 a little ... Probably the steering blocks are squeezed out laterally from the body of the truck. I hope the GIF example shows what a little.


                                        strange behaviour ...

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

                                          @biani patrick said:

                                          Si Γ§a peut Γͺtre utile !?

                                          Thanks for your documentation, patrick. I placed this in first post, as part of reference.

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

                                            @faust07 said:

                                            Oh no, Anton I don't want to nerve you. I cheered too soon. A model that ran in SPh3.5.3, jolts in SPh3.5.4 a little ... Probably the steering blocks are squeezed out laterally from the body of the truck. I hope the GIF example shows what a little.

                                            Is the behavior different in SP3.2? Are you assigning same shapes to SP3.2 and SP3.5.4? Meantime, if they are squeezed out, to fix it, set most surrounding parts and the cabin to Not Collidable.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 10
                                            • 11
                                            • 5 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement