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

    Barber pole

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    13 Posts 7 Posters 1.8k 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.
    • D Offline
      devin
      last edited by

      Hi All,

      I'm sorry to bug you guys with a question that is probably trivial to you, but I can't figure this one out. I'm trying to draw a cylinder with stripes that rotate around the cylinder like an old style barbers pole. I have just about banged my head on the desk until its bloody, but even that didn't help! Any help or tips would be greatly appreciated.

      Devin

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

        I think theres a video about this on the SU website, its the tutorial about manipulating textures, i think. I'll post a link in a while.

        edit: http://sketchup.google.com/gsu5vtviewer.html#id=11

        the barber pole bit is towards the end.

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • W Offline
          watkins
          last edited by

          Dear Devin,

          Is this what you had in mind?

          Regards,
          Bob


          Barber's pole.skp


          Barber's pole.jpg

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

            Bob YES!! Exactly. How did you do that?

            Devin

            1 Reply Last reply Reply Quote 0
            • W Offline
              watkins
              last edited by

              Dear Devin,

              Okay, so this is what you do.

              First, you need to install a plugin called drawhelix13.rb

              Go to http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_geo_page.htm

              Right, now having installed the plugin and restarted Sketchup, go to the Draw drop-down menu and select DrawHelix13. Fill in the dialogue box. I suggest you use the following to start (in mm):

              Start radius = 150
              End radius = 150
              Pitch = 2000
              No of rotations = 4
              Sections per rotation = 24

              Click okay and the script will draw a helix about the z-axis. The elements of the helix are grouped.

              Using the rotate tool, rotate and copy the helix around its centreline (z-axis) by placing the rotate tool at the origin. I suggest you rotate 90 degrees as a start.

              Next select the circle tool and draw a circle with the centre at the origin and with a radius equal to the radius of the helices (= 150 mm for this example). Use the push-pull tool to extrude a cylinder and snap to the end of one of the helices.

              Last but not least, select all and explode. You should now find that the helices define a spiral area which you can colour with the paint bucket.

              I hope this helps.

              Kind regards,
              Bob

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

                Nicely explained Bob πŸ‘

                I will look at placing this in the tutorials forum tomorrow if you don't mind.

                http://dmdarchitecture.co.uk/

                1 Reply Last reply Reply Quote 0
                • W Offline
                  watkins
                  last edited by

                  Dear Dylan,

                  The more tutorials the better, and I am happy to contribute.

                  Regards,
                  Bob

                  1 Reply Last reply Reply Quote 0
                  • plot-parisP Offline
                    plot-paris
                    last edited by

                    thanks, Bob.

                    really nicely described - now even I should be able to create a helix πŸ˜†

                    1 Reply Last reply Reply Quote 0
                    • Alan FraserA Offline
                      Alan Fraser
                      last edited by

                      Here's a non-Ruby way of tackling it...offered not because it's easier, but because it helps to get your head around such problems which may not always be Ruby-soluble.


                      barber pole.skp


                      barber pole.jpg

                      3D Figures
                      Were you required to walk 500 miles? Were you advised to walk 500 more?
                      You could be entitled to compensation. Call the Pro Claimers now!

                      1 Reply Last reply Reply Quote 0
                      • plot-parisP Offline
                        plot-paris
                        last edited by

                        what an easy and simple way to do it, Alan. marvelous!

                        truly an Egg of Columbus - to figure that one out has surely taken some time. πŸ˜‰

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

                          Hi guys,

                          If you don't necessarily need the geometry itself, you can do it by texture positioning:

                          1. Turn on hidden geometry (View menu)
                          2. Import any striped image as texture and apply it on one face of the cylinder (see attached file)
                            1.png
                          3. right click on it and go down to Texture > Position in the context menu
                          4. make sure you are in "fixed pin mode" and rotate the texture about the red pin with the green pin (you can still resize it here - see picture)
                            2.png
                          5. when you are fine with what you see, right click > done (or hit Enter)
                          6. turn off hidden geometry and choose the paint bucket tool
                          7. Press the Alt key (the PB tool turns into an eyedropper)
                          8. sample the painted facet, release the Alt key and apply the texture to the rest of the column (see result)
                            3.png

                          😳 If you don't mind, I used my national colours...

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • plot-parisP Offline
                            plot-paris
                            last edited by

                            a wonderfully lazy way to achieve the same result... and if you apply a bumpmap and render it, it even looks carved into the cone... πŸ˜‰

                            @gaieus said:

                            If you don't mind, I used my national colours...

                            well Gaieus, now I would really fancy "Caprese" (didn't have lunch today...)

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

                              Oh yes, bumps and such - or even clipmaps and layered materials so that it could look like a marble column with a winding, gilded stripe on it! πŸ˜„

                              Gai...

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

                              Advertisement