<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://fablabo.net/index.php?action=history&amp;feed=atom&amp;title=D%C3%A9Scripthon</id>
	<title>DéScripthon - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://fablabo.net/index.php?action=history&amp;feed=atom&amp;title=D%C3%A9Scripthon"/>
	<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;action=history"/>
	<updated>2026-08-14T14:52:01Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=13720&amp;oldid=prev</id>
		<title>Philippe Bonnet le 13 février 2015 à 13:51</title>
		<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=13720&amp;oldid=prev"/>
		<updated>2015-02-13T13:51:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 13 février 2015 à 15:51&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Ligne 141 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 141 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:3D]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:3D]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:FreeCAD]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Philippe Bonnet</name></author>
	</entry>
	<entry>
		<id>https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=13717&amp;oldid=prev</id>
		<title>Philippe Bonnet le 13 février 2015 à 13:42</title>
		<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=13717&amp;oldid=prev"/>
		<updated>2015-02-13T13:42:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 13 février 2015 à 15:42&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l139&quot;&gt;Ligne 139 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 139 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:3D]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:FreeCAD]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Philippe Bonnet</name></author>
	</entry>
	<entry>
		<id>https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12139&amp;oldid=prev</id>
		<title>Philippe Bonnet : /* Le script */</title>
		<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12139&amp;oldid=prev"/>
		<updated>2014-12-01T22:02:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Le script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2014 à 00:02&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot;&gt;Ligne 70 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 70 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Tableau des volumes à créer&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Tableau des volumes à créer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Chaque élément est composé de 4 champs :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     # Chaque élément est composé de 4 champs :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1 &lt;/del&gt;: un volume (Cube, Cylinder, ...)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0 &lt;/ins&gt;: un volume (Cube, Cylinder, ...)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2 &lt;/del&gt;: nom du volume&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1 &lt;/ins&gt;: nom du volume&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3 &lt;/del&gt;: opération booléenne à appliquer avec le prédécesseur&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2 &lt;/ins&gt;: opération booléenne à appliquer avec le prédécesseur&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4 &lt;/del&gt;: volume résultant sur lequel sera appliquée l&#039;opération avec le successeur&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     #   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3 &lt;/ins&gt;: volume résultant sur lequel sera appliquée l&#039;opération avec le successeur&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     aElem=[]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     aElem=[]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Philippe Bonnet</name></author>
	</entry>
	<entry>
		<id>https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12138&amp;oldid=prev</id>
		<title>Philippe Bonnet : /* Le script */</title>
		<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12138&amp;oldid=prev"/>
		<updated>2014-12-01T22:01:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Le script&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 décembre 2014 à 00:01&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Ligne 83 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 83 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     vol.Height=CS&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     vol.Height=CS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     vol.Placement.Base=App.Vector(-HCS,-HCS,-HCS)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     vol.Placement.Base=App.Vector(-HCS,-HCS,-HCS)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    #vol.Shape = vol.Shape.makeFillet(2,vol.Shape.Edges)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     aElem.append([vol,name,&amp;quot;&amp;quot;])&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     aElem.append([vol,name,&amp;quot;&amp;quot;])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Philippe Bonnet</name></author>
	</entry>
	<entry>
		<id>https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12137&amp;oldid=prev</id>
		<title>Philippe Bonnet : Page créée avec « {{Projet |status=Fonctionnel |image=DéScripthon.png |description=Créer un Dé avec Python pour FreeCad  |license=CC-by-sa-3.0 |contributeurs=Philippe Bonnet,  |inspirati... »</title>
		<link rel="alternate" type="text/html" href="https://fablabo.net/index.php?title=D%C3%A9Scripthon&amp;diff=12137&amp;oldid=prev"/>
		<updated>2014-12-01T21:55:10Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{Projet |status=Fonctionnel |image=DéScripthon.png |description=Créer un Dé avec Python pour FreeCad  |license=CC-by-sa-3.0 |contributeurs=Philippe Bonnet,  |inspirati... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Projet&lt;br /&gt;
|status=Fonctionnel&lt;br /&gt;
|image=DéScripthon.png&lt;br /&gt;
|description=Créer un Dé avec Python pour FreeCad &lt;br /&gt;
|license=CC-by-sa-3.0&lt;br /&gt;
|contributeurs=Philippe Bonnet, &lt;br /&gt;
|inspiration=Documentation Python de FreeCad&lt;br /&gt;
}}&lt;br /&gt;
== Objectif ==&lt;br /&gt;
&lt;br /&gt;
* Montrer l&amp;#039;intérêt du scripting dans FreeCad.&lt;br /&gt;
* Concevoir un script aisément adaptable.&lt;br /&gt;
&lt;br /&gt;
== Utilisation ==&lt;br /&gt;
&lt;br /&gt;
* Console python :&lt;br /&gt;
** Menu &amp;quot;Affichage/Vues/Console python&amp;quot;&lt;br /&gt;
** Y coller le script qui suit et c&amp;#039;est tout.&lt;br /&gt;
&lt;br /&gt;
* DÉ supplémentaire :&lt;br /&gt;
Pour générer un autre dé il suffit d&amp;#039;appeler à nouveau la fonction :&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;gt;&amp;gt;&amp;gt; deGenetation(cubeSize) &amp;lt;/code&amp;gt;&lt;br /&gt;
Ou bien si on souhaite générer un autre dé d&amp;#039;une autre taille :&lt;br /&gt;
&amp;lt;code&amp;gt; &amp;gt;&amp;gt;&amp;gt; deGenetation(30.0) &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Le script ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
#  de_scripthon.py&lt;br /&gt;
#&lt;br /&gt;
#  for FreeCad&lt;br /&gt;
#  &lt;br /&gt;
&lt;br /&gt;
monDoc = FreeCAD.newDocument(&amp;quot;deScripthon&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# Dimenssions&lt;br /&gt;
cubeSize = 20.0&lt;br /&gt;
&lt;br /&gt;
# Description de la position des trous sur chaque face&lt;br /&gt;
aFaces=[&lt;br /&gt;
    # 1 Z:-2&lt;br /&gt;
	[[0,0,-2]],&lt;br /&gt;
    # 2 X:-2&lt;br /&gt;
	[[-2,-1,1],[-2,1,-1]],&lt;br /&gt;
    # 3 Y:-2&lt;br /&gt;
	[[-1,-2,-1],[0,-2,0],[1,-2,1]],&lt;br /&gt;
    # 4 Y:+2&lt;br /&gt;
	[[-1,2,-1],[-1,2,1],[1,2,1],[1,2,-1]],&lt;br /&gt;
    # 5 X:+2&lt;br /&gt;
	[[2,-1,-1],[2,-1,1],[2,0,0],[2,1,1],[2,1,-1]],&lt;br /&gt;
    # 6 Z:+2&lt;br /&gt;
	[[-1,-1,2],[-1,0,2],[-1,1,2],[1,1,2],[1,0,2],[1,-1,2]]&lt;br /&gt;
]&lt;br /&gt;
&lt;br /&gt;
def cutBall(pos, BS):&lt;br /&gt;
    # Créer et positionner une sphère&lt;br /&gt;
    name=&amp;quot;Ball&amp;quot;&lt;br /&gt;
    vol = monDoc.addObject(&amp;quot;Part::Sphere&amp;quot;,name)&lt;br /&gt;
    vol.Radius=BS*1.33&lt;br /&gt;
    vol.Placement.Base=App.Vector(pos[0]*BS*3,pos[1]*BS*3,pos[2]*BS*3)&lt;br /&gt;
    return([vol,name,&amp;quot;C&amp;quot;])&lt;br /&gt;
&lt;br /&gt;
def deGenetation(CS):&lt;br /&gt;
    # Dimensions calculées&lt;br /&gt;
    HCS = CS/2&lt;br /&gt;
    BS  = CS/12&lt;br /&gt;
&lt;br /&gt;
    # Tableau des volumes à créer&lt;br /&gt;
    # Chaque élément est composé de 4 champs :&lt;br /&gt;
    #   1 : un volume (Cube, Cylinder, ...)&lt;br /&gt;
    #   2 : nom du volume&lt;br /&gt;
    #   3 : opération booléenne à appliquer avec le prédécesseur&lt;br /&gt;
    #   4 : volume résultant sur lequel sera appliquée l&amp;#039;opération avec le successeur&lt;br /&gt;
    aElem=[]&lt;br /&gt;
&lt;br /&gt;
    # Cube de base&lt;br /&gt;
    name=&amp;quot;blockD&amp;quot;&lt;br /&gt;
    vol = monDoc.addObject(&amp;quot;Part::Box&amp;quot;,name)&lt;br /&gt;
    vol.Length=CS&lt;br /&gt;
    vol.Width=CS&lt;br /&gt;
    vol.Height=CS&lt;br /&gt;
    vol.Placement.Base=App.Vector(-HCS,-HCS,-HCS)&lt;br /&gt;
    #vol.Shape = vol.Shape.makeFillet(2,vol.Shape.Edges)&lt;br /&gt;
    aElem.append([vol,name,&amp;quot;&amp;quot;])&lt;br /&gt;
    &lt;br /&gt;
    # une sphère par point à marquer sur chaque face&lt;br /&gt;
    for f in aFaces:&lt;br /&gt;
        for b in f:&lt;br /&gt;
            aElem.append(cutBall(b, BS))&lt;br /&gt;
    &lt;br /&gt;
    # Opérations booléenes&lt;br /&gt;
    #   Parcourir le tableau des volumes créés&lt;br /&gt;
    aPrev=[]&lt;br /&gt;
    aElem[0][2]=&amp;#039;&amp;#039;	# the first element can&amp;#039;t be Cut or Fuse&lt;br /&gt;
    for elem in aElem:&lt;br /&gt;
        vol=elem[0]&lt;br /&gt;
        name=elem[1]&lt;br /&gt;
        oper=elem[2]&lt;br /&gt;
        if oper==&amp;quot;C&amp;quot;:&lt;br /&gt;
            bVol=monDoc.addObject(&amp;quot;Part::Cut&amp;quot;,&amp;quot;Cut&amp;quot;+name)&lt;br /&gt;
            bVol.Base=aPrev[3]  # &lt;br /&gt;
            bVol.Tool=vol&lt;br /&gt;
            Gui.activeDocument().hide(aPrev[1])&lt;br /&gt;
            Gui.activeDocument().hide(name)&lt;br /&gt;
            elem.append(bVol)&lt;br /&gt;
        elif oper==&amp;quot;F&amp;quot;:&lt;br /&gt;
            bVol=monDoc.addObject(&amp;quot;Part::Fuse&amp;quot;,&amp;quot;Fuse&amp;quot;+name)&lt;br /&gt;
            bVol.Base=aPrev[3]&lt;br /&gt;
            bVol.Tool=vol&lt;br /&gt;
            Gui.activeDocument().hide(aPrev[1])&lt;br /&gt;
            Gui.activeDocument().hide(name)&lt;br /&gt;
            elem.append(bVol)&lt;br /&gt;
        else:&lt;br /&gt;
            elem.append(vol)&lt;br /&gt;
        aPrev=elem&lt;br /&gt;
&lt;br /&gt;
    monDoc.recompute()&lt;br /&gt;
&lt;br /&gt;
    # Création des congés sur les arrêtes&lt;br /&gt;
    #   Les numéros des &amp;quot;Edges&amp;quot; (-1) sont récupérés manuellement&lt;br /&gt;
    #   en utilisant l&amp;#039;interface graphique (je n&amp;#039;ai pas trouvé mieux)&lt;br /&gt;
    monDoc.ActiveObject.Shape = monDoc.ActiveObject.Shape.makeFillet(BS,[&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[0],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[1],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[2],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[3],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[5],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[6],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[7],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[12],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[13],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[22],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[23],&lt;br /&gt;
        monDoc.ActiveObject.Shape.Edges[30]&lt;br /&gt;
        ])&lt;br /&gt;
&lt;br /&gt;
deGenetation(cubeSize)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philippe Bonnet</name></author>
	</entry>
</feed>