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

    [Plugin] 2D Wall Section Tool v1.1 20110903

    Scheduled Pinned Locked Moved Plugins
    21 Posts 13 Posters 22.1k Views 13 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.
    • R Offline
      redinhawaii
      last edited by

      tomot, nice clean set of Working Drawings. I look forward to trying out that ruby for sections. gullfo, I look forward experiencing your 2d dynamic components.
      I just am finishing my 4th set of Working drawings... still alot to learn though, but I am enjoying doing them in SU/LO.
      aloha
      red

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

        thanks a lot, although wood framed houses are virtually non existant in my country.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomot
          last edited by

          @aceshigh said:

          thanks a lot, although wood framed houses are virtually non existant in my country.

          If you do working drawings, and have an idea for a wall section for construction in your country, I'm happy to have have look at your idea, email me!

          cheers!

          [my plugins](http://thingsvirtual.blogspot.ca/)
          tomot

          1 Reply Last reply Reply Quote 0
          • M Offline
            markitekt
            last edited by

            I've always loved this plugin for construction drawings.
            Any updates or further developments? Works oddly in 2014.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sexypox69
              last edited by

              Why do I keep getting this message:

              Error Loading File 2DSectionTool.rb
              Error: #<LoadError: cannot load such file -- examples/linetool.rb>
              C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
              C:/Users/Sexypox/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/2DSectionTool.rb:25:in `<top (required)>'

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

                your profile says your on v8, but the error says your on v2014?

                did you just copy it across?

                this plugin requires another v8 plugin, called 'linetool.rb' that was part of the old google ruby example scripts...

                your message says Error: #<LoadError: cannot load such file -- examples/linetool.rb>

                both will need updating for v2014...

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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sexypox69
                  last edited by

                  Yes I'm using su2014. I installed the 2D Wall Section Tool v1.1 from the pluginstore and i also installed the Example Ruby Scripts from the extentions warehouse but i keep getting the error. Im assuming i installed updated version of both.
                  Only thing I can think of is that when i install the example ruby scripts, it places a su_examples folder and a su_examples.rb in sketchup 2014 plugin folder. I thought of deleting the su_ from the name but I really know nothing about thses things

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

                    somewhere in the scripts for this plugin will be require 'examples/linetool.rb'...
                    adding the su_ prefix to that may work...
                    i.e. require 'su_examples/linetool.rb'...
                    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
                    • S Offline
                      sexypox69
                      last edited by

                      Thank....I tried that and now Im getting a new message

                      Error Loading File 2DSectionTool.rb
                      Error: #<NameError: uninitialized constant LineTool>
                      C:/Users/Sexypox/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/2DSectionTool.rb:27:in `<top (required)>'

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

                        Here's the full fix to make this plugin work in v2015...

                        Install the su_examples.rb file from EW.
                        You can deactivate its Extension, because this plugin will require the linetool.rb from the subfolder as it needs it...

                        Use Notepad++ [or a similar plain-text editor] to edit the plugin's file 2dSectionTool-1.rb - as follows, about line #24...

                        ` require 'sketchup.rb'
                        $exStrings = LanguageHandler.new("examples.strings") unless $exStrings
                        require '**su_**examples/linetool.rb'

                        class TwoDSectionTool < **Sketchup::Examples::**LineTool`

                        The bold text shows the additions/insertions...
                        The $exStrings is set up here because it might not get set early enough otherwise, and generate a load-error.
                        In the newer "examples", the examples subfolder is now prefixed with su_, so correct that path.
                        The LineTool is now a class defined within the Examples module, which in turn is within the Sketchup module - so its 'full path' needs defining.

                        Save the changes to the file and restart SketchUp...

                        This fix will work - although the plugin itself is somewhat clunky and it ill-advisedly uses global-variables etc; and the bald reuse of the linetool is not used as the examples file intended !

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sexypox69
                          last edited by

                          Thanks a million TIG, that worked perfectly

                          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