10 Commits

Author SHA1 Message Date
Adrian Schlatter
10259b696b tests for rms thread 2023-04-02 15:15:30 +02:00
Thomas Baumann
b1eeb69f75
Add PCO-1810 thread
* Update PCO_thread.csv
* Added PCO-1810 to THREAD_TABLE.scad and tests/test_table.awk
2022-04-03 18:19:14 +02:00
Bryan Varner
9734ccdea3 Added a test case. 2020-07-08 11:11:00 -04:00
Adrian Schlatter
08851025f5 fix warning in test.scad
Apparently, cube does not take 3 arguments anymore but only 1.
2020-06-09 18:38:03 +02: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
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
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
beee1f1921 - dir structure (docs, tests, design)
- renderings for README.rst
2019-04-10 21:55:13 +02:00