sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Extension RBZ maker

    Scheduled Pinned Locked Moved Plugins
    6 Posts 3 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • inteloideI Offline
      inteloide
      last edited by inteloide

      Hello,

      I would like to propose you my new plugin : BGSketchup_RBZ_maker
      The purpose of this plugin is to make the process of extension rbz creation easier.
      Note : This plugin is for extension authors.

      Screenshot

      Once sketchup launched, click on the toolbar icon or through menu (Plugins >> BGSketchup >> RBZ maker)
      You can then choose your extension, then choose wich files to scramble/encrypt, then destination file name (currently plugin propose you the plugin name + version), then generate !

      May I have your help on :

      • the installation of gem rubyzip, to make it easier for user
      • MAC tests as I'm a PC user

      The plugin :
      The plugin version 1.0.1

      Thank you.
      Inteloide (BGSketchup)

      Restrictions :
      -You must have Sketchup 2015 (because of rubyzip gem installation, or is there another way ???)
      -You must have the gem rubyzip installed (the rbz contains one version of it) to install it, just run in Ruby console Gem.install 'c:\toto\rubyzip', where c:\toto\ is the directory name of the gem file.
      -Your extension file structure contain a sub-folder with the same name that root extension file. Example :

      @unknownuser said:

      extension_toto.rb
      extension_toto/main.rb
      extension_toto/second.rb

      -This plugin require BGSketchup_Library extension (you can find it on the Pluginstore)

      Informations :
      This plugin send anonymous data to my website (just for statistic analysis). Data can be consult at BGSketchup website

      Humanity will do a huge step when the IT professionals will understand that computers are tools...

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        I've got a mac rbz maker that make 'windows safe' .rbz
        I'll PM it if you want to have a look
        john

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • inteloideI Offline
          inteloide
          last edited by

          @driven said:

          I've got a mac rbz maker that make 'windows safe' .rbz
          I'll PM it if you want to have a look
          john

          Hello Driven,

          Yes please. this would be interesting for me. Are you the author of this plugin ?

          Thank you
          Inteloide

          Humanity will do a huge step when the IT professionals will understand that computers are tools...

          1 Reply Last reply Reply Quote 0
          • inteloideI Offline
            inteloide
            last edited by

            Hello,

            Just post version 1.0.1, which remember which file to encrypt.

            (Hey I'm quite surprised plugin authors don't rush on it (only 3 downloads of 1.0.0) ! For me this is so much more easy to create extension using this plugin ! Or may be like driven, some of you developped your own solution to make it easier ??)
            Inteloide

            Humanity will do a huge step when the IT professionals will understand that computers are tools...

            1 Reply Last reply Reply Quote 0
            • greenskpG Offline
              greenskp
              last edited by

              Hi

              Thank you for this amazing tool.
              I am new in the ruby world and don't know how figure out.
              I have installed your plugin - 1.0.6 version - and the Gem but Ruby Console give me an error:

              Error; #<TypeError; superclass mismatch for class StreamableStream>
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Gems64/gems/rubyzip-1.1.6/lib/zip/streamable_stream.rb;2;in `<module;Zip>'
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Gems64/gems/rubyzip-1.1.6/lib/zip/streamable_stream.rb;1;in `<top (required)>'
              C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;45;in `require'
              C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;45;in `require'
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Gems64/gems/rubyzip-1.1.6/lib/zip.rb;26;in `<top (required)>'
              C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;110;in `require'
              C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;110;in `rescue in require'
              C;/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb;35;in `require'
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/BGSketchup_RBZ_maker/RBZ_maker.rb;145;in `generate_rbz'
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/BGSketchup_RBZ_maker/RBZ_maker.rb;118;in `generate'
              C;/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/BGSketchup_RBZ_maker/RBZ_maker.rb;39;in `block in show_hide_window'
              SketchUp;1;in `call'
              
              1 Reply Last reply Reply Quote 0
              • greenskpG Offline
                greenskp
                last edited by

                Another thing.....the default installation is fine but an installation with a custom folder always ask me to install BGSketchup Library but the library is already installed in same folder.

                I am using

                require_all('path\to\custom\folder')
                

                inside default plugins folder.

                http://i.imgur.com/eFG6W54.jpg

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Buy SketchPlus
                Buy SUbD
                Buy WrapR
                Buy eBook
                Buy Modelur
                Buy Vertex Tools
                Buy SketchCuisine
                Buy FormFonts

                Advertisement