It works! Thank you so much. This plugin is extremely useful for our workflow at Open Source Ecology (see here).
Any idea when 2.9.9 will be pushed to the extension warehouse?
It works! Thank you so much. This plugin is extremely useful for our workflow at Open Source Ecology (see here).
Any idea when 2.9.9 will be pushed to the extension warehouse?
@tt_su said:
I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.
No worries! I really appreciate your patience and am happy to send you any debug info.
@tt_su said:
SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command:
load "TT_Lib2/core.rb"
I ran this with both TT_Lib2 installed, and not. I think the latter has more information about the error...
Sorry, by uninstall I meant unchecking TT_Lib2 and Cleanup in the Extensions dialog and restarting SketchUp.
The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state? I thought it might be akin to how SketchUp loads the extension at startup?
Unfortunately SketchUp 2014 doesn't work at all. I've attached diagnostic output from SketchUp 2013, in case that helps...
With. Without I get just the first half:
Error Loading File C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb
uninitialized constant TT;;GUI;;ToolWindowError Loading File TT_Lib2.rb
uninitialized constant TT;;GUI;;ToolWindow
Whoops, I removed Cleanup to check whether I would get errors with just TT_Lib. And I did.
I reinstalled CleanUp and attached the diagnostic. Thanks for your patience.
By the way, I tried installing SketchUp 2013 and got the same output in console and dialog. Let me know if I can help debug. Thanks!
Thanks for the quick reply! Linux is Debian stable (wheezy) with wine from the repository, version 1.4.1.
Extensions installed via SketchUp GUI.
Hi Thom, thanks for this excellent tool.
I was hoping you could help me get it working in Linux under wine. I saw the discussion many pages back about wine but that was a different error. I am using SketchUp 8 and the latest TT_Lib 2.9.8 and Cleanup 3.2.1
After installing TT_Lib and restarting I am getting a dialog saying
Error Loading File C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb
uninitialized constant TT;;GUI;;ToolWindowError Loading File TT_Lib2.rb
uninitialized constant TT;;GUI;;ToolWindowError Loading File C;/Program Files/Google/Google SketchUp 8/Plugins/tt_cleanup/core.rb
uninitialized constant TT;;GUI;;ToolWindowError Loading File tt_cleanup.rb
uninitialized constant TT;;GUI;;ToolWindow
Meanwhile in the terminal I see
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2.rb;19; warning; already initialized constant PLUGIN_ID
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2.rb;20; warning; already initialized constant PLUGIN_NAME
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2.rb;21; warning; already initialized constant PLUGIN_VERSION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;27; warning; already initialized constant BB_LEFT_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;28; warning; already initialized constant BB_RIGHT_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;29; warning; already initialized constant BB_LEFT_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;30; warning; already initialized constant BB_RIGHT_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;31; warning; already initialized constant BB_LEFT_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;32; warning; already initialized constant BB_RIGHT_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;33; warning; already initialized constant BB_LEFT_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;34; warning; already initialized constant BB_RIGHT_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;36; warning; already initialized constant BB_CENTER_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;37; warning; already initialized constant BB_CENTER_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;38; warning; already initialized constant BB_CENTER_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;39; warning; already initialized constant BB_CENTER_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;41; warning; already initialized constant BB_LEFT_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;42; warning; already initialized constant BB_LEFT_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;43; warning; already initialized constant BB_RIGHT_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;44; warning; already initialized constant BB_RIGHT_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;46; warning; already initialized constant BB_LEFT_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;47; warning; already initialized constant BB_RIGHT_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;48; warning; already initialized constant BB_LEFT_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;49; warning; already initialized constant BB_RIGHT_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;51; warning; already initialized constant BB_LEFT_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;52; warning; already initialized constant BB_RIGHT_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;53; warning; already initialized constant BB_CENTER_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;54; warning; already initialized constant BB_CENTER_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;55; warning; already initialized constant BB_CENTER_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;56; warning; already initialized constant BB_CENTER_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;58; warning; already initialized constant BB_CENTER_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;59; warning; already initialized constant BB_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;64; warning; already initialized constant MB_ICONHAND
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;65; warning; already initialized constant MB_ICONSTOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;66; warning; already initialized constant MB_ICONERROR
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;67; warning; already initialized constant MB_ICONQUESTION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;68; warning; already initialized constant MB_ICONEXCLAMATION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;69; warning; already initialized constant MB_ICONWARNING
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;70; warning; already initialized constant MB_ICONASTERISK
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;71; warning; already initialized constant MB_ICONINFORMATION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;72; warning; already initialized constant MB_ICON_NONE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;74; warning; already initialized constant MB_DEFBUTTON1
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;75; warning; already initialized constant MB_DEFBUTTON2
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;76; warning; already initialized constant MB_DEFBUTTON3
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;77; warning; already initialized constant MB_DEFBUTTON4
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;82; warning; already initialized constant MESH_SHARP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;83; warning; already initialized constant MESH_SOFT
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;84; warning; already initialized constant MESH_SMOOTH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;85; warning; already initialized constant MESH_SOFT_SMOOTH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;90; warning; already initialized constant POINT_OPEN_SQUARE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;91; warning; already initialized constant POINT_FILLED_SQUARE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;92; warning; already initialized constant POINT_CROSS
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;93; warning; already initialized constant POINT_X
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;94; warning; already initialized constant POINT_STAR
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;95; warning; already initialized constant POINT_OPEN_TRIANGLE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;96; warning; already initialized constant POINT_FILLED_TRIANGLE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;114; warning; already initialized constant VERSION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;118; warning; already initialized constant PREF_KEY
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;121; warning; already initialized constant PATH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;122; warning; already initialized constant PATH_LIBS
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;125; warning; already initialized constant PATH_LIBS_CEXT
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/sketchup.rb;21; warning; already initialized constant COLOR_GL_POLYGON
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/sketchup.rb;25; warning; already initialized constant COLOR_ALPHA
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/sketchup.rb;29; warning; already initialized constant RAYTEST_WYSIWYG
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/system.rb;16; warning; already initialized constant PLATFORM_IS_OSX
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/system.rb;19; warning; already initialized constant PLATFORM_IS_WINDOWS
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/system.rb;22; warning; already initialized constant TEMP_PATH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;27; warning; already initialized constant BB_LEFT_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;28; warning; already initialized constant BB_RIGHT_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;29; warning; already initialized constant BB_LEFT_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;30; warning; already initialized constant BB_RIGHT_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;31; warning; already initialized constant BB_LEFT_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;32; warning; already initialized constant BB_RIGHT_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;33; warning; already initialized constant BB_LEFT_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;34; warning; already initialized constant BB_RIGHT_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;36; warning; already initialized constant BB_CENTER_FRONT_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;37; warning; already initialized constant BB_CENTER_BACK_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;38; warning; already initialized constant BB_CENTER_FRONT_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;39; warning; already initialized constant BB_CENTER_BACK_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;41; warning; already initialized constant BB_LEFT_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;42; warning; already initialized constant BB_LEFT_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;43; warning; already initialized constant BB_RIGHT_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;44; warning; already initialized constant BB_RIGHT_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;46; warning; already initialized constant BB_LEFT_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;47; warning; already initialized constant BB_RIGHT_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;48; warning; already initialized constant BB_LEFT_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;49; warning; already initialized constant BB_RIGHT_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;51; warning; already initialized constant BB_LEFT_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;52; warning; already initialized constant BB_RIGHT_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;53; warning; already initialized constant BB_CENTER_FRONT_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;54; warning; already initialized constant BB_CENTER_BACK_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;55; warning; already initialized constant BB_CENTER_CENTER_TOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;56; warning; already initialized constant BB_CENTER_CENTER_BOTTOM
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;58; warning; already initialized constant BB_CENTER_CENTER_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;59; warning; already initialized constant BB_CENTER
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;64; warning; already initialized constant MB_ICONHAND
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;65; warning; already initialized constant MB_ICONSTOP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;66; warning; already initialized constant MB_ICONERROR
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;67; warning; already initialized constant MB_ICONQUESTION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;68; warning; already initialized constant MB_ICONEXCLAMATION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;69; warning; already initialized constant MB_ICONWARNING
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;70; warning; already initialized constant MB_ICONASTERISK
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;71; warning; already initialized constant MB_ICONINFORMATION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;72; warning; already initialized constant MB_ICON_NONE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;74; warning; already initialized constant MB_DEFBUTTON1
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;75; warning; already initialized constant MB_DEFBUTTON2
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;76; warning; already initialized constant MB_DEFBUTTON3
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;77; warning; already initialized constant MB_DEFBUTTON4
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;82; warning; already initialized constant MESH_SHARP
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;83; warning; already initialized constant MESH_SOFT
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;84; warning; already initialized constant MESH_SMOOTH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;85; warning; already initialized constant MESH_SOFT_SMOOTH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;90; warning; already initialized constant POINT_OPEN_SQUARE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;91; warning; already initialized constant POINT_FILLED_SQUARE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;92; warning; already initialized constant POINT_CROSS
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;93; warning; already initialized constant POINT_X
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;94; warning; already initialized constant POINT_STAR
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;95; warning; already initialized constant POINT_OPEN_TRIANGLE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;96; warning; already initialized constant POINT_FILLED_TRIANGLE
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;114; warning; already initialized constant VERSION
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;118; warning; already initialized constant PREF_KEY
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;121; warning; already initialized constant PATH
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;122; warning; already initialized constant PATH_LIBS
C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb;125; warning; already initialized constant PATH_LIBS_CEXT
I am expecting a Cleanup item in the Plugins menu but do not see it. Let me know if I can help debug! Thanks again.