Commit ca77ce89 authored by Jan Koniarik's avatar Jan Koniarik
Browse files

added tile.scad examples

parent 6a9291a7
# inspired based on https://github.com/olikraus/scad/blob/master/train_tube_track/Makefile
SCAD=$(wildcard example/*.scad)
STL=$(addprefix example/, $(notdir $(SCAD:.scad=.stl)))
PNG=$(addprefix example/, $(notdir $(SCAD:.scad=.png)))
example/%.stl: example/%.scad
openscad $< -o $@
example/%.png: example/%.scad
openscad $< --render --autocenter --viewall --imgsize=640,480 -o $@
.PHONY: all
all: $(STL) $(PNG)
include <tile.scad>
//tile(T24, h=2);
//tile(T24, h=5);
//tile(T24, h=5, centered_hole=true);
//tile_H(T24, h=5);
//tile_raw_plate(T24, 2, 3, 2);
![](tile_H_T24_5mm.png)
![](tile_T24_2mm.png)
![](tile_T24_5mm.png)
![](tile_T24_5mm_centered.png)
![](tile_T36_5mm.png)
![](tile_raw_plate_T24_2x3_2mm.png)
include <../tile.scad>
tile(T24, h=5, centered_hole=true);
This diff is collapsed.
include <../tile.scad>
tile(T24, h=2);
This diff is collapsed.
include <../tile.scad>
tile(T24, h=5);
This diff is collapsed.
include <../tile.scad>
tile(T24, h=5, centered_hole=true);
This diff is collapsed.
include <../tile.scad>
tile(T36, h=5);
This diff is collapsed.
include <../tile.scad>
tile_raw_plate(T24, 2, 3, 2);
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