sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] DrawHelix14

    已排程 已置頂 已鎖定 已移動 Plugins
    44 貼文 20 Posters 49.9k 瀏覽 20 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • J 離線
      Jim
      最後由 Jim 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • D 離線
        dedmin
        最後由 編輯

        🎉 🎉 🎉
        Works fine - thanks, Jim!

        1 條回覆 最後回覆 回覆 引用 0
        • Rich O BrienR 離線
          Rich O Brien Moderator
          最後由 編輯

          Thanks Jim!

          Download the free D'oh Book for SketchUp 📖

          1 條回覆 最後回覆 回覆 引用 0
          • shuraS 離線
            shura
            最後由 編輯

            Thank you Jim, useful improvement!

            1 條回覆 最後回覆 回覆 引用 0
            • Bob JamesB 離線
              Bob James
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • utilerU 離線
                utiler
                最後由 編輯

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

                Just Curious...

                1 條回覆 最後回覆 回覆 引用 0
                • J 離線
                  Jim
                  最後由 編輯

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

                  Hi

                  1 條回覆 最後回覆 回覆 引用 0
                  • GaieusG 離線
                    Gaieus
                    最後由 編輯

                    @jim said:

                    The small things can make all the difference.

                    True. Thanks Jim! 👍

                    Gai...

                    1 條回覆 最後回覆 回覆 引用 0
                    • pilouP 離線
                      pilou
                      最後由 編輯

                      Small is beautiful 😉

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • P 離線
                        PeterCharles
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • J 離線
                          Jim
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • mitcorbM 離線
                            mitcorb
                            最後由 編輯

                            Thanks, Jim.

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • P 離線
                              PeterCharles
                              最後由 編輯

                              @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 條回覆 最後回覆 回覆 引用 0
                              • simon le bonS 離線
                                simon le bon
                                最後由 編輯

                                Excellent!
                                Thank you Jim (and also for your revisited Didier's Double Line 👍 )

                                👍 simon

                                1 條回覆 最後回覆 回覆 引用 0
                                • A 離線
                                  ATYRAUTONY
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • pilouP 離線
                                    pilou
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • TIGT 線上
                                      TIG Moderator
                                      最後由 編輯

                                      @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 條回覆 最後回覆 回覆 引用 0
                                      • pilouP 離線
                                        pilou
                                        最後由 編輯

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • pilouP 離線
                                          pilou
                                          最後由 編輯

                                          @ 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 條回覆 最後回覆 回覆 引用 0
                                          • simon le bonS 離線
                                            simon le bon
                                            最後由 編輯

                                            @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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement