Poor man's openscad screw library

Created by aubenc, source
  3D view
3D Compare
mirror
created 07/11/13 11:25


Download shape

Update:
Due to some bugs in the initial version, a revision of the OpenSCAD library has been uploaded, please use "polyScrewThread_r1.scad". Thanks a lot to mechadense for reporting the bugs!

This is my humble take on a screw library to be used in your OpenSCAD scripts.

If you are serious, please be, you'll better use thingiverse.com/thing:8793 syvwlch.

Anyway, I had this thing for months in the lost projects folder suffering from some serious issues, well some of them remain (it doesn't render) and once the dust has been shaken it compiles quite nice and printable things.

Instead of functions, this thing uses loops.
Instead of rotate polyhedrons, this thing draws the polyhedron in a new set of points.

Just a couple of comments to help using this thing:

- I've found that a resolution of something like 1.5mm (PI/2 is what I use the most) works very well for threads that will be used with nuts made with a resolution of 0.5mm.

- I've printed the threads with a very low infill (0.2) but for the nuts, setting up this value (I've used 0.45) helped a lot with the overhang issue.

More pics @ aubenc.imgur.com/screwsthreadsanotherpolyhedron_games

User Prints

If you printed this shape, share it!

I printed this!

Instructions

Do not use "polyScrewThread.scad", in contains some bugs! Instead...

Drop "polyScrewThread_r1.scad" into your OpenSCAD library folder or the folder where you are writing your OpenSCAD script.

Use polytests.scad (*) as a user's guide, refference, whatever.

(* - Depending on how old/new is your OpenSCAD you may need to change the line where the library is included, replace "include" by "use")

Because this thing is made without much science, you'll need to tweak a little bit, sorry...

First print a nut (high res, see comments above), tweak the infill and/or the degrees for the shape of the thread.

Once your nut prints fine, print a short threaded rod, try to change the resolution of the thread, infill,... use your imagination.

I printed the provided examples and they all work fine without any cleaning, that's the reason why they look so ugly in the pictures.

Design bolted things.

Print bolted things.

Bolt things.

Keep on bolting!


Tags

Comments

You must be logged in to comment, log in now

Latest Changes

Nov 07, 2013

  • Add file ex01_15x100x4.stl
    By mirror at 11:25
  • Add file polytests.scad
    By mirror at 11:25
  • Add file polyscrewthread.scad
    By mirror at 11:25
  • Add file polyscrewthread_r1.scad
    By mirror at 11:25
  • Add file ex02_nut_24x8_15x4.stl
    By mirror at 11:25
network map more

Forks

Fork

License


Poor man's openscad screw library by mirror is licensed under the Public Domain license.

Print Tag

If you printed this shape, please give your attribution by print this tag

Shape Tag
  1. Welcome Tutorial - The shape page

    This is a shape page, a shape can contain one or more STL files as well as extra instructions helper files..
    Press Next to continue.

  2. This is the shape gallery. Like in many sites you can see a 3D view of this shape by clicking the "3D view" button. This button appears when an image is linked to an STL file.

  3. In case you missed it, this download button would let you download the shape.

  4. Here comes the magic of ShapeDo, lets start by forking this shape.
    Forking a shape creates a full copy of the shape in your account, one which you an edit and improve on.
    Try forking this shape!

  1. Welcome Tutorial - The shape page

    This is a shape page, a shape can contain one or more STL files as well as extra instructions helper files..
    Press Next to continue.

  2. This is the shape gallery. Like in many sites you can see a 3D view of this shape by clicking the "3D view" button. This button appears when an image is linked to an STL file.

  3. In case you missed it, this download button would let you download the shape.

  4. Here comes the magic of ShapeDo, lets start by forking this shape.
    Forking a shape creates a full copy of the shape in your account, one which you an edit and improve on.

  5. Note there are extra details calculated for the shape, such as volume and file size, useful for when you want to print.

  6. Shapes can have many revisions, here you can see the version count with the latest first. By clicking on the version you can see live what has been changed in the 3D viewer or download older versions.

  7. This box will show you the history of changes made on this shape.

  8. You can see a visual representation of the history by clicking on the "network map" link, the "network map" shows the entire fork and shape history, its a powerful tool finding the exact version you want, and seeking who has the latest changes. You can also view it by clicking on the 'forks' message at the top of the page

  9. This box will show the users who forked this shape. Forks can take shapes in unusual directions.

  10. Don't forget to upload your shapes and thanks for participating our tour. We can't wait to see what you will create!

  11. Your feedback is important, please take a minute to make us get better.

  1. Congratulations

    You have created your first fork, good job!
    You made your first important step.

    Lets continue our tour...

  2. This shape is yours, you can edit and update it in any way you want.

    You can get new changes from other users that forked the original shape by pulling from them. Using the arrow on the right of the edit button opens the pull action.

    When you make changes and want to contribute back to the origin, just use the merge request to create a request to the original author. They will get an e-mail that their shape has a request, they can comment on it in case a change needs to be made.

  3. You can see here where the shape was forked from and who will get the request.

  4. Note there are extra details calculated for the shape, such as volume and file size, useful for when you want to print.

  5. Shapes can have many revisions, here you can see the version count with the latest first. By clicking on the version you can see live what has been changed in the 3D viewer or download older versions.

  6. This box will show you the history of changes made on this shape.

  7. You can see a visual representation of the history by clicking on the "network map" link, the "network map" shows the entire fork and shape history, its a powerful tool finding the exact version you want, and seeking who has the latest changes. You can also view it by clicking on the 'forks' message at the top of the page

  8. This box will show the users who forked this shape. Forks can take shapes in unusual directions.

  9. Don't forget to upload your shapes and thanks for participating our tour. We can't wait to see what you will create!

  10. Your feedback is important, please take a minute to make us get better.