Commit 44ba5fb7 authored by erreur401's avatar erreur401

pre process markdown parser and image link

parent 13542973
......@@ -2,6 +2,8 @@ title: weather station
published: 2010-12-22
desc: petite station meteo
cat: usinage
folderImg : wtrstn
#STATION METEO / introduction à ARDUINO
......
title: Impression 3D
published: 2010-12-24
featured_image: page_images/test.jpg
quiz: robotArmQuiz
badge: cnc
cat: usinage
folderImg : 3dprint
desc: introduction a l'impression 3d
# L'impression3D
## Un bref historique
On parle dernièrement beaucoup de l'impression 3D avec la commercialisation grand public de machine et des projets comme REPRAP[^reprap].
Pourtant l'impression 3d existe depuis lemilieu des années 80, on en donne la paternité à Chuck Hull [^chuckhull] avecla création de la première imprimante 3D *stereolitographique* et du format defichier STL.
---
## Qu'est-ce que c'est ?
L’impression 3D est un techniqueindustriel de construction d'objet par un procédé de type "ADDITIF"(on ajoute de la matière au cours du procédé).
Il existe plusieurs types d'impression 3Dactuellement, ils reposent cependant tous sur le même principe : ajouter de la matièrecouche après couche pour créer​ duvolume.
Les 3 grandstypes​ d'impression 3D sont :
- SLA : la stereolithographie
- FDM : dépôt de matière en fusion (typele plus répandu aujourd'hui)
- SLS : forgeage par application laser
### SLA - Stereolithography
La forme la plus répandue deStereolithography est la *Photopolymérisation*. Il s'agit de faire durcir un photopolymère(résine réactive a la lumière, le plus souvent UV) à l'aide d'un laser ultra-violetcouche par couche. Cette technologie est la plus vieille.
<iframe width="560" height="315" src="https://www.youtube.com/embed/NM55ct5KwiI" frameborder="0" allowfullscreen></iframe>
### FDM - dépôt de matière en fusion
Le FDM est la technique aujourd'hui laplus répandue​ et la plus simple amettre en œuvre. La matière première est un filamentplastique qui va être pousse dans la tête d'impression (principe d'un pistolet à colle) qui va le fairefondre.
Le FDM repose sur la déposition couche aprèscouche de plastique (abs /pla /..) en fusion les unes sur les autres.
<iframe width="560" height="315" src="https://www.youtube.com/embed/WHO6G67GJbM" frameborder="0" allowfullscreen></iframe>
### SLS : forgeage par application laser
La technique de sls consiste en la fusion de poudre couche parcouche via l'utilisation d'un laser (CO2)
<iframe width="560" height="315" src="https://www.youtube.com/embed/0sLcobtfHFY" frameborder="0" allowfullscreen></iframe>
---
## L'impression 3d étape par étape
Avant de pouvoir faire une impression 3D il faut un fichier à imprimer ; un fichier 3Ddonc, et au format **stl ou obj**.
Les deux principales façons​ d'avoir un fichier pour l'impressionsont
- faire la modélisation 3D
- télécharger un fichier déjàfait
### Les fichiers 3D
#### Modélisation
Pour faire un fichier d'impression 3D il nous faut un logiciel modélisation 3D.
Il y a une grande diversité de logiciel dit CAD :
- [blender](https://www.blender.org/) opensource / gratuit / multi-OS
- [freeCad](https://www.freecadweb.org/) opensource / gratuit / multi-OS / paramatric
- [opensCad](http://www.openscad.org/) opensource / gratuit / multi-OS / paramatric / no-GUI
- [fusion360](http://www.autodesk.com/products/fusion-360/overview) close source /windows-osx / gratuit[^free] / parametric
#### Téléchargement
Il existe sur internet plusieurs plateformes de telechargement de fichier 3d pret pour l'impression 3d
Pour citer les 2 principales :
- [http://www.thingiverse.com/](http://www.thingiverse.com/)grande diversité de fichier classe par theme ( site soutenu par *Makerbot*fabricant des machines *replicatorBot* )
- [https://www.youmagine.com/](https://www.youmagine.com/) ( site soutenu par *Ultimaker* fabricant des machines *ultimaker* )
### La préparation des fichiers
Pour pouvoir imprimer en 3d il faut préparer le fichier pour qu'il soit compris parla machine.
Comme vu dans les différentes techniques d'impression, il y a toujours le même principe à la base : des couches (layer)superpose les unes sur les autres.
Pour faire cette *découpe* il y a des logiciels spécialisés comme 'CURA'(*ultimaker*) ou 'slic3r'
introduction a slic3r :
<iframe width="560" height="315" src="https://www.youtube.com/embed/fFhBcUkFB3E" frameborder="0" allowfullscreen></iframe>
#### le Gcode
Le fichier un fois découpé il va être traduit en mouvement pourl'imprimante 3D connu sous le nom de GCODE [^gcode]
`g01 x100 y200 z0.3 e50`
![Alt text](http://manual.slic3r.org/expert-mode/images/variable_layer_height/example_gcode_normal_layer_heights.png "Logo Title Text 1")
<small>©www.slic3r.org</small>
### L'impression
A venir…
[^reprap]: voir le wiki du projet - [link](http://reprap.org/)
[^chuckhull]: Chuck Hull biographie - [link](https://en.wikipedia.org/wiki/Chuck_Hull)
[^free]: gratuit pour etudiants, hobbyiste et non commercial avec inscription et quelques limitation
[^gcode]: plus d'informations sur le gcode - [link](http://reprap.org/wiki/G-code)
This diff is collapsed.
title: ressources
published: 2010-12-24
quiz: robotArmQuiz
badge: cnc
cat: elec
folderImg : ressources
desc: toutes les ressources pour bien demarrer
# WHERE TO START ?
##SOFTWARE RESSOURCE
###2D drawing / plan / edition
*![fuuuu](http://localhost:5000/static/page_images/ressources/inskape_ico.png)* **INKSCAPE**
![](http://localhost:5000/static/page_images/ressources/inkscape.jpg)
*licence* : free / opensource
*os* : linux / osx / win
*use* vector graphic design software - illustrator like
>
- illustration / logo / plan for cnc and laser cut
- could be use as gcode generator with **plugin**
- lots of avialable plugin (box / gear / puzzle creation )
- import `.ai` from illustrator
[inkscape web site ](https://inkscape.org/en/)
[getting started ](https://inkscape.org/en/learn/)
*![](http://localhost:5000/static/page_images/ressources/librecad_ico.png)* **libreCad**
![](http://localhost:5000/static/page_images/ressources/librecad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use*: Cad drawing / techinical - autocad like
>
- create multiple `DXF` version to export
[libreCad web site ](https://librecad.org/)
[getting started ](https://wiki.librecad.org/index.php?title=Main_Page)
*![](http://localhost:5000/static/page_images/ressources/qcad_ico.jpeg)* **Qcad**
![](http://localhost:5000/static/page_images/ressources/qcad.jpg)
*licence* opensource / not Free (*free version avialable*)
*os* linux / osx / win
*use* Cad drawing / technical drawing ) - autocad like
>
- import / export `dwg`
- isometric tools
- active developpement and plugin
- `CAM` plugin for Gcode generation
[Qcad web site ](https://www.qcad.org/en/)
[getting started ](https://www.qcad.org/doc/qcad/latest/reference/en/)
*![](http://localhost:5000/static/page_images/ressources/gimp_ico.jpeg)* **Gimp**
![](http://localhost:5000/static/page_images/ressources/gimo.png)
*licence* free / opensource
*os* linux / osx / win
*use* image manipulation / pixel drawing - photoshop like
>
- layer and mask
- actively devellope
[gimp web site ](https://www.gimp.org/)
[getting started ](https://www.gimp.org/tutorials/)
*![](http://localhost:5000/static/page_images/ressources/scribus_ico.jpeg)* **Scibus**
![](http://localhost:5000/static/page_images/ressources/scribus2.png)
*licence* free / opensource
*os* linux / osx / win
*use* print and book making / edition sofware - inDesign like
>
- prepress tool
- gabarit
[scribus website ](https://www.scribus.net/)
[getting started ](https://wiki.scribus.net/canvas/Help:TOC)
###3d software
*![](http://localhost:5000/static/page_images/ressources/blender_ico.png)* **Blender**
![](http://localhost:5000/static/page_images/ressources/blender.jpg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d Modeling / animation / image creation.
>
- light and powerfull
- lots of ressources online
- news 3d printing pannel
- all include (modeling texturing rendrering )
- can bu use to generate 3d gcode with `blenderCam` ==only' on specific blender version==
[blender website ](https://www.blender.org/)
[getting started ](https://www.blender.org/support/tutorials/)
*![](http://localhost:5000/static/page_images/ressources/openscad_ico.jpeg)* **OpenScad**
![](http://localhost:5000/static/page_images/ressources/openscad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d Modeling / part creation /
==code generated drawing==
>
- light and powerfull
- parametric solid modeling
[openscad website ](http://www.openscad.org/)
[getting started ](http://www.openscad.org/documentation.html)
*![](http://localhost:5000/static/page_images/ressources/freecad_ico.jpeg)* **FreeCad**
![](http://localhost:5000/static/page_images/ressources/freecad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d drawing / parametric design / part creation
>
- 2d / 3d software included
- parametric solid modeling
- new `path` workbench for Gcode creation (cnc)
[freecad website ](https://www.freecadweb.org/)
[getting started ](https://www.freecadweb.org/wiki/Getting_started)
*![](http://localhost:5000/static/page_images/ressources/fusion_ico.jpeg)* **fusion360 autodesk**
![](http://localhost:5000/static/page_images/ressources/fusion.jpeg)
*licence* mountly plan / close source / *student free version*
*os* ~~linux~~ / osx / win
no plan for a `linux` version.
*use* 3d Modeling / part creation / parametric
>
- powerfull
- parametric solid modeling
- widely used
- `CAM` module include
[autodesk Fusion360 website ](https://www.autodesk.com/products/fusion-360/students-teachers-educators)
*![](http://localhost:5000/static/page_images/ressources/tinker_ico.png)* **tinkerCad**
![](http://localhost:5000/static/page_images/ressources/tinkercad.jpg)
*licence* free / plan
*os* Web Browser based
*use* 3d Modeling / part creation /
>
- online / no installation require
- parametric solid modeling
[tinkercad web site ](https://www.tinkercad.com/)
[getting started ](https://www.tinkercad.com/learn/)
### CAM / machine control
#### CNC / Laser
*![](http://localhost:5000/static/page_images/ressources/laserweb_ico.png)* **LaserWeb4**
![](http://localhost:5000/static/page_images/ressources/laserweb.png)
*licence* free / opensource
*os* linux / osx / win
*use* Cnc / laser gcode creation & machine control (GBRL 1.1f min)
>
- light and powerfull
- All include
- easy to use
- control both *CNC* and *Laser* (`GRBL` based)
[laserWeb4 gitHub page ](https://github.com/LaserWeb/LaserWeb4)
**MakerCAM**
![](http://localhost:5000/static/page_images/ressources/makercam-profile.png)
*licence* free
*os* webBrowser app
*use* CNC 2.5D gcode generator
==need FLASH to operate ==
>
- simple and easy to use
- may cause problem in mm due to too much decimal. can be fix with python script [truncate](https://github.com/jhessig/metric-gcode-truncator)
[makercam website ](http://makercam.com)
*![](http://localhost:5000/static/page_images/ressources/bcnc_ico.JPG)* **Bcnc**
![](http://localhost:5000/static/page_images/ressources/bCNC.png)
*licence* free / openSource
*os* linux / osx / windows
*use* CNC 2.5D gcode generator
base on `python`
>
- lot of feature (bed leveling /gcode editor / gcode generator / various tools )
- grbl Based machine (`1.1f` min)
[Bcnc gitHub Page ](https://github.com/vlachoudis/bCNC)
#### 3D print
*![](http://localhost:5000/static/page_images/ressources/cura.png)* **Cura**
![](http://localhost:5000/static/page_images/ressources/cura.jpg)
*licence* free / openSource
*os* linux / osx / windows
*use* Generate 3d printer gcode file and control
>
- lots of predefine printer parametre
- lots of users
[ultimaker Cura website ](https://ultimaker.com/en/products/ultimaker-cura-software)
*![](http://localhost:5000/static/page_images/ressources/sllicer_ico.jpeg)* **Slic3r**
![](http://localhost:5000/static/page_images/ressources/slicer.jpg)
*licence* free / openSource
*os* linux / osx / windows
*use* Generate 3d printer gcode file and control
>
- offert full control on parameter
- lots of users and documentation
- really good new feature in the prusa edition
==the new version is now from Prusa research==
[Slic3r Official website ](http://slic3r.org)
[Slic3r Prusa edition website ](https://www.prusa3d.com/slic3r-prusa-edition/)
*![](http://localhost:5000/static/page_images/ressources/octoprint_ico.png)* **Octoprint**
![](http://localhost:5000/static/page_images/ressources/octo-main.png)
*licence* free / openSource
*os* linux / osx / windows
*use* Print server for 3d printer / printer control / gcode creation from server (cura 1.5 || slicer )
>
- full printer monitoring
- pugin to add functionality
- run on a `raspberryPi` and doest require a laptop or sd cad to operate machine (all can be done via local network)
[octoprint website](https://octoprint.org/)
## objet ressource and download
####3dprint / cnc / laser files
**thingiverse**
- 3d files (stl) objet and part
- laser and cnc objet and part
- some parametric model (*openScad*)
[thingiverse](https://www.thingiverse.com/)
**youimagine**
- 3d files (stl) objet and part
- laser and cnc objet and part
[youimagine](https://www.youmagine.com/)
**myminifactory**
- 3d files ready to print
[myminifactory](https://www.myminifactory.com/)
####Tutorial / howto
**instructable**
- all the tutorial you can think of
- arduino
- diy
- robot
[instructable ](https://www.instructables.com/)
This diff is collapsed.
import re
import sys
from yaml import load, dump
import yaml
inputMd = open( sys.argv[1] , 'r')
fileName = sys.argv[1].partition('.')
print(fileName[0])
inputMd = inputMd.read()
outputFile = open('_PARSED_'+fileName[0]+'.md',"w")
yamlData =yaml.load(str(inputMd.partition('...')[2].partition('...')[0]))
folderName = yamlData['folderImg']
outputMd = re.sub(r'(?:!\[(.*)\]\()(.*)(\/)(.*)(?:\))', r'![\1](http://localhost:5000/static/page_images/%s/\4)'%(folderName), inputMd )
outputMd = re.sub(r'(\.\.\.)\n','', outputMd )
outputFile.write(outputMd)
outputFile.close()
...
title: ressources
published: 2010-12-24
quiz: robotArmQuiz
badge: cnc
cat: elec
folderImg : ressources
desc: toutes les ressources pour bien demarrer
...
# WHERE TO START ?
##SOFTWARE RESSOURCE
###2D drawing / plan / edition
*![fuuuu](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/inskape_ico.png)* **INKSCAPE**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/inkscape.jpg)
*licence* : free / opensource
*os* : linux / osx / win
*use* vector graphic design software - illustrator like
>
- illustration / logo / plan for cnc and laser cut
- could be use as gcode generator with **plugin**
- lots of avialable plugin (box / gear / puzzle creation )
- import `.ai` from illustrator
[inkscape web site ](https://inkscape.org/en/)
[getting started ](https://inkscape.org/en/learn/)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/librecad_ico.png)* **libreCad**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/librecad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use*: Cad drawing / techinical - autocad like
>
- create multiple `DXF` version to export
[libreCad web site ](https://librecad.org/)
[getting started ](https://wiki.librecad.org/index.php?title=Main_Page)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/qcad_ico.jpeg)* **Qcad**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/qcad.jpg)
*licence* opensource / not Free (*free version avialable*)
*os* linux / osx / win
*use* Cad drawing / technical drawing ) - autocad like
>
- import / export `dwg`
- isometric tools
- active developpement and plugin
- `CAM` plugin for Gcode generation
[Qcad web site ](https://www.qcad.org/en/)
[getting started ](https://www.qcad.org/doc/qcad/latest/reference/en/)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/gimp_ico.jpeg)* **Gimp**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/gimo.png)
*licence* free / opensource
*os* linux / osx / win
*use* image manipulation / pixel drawing - photoshop like
>
- layer and mask
- actively devellope
[gimp web site ](https://www.gimp.org/)
[getting started ](https://www.gimp.org/tutorials/)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/scribus_ico.jpeg)* **Scibus**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/scribus2.png)
*licence* free / opensource
*os* linux / osx / win
*use* print and book making / edition sofware - inDesign like
>
- prepress tool
- gabarit
[scribus website ](https://www.scribus.net/)
[getting started ](https://wiki.scribus.net/canvas/Help:TOC)
###3d software
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/blender_ico.png)* **Blender**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/blender.jpg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d Modeling / animation / image creation.
>
- light and powerfull
- lots of ressources online
- news 3d printing pannel
- all include (modeling texturing rendrering )
- can bu use to generate 3d gcode with `blenderCam` ==only' on specific blender version==
[blender website ](https://www.blender.org/)
[getting started ](https://www.blender.org/support/tutorials/)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/openscad_ico.jpeg)* **OpenScad**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/openscad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d Modeling / part creation /
==code generated drawing==
>
- light and powerfull
- parametric solid modeling
[openscad website ](http://www.openscad.org/)
[getting started ](http://www.openscad.org/documentation.html)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/freecad_ico.jpeg)* **FreeCad**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/freecad.jpeg)
*licence* free / opensource
*os* linux / osx / win
*use* 3d drawing / parametric design / part creation
>
- 2d / 3d software included
- parametric solid modeling
- new `path` workbench for Gcode creation (cnc)
[freecad website ](https://www.freecadweb.org/)
[getting started ](https://www.freecadweb.org/wiki/Getting_started)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/fusion_ico.jpeg)* **fusion360 autodesk**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/fusion.jpeg)
*licence* mountly plan / close source / *student free version*
*os* ~~linux~~ / osx / win
no plan for a `linux` version.
*use* 3d Modeling / part creation / parametric
>
- powerfull
- parametric solid modeling
- widely used
- `CAM` module include
[autodesk Fusion360 website ](https://www.autodesk.com/products/fusion-360/students-teachers-educators)
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/tinker_ico.png)* **tinkerCad**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/tinkercad.jpg)
*licence* free / plan
*os* Web Browser based
*use* 3d Modeling / part creation /
>
- online / no installation require
- parametric solid modeling
[tinkercad web site ](https://www.tinkercad.com/)
[getting started ](https://www.tinkercad.com/learn/)
### CAM / machine control
#### CNC / Laser
*![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/laserweb_ico.png)* **LaserWeb4**
![](/home/zvevqx/LAB/work/clients/Bemaker/tuto/ressource/img/laserweb.png)
*licence* free / opensource
*os* linux / osx / win