QuadFace Tools error when SU starts

Hi! This error appears when SU starts. As far as I understand there is some problem with QuadFace tools plugin from ThomThom. When I delete it the problem disappears. And when try to reinstall this plugin again the problem comes back. I use SketchUp 2019 PRO version.

<main>:in `<main>'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_Lib2/settings.rb:51:in `eval'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_Lib2/settings.rb:51:in `read_default'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_Lib2/settings.rb:51:in `[]'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_Lib2/settings.rb:96:in `set_default'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools/core.rb:63:in `<module:QuadFaceTools>'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools/core.rb:35:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2019/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
C:/Program Files/SketchUp/SketchUp 2019/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools/bootstrap.rb:35:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `require'
C:/Program Files/SketchUp/SketchUp 2019/Tools/extensions.rb:197:in `load'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools.rb:54:in `register_extension'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools.rb:54:in `<module:QuadFaceTools>'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools.rb:15:in `<module:Plugins>'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools.rb:14:in `<module:TT>'
C:/Users/HYPERPC/AppData/Roaming/SketchUp/SketchUp 2019/SketchUp/Plugins/TT_QuadFaceTools.rb:13:in `<top (required)>'```

Do you have the current version of TT_Lib2 installed?
Screenshot%20-%205_22_2019%20%2C%209_49_58%20AM

Yes, it has already been installed, the latest version.


From a quick look this appears to be a SketchUp API error. Infinity can be written as a “default” value but not read later.

Sketchup.write_default("test", "test", Float::INFINITY)
# => true

Sketchup.read_default("test", "test")
# => #<NameError: uninitialized constant Infinity>

Next question is how Infinity was written this way from the start. That may be an issue with the extension.

@tt_su

EDIT: Btw, you can surround the error message with triple backticks (```) and it will be formatted in a more readable way in the forum.

hm… thought that was fixed… had an old issue like that: https://github.com/thomthom/quadface-tools/issues/42

Can you enter this into the Ruby Console?

TT::Plugins::QuadFaceTools.settings[ :uv_u_scale ] = 1.0
TT::Plugins::QuadFaceTools.settings[ :uv_v_scale ] = 1.0

Most likely due to a divide by zero with Float.

Yes, just did it. Is this right?

Aha, now I see… The problem has been solved after that) Thanks!

1 Like

I reopened the issue. I clearly need a different fix.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.