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

    Mantinence release coming soon.

    Scheduled Pinned Locked Moved SketchyPhysics
    30 Posts 11 Posters 4.2k Views 11 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.
    • emerald15E Offline
      emerald15
      last edited by

      Excellent! Just dabbled a bit with SP but would really like to use it more if problems can be ironed out.

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

        Looking into the plugin conflict issue. For testing purposes what other plugins conflict with SketchyPhysics? And how does it fail?

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          The fails are mainly in the 'group' side
          I think you might mess with group.copy and make it return nil rather than a reference to the new group.
          Also setting group.definition back to be group is best resolved using defn=group.entities.parent or something similar...
          If you run a find through your code for base classes like class Sketchup::, Geom::, Array:: etc you should be able to find any base class methods that are ill-advisedly rewritten... or even [safely?] added to... πŸ˜•

          TIG

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            As TIG says, any core Ruby classes or core SketchUp classes should not be modified.

            Clashes could also be due to Observers. Any observers modifying the model in any of their events?

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

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

              @thomthom said:

              Clashes could also be due to Observers. Any observers modifying the model in any of their events?

              Possibly. That's bad?

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                @cphillips said:

                @thomthom said:

                Clashes could also be due to Observers. Any observers modifying the model in any of their events?

                Possibly. That's bad?

                Could be. You could interrupt operations of native or custom tools. Some events are worse to react to than others. I could have a look if you can point me to some code.

                Thomas Thomassen β€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

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

                  Looks like the only modfications I make in observers are to object attributes. And that is pretty rare.

                  @thomthom said:

                  @cphillips said:

                  @thomthom said:

                  Clashes could also be due to Observers. Any observers modifying the model in any of their events?

                  Possibly. That's bad?

                  Could be. You could interrupt operations of native or custom tools. Some events are worse to react to than others. I could have a look if you can point me to some code.

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

                    CPhillips!!!!!!!!!!!!
                    I can't, beleive I see your post!!!
                    I thought SP already ended, but now here I hear of it again.
                    Thankyou!!! πŸ‘

                    Using, MSFT Windows API, and win32-api I found a way to hook and receive keyboard and mouse messages without involving to activate a different window, such as SketchyPhysics control panel. Here is the project (ofcourse its way old (bad scripting code) and hard to use with plugins): hook proc It's just a rough example (Don't use it with plugins).

                    Yet, I totally re-scripting the project, with all rules, with better developed scripting methods, and ofcourse with a total friendly use.

                    Other than that, thankyou for being back!!!!

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lumianti
                      last edited by

                      Hi CPhillips.
                      Great to have you back. I wasn't sure if your valuable work on SP was abondoned, either. I'm glad it isn't.

                      Right of the bat, may I suggest fixing emitted objects and entities created using "splitme" so they that would apear on SketchyReplay. It would help a lot of people in animation and since new Vray version is to come out it may become an ultimate animation tool for sketchup users.

                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by

                        (1) Can SP be made available as an rbz archive ??

                        (I'd like to look at the code without actually running the installer.)
                        (2) Any way a future edition can be made without WxSU / WxWindows ??

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          @dan rathbun said:

                          (1) Can SP be made available as an rbz archive ??

                          (I'd like to look at the code without actually running the installer.)
                          (2) Any way a future edition can be made without WxSU / WxWindows ??

                          +1

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • Bryan KB Offline
                            Bryan K
                            last edited by

                            Looking forward to the bug fixes.

                            I've just started to try the tutorials and found it has multiple failures. I'm using SU 8.

                            Great plug-in and I've seen some amazing things done with it.

                            See my portfolio at https://delphiscousin.blogspot.com/

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

                              @dan rathbun said:

                              (1) Can SP be made available as an rbz archive ??

                              (I'd like to look at the code without actually running the installer.)
                              (2) Any way a future edition can be made without WxSU / WxWindows ??

                              I'll look into the RBZ thing. SP doesnt use Wx. There may be some stale references in the code but it is not required.

                              1 Reply Last reply Reply Quote 0
                              • ashscottA Offline
                                ashscott
                                last edited by

                                Really excited to see you back.

                                My ruby knowledge is limited but I love SP and think the potential is huge - let me know if there is anything I can do to help in terms of testing etc.

                                Have spent time playing with SP in conjunction with a tool called joytokey to allow me to run dual logitech joysticks and simulate prototype heavy machinery (similar to an excavator operator's configuration).

                                People are blown away when I can let them virtually 'drive' a prototype machine, make a quick geometric modification to it and let them 'drive' it again with the new modification.

                                Be very encouraged Chris - your work is brilliant

                                Just some stuff I do with Sketchup.

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

                                  AshCott, can you describe a little more your experience with joytokey. Looks intriguing.

                                  1 Reply Last reply Reply Quote 0
                                  • ashscottA Offline
                                    ashscott
                                    last edited by

                                    @mptak said:

                                    AshCott, can you describe a little more your experience with joytokey. Looks intriguing.

                                    Well, SP allows you to refer to a single joystick for control by default. This is also the arrow keys which represent the various axes of the joystick.
                                    However, one joystick is not enough so I used joytokey to assign keyboard commands that can be defined in SP to a second joystick.

                                    So when I pull back on my second joystick, joytokey tells the system that "s" is being pressed. This way I can put a whole new set of functions into SP with the second joystick.

                                    The limitation is that, with the primary joystick in SP, your input is along a scale. For example; if you have a motor set up to respond when you tilt the primary joystick right, the motor will speed up the harder you push the primary joystick to the right. With joytokey, the system is interpretting the secondary joystick as simply a set of buttons so, although it gives the illusion of a real world operator situation, the functions on the secondary joystick are either 'off' or 'on'....not variable like the primary joystick. It still does the trick though.

                                    Hope that makes sense - there is probably a better way to do what I am doing but joytokey is my initial, hacky, solution

                                    Just some stuff I do with Sketchup.

                                    1 Reply Last reply Reply Quote 0
                                    • ashscottA Offline
                                      ashscott
                                      last edited by

                                      Anything I can do to help with this Chris? - Testing etc?

                                      Ash

                                      Just some stuff I do with Sketchup.

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

                                        Thanks but not yet ready for testing.

                                        Kinda waiting for Trimble to release a new version of SU. I assume there is one coming since the google buyout.

                                        Chris

                                        1 Reply Last reply Reply Quote 0
                                        • ashscottA Offline
                                          ashscott
                                          last edited by

                                          Ok, a new release will influence the way SP runs?

                                          Just some stuff I do with Sketchup.

                                          1 Reply Last reply Reply Quote 0
                                          • thomthomT Offline
                                            thomthom
                                            last edited by

                                            @cphillips said:

                                            Kinda waiting for Trimble to release a new version of SU. I assume there is one coming since the google buyout.

                                            Next version will be "SketchUp 2013". When in 2013 it will be released has not been mentioned.

                                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

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

                                            Advertisement