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

    [Plugin] Double line

    Scheduled Pinned Locked Moved Plugins
    91 Posts 38 Posters 54.9k Views 38 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.
    • H Offline
      Hazza
      last edited by

      Do you know how easy this tool makes it to create pieces of wood for my models!!!! Hit D, enter 2 of the dimensions, click click, done.

      That is awesome, thank you...

      See all of my SketchUp models here.

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

        Hi,

        @unknownuser said:

        I can't get 'C' to work closing the loop - I have a short cur for circle that's 'c' so it dumps into that. Perhaps having something like shift+enter to close might do it ?

        I noticed that also at the office on a standard install of SU, at home my PC doesn't have the "c" shortcut...
        BTW, how to detect the Shift+enter keys pressed ?
        I was thinking of a "x" shortcut instead but Shift+enter is more intuitive.

        @honolulu: no, no additionnal files required. Maybe a glitch with the pushpull if you are on Mac ?
        @Pilou: want always more, hey ? i'll try to do it...

        DB

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

          thanks

          The grass is always GREENER on the roof.

          1 Reply Last reply Reply Quote 0
          • daikuD Offline
            daiku
            last edited by

            This is fantastic, Didier. I have one suggestion (for now πŸ˜„ 😞 Each time the user hits the enter key to draw the walls so far, commit the operation so the wall sections can be undone one at a time. Thanks again, this is really useful. CB.

            Clark Bremer
            http://www.northernlightstimberframing.com

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

              @unknownuser said:

              @Pilou: want always more, hey ?

              With some arcs now? πŸ’š

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

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

                @unknownuser said:

                With some arcs now?

                No no no. Ask TIG! 🀣
                BTW, you can draw walls that include arcs with the "line2wall*.rb" scripts.

                DB

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

                  Didier

                  Excellent idea - I was working on something similar, mine was called 'mline' - you beat me to it ! Well done.

                  I can't get 'C' to work closing the loop - I have a short cut for circle that's 'c' so it dumps into that. Perhaps having something like shift+enter to close might do it ?

                  .

                  TIG

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

                    @didier bur said:

                    Hi,

                    @unknownuser said:

                    I can't get 'C' to work closing the loop - I have a short cur for circle that's 'c' so it dumps into that. Perhaps having something like shift+enter to close might do it ?

                    I noticed that also at the office on a standard install of SU, at home my PC doesn't have the "c" shortcut...
                    BTW, how to detect the Shift+enter keys pressed ?
                    I was thinking of a "x" shortcut instead but Shift+enter is more intuitive.

                    @honolulu: no, no additionnal files required. Maybe a glitch with the pushpull if you are on Mac ?
                    @Pilou: want always more, hey ? i'll try to do it...

                    The code is basically "if key1== enter AND key2== shift then..." For example

                    def onKeyDown(key,repeat,flags,view)
                    ###...
                      @key="shift" if key==CONSTRAIN_MODIFIER_KEY
                    ###...  
                    end#def
                    

                    TIG

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

                      Patch published today. Shortcut for "close" changed to "x" instead of "c".

                      DB

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

                        Damned I have x for X-Ray πŸ’š
                        So my previous trick will work fine again πŸ˜„

                        @unknownuser said:

                        Just write any number like 1
                        then backspace for erase it
                        then write x
                        then Enter

                        It's like Glen Gould but works πŸ’š

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

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

                          @didier bur said:

                          Patch published today. Shortcut for "close" changed to "x" instead of "c".

                          Didier

                          Using "X" is a good choice: x is usually reserved for copying - e.g. x3 to make copies within other commands and isn't a shortcut... If like Pilou you want to use 'X' as a shortcut for something like X-ray you need to remember to use 3x for copies rather than x3, as the latter will invoke X-ray rather than make copies ! Persoanlly I use Alt+X for X-ray mode...

                          TIG

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

                            @unknownuser said:

                            use 'X' as a shortcut for something like X-ray you need to remember to use 3x for copies rather than x3

                            cool little trick πŸ€“

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

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Fletch
                              last edited by

                              Great work, Didier! Thanks so much for sharing!

                              a couple little things:
                              when I choose "show axis"... it does not show... whether or not I have it pop the wall up.

                              After drawing a wall, I exit the tool, then I want to draw a double line vertically on a face, so I choose to use the tool again... set width to 12", no face, no close. I draw a vertical line from top edge to bottom edge of the wall face. I hit enter for it to draw the double line. I get this.


                              doublelinebug.jpg

                              Fletch
                              Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Ben Ritter
                                last edited by

                                Thank you very much Didier.

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  lapx
                                  last edited by

                                  Thanks D! I'll have to try it out sometime.

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

                                    Hi,

                                    @unknownuser said:

                                    when I choose "show axis"... it does not show...

                                    Axis is drawn with guide lines (construction lines). Do you have them visible ?
                                    Remember axis will only be visible if justification is "Center".

                                    @unknownuser said:

                                    draw a vertical line from top edge to bottom edge of the wall face. I hit enter for it to draw the double line. I get this.

                                    Oh yes, I noticed that here too. The part of line up the wall is always exactly half the width of the wall 😲
                                    As a matter of fact, this is normal: for the script to work in 3D, I had to compute the geometric plane on which the first two segments are drawn. Thus if you click only one segment, two points aren't enough to define the plane of the base. In this case the script considers that the plane is the red-green plane. And your points have the same projection on the red-green plane. So an error occurs. Hope I'm clear, hem,hem...
                                    But I'll try to fix that if I can.

                                    DB

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

                                      Hi!
                                      c=circle
                                      x=explode.
                                      Generally the letters are bad idea.
                                      Could it be just cntl click for for close?

                                      1 Reply Last reply Reply Quote 0
                                      • CadFatherC Offline
                                        CadFather
                                        last edited by

                                        i second that

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

                                          Hi,
                                          Everybody will agree now, I hope. I finally got the double-click detection to work, so a double-clic will close a shape.
                                          Another small enhancement: when you draw only one segment on an existing face, it takes the face as the base geometric plane (to solve Fletch's issue).
                                          Download it at the top of topic.
                                          Regards,

                                          DB

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

                                            Users presure πŸ˜„ πŸ‘

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

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

                                            Advertisement