I thought it might be interesting on Tuesdays, to present info on helpful Sketchup "plug-ins" written in the Ruby scripting language. 
There are many such "Ruby" plug-ins which make working with Sketchup much easier, and <...dare I say it...> even FUN !
Todays Feature: 2 freeware Ruby script plug-ins by Todd Burch
MoveToOrigin
http://www.smustard.com/script/MoveToOrigin
MoveToOriginAndCenter
http://www.smustard.com/script/MoveToOriginAndCenter
I suggest saving a reference copy of the web page for each of these scripts.
FireFox:
FireFox Menu > File > Save Page As > Save as type: "Web Page, Complete"; (accept or change submitted [page name].htm as desired)
Internet Explorer:
Internet Explorer Menu > File > Save As > Save as type: "Web Page, Complete"; (accept or change submitted [page name].htm as desired)
IMHO, all aspects of working with geometry in Sketchup (especially Edges, Faces, Inferences etc.) are allowed to function properly when a model is positioned with the outer-most sides of the object positioned in alignment along the 3D world axes in the default work space "quadrant".
This is when one might wish to use "MoveToOrigin"
When a model is "finished", it is also helpful to ones further work importing and positioning a scenery object into the FS world, if a model is first "moved" to and centered on the origin of the default 3D world axes in Sketchup... but still on the "ground".
This is also when one might wish to use "MoveToOrigin"
NOTE: Both above plug-ins can (and do) work without first "grouping" some or all of ones model; but they will also still work when 'grouping' is used.
PS: Before centering a model at the 3D world axes "origin", one should first perform any intended special texturing operations such as photo-real rendering.
[EDITED]
FYI: For purposes of photo-realistic rendering, one may achieve lighting and shadowing more compatible with an intended real world destination for a scenery object by manually aligning the model and its "N-S-E-W heading" with the matching image position on a ground tile imported to Sketchup via:
Sketchup Menu > File > Geo-location > Add Location...
When a model is properly positioned relative to the Geo-location image ground tile, set the Sketchup Sun position as desired for ones rendering utility etc.
After all geometry and (ex: photo-realistic / rendered) texturing is finalized in Sketchup, one would then use the MoveToOrigin tool to place a model at the origin of the 3D world axes (and still on the "ground") ...prior to import into MCX.
[END_EDIT]
Hope this info helps !
GaryGB

There are many such "Ruby" plug-ins which make working with Sketchup much easier, and <...dare I say it...> even FUN !
Todays Feature: 2 freeware Ruby script plug-ins by Todd Burch
MoveToOrigin
http://www.smustard.com/script/MoveToOrigin
MoveToOriginAndCenter
http://www.smustard.com/script/MoveToOriginAndCenter
I suggest saving a reference copy of the web page for each of these scripts.
FireFox:
FireFox Menu > File > Save Page As > Save as type: "Web Page, Complete"; (accept or change submitted [page name].htm as desired)
Internet Explorer:
Internet Explorer Menu > File > Save As > Save as type: "Web Page, Complete"; (accept or change submitted [page name].htm as desired)
IMHO, all aspects of working with geometry in Sketchup (especially Edges, Faces, Inferences etc.) are allowed to function properly when a model is positioned with the outer-most sides of the object positioned in alignment along the 3D world axes in the default work space "quadrant".
This is when one might wish to use "MoveToOrigin"
When a model is "finished", it is also helpful to ones further work importing and positioning a scenery object into the FS world, if a model is first "moved" to and centered on the origin of the default 3D world axes in Sketchup... but still on the "ground".
This is also when one might wish to use "MoveToOrigin"
NOTE: Both above plug-ins can (and do) work without first "grouping" some or all of ones model; but they will also still work when 'grouping' is used.
PS: Before centering a model at the 3D world axes "origin", one should first perform any intended special texturing operations such as photo-real rendering.
[EDITED]
FYI: For purposes of photo-realistic rendering, one may achieve lighting and shadowing more compatible with an intended real world destination for a scenery object by manually aligning the model and its "N-S-E-W heading" with the matching image position on a ground tile imported to Sketchup via:
Sketchup Menu > File > Geo-location > Add Location...
When a model is properly positioned relative to the Geo-location image ground tile, set the Sketchup Sun position as desired for ones rendering utility etc.
After all geometry and (ex: photo-realistic / rendered) texturing is finalized in Sketchup, one would then use the MoveToOrigin tool to place a model at the origin of the 3D world axes (and still on the "ground") ...prior to import into MCX.
[END_EDIT]
Hope this info helps !
GaryGB
Last edited:







