sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Simple 2D spiral

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    24 Posts 7 Posters 3.7k Views 7 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.
    • T Offline
      ticoloco
      last edited by

      Dears,
      I am looking for a simple (Ruby?) routine to create a 2D spiral which is extendable. Something like define 2 circles, segments and number of rotations.
      In the tutorials I found a lot about staircases and p.e. screw2.1 (which works nice, but is not extendable in 3D).
      Any help?

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

        No, not necessarily.
        What I need is to define frequently spirals which I pretend to join by lines at the ends to get a helical area in 2D.

        1 Reply Last reply Reply Quote 0
        • TaffGochT Offline
          TaffGoch
          last edited by

          ticoloco,

          I'm confused. A helix is a 3D object. How do you propose to depict it in 2D?

          Anyway, see if the discussion here, about helices, helps you:
          http://groups.google.com/group/SketchUp/web/faqs-for-learning-more-advanced-tips-and-techniques#TweakSclupt

          The discussion includes a mention of 'drawhelix13.rb' available at The Ruby Library Depot

          Taff

          "Information is not knowledge." -- Albert Einstein

          1 Reply Last reply Reply Quote 0
          • boofredlayB Offline
            boofredlay
            last edited by

            It may not be exactly what you need but check out the Spiralizer by Armanisoft.

            http://www.armanisoft.ch/webdesign/spiralizer/Spiralizer.html

            You can export the dxf files and import them directly to SU.

            http://www.coroflot.com/boofredlay

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

              Does it have to be in ruby? If not you could just create your first spiral and then copy it up (move+ctrl.)

              edit: sorry, i completely skimmed over the 2D bit, ignore the stuff above.

              http://remusrendering.wordpress.com/

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

                I do not want a 3D helix, I want a simple 2D spiral (with the aim to push).
                Are there any possibilities within SU? It should be much simplier to program than a helix!

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

                  Try Draw helix 13 and set the pitch to 0 to keep the helix 2d.

                  Or K tools will allow you to define your own equation for the spiral.

                  Bob

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

                    Thank you Greyhead,
                    the K-tools helped. But I still have the problem, that the resulting object seems not to be joinable into an area.
                    What I want to do are scrolls (rolled rectangles). Any ideas?
                    Thank you for your time

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

                      You could use didiers projection tools to turn it in to an extruded face (http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_geo_page.htm name: projection_v6.rb) or you could start with a bir rectangle, slice it up in to lots of small rectangles and then incrementaly rotate them. See tut for more details.


                      Add more seqments to the starting rectangle to increase smothness of the scroll.

                      http://remusrendering.wordpress.com/

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

                        For scrolled rectangles see this post - you'd need to delete some unwanted stuff.

                        Bob

                        PS No time to test it now - I'll try later.

                        1 Reply Last reply Reply Quote 0
                        • TaffGochT Offline
                          TaffGoch
                          last edited by

                          @ticoloco said:

                          What I want to do are scrolls (rolled rectangles). Any ideas?

                          Something like these?

                          If not, do you have a photo of what you're trying to achieve?

                          Taff


                          RolledUp1.png


                          RolledUp2.png

                          "Information is not knowledge." -- Albert Einstein

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

                            Hello there

                            @TaffGoch

                            That´s exactly what I want to do. How´d you create this?
                            Looking for how to do a spiral in SU for hours now, but can´t
                            seem to find an answer.

                            What´s KTools btw, anyone?

                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • GaieusG Offline
                              Gaieus
                              last edited by

                              Hi Wolf,

                              kt_tools##.rb (for different mathematical shapes) and drawhelix##.rb (for spirals) are ruby scripts used as plugins in SU.
                              You can download them here.

                              Gai...

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

                                Hey Gaieus

                                I really hate to sound like a total noob but when I try to download the stuff I get a website with ALL the code. What am I ´sposed to do with that?
                                I tried to put in a text file but my mac flatly refuses to change the suffix to rb.

                                wth? Any ideas? Would be great. Clock is ticking for me and that sucks.

                                Thanks everybody

                                1 Reply Last reply Reply Quote 0
                                • GaieusG Offline
                                  Gaieus
                                  last edited by

                                  Don't worry about sounding like a noob - after all we are in the Newbie Forum (and we all had to start somewhere).

                                  Anyway, I'm not a Mac user so I'm not sure everything will work the same way;

                                  If you click on the script and it returns the code, you can select all and copy > Paste it into a simple text editor (not a word processor!) then save it under the Macintosh HD/Library/Application Support/Google Sketchup 6/SketchUp/Plugins folder with the exact name it has on the site.

                                  You can (on PC) also just right click on the link and save it to the same place but with rb extension.

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    For the easy spirals, download the drawhelix.rb as well (it also has several versions).

                                    Gai...

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

                                      okay I managed to get k_tools_50.rb to run in my SU

                                      just read yer answers - found it before 😎 <

                                      Now, how do I get the spiral done, please? If I´d known math I wouldn´t
                                      have become a designer in the first place.

                                      See attached pic for what this stupid muppet sees and tell what to do, please


                                      Bild 2.png

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

                                        whelp

                                        I´ll do that right now. Keep ya posted on the process.

                                        Thanks so much

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

                                          😍

                                          It works! Saved by Gaieus! Thangk yew. Thangk yew verry mudch. 😎

                                          1 Reply Last reply Reply Quote 0
                                          • GaieusG Offline
                                            Gaieus
                                            last edited by

                                            No, these are just the first steps in discovering the wonderful and exciting world of pluins! 😉

                                            Gai...

                                            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