sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    SketchyPhysics3.1

    Scheduled Pinned Locked Moved SketchyPhysics
    85 Posts 37 Posters 87.7k Views 37 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.
    • KrisidiousK
      Krisidious
      last edited by

      is this for SU7 too?

      By: Kristoff Rand
      Home DesignerUnique House Plans

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

        Yes it will run under SU7. Just change the location its installed to.

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

          Here is an example of something I just added recently. A script function that allows you to get a point along a Sketchup curve. It can be used for any number of things. In this case I use it to move bodies along a curve.


          CurvesTest3.skp

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

            Another curve example. This time the curve is used to set the position (via controller field) of a pair of pistons.


            CurveControllers1.skp

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

              This example shows off several features. Embedded sounds, destroying bodies during simulation, logging messages to the screen, camera following a target and lots of ontouch features.


              WhiteboxLogic6.skp

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

                Here are some older examples that now work in this official release version.

                http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168251
                http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168253
                http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168254
                http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168265

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

                  Yipee...Yapee...Yahooeee!

                  1 Reply Last reply
                  Reply Quote 0
                  • M
                    mrmar975
                    last edited by

                    Thank you! I am a teacher using this for my robotics class. The design abilities and creativity I get to engage my students in is amazing, thanks to you. Much appreciated.

                    1 Reply Last reply
                    Reply Quote 0
                    • D
                      dmondark
                      last edited by

                      Standing by for the mac "version"...
                      😎

                      1 Reply Last reply
                      Reply Quote 0
                      • H
                        hobbnob
                        last edited by

                        How do we go about using the sound function? I tried using the playSound script but it didn't work.

                        Here's the file, please tell me what's wrong.


                        sound test.skp

                        My WIP Thread:Here

                        1 Reply Last reply
                        Reply Quote 0
                        • J
                          jblively
                          last edited by

                          @cphillips said:

                          Here are some older examples that now work in this official release version.

                          http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168251
                          http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168253
                          http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168254
                          http://forums.sketchucation.com/viewtopic.php?f=61&t=20209&start=0#p168265

                          On the self Connecting Joints Example, can you add a name of a slider in there, so there can be a way to control the joints via the control panel?

                          ontouch{|t,s,p|
                          connect(t,"servo")
                          ontouch{}
                          }

                          I didn't see it in this Definition: connect(child,type="ball",min=0,max=0,accel=0,damp=0,breakingForce=0)

                          I'll never draw another dang joint again if this works πŸ˜‰

                          1 Reply Last reply
                          Reply Quote 0
                          • M
                            Mr.K.1
                            last edited by

                            @hobbnob said:

                            How do we go about using the sound function? I tried using the playSound script but it didn't work.

                            Here's the file, please tell me what's wrong.

                            It seem you didn't embed the sound, which this function needs because it doesn't play it directly from file, but from embedded sound data.
                            What you do is go to Plugins -> SketchyPhysics -> Sound, and it should open up a simple UI to add/embed sound, and later on don't forget to save your model so the data get's saved with it.

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

                              Turns out the break example will bugsplat SU8. I have a fix but I am going to wait and see if there are any other issues before I release a new version.

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

                                @jblively said:

                                On the self Connecting Joints Example, can you add a name of a slider in there, so there can be a way to control the joints via the control panel?

                                ontouch{|t,s,p|
                                connect(t,"servo")
                                ontouch{}
                                }

                                I didn't see it in this Definition: connect(child,type="ball",min=0,max=0,accel=0,damp=0,breakingForce=0)

                                I'll never draw another dang joint again if this works πŸ˜‰

                                Thats a bit harder than it sounds. But I will look into it.

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

                                  @cphillips said:

                                  @jblively said:

                                  I'll never draw another dang joint again if this works πŸ˜‰

                                  Thats a bit harder than it sounds. But I will look into it.

                                  Ah! Turns out to be easier than I thought. This will work in next version:

                                  
                                  !!!Example only. Will not work in Sept 27 version!!!
                                  ontouch{|t,s,p|
                                     @jnt=connect(t,"servo",0,90)
                                     ontouch{}
                                  }
                                  ontick{
                                     if @jnt!=nil
                                        @jnt.controllerValue=slider("position")
                                     end
                                  }
                                  
                                  
                                  
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • C
                                    CPhillips
                                    last edited by

                                    Updated the scripting reference. Not done yet, but more usable now.

                                    Error 404 (Not Found)!!1

                                    favicon

                                    (code.google.com)

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • H
                                      hobbnob
                                      last edited by

                                      Well on the whole this is a very much improved release, K's advice for embedding sounds worked fine and I've also tried out the destroy function, very useful for so many things.

                                      My WIP Thread:Here

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • J
                                        jblively
                                        last edited by

                                        @cphillips said:

                                        Ah! Turns out to be easier than I thought. This will work in next version:

                                        Excellent!!!!!

                                        Can't Wait πŸ˜„

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • J
                                          jblively
                                          last edited by

                                          @cphillips said:

                                          Updated the scripting reference. Not done yet, but more usable now.

                                          Error 404 (Not Found)!!1

                                          favicon

                                          (code.google.com)

                                          WOW!

                                          I know how it's not fun to doc (i've done my share) but I know we all will really appreciate this new format. Very readable and usable! Great Job!

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

                                            Version delayed while I deal with a family issue.

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 5 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement