Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D Numbered Coins por numberformat no Thingiverse

Descrição

This is a small collection of numbered coins I made to learn some of the features of OpenSCAD. I used the following code to generate them.

The code uses variables, modules, loops, and printed text so its a good example to learn some basics..

``` // see the ascii table chars=[for(i = [48:57]) i]; // numbers //chars=[42,43,45,47,61]; // math operators offset = 25; coinRadius=10; coinHeight=5; numCols=8; textSize=15;

/* Basic ASCII 33 ! 55 7 77 M 99 c 34 " 56 8 78 N 100 d 35 # 57 9 79 O 101 e 36 $ 58 : 80 P 102 f 37 % 59 ; 81 Q 103 g 38 & 60 < 82 R 104 h 39 ' 61 = 83 S 105 i 40 ( 62 > 84 T 106 j 41 ) 63 ? 85 U 107 k 42 * 64 @ 86 V 108 l 43 + 65 A 87 W 109 m 44 , 66 B 88 X 110 n 45 - 67 C 89 Y 111 o 46 . 68 D 90 Z 112 p 47 / 69 E 91 [ 113 q 48 0 70 F 92 \ 114 r 49 1 71 G 93 ] 115 s 50 2 72 H 94 ^ 116 t 51 3 73 I 95 _ 117 u 52 4 74 J 96 ` 118 v 53 5 75 K 97 a 119 w 54 6 76 L 98 b 120 x 121 y 122 z */

/*Extended: 160 184 ¸ 207 Ï 230 æ 161 ¡ 185 ¹ 208 Ð 231 ç 162 ¢ 186 º 209 Ñ 232 è 163 £ 187 » 210 Ò 233 é 164 ¤ 188 ¼ 211 Ó 234 ê 165 ¥ 189 ½ 212 Ô 235 ë 166 ¦ 190 ¾ 213 Õ 236 ì 167 § 191 ¿ 214 Ö 237 í 168 ¨ 192 À 215 × 238 î 169 © 193 Á 216 Ø 239 ï 170 ª 194 Â 217 Ù 240 ð 171 « 195 Ã 218 Ú 241 ñ 172 ¬ 196 Ä 219 Û 242 ò 173 197 Å 220 Ü 243 ó 174 ® 198 Æ 221 Ý 244 ô 175 ¯ 199 Ç 222 Þ 245 õ 176 ° 200 È 223 ß 246 ö 177 ± 201 É 224 à 247 ÷ 178 ² 202 Ê 225 á 248 ø 179 ³ 203 Ë 226 â 249 ù 180 ´ 204 Ì 227 ã 250 ú 181 µ 205 Í 228 ä 251 û 182 ¶ 206 Î 229 å 252 ü 183 · 253 ý 254 þ 255 ÿ */

generateCoins2(chars);

module generateCoins2(coinchars) { for(i = [0:len(coinchars)-1]) { row = floor(i / numCols); translate([offset*(i%numCols), row*offset, 0]) { coin(chars[i], coinRadius); }
} }

module coin( value, radius ) { difference() {
cylinder(h=coinHeight, r=radius); translate([0,0,4]) { linear_extrude(height=2) { text(text=chr(value), size=textSize, halign="center", valign="center"); } }
}
} ```

Thingiverse

Numbered Coins

19
Curtidas
0
Downloads
25
Coleções
1
Impressões
Licença Creative Commons - Attribution
Arquivos (3)
MathOperators.stl 120.9 KB
SingleCoin.stl 61.1 KB
NumberedCoins.stl 622.8 KB
Ver no Thingiverse (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta