mirror of
https://github.com/adrianschlatter/threadlib.git
synced 2025-01-16 20:58:26 +01:00
fixing missing images in README.rst
This commit is contained in:
parent
beee1f1921
commit
8dba11fe77
@ -1,5 +1,5 @@
|
||||
.. image:: docs/nutNbolt.png
|
||||
:width: 20%
|
||||
.. image:: docs/imgs/nutNbolt.png
|
||||
:width: 100px
|
||||
:alt: bolt-in-nut logo
|
||||
|
||||
threadlib
|
||||
@ -37,7 +37,7 @@ To create a bolt (without head) with 5 turns of M4 thread:
|
||||
|
||||
bolt("M4", turns=5);
|
||||
|
||||
.. image:: docs/bolt-M4.png
|
||||
.. image:: docs/imgs/bolt-M4.png
|
||||
:width: 30%
|
||||
:alt: Bolt with M4 thread
|
||||
|
||||
@ -47,7 +47,7 @@ A nut:
|
||||
|
||||
nut("M12x0.5", turns=10, Douter=40);
|
||||
|
||||
.. image:: docs/nut-M12x0.5.png
|
||||
.. image:: docs/imgs/nut-M12x0.5.png
|
||||
:width: 30%
|
||||
:alt: M12x0.5 nut
|
||||
|
||||
|
@ -1,19 +1,19 @@
|
||||
os = /usr/local/bin/openscad
|
||||
opts =
|
||||
imgs = bolt-M4.png nut-M12x0.5.png nutNbolt.png
|
||||
imgs = imgs/bolt-M4.png imgs/nut-M12x0.5.png imgs/nutNbolt.png
|
||||
|
||||
.PHONY: all
|
||||
all: $(imgs)
|
||||
|
||||
bolt-M4.png: bolt.scad
|
||||
imgs/bolt-M4.png: bolt.scad
|
||||
$(os) $(opts) --D 'type="M4"' --camera=0.49,-0.26,1.55,74.6,0.0,78.9,20 --imgsize=2048,2048 -o $@ $<
|
||||
|
||||
nut-M12x0.5.png: nut.scad
|
||||
imgs/nut-M12x0.5.png: nut.scad
|
||||
$(os) $(opts) --D 'type="M12x0.5"' --D 'turns=10' --D 'Douter=16' --camera=-2.2,1.2,1.8,66,0,73,52 --imgsize=2048,2048 --projection=ortho -o $@ $<
|
||||
|
||||
nutNbolt.png: nutNbolt.scad
|
||||
imgs/nutNbolt.png: nutNbolt.scad
|
||||
$(os) $(opts) --camera=-0.24,1.19,4.24,83,0,326.9,40.3 --imgsize=2048,2048 --projection=ortho -o $@ $<
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm *.png
|
||||
rm imgs/*.png
|
||||
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 131 KiB |
BIN
docs/imgs/bolt-M4.png
Normal file
BIN
docs/imgs/bolt-M4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 230 KiB |
BIN
docs/imgs/nut-M12x0.5.png
Normal file
BIN
docs/imgs/nut-M12x0.5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 156 KiB |
BIN
docs/imgs/nutNbolt.png
Normal file
BIN
docs/imgs/nutNbolt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 207 KiB |
Loading…
x
Reference in New Issue
Block a user