sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    New version of the CBS tools

    Scheduled Pinned Locked Moved Woodworking
    34 Posts 11 Posters 6.8k Views 11 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Your RB files are in ANSI, not UTF-8 encoding - this is necessary for them to be compatible with Ruby2.0 used by v2014 - it remains OK with earlier versions too.
      This is easily fixed in Notepad++...
      There are also some syntax issues like a space between methods and their parenthesized arguments [e.g. the webdialog new code...]
      I will PM'd you a working set shortly - you need to re-publish it...

      Get and use Notepad++.exe [free] for script editing and making new files in "UTF8-without-BOM" encoding in the future...

      TIG

      1 Reply Last reply Reply Quote 0
      • KrisidiousK Offline
        Krisidious
        last edited by

        And feel free to share some birds in the corner bar...

        By: Kristoff Rand
        Home DesignerUnique House Plans

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          I have PM'd a compatible version to the author...
          He needs to test and re-publish if he will...

          TIG

          1 Reply Last reply Reply Quote 0
          • finewoodF Offline
            finewood
            last edited by

            TIG: Super, thank you very much! I have received the message.
            But I cannot reply and I can not download the file. Why is that? I'm a member?
            Well, I did make the Notepad+ UT-8 conversion and moved my plugins in the folder "Tools",
            but when calling "web dialog" it goes no further.
            I thought it is a solvable problem.

            Sensational TIG, if you've solved it.
            What do we do now?
            Can you send it to cad(at)cadbox.ch ?

            Addendum:
            Sorry for my terrible programming, but I'm an old german speaking self-taught.
            The number of files:
            At the beginning I wanted sell individual elements and thought to become a millionaire.
            Today I'm glad for a answer to my questions.

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              I have just emailed you it too...

              Have you not logged in ?
              Weird...

              TIG

              1 Reply Last reply Reply Quote 0
              • finewoodF Offline
                finewood
                last edited by

                Heureka, it runs.
                Thank you very much "TIG"
                I never thought that my confusing scripts can be adapted so quickly.
                May I you mention, as a co-author from CBS 2014?
                It would me an honor...

                Sketchup 2014 CBS download

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  @finewood said:

                  Heureka, it runs.
                  Thank you very much "TIG"
                  I never thought that my confusing scripts can be adapted so quickly.
                  May I you mention, as a co-author from CBS 2014?
                  It would me an honor...

                  Sketchup 2014 CBS download

                  It wasn't so easy !
                  If you wish, you may mention me as a 'contributor' or 'advisor' etc...
                  But I take no blame for your toolset πŸ˜‰

                  PS: The correct link for the Plugin's download is probably
                  http://www.cadbox.ch/cont/index.php?cont=cb4

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • finewoodF Offline
                    finewood
                    last edited by

                    Oops, where is the switch for language?
                    My mistake.
                    Here is the correct link:
                    http://www.cadbox.ch/cont/index.php?la=de&cont=cb4

                    Hi TIG
                    Thank you again.
                    With you and thank you:
                    I believe again on Sketchup

                    Well, somehow, somewhere, I'll mention you -
                    as a contributor or as an advisor and I think,
                    I will be responsible for everthing, also for a smallest error...

                    1 Reply Last reply Reply Quote 0
                    • bsusalaB Offline
                      bsusala
                      last edited by

                      I do have some ideas of improvement, user-interface and models, too. I really think this tool could be more friendly and more configurable, but my programming skills in Ruby are up to now, well - nil. So I would gladly jump into the development team with User Interface improvements and some functionality ideas. It was my intent some month ago (and still is if nobody wants), to fork the scripts and learn myself to program in Ruby. But I think things woulb be MUCH more better with somebody else on the scripting task πŸ˜„

                      1 Reply Last reply Reply Quote 0
                      • finewoodF Offline
                        finewood
                        last edited by

                        Only too, I am pleased!
                        The scripts are without encoding and free to better change.
                        Many say: Too many cooks spoil the broth
                        But I say: Many cooks find faster the hair in the soup.
                        A hair there is always - in the soup and just unfortunately not on my head.....

                        A good address for SU plugins create or customize (also to learn) :
                        http://www.sketchup.com/intl/en/developer/

                        To install the plugins, there is a good tutorial here:
                        http://sketchucation.com/resources/tutorials/108-installing-sketchup-plugins

                        1 Reply Last reply Reply Quote 0
                        • jo-keJ Offline
                          jo-ke
                          last edited by

                          works fine now. Thank you.

                          http://www.zz7.de

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            JCobb
                            last edited by

                            Oh, thank you for that plugin! I've used it a lot.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Andrash
                              last edited by

                              I'm Skecthup beginner. Could you please help me with CBS on SU2013. It's not working on my MacOS 10.9.3.
                              The error message that I get is the following:

                              Error Loading File cadbox-ch.rb
                              no such file to load -- CBStool/lang/en.rb

                              How can I fix that?

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                How did you install this toolset ?

                                The downloaded RBZ's contents [including the missing file[s]] will install properly into the Plugins folder by using Preferences > Extensions > Install.... button.

                                If you have got the ZIP version, then you must extract its contents properly - keeping all of the files in their subfolders intact, and transfer that into the set into the Plugins folder manually.

                                If you have mis-installed things [as I guess is the case πŸ˜• ], you must remove ALL of the files you have incorrectly put into the Plugins folder, and start again... AutoInstalling the RBZ is the proper [and foolproof] way !
                                πŸ˜’

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Andrash
                                  last edited by

                                  I deleted CBStool folder and cadbox-ch.rb from Applications Suuport-Sketchup 2013-Plugins.
                                  Opened SU2013, Preferences-Extensions-Install Extension -> CBStool2014.rbz
                                  Relaunched SU2013 and got the same error again:

                                  Error Loading File cadbox-ch.rb
                                  no such file to load -- CBStool/lang/en.rb

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by

                                    Did you look in the indicated folder in the Plugins directory to see if en.rb is in there? I just tried installing it and it worked fine for me. Maybe you could try contacting the author directly through his website?

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • finewoodF Offline
                                      finewood
                                      last edited by

                                      I go equal on an outdoor camping tour πŸ˜† and can only answer briefly.
                                      Your problem I am very sorry.
                                      I have Win7 and SU14 and it works very well.
                                      Unfortunately, I can not make a test (on a Mac with SU13).
                                      I ask once in the round: Does anyone have a Mac with SU13 and it works?

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        Find your default 'Plugins' folder [the one got from typing/pasting Sketchup.find_support_file('Plugins') in the Ruby Console].
                                        Step up one level so you see its icon [aka 'Show in Enclosing Folder'].
                                        Select it and use 'Get Info' to see its Security settings [aka 'Sharing & Permissions']...
                                        Set to FULL Read and Write for everyone in the list.
                                        You will probably need to Unlock the padlock icon and type in an admin password to do this.
                                        At the bottom pick the 'cog' icon and fro the drop-down list choose 'Apply to enclosed items...'
                                        OK when prompted.
                                        This should ensure that existing, and future files and subfolders are 'unlimited'...

                                        Now re-install the toolset from the RBZ.
                                        The files you get reported as missing ARE in the RBZ archive.
                                        They should be AutoInstalled, if you have appropriate permissions set...

                                        After installing restart SketchUp and test it again...

                                        Report back πŸ˜•

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          VJsku
                                          last edited by

                                          I had a suggestion for this fine tool. Will it be possible to give a choice of changing the base dimension to the user, which for now is fixed at 127mm?

                                          127*6 + 100 mm skirting + 40mm stone slab counter top creates cabinets which are a tad taller than those made in our lands. 850mm is the ideal ht. for kitchen counter tops here.

                                          Sent from my HTC One X using Tapatalk

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            Andrash
                                            last edited by

                                            Yippie!! β˜€
                                            I fixed that!
                                            There was actually a problem in " langdat.txt" file that comes in CBStools/lang/
                                            In that file there was a line-break/new-line/EndOfLine after the " en" text.
                                            Cadbox-ch.rb file contains the following:

                                            ` path = File.join(File.dirname(FILE), "CBStool", "lang", "langdat.txt")
                                            la = IO.read(path)
                                            la = la.gsub("\n", "")

                                            require 'CBStool/lang/' + la + '.rb'`
                                            

                                            Therefore as I understand that was giving us 'C BStools/lang/en .rb' file path, yes with the unneeded space between "e n" and " .rb" extension. Hence the error message that I was getting over and over regardless of installation method (manual or via RBZ):

                                            " Error Loading File cadbox-ch.rb no such file to load -- CBStool/lang/en .rb"

                                            I deleted the EndOfLine in langdat.txt and now it works as it should.

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

                                            Advertisement