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.
    • S Offline
      sketchyman
      last edited by

      I installed skp6 and it works !!! great!!

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

        Can you please post some instructions because the magnet somehow doesnt work to me!!! it just freezes and i have to turn it off. PLease help

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

          @unknownuser said:

          what are these commands and where can i find out more about them excited
          or are you writing something about them soon?

          I am changing it a little bit but when I am done I will write something up.

          Basically Controller can be a little fragment of Ruby. So you can type in any legal ruby syntax that results in a number:

          2+2
          3*(15/2.0)
          3.14*Math.sin(1.0)

          You can even put stuff like

          if frame<30 then 0.0 else 1.0 end

          That will cause a joint to move to 1.0 after 30 frames.

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

            Sketchyman:

            -Sorry about the error on SU7. I have seen one other person have this problem but I dont know what causes it or how to fix it yet. If you manage to figure it out please let me know!

            -Final version will be released when it is done. No specific date.

            -See the magnets thread for instructions on the magnet. If you are still having problems post a description of the problem (and a model if possible) in that thread.

            Chris

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

              Is their anyway you could add a concave hull.

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

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

                I tried to download thruster magnet model but its made with version 7.0 and i cant install sketchyphysics on that one. please post some models made with sketchup 6. thanks a lot

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

                  I saw a video of SketchyPhysics 3 showing a piston linked to a normal cylinder. When activate the corrispondent slider, the cylinder seems to multiply.Is that possible in the current version?
                  http://www.youtube.com/watch?v=vNlhGt32oBg&eurl=http://sketchuptips.blogspot.com/2008/09/sketchyphysics-3-preview-video.html&feature=player_embedded

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

                    @sgal said:

                    I saw a video of SketchyPhysics 3 showing a piston linked to a normal cylinder. When activate the corrispondent slider, the cylinder seems to multiply.Is that possible in the current version?
                    http://www.youtube.com/watch?v=vNlhGt32oBg&eurl=http://sketchuptips.blogspot.com/2008/09/sketchyphysics-3-preview-video.html&feature=player_embedded

                    That feature isn't in yet. I have to figure out how to make it work with replay.

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

                      @sketchyman said:

                      I tried to download thruster magnet model but its made with version 7.0 and i cant install sketchyphysics on that one. please post some models made with sketchup 6. thanks a lot

                      Sketchyman, could you try this to fix your SU7 error. Find the file win32api.so in your ...Sketchup 7\plugins\SketchyPhysics3 folder and copy it to just ...\plugins\ and see if that fixes the problem.

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

                        @phy said:

                        Is their anyway you could add a concave hull.

                        Nope, sorry.

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xgraphica
                          last edited by

                          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

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

                            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.

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

                              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"


                              Cannone magnetico alfa.skp

                              1 Reply Last reply Reply Quote 0
                              • 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
                                            • 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