Tracking with dimensions
-
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!
-
Sorry, Not sure what you are asking for...
-
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...
-
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. -
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.
-
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.
-
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.
-
@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
Advertisement