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

    Tracking with dimensions

    Scheduled Pinned Locked Moved SketchyPhysics
    8 Posts 4 Posters 726 Views 4 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.
    • M Offline
      mptak
      last edited by

      Autotracking of Objects for postprocessing.

      First off...once again I am amazed by both the passion and ingenuity of everyone...especially Chris.

      So...is there a way to have sketchup continually update the cartesian coordinates of object for eventual
      post-processing by students. (I teach at a technical college). I stumbled on the fact that dimensions
      will update as an object is moving which has huge possibilities but I am now interested in the more
      compact x,y,z format. I have posted my lame discovery just so I can add posting a model to my
      life's achievements.

      Keep creating!


      ballswithdimensions.skp

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

        Sorry, Not sure what you are asking for...

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

          I think I understand what you mean... do you want to save each object's position, in every frame of the simulation? That wouldn't really be a good idea, I could tell you how, but you'd end up with at least 500 x,y,z values for each object. For longer simulations you could be looking at 10,000+ per object...

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

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

            I was probably only thinking about a few points and then not necessarily at every frame.

            This could be used for such things as interference checks or on a more basic
            level to help students learn the simple complexity of translation and rotation.

            I'll keep messing with it. It sounds like a reasonable place to start
            fiddling around with the API.

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

              If you "record" with SketchyReplay it will save the transformation (position and rotattion) of every moving object at every frame. That data could be extracted if needed. Give me some more details about what you want to do and I can give you some pointers.

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

                Chris:

                I am interested in students learning to "truth" models as well as demonstrate a way to apply
                different programs/algorythms to tackle smaller chunks of a problem. Of course I am really
                just looking for an excuse to use sketchy physics(:)).

                I have included a model that I think gets at what I want for one particular point on an object. I presume
                that just keeping track of the value of each dimension will get me what I want. Thanks for the tip.

                Any more insights or tips would be welcomed but not expected. You are way too busy doing cool stuff.


                ringgame.skp

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

                  The SketchyReplay toolbar lets you record the simulation perfectly; the animation is saved within the .skp file, so you can access it later. Just press record and play the simulation. When you click reset, a popup will ask you whether to save the animation; click 'yes'. You can then select 'Play animation' to view it, click again to pause. You can also rewind, and skip back to the beginning.

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Sgt.A.Johnson
                    last edited by

                    @mptak said:

                    Chris:

                    Of course I am really
                    just looking for an excuse to use sketchy physics(:)).

                    Who needs an excuse. Just use it anyway. Im finding its useful for my tech coursework making a rat trap at the moment because i can use it to see how everything works. Only problem im having for that is no elastic bands and springs dont do the job right

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

                    Advertisement