49 Commits

Author SHA1 Message Date
Adrian Schlatter
703d6a8859 thread_specs(...): Error Msg
Added helpful error message if thread_specs(...) is unable to
look up designator. Compare PR #36.

closes #37
2020-06-09 18:13:47 +02:00
Adrian Schlatter
63bde7f4f8 - bumped up version number
- updated change log in README
- clearly stated units threadlib is using
2019-11-13 21:03:14 +01:00
Adrian Schlatter
55e360d76b
Unified Inch Screw Threads (#29)
Unified Inch Screw Threads
++++++++++++++++++++++++++

Added unified inch screw threads. Namely UNC, UNF, UNEF, 4-UN, 6-UN,
8-UN, 12-UN, 16-UN, 20-UN, 28-UN, and 32-UN.

Also, removed reference to long-gone Excel table.

solves #11 
solves #12 
solves #13
2019-11-11 21:20:33 +01:00
Adrian Schlatter
7e30d8e824
Add tech-docs for metric thread (#23)
Describes the choices made when deriving threadlib specs from the metric
thread norms.

closes #7
2019-05-26 19:00:07 +02:00
Adrian Schlatter
8865c654ce
fix pco-1881-int minor diameter (#22)
minor diameter has been too small => collision with sealing lip on
pco-1881 neck. It is now large enough to fit the sealing lip through the
internal thread.

closes #18
2019-05-26 17:52:35 +02:00
Adrian Schlatter
ad12ec4961
Tech docs bspp (#21)
Tech-docs BSP-Parallel thread

- Documented how threadlike specs for BSPP thread are derived from norm data. 
- Refactoring of BSPP_thread.awk to make the code easier to document (order of calculations, avoid repetition).

closes #6
2019-05-08 22:08:33 +02:00
Adrian Schlatter
827723d1b1 Eliminate threads.xlsx
Replaces threads.xlsx by one .csv file and one awk script per thread
type. The script calculates threadlib specs from the data in the .csv
file. Finally and as before, autogenerate.awk generates the OpenSCAD
code (i.e. THREAD_TABLE.scad).

A new Makefile automates this process: make does what is needed. It
also provides a target 'test' to run the (existing) tests.

To add a new thread type:

- provide newthread.csv
- provide newthread.awk
- modify Makefile to generate your new threads
- add appropriate tests

Additionally:

- fixed bug in Rrot when DRmax is too large.
- reduced number of significant figures to a resolution of 0.1 um
  (while not extremely generous for the very finest threads, it
  should be enough by far for any 3D-prints).
- increased test limit for thread angle deviations (necessary due to
  reduced number of significant figures)
- added test counter: 'make test' now prints number of tests run +
  number of threads tested.
- For unknown reasons (MacOS awk?) final match-all rule in
  test_table.awk does not match with double-quotes. Work-around: Match
  without double-quotes.
2019-05-05 22:29:09 +02:00
Adrian Schlatter
26b7e66184 Merge branch 'develop' of github.com:adrianschlatter/threadlib into develop 2019-04-30 21:45:23 +02:00
Adrian Schlatter
26ad35c72a Add developer docs
- explain structure of THREAD_TABLE.scad and relation to thread module
- explain threads and how to derive proper specs for inclusion in threadlib
- explain use of autogenerate.awk
- explain tests (i.e., test_table.awk)

closes #5
2019-04-30 21:45:02 +02:00
Adrian Schlatter
45412ab352 Fixed error in Rrot of PCO-1881-int 2019-04-18 22:53:58 +02:00
Adrian Schlatter
deed429816 Fixed Dpitch error in G-ext threads 2019-04-18 16:26:47 +02:00
Adrian Schlatter
fb0d9d1d21 Unit tests for Rrot
Makefile for unit testing
2019-04-14 18:15:55 +02:00
Adrian Schlatter
e4faa5ab0c internal threads => negative radius of rotation
user does not need to rotate internal threads by 180 deg anymore
to fit external thread. nut module also does not need to rotate
anymore
2019-04-14 17:52:43 +02:00
Adrian Schlatter
46fcbc9395 unit tests for THREAD_TABLE.scad + fixed problems found 2019-04-14 12:37:07 +02:00
Adrian Schlatter
94234efba8 Fixed autogenerate.awk so that it outputs unix-stile line endings even
with DOS-style input line endings.
2019-04-14 11:44:47 +02:00
Adrian Schlatter
1573640dac bump up version to 0.2 2019-04-13 19:09:17 +02:00
Adrian Schlatter
8989b6af3a Fix more doc problems 2019-04-13 19:03:41 +02:00
Adrian Schlatter
7dd62dd0a7 Fix doc problems 2019-04-13 18:56:55 +02:00
Adrian Schlatter
995c9cc6e0 Added links to README.rst 2019-04-13 18:36:00 +02:00
Adrian Schlatter
d21cd6e5a7 Installation Instructions 2019-04-13 17:54:41 +02:00
Adrian Schlatter
87e6182d6c - README.rst: nice images
- .gitignore
2019-04-13 17:41:06 +02:00
Adrian Schlatter
0251ea7d62 Closing in ... 2019-04-13 15:14:02 +02:00
Adrian Schlatter
300c3c901f Further test getting a decent logo/title. 2019-04-13 14:59:41 +02:00
Adrian Schlatter
acfdd608e3 make it *even* smaller. Trying to get around github/markup#295 2019-04-13 14:47:09 +02:00
Adrian Schlatter
99165bca86 nutNbolt.png smaller (fitting GitHub?) 2019-04-13 14:36:46 +02:00
Adrian Schlatter
e7175a19d0 Try image width in px 2019-04-10 22:19:01 +02:00
Adrian Schlatter
8dba11fe77 fixing missing images in README.rst 2019-04-10 22:17:35 +02:00
Adrian Schlatter
0b89f9cfc2 fixing missing images in README.rst 2019-04-10 22:09:58 +02:00
Adrian Schlatter
beee1f1921 - dir structure (docs, tests, design)
- renderings for README.rst
2019-04-10 21:55:13 +02:00
Adrian Schlatter
873a266abc Metric Threads - Coarse / Fine / Super-Fine Pitches 2019-04-09 21:57:32 +02:00
Adrian Schlatter
dc05e4475b PCO-1881 thread 2019-04-08 22:32:40 +02:00
Adrian Schlatter
9c9fec5668 Change log 2019-04-08 10:47:00 +02:00
Adrian Schlatter
f473fd15ae Added version __THREADLIB_VERSION() function. 2019-04-08 10:44:03 +02:00
Adrian Schlatter
c988eed98c fixed <threadlib/threadlib.scad> in test.scad 2019-04-08 10:43:30 +02:00
Adrian Schlatter
418b739aac - added reference to maryland metrics: They have better and more info on
threads than amesweb.
2019-04-08 10:32:04 +02:00
Adrian Schlatter
2bdbde7a16 - referenced Helges thread_profile.scad in README
- added list of supported threads to README
2019-04-08 10:31:20 +02:00
Adrian Schlatter
9ee4be088a threadlib emancipation
+++++++++++++++++++++++

threadlib is now its own project => remove Waterrocket Fins from this
repo.
2019-04-07 21:54:19 +02:00
Adrian Schlatter
24147eb7d0 Docs and License
++++++++++++++++

- README.rst
- LICENSE
- License in code files
- nut and bolt to threadlib.scad (from test.scad)
- added feature to be able to use custom threads (table argument)
2019-04-07 21:28:31 +02:00
Adrian Schlatter
369e81f8ae BSPthread renamed to threadlib
+++++++++++++++++++++++++++++++

As it is now extensible to many types of threads => renamed to
threadlib.
Separated test code from production code.
2019-04-06 19:08:44 +02:00
Adrian Schlatter
0233c75e89 Create thread by designator
+++++++++++++++++++++++++++

Created generalized thread-module that creates a thread by looking up
the designator in THREAD_TABLE.
2019-04-06 18:29:25 +02:00
Adrian Schlatter
b7dd081190 Prepare THREAD_TABLE
++++++++++++++++++++

As OpenSCAD does not support function pointers, it is not an extensible
approach to calculate the thread specs from pitch and Dpitch. Instead, I
pre-calculate *all* of the specs in a table. The idea is to extend this
table with further threads (such as metric threads, conic threads,
bottle threads, etc.) later on.

Step 1: Calculate THREAD_TABLE in Excel.
2019-04-06 18:26:25 +02:00
Adrian Schlatter
98bed347e8 Simplified code by including the radius of rotation in the section
profile. Rotation to extrude thread is now always =0.
2019-04-06 11:58:41 +02:00
Adrian Schlatter
b368ac6fb2 Updated BSPP_external_thread() and BSPP_internal_thread() to design
with optimum margins (as insensitive to production tolerances as
possible).
2019-04-03 21:59:33 +02:00
Adrian Schlatter
1ac193d068 fixed error in external Dpitch calculation 2019-03-28 21:42:31 +01:00
Adrian Schlatter
f3bd429e1b BSP thread tables
++++++++++++++++++

Obtained tabulated data on BSP threads.
Developed a simplifed design with robust parameters
(i.e., with as much margin as possible given the
tolerances in the specs).
2019-03-26 21:57:11 +01:00
Adrian Schlatter
9f57ec8bff British Standard Pipe Thread
++++++++++++++++++++++++++++

Added module to create british standard pipe thread. For now,
only the parallel version, not the tapered one.
2019-03-24 22:58:45 +01:00
Adrian Schlatter
f88d668778 Gardena Tap Connectors
++++++++++++++++++++++

Tap connectors G 1" and G 3/4".

This is what we will screw onto the water-bottle adapter and that will
create a smooth water jet. It will also connect to our launcher.
2019-03-24 18:33:29 +01:00
Adrian Schlatter
f667cd4e5a PCO-1881 Bottle Neck
+++++++++++++++++++++

A PCO-1881 bottle neck: This is where our waterrocket adapter will have
to fit to.
2019-03-24 18:26:59 +01:00
Adrian Schlatter
95d2e3f40e Starting Project "Waterrocket Fins" 2019-03-24 18:21:13 +01:00