• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] DrawHelix14

Scheduled Pinned Locked Moved Plugins
44 Posts 20 Posters 48.6k Views
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 Jim 4 Dec 2010, 17:43

    This is a enhanced version of Peter Brown's DrawHelix13 script.

    Main improvements are:

    • Input box now uses the current model units.
    • Previous values are saved between each use.

    It is meant to replace the drawhelix13.rb file, but both can be installed without conflict.

    Download (right-click, select Save As)
    drawhelix14.rb

    Hi

    1 Reply Last reply Reply Quote 0
    • D Offline
      dedmin
      last edited by 4 Dec 2010, 18:16

      ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰
      Works fine - thanks, Jim!

      1 Reply Last reply Reply Quote 0
      • R Offline
        Rich O Brien Moderator
        last edited by 4 Dec 2010, 18:22

        Thanks Jim!

        Download the free D'oh Book for SketchUp ๐Ÿ“–

        1 Reply Last reply Reply Quote 0
        • S Offline
          shura
          last edited by 4 Dec 2010, 18:28

          Thank you Jim, useful improvement!

          1 Reply Last reply Reply Quote 0
          • B Offline
            Bob James
            last edited by 4 Dec 2010, 21:38

            Thanks for the improvement!

            i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

            1 Reply Last reply Reply Quote 0
            • U Offline
              utiler
              last edited by 5 Dec 2010, 03:28

              +1 Jim... simple is best!!!!!!

              purpose/expression/purpose/....

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by 5 Dec 2010, 12:26

                You're welcome. The small things can make all the difference.

                Hi

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Gaieus
                  last edited by 5 Dec 2010, 12:29

                  @jim said:

                  The small things can make all the difference.

                  True. Thanks Jim! ๐Ÿ‘

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 5 Dec 2010, 12:34

                    Small is beautiful ๐Ÿ˜‰

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

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PeterCharles
                      last edited by 31 Dec 2010, 13:10

                      @jim said:

                      This is a enhanced version of Peter Brown's DrawHelix13 script.

                      Main improvements are:

                      • Input box now uses the current model units.
                      • Previous values are saved between each use.

                      It is meant to replace the drawhelix13.rb file, but both can be installed without conflict.

                      Download (right-click, select Save As)
                      drawhelix14.rb

                      There must be life in my old dog yet if someone thought to improve it. ๐Ÿ˜„

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by 31 Dec 2010, 19:25

                        Hi Peter,

                        Sure, it has plenty of life - I just made it a bit more friendly. Hope you don't mind the update.

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mitcorb
                          last edited by 31 Dec 2010, 22:19

                          Thanks, Jim.

                          I take the slow, deliberate approach in my aimless wandering.

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            PeterCharles
                            last edited by 2 Jan 2011, 11:46

                            @jim said:

                            Hi Peter,

                            Sure, it has plenty of life - I just made it a bit more friendly. Hope you don't mind the update.

                            You have my blessing to improve it in what ever way you can. ๐Ÿ˜„

                            1 Reply Last reply Reply Quote 0
                            • simon le bonS Offline
                              simon le bon
                              last edited by 2 Jan 2011, 12:20

                              Excellent!
                              Thank you Jim (and also for your revisited Didier's Double Line ๐Ÿ‘ )

                              ๐Ÿ‘ simon

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                ATYRAUTONY
                                last edited by 6 Jan 2011, 07:43

                                Hi nice tool but is it possible to draw a helix that is not a whole number of turns for example 1.5 I have tried and nothing is drawn.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pilou
                                  last edited by 6 Jan 2011, 09:44

                                  Yes you must enter an "Integer" number ๐Ÿ˜„
                                  So cut your volume at the end of the process ๐Ÿ˜‰

                                  Make 3 turns and cut at the middle ๐Ÿ˜‰

                                  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 6 Jan 2011, 09:50

                                    @unknownuser said:

                                    Yes you must enter an "Integer" number ๐Ÿ˜„
                                    So cut your volume at the end of the process ๐Ÿ˜‰

                                    Make 3 turns and cut at the middle ๐Ÿ˜‰

                                    It's easily fixed by adjusting the code in the .rb file... on line #23 [edit with Notepad.exe or equivalent plain-text editor - NOT a wrodprocessor]
                                    change
                                    values = [300.mm, 300.mm, 100.mm, 5, 24]
                                    into
                                    values = [300.mm, 300.mm, 100.mm, 5.0, 24]
                                    then save.
                                    Now you can enter decimal values like 1.5 ...
                                    The original code froze it as an 'integer' [default=5] and therefore prevented 'partial turn' values being entered... BUT since the rest of the code doesn't rely on it being an 'integer' there's no problems with making it a 'float'...
                                    I already had that tweaked in the previous version in my installation...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pilou
                                      last edited by 6 Jan 2011, 10:11

                                      Better and more generalist indeed ๐Ÿ˜Ž
                                      And always amazing as just 2 signs can change something! โ˜€

                                      We are few things in the univers, all is inside decimals ๐Ÿ’š

                                      By Francesco de Comitรฉ ๐Ÿ‘
                                      pi.jpg

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

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pilou
                                        last edited by 6 Jan 2011, 11:48

                                        @ TIG
                                        I am in V6
                                        Curious
                                        I have an old version Draw Helix 13
                                        make your 5.0 changment inside : works fine ๐Ÿ˜Ž

                                        I load the new DrawHelix14
                                        nothing is drawing ๐Ÿ˜ฎ (same result with your changment) ๐Ÿ˜ฎ
                                        I have this in the Ruby console

                                        Error; #<ArgumentError; wrong number of arguments(2 for 1)>
                                        C;/Program Files/Google/Google SketchUp 6/Plugins/drawhelix14.rb;68;in `start_operation'
                                        C;/Program Files/Google/Google SketchUp 6/Plugins/drawhelix14.rb;68;in `drawhelix'
                                        C;/Program Files/Google/Google SketchUp 6/Plugins/drawhelix14.rb;78
                                        C;/Program Files/Google/Google SketchUp 6/Plugins/drawhelix14.rb;78;in `call'
                                        

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

                                        1 Reply Last reply Reply Quote 0
                                        • simon le bonS Offline
                                          simon le bon
                                          last edited by 6 Jan 2011, 11:50

                                          @tig said:

                                          It's easily fixed by adjusting the code in the .rb file... on line #23 [edit with Notepad.exe or equivalent plain-text editor - NOT a wrodprocessor]
                                          change
                                          values = [300.mm, 300.mm, 100.mm, 5, 24]
                                          into
                                          values = [300.mm, 300.mm, 100.mm, 5.0, 24]
                                          then save.
                                          Now you can enter decimal values like 1.5 ...

                                          I'm very proud to annouce that this

                                          .0 
                                          

                                          added, is my very first rubby scripting ๐Ÿ˜† (and may be also the last ๐Ÿ˜Ž )
                                          And then Oh! the problems begin ๐Ÿคฃ

                                          1)With or without this new code, I discover that DrawHelix14 doesn't work with my Su6
                                          2)DrawHelix14 works fine with my Su7 but the new code (

                                          .0 
                                          

                                          ) doesn't work! (if a decimal value is entered, no helix is drawn_ if an Integer value is entered: works fine)
                                          3)If I come back in Su6 to DawHelix13_fr and add the (

                                          .0 
                                          

                                          )code, this time the helix is drawn.

                                          4.5 rotations

                                          http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/DrawHelix001.jpg

                                          Ouf! Hard time for new developper ๐Ÿ˜Ž

                                          simon

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

                                          Advertisement