Ruby Tuesday: 19 July 2011
Ruby Tuesday: #2
Many excellent Ruby plug-ins for Sketchup are initially developed and hosted via Sketchucation Forum.
NOTE: At Sketchucation their Ruby plug-in demo videos etc. are viewable (and the most current version of script files themselves are accessible for download) after free 'non-spamming' registration / membership (and login) there.
Today I'm posting links to 2 very helpful plug-ins by Thomas Thomassen (aka "thomthom"):
Material Replacer
http://forums.sketchucation.com/viewtopic.php?f=323&t=26013&hilit=material replacer
This may be particularly beneficial to the "tinkering" process when testing various textures for models to see how they'd look compared to one another, and also to see how such textures might look after they have been altered by a ex: photoreal rendering engine.
BTW: A quick video demo of thomthom's Material Replacer... easily swapping texture materials once a model is first UVW "mapped":
http://sketchuptraining.blogspot.com/2011/01/apps-for-sketchup-steve-jobs-is-not.html
FYI: 'Power Users' may wish to look at thomthom's "UVTools" for other advanced < GroovyUV ? > texturing possibilities ex:
[Tutorial] Creating textured organic shapes with UV Toolkit²
http://forums.sketchucation.com/viewtopic.php?f=18&t=35620
[EDITED]
...and:
[Tutorial > Texturing] Creating an arch material - #1 (SU 7+)
http://forums.sketchucation.com/viewtopic.php?f=18&t=21847
[Tutorial > Texturing] Texturing an arch - #2
http://forums.sketchucation.com/viewtopic.php?p=300361#p300361
BTW: (Part 2 immediately above is especially helpful with texturing arches and curved pipes / ducts etc.)
[END_EDIT]
The other Ruby Plug-in by thomthom that may prove very helpful to optimizing models prior to import to FS via ModelConverterX is:
Cleanup
http://forums.sketchucation.com/viewtopic.php?f=323&t=22920
NOTE: Some authors (like thomthom) use a ex: "library" sub-folder located in the [Sketchup install path]\Plugins sub-folder along with either a "launcher" for a plug-in Tool, or the actual Ruby tool script itself.
In the case of thomthom's "Cleanup", it also requires installation of his "TT_Lib2" for the main Tool to work:
http://forums.sketchucation.com/viewtopic.php?f=323&t=30503
CAVEAT: As always, one should test such 3rd party Sketchup "plug-in Tools" and their various options ONLY with a saved-out COPY of one's Sketchup project... so one has at least 1 safely stored backup of the original.
TIP: One can compare model complexity before and after using this "Cleanup" Tool via Sketchup Model Info Statistics:
1.) In Sketchup, triple-click to select one's entire "visible" model
2.) Navigate Sketchup Menu > Window > Model Info (Model Info dialog opens)
3.) In Model Info dialog left pane, click "Statistics"
4.) In Model Info dialog, Select "Entire Model"
5.) In Model Info dialog, 'check' "Show Nested Components"
NOTE: DO NOT < yet ? > click either of the "Purge Unused" or "Fix Problems" buttons in the Model Info dialog
After running the "Cleanup" Tool, one should inspect the model for any missing content that one might need to fix manually.
FYI: IIUC, this Ruby plug-in incidentally deletes faces inside a "closed solid" model object to reduce the vertex and poly counts etc..
So, if using transparent windows and textured 'inside' faces (ex: in a 'control tower' object), be sure all is as desired in one's model geometry and texturing... prior to export to FS via ModelConverterX.
PS: Be sure to reward thomthom with a "cookie" for his efforts at Sketchucation Forum.
Oh, and please post about other Ruby 'gems' here at FSDeveloper Sketchup Forum too !
Hope this helps !
GaryGB
Ruby Tuesday: #2
Many excellent Ruby plug-ins for Sketchup are initially developed and hosted via Sketchucation Forum.
NOTE: At Sketchucation their Ruby plug-in demo videos etc. are viewable (and the most current version of script files themselves are accessible for download) after free 'non-spamming' registration / membership (and login) there.
Today I'm posting links to 2 very helpful plug-ins by Thomas Thomassen (aka "thomthom"):
Material Replacer
http://forums.sketchucation.com/viewtopic.php?f=323&t=26013&hilit=material replacer
This may be particularly beneficial to the "tinkering" process when testing various textures for models to see how they'd look compared to one another, and also to see how such textures might look after they have been altered by a ex: photoreal rendering engine.
BTW: A quick video demo of thomthom's Material Replacer... easily swapping texture materials once a model is first UVW "mapped":

http://sketchuptraining.blogspot.com/2011/01/apps-for-sketchup-steve-jobs-is-not.html
FYI: 'Power Users' may wish to look at thomthom's "UVTools" for other advanced < GroovyUV ? > texturing possibilities ex:
[Tutorial] Creating textured organic shapes with UV Toolkit²
http://forums.sketchucation.com/viewtopic.php?f=18&t=35620
[EDITED]
...and:
[Tutorial > Texturing] Creating an arch material - #1 (SU 7+)
http://forums.sketchucation.com/viewtopic.php?f=18&t=21847
[Tutorial > Texturing] Texturing an arch - #2
http://forums.sketchucation.com/viewtopic.php?p=300361#p300361
BTW: (Part 2 immediately above is especially helpful with texturing arches and curved pipes / ducts etc.)
[END_EDIT]
The other Ruby Plug-in by thomthom that may prove very helpful to optimizing models prior to import to FS via ModelConverterX is:
Cleanup
http://forums.sketchucation.com/viewtopic.php?f=323&t=22920
NOTE: Some authors (like thomthom) use a ex: "library" sub-folder located in the [Sketchup install path]\Plugins sub-folder along with either a "launcher" for a plug-in Tool, or the actual Ruby tool script itself.
In the case of thomthom's "Cleanup", it also requires installation of his "TT_Lib2" for the main Tool to work:
http://forums.sketchucation.com/viewtopic.php?f=323&t=30503
CAVEAT: As always, one should test such 3rd party Sketchup "plug-in Tools" and their various options ONLY with a saved-out COPY of one's Sketchup project... so one has at least 1 safely stored backup of the original.

TIP: One can compare model complexity before and after using this "Cleanup" Tool via Sketchup Model Info Statistics:
1.) In Sketchup, triple-click to select one's entire "visible" model
2.) Navigate Sketchup Menu > Window > Model Info (Model Info dialog opens)
3.) In Model Info dialog left pane, click "Statistics"
4.) In Model Info dialog, Select "Entire Model"
5.) In Model Info dialog, 'check' "Show Nested Components"
NOTE: DO NOT < yet ? > click either of the "Purge Unused" or "Fix Problems" buttons in the Model Info dialog
After running the "Cleanup" Tool, one should inspect the model for any missing content that one might need to fix manually.
FYI: IIUC, this Ruby plug-in incidentally deletes faces inside a "closed solid" model object to reduce the vertex and poly counts etc..
So, if using transparent windows and textured 'inside' faces (ex: in a 'control tower' object), be sure all is as desired in one's model geometry and texturing... prior to export to FS via ModelConverterX.

PS: Be sure to reward thomthom with a "cookie" for his efforts at Sketchucation Forum.
Oh, and please post about other Ruby 'gems' here at FSDeveloper Sketchup Forum too !

Hope this helps !
GaryGB
Last edited:
