<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://https://wikifab.hatlab.fr/Special:URIResolver/'>
	<!ENTITY category 'http://https://wikifab.hatlab.fr/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://wikifab.hatlab.fr/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://wikifab.hatlab.fr/Special:ExportRDF/Generer_un_GCODE_CNC_avec_PyCAM">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-28T14:59:29+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Generer_un_GCODE_CNC_avec_PyCAM">
		<rdf:type rdf:resource="http://https://wikifab.hatlab.fr/Special:URIResolver/Category-3ATutoriels"/>
		<rdfs:label>Generer un GCODE CNC avec PyCAM</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://wikifab.hatlab.fr/Special:ExportRDF/Generer_un_GCODE_CNC_avec_PyCAM"/>
		<swivt:page rdf:resource="https://wikifab.hatlab.fr/Generer_un_GCODE_CNC_avec_PyCAM"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">fr</swivt:wikiPageContentLanguage>
		<property:Area rdf:resource="&wiki;Art"/>
		<property:Area rdf:resource="&wiki;D-C3-A9coration"/>
		<property:Area rdf:resource="&wiki;-C3-89lectronique"/>
		<property:Area rdf:resource="&wiki;Robotique"/>
		<property:Cost rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Cost>
		<property:Currency rdf:datatype="http://www.w3.org/2001/XMLSchema#string">EUR (€)</property:Currency>
		<property:Description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Installation et Utilisation de PyCAM pour tous pour faire des reliefs 3D avec une CNC.</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Facile</property:Difficulty>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">30</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">minute(s)</property:Duration-2Dtype>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PyCAM est un code open source pour Python 3 qui permet de générer un chemin 3D pour CNC à partir d'un STL.
Il est développé en Python et donc mutli-plateforme.</property:Introduction>
		<property:Licences rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Attribution (CC BY)</property:Licences>
		<property:Material rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Un matériau: bois, mousse rigide, plastique</property:Material>
		<property:Notes rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Merci à SebKuzminsky et toute l'équipe de PyCAM.</property:Notes>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Les sources sont là, à récupérer directement sur le git:
https://github.com/SebKuzminsky/pycam/tree/master?tab=readme-ov-file

Apputer sur le bouton vers "Code" puis "Download ZIP".

&lt;p&gt;
&lt;div class="icon-instructions-image"&gt;[[File:Dont-icon.jpg|link=]]&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;Les versions sur SourceForge sont obsolètes et non fonctionnelles.&lt;/div&gt;
&lt;/p&gt;

La version utilisée dans ce tuto est la dernière à ce jour: v0.6.4 on Jul 28, 2019.

* Dézipper dans un dossier
* Installer Pyhton3
* Installer les dépendances:
'''
sudo apt install python3-gi python3-opengl gir1.2-gtk-3.0
''' 
* Aller dans le dossier crée par le dézippe.
* Lancer : scripts/pycam
* Les 2 fenêtres s'ouvrent</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Dans Settings / Preferences:

* Dans "Display Items" : Pour bien visualiser le "plafond", activer "Show Base Grid". Le plafond represente le point haut de la gravure, le niveau où l'outil va démarrer le travail. L'objet sera entièrement dessous.

* Dans "Colors", choisir une couleur claire pour "Bouding Box".</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">* Dans "File", Ouvrir le (ou les) STL.
* Dans "Models", le positionner sous le grid
* Faire "Align position"

La mêche va retirer de la matiere depuis le dessus, là ou il n'y a pas d'objet.

Elle ne fera rien dans les zones sous des devers (surplomb) car elle n'aura aucun moyen de les atteindre.

Plus loin sera indiquer les frontières de la zone de travail. Hors de cette zone, aucune matière ne sera retirée.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Dans "Tasks", faire "Generate Toolpath"

Selon la puissance du PC, cela va prendre plus ou moins de temps.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">* Dans "Tasks", choisir "Finishing" pour affiner la forme avec un outil fin et "Surface (fine)".</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Candle est connecté à la CNC et envoie le gcode à la machine.

Vérifier le point de départ de la mêche qui doit être au niveau le plus haut.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">* Dans "Tools", Choisir l'outil selon le besoin. Gros au départ. Fin pour la finition.
* Dans "Process" choisir "Slice"
* Dans "Bounds" indiquer les frontières de la zone qui sera creusée. Changer une des valeurs X,Y,Z pour placer automatiquement la zone autour de la pièce . La matière sera retirée partout dans cette zone, sauf là où se trouve l'objet. Il ne sera rien fait hors de cette zone.
* Dans "Tasks", choisir "Quick Removal" pour le premier passage et Process "Slice (rough)".
* Dans un second temps il faudra choisir "Finishing" pour affiner la forme avec un outil fin.
* Dans "Collision Models", la (ou les) pièce doit être sélectionnée.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Cette fois le chemin suis les surfaces et non plus les couches.</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Installation de PyCAM sur Linux</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Configuration suggérée</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Placer l'objet</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Configurer le travail</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Lancer le calcul pour le chemin "Rapide"</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Relancer pour faire le chemin "Fin"</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Resultat Fin</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Prêt pour Candle</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">CNC</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">GCODE</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">graver</property:Tags>
		<property:Tools rdf:datatype="http://www.w3.org/2001/XMLSchema#string">* un PC
* Ensuite une CNC, par exemple type 3018</property:Tools>
		<property:Type rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Technique</property:Type>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-01-01T21:23:28Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460677.3912963</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Generer un GCODE CNC avec PyCAM</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:Class rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Category-3ATutoriels" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:ObjectProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AArea" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ACost" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ACurrency" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ADescription" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ADifficulty" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ADuration" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ADuration-2Dtype" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AIntroduction" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ALicences" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AMaterial" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ANotes" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AStep_Content" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AStep_Title" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ATags" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3ATools" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AType" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://https://wikifab.hatlab.fr/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>