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

    Double Line 2 (dline.rb update)

    Scheduled Pinned Locked Moved Plugins
    52 Posts 15 Posters 16.2k Views 15 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.
    • J Offline
      Jim
      last edited by

      @tig said:

      whilst I am sure that there are very 'good reasons' for your suggested approach, I can still see little benefit to me personally to break a habit of a lifetime and actually do things 'properly' 😒

      I might have to take your attitude on this one. 😆

      http://forums.sketchucation.com/viewtopic.php?f=323&t=33956#p298681

      Hi

      1 Reply Last reply Reply Quote 0
      • simon le bonS Offline
        simon le bon
        last edited by

        Thank you so much to both of you Dear Tig and Jim.

        Double line works now "like a charm" in V6 👍 👍

        +simon

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Yes works fine in v6 ☀
          cubi.jpg

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

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

            @tig said:

            @jim said:

            No one really responded when I asked the question about begin-rescue clause with start_operation. Probably a poor choice for a topic sentence on my part.
            http://forums.sketchucation.com/viewtopic.php?f=180&t=22338

            Great minds think alike... fools never differ...
            I agree that this begin-rescue way is less prone to error like your .version v. .version_number typo which screwed Pilou's v6...

            I'm sticking with the explicit version check because it is self-explanatory. The reader can understand from the code that something has changed in SketchUp version 7.0.

            The begin-rescue clause is cryptic, and doesn't explain anything.

            Hi

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

              I have downloaded and installed the original dline plugin on Sketchup 8 Pro and it seems to work fine. I have installed it on Sketcup 8 free version and it does not show up in the Draw tab. Is this plug in good only on Pro or should it work in the free version?

              Also....
              I have also installed the dline2 plugin and when I try to use it the settings window does not open up when I select it from the Draw menu like it did on dline.
              Help me out someone!

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                Hi,

                The trick is to press the TAB key anytime you want to set new parameters for your "walls". It's an enhancement by J. Foltz but I forgot to display it in the status bar.
                I've published a patch for dline2 on SU8 here: http://rhin.crai.archi.fr/rld/plugin_details.php?id=804

                Regards,
                dline2.jpeg

                DB

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hebeijianke
                  last edited by

                  @didier bur said:

                  Hi,

                  The trick is to press the TAB key anytime you want to set new parameters for your "walls". It's an enhancement by J. Foltz but I forgot to display it in the status bar.
                  I've published a patch for dline2 on SU8 here: http://rhin.crai.archi.fr/rld/plugin_details.php?id=804

                  Regards,
                  [attachment=0:3j3upq39]<!-- ia0 -->dline2.jpeg<!-- ia0 -->[/attachment:3j3upq39]

                  It is not work
                  undefined method `file_loaded?' for main:Object

                  1 Reply Last reply Reply Quote 0
                  • Didier BurD Offline
                    Didier Bur
                    last edited by

                    Hi,
                    Don't know why it doesn't work on your side.
                    Workaround: open dline2.rb in a text editor, replace the four last lines with these:

                    #Menu
                    #if( not file_loaded?("dline2.rb"))
                        UI.menu("Draw").add_item("Double Line") { Sketchup.active_model.select_tool(Bur;;Dline_Tool.new) }
                    #end
                    #file_loaded("dline2.rb")
                    

                    DB

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @hebeijianke said:

                      It is not work
                      undefined method `file_loaded?' for main:Object

                      @didier bur said:

                      Hi,
                      Don't know why it doesn't work on your side.
                      Workaround: open dline2.rb in a text editor, replace the four last lines with these:

                      Because the plugin doesn't require sketchup.rb - which is required for file_loaded? to work.
                      Other users probably had plugins that loaded before this plugin that required the file and therefore the bug has not been noticed.

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • Didier BurD Offline
                        Didier Bur
                        last edited by

                        Thanks TT, I was not aware of that. It is fixed (at least on RLD because I cannot edit Jim's post 😉).

                        DB

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

                          This plugin does not show up on my mac version. No load error, no selection in the menu.
                          I have tried it in both plugin folders
                          Any suggestions?

                          Thanks

                          David

                          Macbook Pro 16" (M1)
                          Mac 12.1
                          Sketchup 22.0.353

                          1 Reply Last reply Reply Quote 0
                          • Didier BurD Offline
                            Didier Bur
                            last edited by

                            Hi,
                            @Mac users: please help dmorong if you can, because the script works here on Mac 😒

                            DB

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

                              Thanks for the confirmation, I had not looked in the Draw Menu, just in plugins and tools. So on a Mac it loads in the Draw Menu, which certainly makes sense.
                              The info on the Ruby Depot says it will load in the Tools Menu.

                              Macbook Pro 16" (M1)
                              Mac 12.1
                              Sketchup 22.0.353

                              1 Reply Last reply Reply Quote 0
                              • EdsonE Offline
                                Edson
                                last edited by

                                sorry, jim and didier,

                                as far as I am concerned, dline2 on mac is hardly an improvement over dline. I get no dialog and the tool behaves oddly. see below: a z-shaped wall ends up like two triangles. going back to dline. thanks anyway.

                                Screen shot 2011-05-08 at 9.30.28 AM.png

                                edson mahfuz, architect| porto alegre • brasil
                                http://www.mahfuz.arq.br

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

                                  I also tried it out, once I found it, and the tab key does not invoke the options palette, so there is no way to adjust the parameters. A well designed double line tool, like the one in Bonzai, would be really useful in my field. (design for film and stage)

                                  Macbook Pro 16" (M1)
                                  Mac 12.1
                                  Sketchup 22.0.353

                                  1 Reply Last reply Reply Quote 0
                                  • EdsonE Offline
                                    Edson
                                    last edited by

                                    @dmorong said:

                                    I also tried it out, once I found it, and the tab key does not invoke the options palette, so there is no way to adjust the parameters. A well designed double line tool, like the one in Bonzai, would be really useful in my field. (design for film and stage)

                                    two suggestions: the old dline and the wall tool in 1001bit tools, a fine set of plugins.

                                    edson mahfuz, architect| porto alegre • brasil
                                    http://www.mahfuz.arq.br

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

                                      Hii Everybody can u make tutorials of this topics ................ 😄

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

                                        Is this still available anywhere? The download link no longer works. I like the dline2.rb that I got from http://rhin.crai.archi.fr/rld/plugin_details.php?id=804, but haven't figured out a way to change the default values. I like the idea of it storing the last values used.

                                        Thank you!

                                        Chris B.

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Gábor
                                          last edited by

                                          @awadrummer said:

                                          Is this still available anywhere?

                                          Is the one at the plugin store working for you?
                                          https://sketchucation.com/pluginstore?pln=dline2

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

                                            Sorry for the delayed response. I don't receive notifications I guess when someone replies to my comments. Thank you Gábor, I got it working.

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

                                            Advertisement