Xyz coordinates
-
Hi All,
Just wondered if anyone knew of a plugin that allows you move objects by typing in xyz coordinates. So say I had five objects at slightly different heights I could just type 0 in and they would all drop to the ground plane. I know there are ways of doing this manually, but it is quite a useful tool in other 3D programmes.
Cheers
Andy
-
This should work.
http://sketchuptips.blogspot.it/2007/08/plugin-mover-2.html
Also there are a couple or "drop" plugin around. One by TBD, another by Rick Wilson and also one by Thomthom if I'm not wrong. Just have a look here and on the Smustard site. -
'Drop' ? Or several variants...
http://www.smustard.com/script/DropGC
http://sketchucation.com/forums/viewtopic.php?p=17175#p17175
There are also some 'Align' tools... do a Search in the Plugins Index...or this one-liner copy/pasted into the Ruby Console+<enter> will z=0 all selected objects, best used with groups/component-instances...
m=Sketchup.active_model;m.start_operation('0');m.selection.to_a.each{|e|next unless e.valid?;o=e.bounds.min;p=o.clone;p.z=0;t=Geom;;Transformation.translation(o.vector_to(p));m.active_entities.transform_entities(t,[e])};m.commit_operation;
-
-
My one-liner posted earlier will 'zero' all selected objects so that their bounds.min.z=0...
It will 'destroy' some selected objects like vertical faces, when their edges all get to be 'coincident' on the ground!!
Hence the warning about it being best used on groups/component-instances...
Advertisement