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

    [Plugin]SketchyPhysics3 beta.

    Scheduled Pinned Locked Moved SketchyPhysics
    69 Posts 14 Posters 22.8k Views 14 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
      NorviewsVeteran
      last edited by

      I'm having trouble with a rear differential, it seems that you can't have gears connected to each other when their hinges are in the same group. When I run the simulation, the gears don't mesh, and when I go to end the sim, it creates a bug splat. Is something wrong or am I doing it wrong?

      ```
      //This_Is_All(I)+=Know()About.Code;
      ```

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

        @cphillips said:

        Big changes in this release are emitters, keyboard support, lots of error checking, and a better organized UI.

        Error 404 (Not Found)!!1

        favicon

        (sketchyphysics2.googlecode.com)

        I'll make separate posts for the new features. Post general questions and bugs in this thread.

        Changes:

        Changed version to beta. No 3dwarehouse restrictions.
        Added emitters as a body property. FUN!
        Added more error checking on the simulation and formulas.
        Better handling of critical errors when the simulation is running.
        Should be much more stable now and will get even more stable as I get reports of errors.
        Added keyboard support with key("space") functions.
        Made joystick explicit with joy("lefty") functions.
        Made joystick buttons explicit with joybutton("a") functions.
        Removed some of the short names from the controller fields. a,b,x,y,rightx,righty,leftx,lefty, remain but may be removed.
        Added interface code to SketchyReplay to allow renders to call an export.
        BUG SketchyReplay doesnt recognize emitted objects.
        Updated installer to include the mscvr71.dll file.
        Cleaned up the UI
        -Added properties section
        -Added boarders around sections
        -Layout fixes.
        -Formula boxes are now blueish.
        -Some work on getting blur working on Mac. No luck yet.
        Added bulk "auto freeze" options to right click menu.
        Fixed bug in formulas with space and $
        Added every(number) keyword.

        Is there a list of what controller fields are available? I have a logitech ATTACK 3 and it works with joy("lefty") and joy("leftx"). I want to assign the slider on the joystick. In old version of sketchyphysics it seemed to recognize it as rightx.

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

          I tried other scripts and found joyRY is mapped to the Logitech ATTACK3 slider so I am running now. However if a list exists of the possible controls script variables/inputs, or a snippet of the source code, please point me to it. Thanks.

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

            @norviewsveteran said:

            I'm having trouble with a rear differential, it seems that you can't have gears connected to each other when their hinges are in the same group. When I run the simulation, the gears don't mesh, and when I go to end the sim, it creates a bug splat. Is something wrong or am I doing it wrong?

            Post the model and I'll take a look.

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

              @cray said:

              Is there a list of what controller fields are available? I have a logitech ATTACK 3 and it works with joy("lefty") and joy("leftx"). I want to assign the slider on the joystick. In old version of sketchyphysics it seemed to recognize it as rightx.

              No final list yet. But

              rightx,righty,leftx,lefty,joyLX,joyLY,joyRX,joyRY

              will continue to work for joystick and keyboard emulation until at least SPIV.

              The joystick button shortcuts:
              a,b,x,y

              work now. But I may remove them if I do a 3.x release. Those names (a,b,x,y) are just too common.

              To be future proof use the new syntax instead.

              joy("leftx")
              and
              joybutton("a")

              1 Reply Last reply Reply Quote 0
              • N Offline
                NorviewsVeteran
                last edited by

                @cphillips said:

                Post the model and I'll take a look.

                Error 404 (Not Found)!!1

                favicon

                (sketchup.google.com)

                ```
                //This_Is_All(I)+=Know()About.Code;
                ```

                1 Reply Last reply Reply Quote 0
                • P Offline
                  phy
                  last edited by

                  @norviewsveteran said:

                  I'm having trouble with a rear differential, it seems that you can't have gears connected to each other when their hinges are in the same group. When I run the simulation, the gears don't mesh, and when I go to end the sim, it creates a bug splat. Is something wrong or am I doing it wrong?

                  you can try grouping the hinges with the wheels instead of each other

                  Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    NorviewsVeteran
                    last edited by

                    That's a good idea, and after trying it a few times, still no luck.

                    ```
                    //This_Is_All(I)+=Know()About.Code;
                    ```

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      phy
                      last edited by

                      this is what i came up with see if it is what you want


                      differential (3)1.skp

                      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        phy
                        last edited by

                        I grouped the motor with the one wheel you tell me of it is what you want

                        Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          NorviewsVeteran
                          last edited by

                          That's not really working though- if you lift it up and set it to static, just the wheel with the motor turns, everything else just kind of chills.

                          ```
                          //This_Is_All(I)+=Know()About.Code;
                          ```

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            phy
                            last edited by

                            yeah i see what you mean

                            Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

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

                              I dont know enough about a differential to know if it is possible to build one in SP or not.

                              Sorry that model crashes. It has something to do with the gears but I cant quite figure out what.

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                Wacov
                                last edited by

                                I know for a fact that differentials aren't currently possible in SP without actually making shapes that mesh together. Chris, this model shows what a differential is there for (power distribution), and how it's supposed to work... if more resistance is induced on either wheel, a differential allows the power to be shifted to the other wheel; in the model, the blue parts would connect to the wheels.

                                Updated

                                The animation shows how a real differential works, and the slider conrols how much 'resistance' there is on each side.(NOTE: It's not a simulation of a differential, and WILL NOT WORK in a dynamic model. There are no gears, just motors to show what the gears would be doing)

                                http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

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

                                  I should say that I dont know why the gears in SP dont work for a differential. Its probably some deficiency in the gears but I dont know what.

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    Wacov
                                    last edited by

                                    It's because when the object a gear is on is rotated, it doesn't affect the gear it's connected to; the connected gear is only affected when the gear moves in relation to the object it's attached to. Also, if one gear's object is rotated around the gear it's connected to, it has no effect; for a differential to work, it's crucial that this is fixed. Gears need to be far more dynamic if complex mechanisms like differentials will work.

                                    http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      phy
                                      last edited by

                                      @norviewsveteran said:

                                      That's not really working though- if you lift it up and set it to static, just the wheel with the motor turns, everything else just kind of chills.

                                      OK NorviewsVeteran is this what you want tell me if it is

                                      Error 404 (Not Found)!!1

                                      favicon

                                      (sketchup.google.com)

                                      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                                      1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        Wacov
                                        last edited by

                                        Sorry but I don't think that's it. If you hold one wheel still, the power should be sent to the other wheel.

                                        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          phy
                                          last edited by

                                          @wacov said:

                                          Sorry but I don't think that's it. If you hold one wheel still, the power should be sent to the other wheel.

                                          but wacov when you turn the buggy it does send the power to the other wheel and when you hold the one wheel it does send it to the other it jerks a little but when you turn the hidden geometry you can see that it is transferring the power

                                          Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            Wacov
                                            last edited by

                                            Oh yeah! Sorry... I just grabbed one of the wheels, and it didn't stop, so it didn't look like it was working.

                                            http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

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

                                            Advertisement