Un Post pour la mise en place de repetier-Server sur un RaspberryPi
Quelques spécifications :
- Accès depuis un navigateur web à une ou plusieurs imprimantes 3D
- Fonctionnement autonome
- gestion à distance de l’imprimante
- pas de visualisation de la trajectoire ( pour alléger l’application)
- libère le PC
- pas de génération de gcode (slicer pas intégré)
- Le script envoi le gcode à l’imprimante
Etape 1 : installation.
L’installation se fera sur un raspberry.
- récuperez le fichier tgz sur le site web de repetier Repetier-Server 0.24 for Raspberry Pi.
- Dézipper le fichier dans le home de la session pi par exemple.
- ensuite toutes les instructions se trouve dans le fichier install.txt.
The distribution works with the Debian-Wheezy linux version for the pi! Copy executable to /usr/bin > sudo cp RepetierServer /usr/bin Copy a sample config file to /etc > sudo cp repetier-server.conf /etc Create a environment where the server can store it's data and printer configs. > sudo mkdir /var/lib/Repetier-Server /var/lib/Repetier-Server/configs /var/lib/Repetier-Server/www /var/lib/Repetier-Server/storage /var/lib/Repetier-Server/languages Create configurations for your printer in /var/lib/Repetier-Server/configs. You find 2 examples in the configs subdirectory.
examples : mendel.cfg
version=”1.0″;
active=false;
printer:{
name=”Original Mendel”;
slugName=”orig_mendel”; // Unique name with ascii chars without space,tab. Is used for path names.
connection:{
device=”/dev/ttyUSB0″;
baudrate=115200;
pingPong=true; // Allow sending more then one command if it fits into printer cache
readCacheSize=127; // Size of the printer cache. May be 63 for some printer.
/* Communication protocol used to communicate with this printer:
0 = ascii protocol – works with all reprap firmwares
1 = Repetier-Protocol V1 – requires Repetier-Firmware
2 = Repetier-Protocol V2 – requires Repetier-Firmware 0.80 or higher */
protocol=0;
okAfterResend=true; // Does your firmware send a ok after sending a resend for that line?
};
dimension:{
xmin=0.0;
ymin=0.0;
zmin=0.0;
xmax=195.0;
ymax=195.0;
zmax=195.0;
};
homing:{
xhome=0.0; // Coordinates after homing x axis
yhome=0.0; // Coordinates after homing x axis
zhome=0.0; // Coordinates after homing x axis
};
speed:{
xaxis=50.0; // Move speed in mm/s for manual moves
yaxis=50.0; // Move speed in mm/s for manual moves
zaxis=2.0; // Move speed in mm/s for manual moves
eaxisExtrude=2.0; // Move speed in mm/s for manual moves
eaxisRetract=20.0; // Move speed in mm/s for manual moves
};
extruder:{
count=1; // Number of extruder on that device
tempUpdateEvery=1; // Update temperature every x seconds
};
};
The device name /dev/ttyUSBxx may change depending on the order the printer is enabled.
Copy the content of www and languages to the created directories > sudo cp -r ../www/* /var/lib/Repetier-Server/www > sudo cp ../languages/* /var/lib/Repetier-Server/languages Create a start init script to run the server as daemon upon boot time. > sudo cp ../linux/Repetier-Server.init /etc/init.d/Repetier-Server > sudo chmod 755 /etc/init.d/Repetier-Server Activate start script: > sudo update-rc.d Repetier-Server defaults Now your start script is active on next reboot. To start/stop manually use > sudo /etc/init.d/Repetier-Server start > sudo /etc/init.d/Repetier-Server stop Restart server: > sudo /etc/init.d/Repetier-Server restart
Etape 2 : utilisation
a suivre

































































