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

    How to make screw threads?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    30 Posts 20 Posters 54.1k Views 20 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.
    • gillesG Offline
      gilles
      last edited by

      screw1_5.rb is a very simple plugin:

      -draw the shape of your thread (notice that the center of the screw will be SU origin point)
      -select the shape, then in plugin window choose screw
      -enter two point for the pitch
      -in the pop-up window specify numbers of steps and number of turns(negative for clockwise)
      -enter
      -wait few seconds
      -TADAA !!

      you can find it there.
      http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/screw1_5.rb


      screw.jpg

      " c'est curieux chez les marins ce besoin de faire des phrases "

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim57
        last edited by

        For a more complex take on it, try the ruby, k_tools/graphs/screwing of lines about the z-axis.

        This allows you to draw your own form (that is, a section of the thread) in the proper relation to the z axis, then screw it around once while advancing it a set amount. It generates one turn of the worm around the z axis.

        You can find it in the Ruby Depot:
        http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/k_tools_50.rb

        Best,

        Jim

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

          hi,

          here some simple screw_1.5.rb springs I just made, I'll put up a tutorial if anyone wants..

          springs just have a different profile and spacing, and a bigger poly count than treads, but this is a nice easy to use ruby.

          Work from center of origin...

          animated springs
          http://www.youtube.com/watch?v=fMUwcTCpSZQ


          spring


          has sprung

          learn from the mistakes of others, you may not live long enough to make them all yourself...

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Online
            Rich O Brien Moderator
            last edited by

            Hi John,

            Thanks for the post. Much appreciated and very impressive.

            Looking forward to the tutorial

            rgds
            Rich

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

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

              My pleasure,

              I've only been teaching myself SU for the last 3-4 weeks (have dabbled in the past) so as to make animated model of a device I'm designing.

              It involves lots of moving springs and threads so I been trying all sorts of rubies out to try and get a good look with as low a poly count as I can,

              heres a thead I did with arc tool, skin.rb and xformcllone.rb

              and there's one using simpleloft.rb at that subject

              away working for a few days, will have a tidy of my screen cast when I get back, my lack of speed and basic skills makes me cringe when I watch, but the workflows are pretty good.

              john


              this is low'ish poly count


              10 sec. render

              learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                Just a thought regarding your goals. How important is the screw thread in your render? If the screw or bolt is the subject of your render, then all the foregoing suggestion by other members of the forum are valid. However, the purpose of the render is to show a device that is far more important than the screw sub components, I have found that a bit map of horizontal lines (like corrugated metal roofing reduced in scale)can be applied to machine screws, bolts or threaded holes can produce a very convincing render and still remain low poly.

                It is all a matter of perception. If the screws are you product or will be seen in extreme close up, then model them. If the roles of the screws is a secondary item to a far more important product, then I say fake them.

                http://www.azcreative.com

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

                  I gave Screw 2.3 a try but so far am puzzled by it. This version does not offer an entry box for the offset, just a step count and number of turns. I am always getting zero offset -- it just "smears" the shape around into a torus.

                  I had a look at the source code and though I don't speak Ruby, I got the impression that it was somehow inferring the offset from the geometry of the shape to be smeared -- some kind of slope derived from an edge orthogonal to the axis of the lathing operation. Can anyone confirm?

                  Nothing is 'mere'. -- Richard Feynman

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    NewOne
                    last edited by

                    @driven said:

                    I'll put up a tutorial if anyone wants..

                    YES, please! πŸ˜„

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

                      haven't sorted screen casting out yet, but I found screw1.5.rb is the most stable on my mac.

                      it appears to be the same as described in the PDF tutorial for screw2 (http://www.crai.archi.fr/RubyLibraryDepot/Ruby/screw2_1_tutorial.pdf)

                      Offset is determined by the distance your profile is drawn from the blue axis so construct at origin, in free space.

                      Use a new page/layer/or hide/move whatever is there already and make it a group or component for further use.

                      john

                      learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                        You might find these thread textures useful.

                        http://forums.sketchucation.com/viewtopic.php?f=40&t=11378&hilit=+threads

                        They are not perfect, but do the job and are low poly. The attached drawing used the textures.

                        Regards,
                        Bob


                        Thread textures.jpg

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          ALWX65
                          last edited by

                          This is something I really want to learn. Is there a video anywhere showing exactly how to do it? All I want to do is show the threaded portion of a bolt sticking out the back of a nut.

                          ALW

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            archiasdomesticus
                            last edited by

                            From what I can tell the scripts on that are referenced in this thread (screw, k_tools) are no longer available on at http://www.crai.archi.fr. Have they been moved?

                            What plugins are still available to help with drawing screw threads?

                            Thanks,

                            Jim

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

                              The Ruby Depot moved here
                              http://rhin.crai.archi.fr/RubyLibraryDepot/Ruby/RUBY_Library_Depot.htm
                              It's in transition... You can still find the files but the Search function is broken... as it's looking at the old links...
                              e.g. k_tools http://rhin.crai.archi.fr/RubyLibraryDepot/Ruby/EM/k_tools_50.rb

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                aea
                                last edited by

                                no manage ?


                                SCREW.png


                                screw.skp

                                1 Reply Last reply Reply Quote 0
                                • Rich O BrienR Online
                                  Rich O Brien Moderator
                                  last edited by

                                  Hi,

                                  Here's how to use this plugin....

                                  Step 1

                                  As your bolt has a diameter of 225cm you need to place your thread profile 112.5cm from origin...

                                  Step - 1.jpg

                                  Step 2

                                  Now double click your thread profile and select Plugins>Screw, at this stage you need to choose a start point and an end point. I chose the bottom of the profile as the start point and the top as the end point...

                                  Step - 2.jpg

                                  Step 3

                                  Your bolt was a circle made of 24 segments therefore your thread needs to mimic this for optimum fit so insert 24 into the Step box and choose a whole number for the turns to allow you to align threads afterwards...

                                  Step - 3.jpg

                                  Step 4

                                  Click OK and wait.........

                                  Step - 4.jpg

                                  Now you can select your thread and align it to your bolt. This is a basic method of achieving what you need. But you could also align your bolt at the origin at the beginning and then apply the steps.

                                  The only thing that may change is the dimensions of your threads/lead/pitch which depends on whether it's UNC or UNF

                                  Anyway, here's my version to look at...

                                  screw.skp

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

                                  1 Reply Last reply Reply Quote 0
                                  • liquid98L Offline
                                    liquid98
                                    last edited by

                                    Look here:
                                    http://sketchup.google.com/3dwarehouse/details?mid=76063a259e3aec4abf52def0e259b9b0&prevstart=0

                                    Things that flourish fall into decay. This is not-Tao, And what is not-Tao soon ends ~ Lao tse

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

                                      Reminds me of the building I passed on the way home this morning. It was the "Pilgrim Screw Company". It seems like a straight line looking for a joke.

                                      http://www.azcreative.com

                                      1 Reply Last reply Reply Quote 0
                                      • gillesG Offline
                                        gilles
                                        last edited by

                                        Here they are.
                                        EDIT: screw1_5 is in fact screw3.0, screw_2.1 is an earlier version.


                                        screw1_5.rb


                                        screw_21.rb

                                        " c'est curieux chez les marins ce besoin de faire des phrases "

                                        1 Reply Last reply Reply Quote 0
                                        • brookefoxB Offline
                                          brookefox
                                          last edited by

                                          Thread title should perhaps refer to bolt thread, which I am happy to learn about, but I am looking for screw thread.

                                          ~ Brooke

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

                                            Pilgrim Screw Company
                                            @roger said:

                                            Reminds me of the building I passed on the way home this morning. It was the "Pilgrim Screw Company". It seems like a straight line looking for a joke.

                                            http://www.azcreative.com

                                            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