Commit 7806a9a3 authored by Jan Koniarik's avatar Jan Koniarik
Browse files

fixed rendering resolution and added shape png

parent 732933f0
......@@ -5,13 +5,16 @@ STL=$(addprefix example/, $(notdir $(SCAD:.scad=.stl)))
PNG=$(addprefix example/, $(notdir $(SCAD:.scad=.png)))
example/%.stl: example/%.scad
openscad $< -o $@
openscad $< -D \$$fn=64 -o $@
example/%.png: example/%.scad
openscad $< --autocenter --viewall --imgsize=640,480 -o $@
openscad $< --autocenter --viewall --imgsize=640,480 -D \$$fn=64 -o $@
.PHONY: all example/Readme.md
all: $(STL) $(PNG)
example/Readme.md: $(PNG)
example/README.md: $(PNG)
python3 example/gen_readme.py $(SCAD:.scad=) > example/README.md
shape.png: dxf.scad tile.scad
openscad dxf.scad --autocenter --viewall --render --camera=0,0,10,0,0,0,10 -D \$$fn=64 -o $@
.PHONY: all
all: $(STL) $(PNG) example/README.md shape.png
# Tile
Project of universal mount system based on single tile.
!(Tile shape)[shape.png]
include<tile.scad>
projection()
tile_raw_plate(T24, 1, 1, 1);
# Gallery of tile examples
## example/tile_T24_5mm.scad
![example/tile_T24_5mm](example/tile_T24_5mm.png)
## example/tile_T36_5mm.scad
![example/tile_T36_5mm](example/tile_T36_5mm.png)
## example/tile_T24_5mm_centered.scad
![example/tile_T24_5mm_centered](example/tile_T24_5mm_centered.png)
## example/tile_sandwitch.scad
![example/tile_sandwitch](example/tile_sandwitch.png)
## example/tile_T24_2mm.scad
![example/tile_T24_2mm](example/tile_T24_2mm.png)
## example/tile_H_T24_5mm.scad
![example/tile_H_T24_5mm](example/tile_H_T24_5mm.png)
## example/tile_raw_plate_T24_2x3_2mm.scad
![example/tile_raw_plate_T24_2x3_2mm](example/tile_raw_plate_T24_2x3_2mm.png)
## example/tile_T36_5mm.scad
![example/tile_T36_5mm](example/tile_T36_5mm.png)
## example/tile_H_T24_5mm.scad
![example/tile_H_T24_5mm](example/tile_H_T24_5mm.png)
example/tile_H_T24_5mm.png

10 KB | W: | H:

example/tile_H_T24_5mm.png

11.1 KB | W: | H:

example/tile_H_T24_5mm.png
example/tile_H_T24_5mm.png
example/tile_H_T24_5mm.png
example/tile_H_T24_5mm.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_T24_2mm.png

8.4 KB | W: | H:

example/tile_T24_2mm.png

10.1 KB | W: | H:

example/tile_T24_2mm.png
example/tile_T24_2mm.png
example/tile_T24_2mm.png
example/tile_T24_2mm.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_T24_5mm.png

7.52 KB | W: | H:

example/tile_T24_5mm.png

8.42 KB | W: | H:

example/tile_T24_5mm.png
example/tile_T24_5mm.png
example/tile_T24_5mm.png
example/tile_T24_5mm.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_T24_5mm_centered.png

9.35 KB | W: | H:

example/tile_T24_5mm_centered.png

10 KB | W: | H:

example/tile_T24_5mm_centered.png
example/tile_T24_5mm_centered.png
example/tile_T24_5mm_centered.png
example/tile_T24_5mm_centered.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_T36_5mm.png

7.84 KB | W: | H:

example/tile_T36_5mm.png

9.18 KB | W: | H:

example/tile_T36_5mm.png
example/tile_T36_5mm.png
example/tile_T36_5mm.png
example/tile_T36_5mm.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_raw_plate_T24_2x3_2mm.png

7.11 KB | W: | H:

example/tile_raw_plate_T24_2x3_2mm.png

8.54 KB | W: | H:

example/tile_raw_plate_T24_2x3_2mm.png
example/tile_raw_plate_T24_2x3_2mm.png
example/tile_raw_plate_T24_2x3_2mm.png
example/tile_raw_plate_T24_2x3_2mm.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
example/tile_sandwitch.png

7.35 KB | W: | H:

example/tile_sandwitch.png

9.52 KB | W: | H:

example/tile_sandwitch.png
example/tile_sandwitch.png
example/tile_sandwitch.png
example/tile_sandwitch.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
shape.png

3.64 KB

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment