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

    [Plugin]SketchyPhysics3 alpha.

    Scheduled Pinned Locked Moved SketchyPhysics
    83 Posts 20 Posters 16.9k Views 20 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.
    • C Offline
      CPhillips
      last edited by

      @sgal said:

      A bug (I don't know where it must be post, so I ad here): when I click on the piston joint, Internet Explorer says "script error"

      Thanks Sgal. Fixed in next version.

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

        @xgraphica said:

        Sorry if this has been asked before (noob here) but I noticed v2 was mentioned as having Mac support at some undefined time in the future. Will this be implemented in v3?

        Cheers

        XG

        Mac version isnt out yet. But soon.....

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

          @sketchyman said:

          I made this things You told me, but it doesnt even help. I tried to move it out completely, or give the file to both- sketchyphysics and plugin folder, and i also tried to leave it in just plugin folder, but nothing helps. I am sorry i couldnt help You.

          Sorry, I am at a loss. I will keep looking for a solution. Let me know if you figure anything out.

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

            SketchyPhysics 3 alpha for the Mac is in the vault and only awaits a final go-ahead for release. You should all see SP3a available for the Mac very, very soon.

            The mac version shares the same basic code base as windows so most bugs will be common. The library that implements the Newton Physics engine is almost completely common code between Mac and PC so not likely to be a big differential bug source.

            There are 2 other Mac Libraries

            GetKeys.dylib is a Carbon based lib for getting keyboard state. It still works with Leopard as of the most recent OS release but the Carbon APIs it uses are being deprecated. Unfortunately, there aren't any simple APIs in MacOS for doing this when the Carbon ones go away. I'll have to move this to the HID Manager.

            MacInput.dylib is an HID Manager library for reading USB Joysticks. This is pretty experimental right now. I'm using a Saitek P880 and it works great. Any other USB Joystick should work however if it implements a different output range on the axis then the response may be messed up. All axis and buttons are supported but dHat isn't. I'm working on supporting the XBox 360 controller right now. I'm using a Wireless XBOX controller with the MS Wireless gaming adapter and I have experimental code working at home. However, the XBox360 controller shows up as a gamepad in USB, not as a joystick so I have a little more work to do. I'm also putting in place the code necessary to read the keyboard and when that is done I will eliminate the GetKeys.dylib library.

            Known bugs / issues:

            Whatever shows up in this forum from PC users will almost certainly affect mac users.

            On the Mac you have to be sure and change focus out of a web dialog field before any edits will be committed. If for instance you edit a ruby function in the Inspector window but leave the cursor in the field and then hit run you'll have unexpected behavior. My best recommendation right now is to always hit the tab key after an edit to force an onBlur event.

            The control key can't be overridden in Sketchup Ruby scripts since it is reserved by Sketchup to implement a right mouse click on a one-button mouse. Therefore, anything in PC SketchyPhysics that refers to using the CONTROL key as a modifier should use the OPTION/ALT key instead. Shift as a modifier works just fine for both. Left handers may have a problem, please let me know, since I think we're using LSHIFT and LCONTROL and LALT. Lefties will just have to reach to the "wrong" side of the keyboard.

            Keyboard emulation of joysticks works just fine. However, on the Mac the ASDW keys will fill the keyboard input buffer and start beeping at you when you use them. The arrow keys don't suffer this indignity. I'm working on it. If anybody knows how to turn this off please let me know!

            Mac WebDialogs remain a little flaky. Much more so than on the PC. I don't know if Google is using WebKit or what for their built in browser but it isn't the most fun thing to work with right now. You'll see that windows don't retain location well and windows open at the wrong size but if you resize the window you can see all the stuff you need to see.


            Have fun with it and tell me what you find so we can fix and improve!!!

            Kevin Willey

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

              @cphillips said:

              Sorry, I am at a loss. I will keep looking for a solution. Let me know if you figure anything out.

              Sketchyman, I might have found the problem. Your system is probably missing the msvcr71.dll. Another user just fixed a similar problem by installing that file in his windows/system32 folder. But I think it would also work if you put it in the Sketchup 7/ directory.

              Let me know if it works and I will fix it in the installer.


              msvcr71.zip

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

                Dear Coen,
                I know what you mean. But I am really using windows xp proffesional. That what you see is just a theme for XP Which i really like. Because of that You thought I am using Linux.

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

                  YOU ARE GENIUS CHRIS
                  I just made what you told me and it WORKS, I am so HAPPY
                  Thank you very much

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

                    Cool. Ill update the installer. Thanks SketchyMan.

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

                      I found a mistake in buyoancy. If you make a boyoancying´palne and give it just to some space the ball acts like in water even out of that space. Look at this model


                      Mistake

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

                        The water plane is infinite. Just the graphic has size.

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

                          @cphillips said:

                          The water plane is infinite. Just the graphic has size.
                          You mean that there is no chance to make something as pool on the top floor?

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

                            How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! 🎉 Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.

                            I reject your reality and substitute my own.

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

                              @unknownuser said:

                              How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! 🎉 Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.

                              Set the magnet strength to something like:

                              x*300.0
                              

                              300 being the strength of the magnet when the button is pressed.

                              I thought I had that bug in the joint names. Can you post the exact steps to reproduce it?

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

                                @cphillips said:

                                by CPhillips on Wed Feb 18, 2009 9:01 am

                                =Mr Planet= wrote:How do i make a magnet controlled by a joystick's "X" button? I have seen the joystick support, but it did'nt help much, an answer would be great, thanks! :tada: Also i have discovered that if you make a slight error in joint names (ie. putting " instead of ') SketchyPhysics 3.0 cannot be loaded and you need to reload SketchUp.
                                

                                Set the magnet strength to something like:

                                Code: Select all
                                x*300.0

                                can we assign other keyboard buttons to controls other than WASD & arrow keys?

                                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

                                  @phy said:

                                  can we assign other keyboard buttons to controls other than WASD & arrow keys?

                                  Its not planned for this version. It would make the input configuration very complicated.

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

                                    Here is the bugged model...... Ironically named as well 😆
                                    I deliberately named it incorrectly, that's how SP3 does'nt load.


                                    Bugged Model

                                    I reject your reality and substitute my own.

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

                                      Thanks. I was able to find it and its fixed in next version.

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

                                      Advertisement