Outils pour utilisateurs

Outils du site


wiki:projets:rfid:ethylotest:capteurdegaz

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
wiki:projets:rfid:ethylotest:capteurdegaz [2015/02/18 21:50]
3407792 créée
wiki:projets:rfid:ethylotest:capteurdegaz [2016/11/13 13:39] (Version actuelle)
Vincent Dupuis ↷ Page déplacée de wiki:projets:ethylotest:capteurdegaz à wiki:projets:rfid:ethylotest:capteurdegaz
Ligne 2: Ligne 2:
 Cette page présente le code source OpenScad servant à réaliser le support du capteur MQ-3 dans le cadre du projet ARE "Capteur de gaz éthylotest" Cette page présente le code source OpenScad servant à réaliser le support du capteur MQ-3 dans le cadre du projet ARE "Capteur de gaz éthylotest"
  
 +<code>
 module trou(); module trou();
-+  
-difference()+ { 
 +  
 + difference() 
 + 
 { {
  cylinder (r=19, h=10);  cylinder (r=19, h=10);
  cylinder (r=17, h=11);  cylinder (r=17, h=11);
-+ 
-}+ }
  
-module central() + module central() 
-+  
-difference()+ { 
 +  
 + difference() 
 + 
 { {
  cylinder (r=11.5, h=10);  cylinder (r=11.5, h=10);
  cylinder (r=8.9, h=11);  cylinder (r=8.9, h=11);
-}+ }
  
-translate ([9.9,-1.25,0]) cube ([9,3,10]); + translate ([9.9,-1.25,0]) cube ([9,3,10]); 
-rotate (a=72) translate ([9.9,-1.2,0]) cube ([9,3,10]);+ rotate (a=72) translate ([9.9,-1.2,0]) cube ([9,3,10]);
  
-rotate (a=144) translate ([9.9,-1.25,0]) cube ([9,3,10]);+ rotate (a=144) translate ([9.9,-1.25,0]) cube ([9,3,10]);
  
-rotate (a=216) translate ([9.9,-1.25,0]) cube ([9,3,10]);+ rotate (a=216) translate ([9.9,-1.25,0]) cube ([9,3,10]);
  
-rotate (a=288) translate ([9.9,-1.25,0]) cube ([9,3,10]);+ rotate (a=288) translate ([9.9,-1.25,0]) cube ([9,3,10]);
  
  
-}+ }
  
-module support();+ module support(); 
 + 
 { {
 + 
 union() union()
 + 
 { {
 + 
 trou(); trou();
 + 
 central(); central();
 + 
 } }
-}+ } 
 +</code>
  
 Ce qui donne au final: Ce qui donne au final:
-{{https://drive.google.com/file/d/0BzpuA7LoH2V6U0luUWNvXzFnczg/view?usp=sharing}}+{{:wiki:projets:ethylotest:capture_d_e_cran_2015-04-01_a_21.45.23.png|}}
wiki/projets/rfid/ethylotest/capteurdegaz.1424296229.txt.gz · Dernière modification: 2016/09/11 11:01 (modification externe)