CityGML for SketchUp 2015

install
installation
rbz
citygml
zip

#1

Hello

Please anyone help me, I have a problem with Sketchup 2015
I used this link to install CityGML plugin (https://github.com/smrcek/citygml_for_sketchup2015) the problem I can’t install Rb file because skutshup2015 install rbz file


#2

An RBZ file is really a ZIP archive file that gas been renamed.

Zip up “CityGmlExtension.rb” and the “CityGML” folder, into a zip archive named “CityGmlExtension.zip”.

Then rename it to “CityGmlExtension.rbz” and put it on your Desktop (or some easily found sub-folder of perhaps your “Documents” folder.)

Then install it with the “Install Extension…” button of the “Extensions” panel in the “Preferences” dialog.


#3

There is a potential problem with this extension regarding “win32api.so”.
It is providing only one (1) “win32api.so” binary.

Which is it 32-bit or 64-bit ?

It really aught to load the binary from the Standard Ruby library distributed with SketchUp.

There are also several other binaries provided. If they run within SketchUp’s process they need to match SketchUp & Ruby bitness.


#4

when I rename it to “CityGmlExtension.rbz” and I install it with the
"install Extension"

Installation is well done but nothing is added in sketshup


#5

Hello

when I install plugin citygml_for_sketchup2015
https://github.com/smrcek/citygml_for_sketchup2015 I have this error

Error Loading File jointpushpull.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/jointpushpull.rb:52: invalid multibyte char (UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/jointpushpull.rb:52: syntax error, unexpected
tINTEGER, expecting keyword_end
ext.copyright = @@creator + " - \© 2008-2010"

                                   ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/jointpushpull.rb:52: syntax error, unexpected
tSTRING_BEG, expecting keyword_end
ext.copyright = @@creator + " - \© 2008-2010"

                                         ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/jointpushpull.rb:52: unterminated string meets end of
file
Error Loading File LibFredo6.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: invalid multibyte char (UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: syntax error, unexpected
tIDENTIFIER, expecting ‘]’
"|ES| Los siguientes Par\ámetros son inv\álidos"]

                              ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: syntax error, unexpected
$undefined
"|ES| Los siguientes Par\ámetros son inv\álidos"]

                                       ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: invalid multibyte char (UTF-8)
C:/Program Files (x86)/SketchUp/SketchUp
2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files (x86)/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire’
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibFredo6.rb:26:in `<top (required)>'
Error Loading File LibTraductor.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: invalid multibyte char (UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: syntax error, unexpected
tIDENTIFIER, expecting ‘]’
"|ES| Los siguientes Par\ámetros son inv\álidos"]

                              ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: syntax error, unexpected
$undefined
"|ES| Los siguientes Par\ámetros son inv\álidos"]

                                       ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/LibTraductor.rb:33: invalid multibyte char (UTF-8)
Error Loading File Mirror.rb
Error: #<NameError: uninitialized constant PLATFORM>
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/Mirror.rb:67:in <top (required)>' Error Loading File toggleWindows.rb Error: #<NameError: uninitialized constant PLATFORM> C:/Users/user/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/toggleWindows.rb:4:in<top (required)>'
Error Loading File ZLoader__Curviloft.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__Curviloft.rb:34: invalid multibyte char
(UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__Curviloft.rb:34: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text = “Probl\ème avec l’installation du plugin #{fro6__plugin}”

            ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__Curviloft.rb:35: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text += “\nLibFredo6 n’est pas install\é ou bien n’est …
^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__Curviloft.rb:35: syntax error, unexpected
$undefined
…”\nLibFredo6 n’est pas install\é ou bien n’est pas dans le b…
… ^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__Curviloft.rb:35: invalid multibyte char
(UTF-8)
Error Loading File ZLoader__OnSurface.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__OnSurface.rb:34: invalid multibyte char
(UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__OnSurface.rb:34: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text = “Probl\ème avec l’installation du plugin #{fro6__plugin}”

            ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__OnSurface.rb:35: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text += “\nLibFredo6 n’est pas install\é ou bien n’est …
^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__OnSurface.rb:35: syntax error, unexpected
$undefined
…”\nLibFredo6 n’est pas install\é ou bien n’est pas dans le b…
… ^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__OnSurface.rb:35: invalid multibyte char
(UTF-8)
Error Loading File ZLoader__RoundCorner.rb
Error: C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__RoundCorner.rb:32: invalid multibyte char
(UTF-8)
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__RoundCorner.rb:32: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text = “Problème avec l’installation du plugin #{fro6__plugin}”

           ^

C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: syntax error, unexpected
tIDENTIFIER, expecting keyword_end
text += “\nLibFredo6 n’est pas install\é ou bien n’est …
^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: syntax error, unexpected
$undefined
…”\nLibFredo6 n’est pas install\é ou bien n’est pas dans le b…
… ^
C:/Users/user/AppData/Roaming/SketchUp/SketchUp
2015/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: invalid multibyte char
(UTF-8)


#6

These are issues with Fredo6’s extensions.


#7

Where did you obtain the extensions? Those reports look like issues with files that are not UTF-8 encoded, which suggests they are at least a couple of years old.


#8

Agreed, they are at least targeted for Ruby 1.8.x, ie:

Error: #<NameError: uninitialized constant PLATFORM>

This long deprecated constant was finally removed for Ruby 2.0 in favor of RUBY_PLATFORM.


Looks, like this is a case of just copying over an old “Plugins” folder from pre-2014 SketchUp.


#9

I load citygml extesion from this tlink