summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
43b7e9e)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
final_layer_thick = 0.250;
multicolour_post = 4;
final_layer_thick = 0.250;
multicolour_post = 4;
-$spots_absent = false;
-$spots_plusgap = false;
-
+// calculated
+
+token_pitch = token_dia + 3;
+
+// autoadjusted
+
+$spots_absent = false;
+$spots_plusgap = false;
+
module Spots_Extrude_Lower(){
d = $spots_plusgap ? 1 : 0;
translate([0,0,-d])
module Spots_Extrude_Lower(){
d = $spots_plusgap ? 1 : 0;
translate([0,0,-d])
module Tests(){
for ($nspots = [1,2,3,4]) {
module Tests(){
for ($nspots = [1,2,3,4]) {
- translate(($nspots - 2) * (token_dia + 3) * [1,0])
+ translate(($nspots - 2) * token_pitch * [1,0])