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

    SketchyPhysics Alpha

    Scheduled Pinned Locked Moved SketchyPhysics
    90 Posts 26 Posters 17.8k Views 26 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.
    • N Offline
      not registered yet
      last edited by

      Chris,
      That is nothing short of amazing. I'm awestruck. I'm curious as to why and what it took (in general terms) to create this.

      Mark

      P: marsol

      1 Reply Last reply Reply Quote 0
      • C Offline
        CPhillips
        last edited by

        @unknownuser said:

        Chris,
        That is nothing short of amazing. I'm awestruck. I'm curious as to why and what it took (in general terms) to create this.

        Mark

        Thanks Mark.

        The why is because its fun.😄 I like making things that actually behave the way you'd expect.

        What it took was a good physics engine (newton) and a lot of work. I have been working on it on and off for over 2 years. Its currently around 10k lines of ruby but I have probably written and discarded 20k.

        Some of that 10k is code that isn't even enabled yet. SketchyReplay for example records animations and features some non-linear editing. Here is an example. Note the camera behavior and the rewind stuff at the end.

        Chris

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

          So, I've set up a Sketchy Physics competition for anyone who is interested in modeling with Sketchy Physics.

          1 Reply Last reply Reply Quote 0
          • KrisidiousK Offline
            Krisidious
            last edited by

            is there or could there be, a way to turn on a shader, that would shade or highlight the area in which SketchyPhysics was available with in the model.

            know what I mean? there is an area in which the Physics work and one where it does not, I'd like to see that area...

            By: Kristoff Rand
            Home DesignerUnique House Plans

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

              Yea, for some reason objects seem to stop moving about 200 feet from the origin.

              1 Reply Last reply Reply Quote 0
              • KrisidiousK Offline
                Krisidious
                last edited by

                that's because the Physics are not global... it's just a small area around the axis...

                By: Kristoff Rand
                Home DesignerUnique House Plans

                1 Reply Last reply Reply Quote 0
                • N Offline
                  not registered yet
                  last edited by

                  Very cool plug in!
                  If I move the sketchyphysics tool window any other toolbars that are open on my second monitor close.

                  P: SABBA

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CPhillips
                    last edited by

                    You can adjust the size of the world under Plugins->Physics Settings. Adjust world scale to make it bigger or smaller. Note if you make it too big small things will stop working.

                    Chris

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      CPhillips
                      last edited by

                      @unknownuser said:

                      Very cool plug in!
                      If I move the sketchyphysics tool window any other toolbars that are open on my second monitor close.

                      Hm. Thats wierd. Ill look into it.

                      Chris

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        not registered yet
                        last edited by

                        @cphillips said:

                        Any other comments or feedback?

                        Has anyone used the SketchySolids toolbar? I am thinking that it is almost worthy of being a separate plugin.

                        Chris

                        Where can I download SketchySolids?

                        P: Invader ZIM

                        1 Reply Last reply Reply Quote 0
                        • KrisidiousK Offline
                          Krisidious
                          last edited by

                          is there a way to convert a regular group or component into sketchy solids?

                          By: Kristoff Rand
                          Home DesignerUnique House Plans

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            CPhillips
                            last edited by

                            @unknownuser said:

                            is there a way to convert a regular group or component into sketchy solids?

                            Right click it and use the Set Shape menu.

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CPhillips
                              last edited by

                              There are some pretty good user generated demos popping up on 3d warehouse. Here are a few good ones!
                              http://sketchup.google.com/3dwarehouse/details?mid=f27b91714ea5752a87d6d7c29947ae22
                              http://sketchup.google.com/3dwarehouse/details?mid=4ceb45eacc729c5ea611269c93d910
                              http://sketchup.google.com/3dwarehouse/details?mid=fefb0ae5c3399f426e49a9db8e76daf1
                              http://sketchup.google.com/3dwarehouse/details?mid=d972bcb8198c5770ac03d4486f1f7520

                              And a good YouTube video:
                              http://www.youtube.com/watch?v=YQquRx7rmkk

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                not registered yet
                                last edited by

                                Can I use a spring like a piece of elastic?

                                What I would like is that the model starts with the elastic stretched, so that once the simulation begins it will try to shrink to zero length (or some other predefined minimum length) pulling any attached object with it.

                                Where-as the spring seems not to exert any force on attached objects until it is either streched or compressed from the start position.

                                Ampa

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  CPhillips
                                  last edited by

                                  @ampa said:

                                  Can I use a spring like a piece of elastic?

                                  What I would like is that the model starts with the elastic stretched, so that once the simulation begins it will try to shrink to zero length (or some other predefined minimum length) pulling any attached object with it.

                                  Where-as the spring seems not to exert any force on attached objects until it is either streched or compressed from the start position.

                                  Ampa

                                  It doesn't do that yet. Ill add it to my todo list.

                                  Thanks Ampa.

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    not registered yet
                                    last edited by

                                    This is a great plugin - congrats of the work so far.

                                    Noticed one other bug: pressing Ctrl+Z (Undo) while the simulation is running causes seriously bad things to happen! Can Undo be disabled temporarily?

                                    Some more playing…

                                    I decided to create a chain, and tried in a number of ways…

                                    1. Create rings (torus) and arrange them so that they interlock in 3d space. Why does this not work? I assigned Shape:convexhull, but this is obviously not correct.

                                    2. Create rectangular 'chain links' where each 'link' is made of 4 cuboids. This should overcome the convex hull issue and be easier on the maths 😄 Indeed it works! But looks ugly!

                                    3. A different sort of chain… Created a linear array of cubes and inserted a ball joint between each one. At this stage I have a vertical column of swinging cubes, but they all act independently. And I can't work out how to correctly group the joints with the cubes to create a single chain of linked cubes. What is the correct way to do this?

                                    P: Ampa

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      CPhillips
                                      last edited by

                                      @ampa said:

                                      Noticed one other bug: pressing Ctrl+Z (Undo) while the simulation is running causes seriously bad things to happen! Can Undo be disabled temporarily?

                                      Yeah, Ill mark it as a bug.

                                      @ampa said:

                                      1. Create rings (torus) and arrange them so that they interlock in 3d space. Why does this not work? I assigned Shape:convexhull, but this is obviously not correct.

                                      A whole torus marked as convexhull will really resemble a solid wheel. If you want to create linked torus you need to break each segment of the torus apart into a convex hull and then group all the pieces. I did it once and it takes a while.

                                      @ampa said:

                                      1. A different sort of chain… Created a linear array of cubes and inserted a ball joint between each one. At this stage I have a vertical column of swinging cubes, but they all act independently. And I can't work out how to correctly group the joints with the cubes to create a single chain of linked cubes. What is the correct way to do this?

                                      Group each of the ball joints with one of its two connected links and then use the JCT tool to connect the other link to the ball joint.

                                      I should warn you that the ball joints aren't very stable when you connect them like this. The chain will fly wildly out of control if you try to move it too fast. This is a limitation of the underlying physics engine.

                                      Chris

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        CPhillips
                                        last edited by

                                        "Google Guy" has an example.

                                        Error 404 (Not Found)!!1

                                        favicon

                                        (sketchup.google.com)

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          not registered yet
                                          last edited by

                                          Chris, thanks for the pointers. It all makes sense now 😄

                                          Weee I have a dangle chain type thingy! I never knew how much I wanted one of these.

                                          I look forward to further development, you've made a great tool / toy.

                                          Ampa

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

                                            Hi Chris,

                                            I had left a post over on the Google Groups about this, but thought I should mention it here as well. The strange images of guys playing crochet, etc are under the SketchPhysics directory at dhtml-suite-for-application>demos>demos-images. I would think they could be deleted??

                                            Absolutely love this script.

                                            Ron

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

                                            Advertisement