Gravure Mécanique PCB : Différence entre versions

De L'abscisse - FabLab et Hackerspace de Dijon
Aller à : navigation, rechercher
(Utilisation)
(Générer le g-code correspondant)
Ligne 51 : Ligne 51 :
  
 
Créer un fichier texte avec le contenu suivant :  
 
Créer un fichier texte avec le contenu suivant :  
  # Configuration file generated by pcb2gcodeGUI version 0.1 on ven. oct. 21 23:45:33 2016
+
 
 +
 
 +
<syntaxhighlight lang="bash">
 +
# Configuration file generated by pcb2gcodeGUI version 0.1 on ven. oct. 28 22:22:49 2016
 
    
 
    
  # Common options
+
# Common options
  #@#dpi=1000
+
#@#dpi=1000
  metric=true
+
metric=true
  metricoutput=true
+
metricoutput=true
  mirror-absolute=false
+
mirror-absolute=false
  nog64=true
+
nog64=true
  optimise=true
+
optimise=true
  tile-x=1
+
tile-x=1
  tile-y=1
+
tile-y=1
  tolerance=0.0100
+
tolerance=0.0100
  vectorial=true
+
vectorial=true
  zchange=10.0000
+
zchange=10.0000
  zero-start=true
+
zero-start=true
  zsafe=5.0000
+
zsafe=5.0000
 
+
 
  # Mill options
+
# Mill options
  extra-passes=0
+
#@#extra-passes=0
  mill-feed=600
+
mill-feed=600
  mill-speed=10000
+
mill-speed=10000
  offset=0.1500
+
#@#offset=0.1500
  voronoi=false
+
voronoi=true
  zwork=-0.0500
+
zwork=-0.0500
 
+
 
  # Drill options
+
# Drill options
  drill-feed=1000
+
drill-feed=50
  drill-side=auto
+
drill-side=auto
  drill-speed=10000
+
drill-speed=10000
  milldrill=false
+
milldrill=false
  #@#milldrill-diameter=3.0000
+
#@#milldrill-diameter=3.0000
  nog81=false
+
nog81=true
  nog91-1=false
+
nog91-1=true
  onedrill=false
+
onedrill=false
  zdrill=-2.5000
+
zdrill=-2.5000
 
+
 
  # Outline options
+
# Outline options
  bridges=0.5000
+
bridges=0.5000
  bridgesnum=2
+
bridgesnum=2
  cut-feed=600
+
cut-feed=600
  cut-infeed=10.0000
+
cut-infeed=10.0000
  cut-side=auto
+
cut-side=auto
  cut-speed=10000
+
cut-speed=10000
  cutter-diameter=3.0000
+
cutter-diameter=3.0000
  fill-outline=true
+
fill-outline=true
  #@#outline-width=0.2000
+
#@#outline-width=0.2000
  zbridges=-0.6000
+
zbridges=-0.6000
  zcut=-2.5000
+
zcut=-2.5000
 
+
 
  # Autoleveller options
+
# Autoleveller options
  al-back=false
+
al-back=false
  al-front=false
+
al-front=false
  #@#al-probecode=G31
+
#@#al-probecode=G31
  al-probefeed=100
+
al-probefeed=100
  #@#al-probevar=2002
+
#@#al-probevar=2002
  #@#al-setzzero=G92Z0
+
#@#al-setzzero=G92Z0
  al-x=15.0000
+
al-x=15.0000
  al-y=15.0000
+
al-y=15.0000
  software=LinuxCNC
+
software=LinuxCNC
 +
 
 +
 
 +
</syntaxhighlight>
  
 
Lancer pcb2gcodeGUI
 
Lancer pcb2gcodeGUI
Ligne 120 : Ligne 126 :
  
 
Cliquer sur Start
 
Cliquer sur Start
 
  
 
===Gravure===
 
===Gravure===

Version du 28 octobre 2016 à 20:26

Présentation

Graver un PCB avec la fraiseuse du fab

Niveau de difficulté

Vert.png

Installation

PCB2GCODE

Outil de conversion Gerber vers G-code

cf https://github.com/pcb2gcode/pcb2gcode

 sudo apt-get update
 sudo apt-get install build-essential automake autoconf autoconf-archive libtool libboost-program-options-dev libgtkmm-2.4-dev gerbv git
 git clone https://github.com/pcb2gcode/pcb2gcode.git
 cd pcb2gcode
 autoreconf -fvi
 ./configure
 make
 sudo make install

PCB2GCODEGUI

Interface graphique pour pcb2gcode

cf https://github.com/pcb2gcode/pcb2gcodeGUI

 sudo apt-get install build-essential git qt5-default libqt5svg5-dev
 git clone https://github.com/pcb2gcode/pcb2gcodeGUI.git
 cd pcb2gcodeGUI/
 qmake
 make
 sudo make install

g-commander

Logiciel de contrôle de la fraiseuse

 git clone https://gitlab.com/Pilatomic/g-commander.git
 cd g-commander/
 qmake
 make

Utilisation

Exporter Gerber de Kicad

Dialog-warning.png Fix Me !

Vous pouvez ajouter les informations manquantes !!!

Générer le g-code correspondant

Créer un fichier texte avec le contenu suivant :


# Configuration file generated by pcb2gcodeGUI version 0.1 on ven. oct. 28 22:22:49 2016
  
# Common options
#@#dpi=1000
metric=true
metricoutput=true
mirror-absolute=false
nog64=true
optimise=true
tile-x=1
tile-y=1
tolerance=0.0100
vectorial=true
zchange=10.0000
zero-start=true
zsafe=5.0000

# Mill options
#@#extra-passes=0
mill-feed=600
mill-speed=10000
#@#offset=0.1500
voronoi=true
zwork=-0.0500

# Drill options
drill-feed=50
drill-side=auto
drill-speed=10000
milldrill=false
#@#milldrill-diameter=3.0000
nog81=true
nog91-1=true
onedrill=false
zdrill=-2.5000

# Outline options
bridges=0.5000
bridgesnum=2
cut-feed=600
cut-infeed=10.0000
cut-side=auto
cut-speed=10000
cutter-diameter=3.0000
fill-outline=true
#@#outline-width=0.2000
zbridges=-0.6000
zcut=-2.5000

# Autoleveller options
al-back=false
al-front=false
#@#al-probecode=G31
al-probefeed=100
#@#al-probevar=2002
#@#al-setzzero=G92Z0
al-x=15.0000
al-y=15.0000
software=LinuxCNC

Lancer pcb2gcodeGUI

 pcb2gcodeGUI

Puis cliquer sur File, load configuration file, et sélectionner le fichier précédemment créé.

Onglet input/output, catégorie "back", charger le fichier Gerber produit par Kicad.

Cliquer sur Start

Gravure

A réaliser avec g-commander


Dialog-warning.png Fix Me !

Vous pouvez ajouter les informations manquantes !!!

Auteurs

Pila