454 lines
38 KiB
HTML
454 lines
38 KiB
HTML
<html><head><title>Macro WorkFeatures/fr</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Macro WorkFeatures/fr</h1></div>
|
||
|
||
<div id="mw-content-text" lang="fr" dir="ltr" class="mw-content-ltr"><hr/>
|
||
<div class="mw-parser-output"><div class="mw-translate-fuzzy">
|
||
<table class="fcinfobox wikitable ct" width="100%" style="float: right; width: 230px; margin-left: 10px;">
|
||
<tr>
|
||
<td class="ctTitle">
|
||
<h3><span class="mw-headline" id="Macro_WorkFeatures"><a href="https://www.freecadweb.org/wiki/index.php?title=File:WF_wf.png" class="image"><img alt="WF wf.png" src="32px-WF_wf.png" width="32" height="32" srcset="/wiki/images/thumb/9/9d/WF_wf.png/48px-WF_wf.png 1.5x, WF_wf.png 2x" /></a> Macro WorkFeatures</span></h3>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Description
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven left">Utilitaire de création de Points, d'Axes de Cercles et de Plans et beaucoup d'autres fonctions.
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Auteur
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Rentlau_64&action=edit&redlink=1" class="new" title="User:Rentlau 64 (page does not exist)">rentlau_64</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Liens
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Macros_recipes/fr" title="Macros recipes/fr">Recettes macros</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=How_to_install_macros/fr" title="How to install macros/fr">Comment installer une macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=Customize_Toolbars/fr" title="Customize Toolbars/fr">Comment ajouter une barre d'outils</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Version
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven macro-version">00.52
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Date dernière modification
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven macro-date">2017-02-05
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
||
<ul>
|
||
<li class="toclevel-1"><a href="#Macro_WorkFeatures"><span class="tocnumber">1</span> <span class="toctext">Macro WorkFeatures</span></a></li>
|
||
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
|
||
<li class="toclevel-1 tocsection-2"><a href="#Utilisation"><span class="tocnumber">3</span> <span class="toctext">Utilisation</span></a></li>
|
||
<li class="toclevel-1 tocsection-3"><a href="#Script"><span class="tocnumber">4</span> <span class="toctext">Script</span></a></li>
|
||
<li class="toclevel-1 tocsection-4"><a href="#Exemples"><span class="tocnumber">5</span> <span class="toctext">Exemples</span></a>
|
||
<ul>
|
||
<li class="toclevel-2 tocsection-5"><a href="#Cutting_tools"><span class="tocnumber">5.1</span> <span class="toctext">Cutting tools</span></a></li>
|
||
<li class="toclevel-2 tocsection-6"><a href="#Concentric_constraint_between_two_non_cylindrical_parts"><span class="tocnumber">5.2</span> <span class="toctext">Concentric constraint between two non cylindrical parts</span></a></li>
|
||
<li class="toclevel-2 tocsection-7"><a href="#Rotation_Object"><span class="tocnumber">5.3</span> <span class="toctext">Rotation Object</span></a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toclevel-1 tocsection-8"><a href="#Liens"><span class="tocnumber">6</span> <span class="toctext">Liens</span></a></li>
|
||
<li class="toclevel-1 tocsection-9"><a href="#Derni.C3.A8re_version"><span class="tocnumber">7</span> <span class="toctext">Dernière version</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
</td></tr>
|
||
</table>
|
||
<p><br />
|
||
</p>
|
||
</div>
|
||
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
||
<p>Cet utilitaire permet de créer des points (Centre de lignes, centre de cercle, centre d'objet...),
|
||
Des Axes (à partir de 2 points, Normal à un Plan...),
|
||
des Plans (à partir de 3 points, à partir d'un axe et d'un point...)
|
||
Et d'autres petits utilitaires pour faciliter la creation de votre projet FreeCAD.
|
||
Cet utilitaire s'affiche dans la vue combinée.
|
||
</p><p><br />
|
||
<a href="https://www.freecadweb.org/wiki/index.php?title=File:WF.png" class="image" title="WorkFeatures"><img alt="WorkFeatures" src="640px-WF.png" width="640" height="370" srcset="/wiki/images/thumb/9/99/WF.png/960px-WF.png 1.5x, /wiki/images/thumb/9/99/WF.png/1280px-WF.png 2x" /></a>
|
||
</p>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Utilisation">Utilisation</span></h2>
|
||
<p><b>Work Features</b>
|
||
</p>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
||
<div class="thumb" style="width: 230px;"><div style="margin:39px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_01.png" class="image"><img alt="" src="200px-Macro_WorkFeatures_01.png" width="200" height="352" srcset="/wiki/images/thumb/8/8a/Macro_WorkFeatures_01.png/300px-Macro_WorkFeatures_01.png 1.5x, /wiki/images/thumb/8/8a/Macro_WorkFeatures_01.png/400px-Macro_WorkFeatures_01.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>Après l'activation de Work Features, l'outil créé un nouvel onglet dans la vue combinée.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
||
<div class="thumb" style="width: 230px;"><div style="margin:17px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_07.png" class="image"><img alt="" src="200px-Macro_WorkFeatures_07.png" width="200" height="396" srcset="/wiki/images/2/28/Macro_WorkFeatures_07.png 1.5x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>La création de work features ajoute des éléments correspondants dans l'arborescence Modèle, classés sous un groupe « WorkFeatures ». Les axes, point et plans d'origine sont automatiquement cachés.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
||
<div class="thumb" style="width: 230px;"><div style="margin:17px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_08.png" class="image"><img alt="" src="200px-Macro_WorkFeatures_08.png" width="200" height="396" srcset="/wiki/images/e/e9/Macro_WorkFeatures_08.png 1.5x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>Les commandes usuelles permettent de basculer la visibilité des fonctions créées.<br />Par ex. sélectionnez votre objet et appuyez sur <b><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Space</span></b> ou faites un clic droit et choisissez "<b>Afficher la sélection</b>" ou "<b>Masquer la sélection</b>".
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<p><br />
|
||
<b>Onglet Origin</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_02.png" class="image"><img alt="Macro WorkFeatures 02.png" src="200px-Macro_WorkFeatures_02.png" width="200" height="336" srcset="/wiki/images/thumb/d/da/Macro_WorkFeatures_02.png/300px-Macro_WorkFeatures_02.png 1.5x, /wiki/images/d/da/Macro_WorkFeatures_02.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Onglet Origin</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Origin</span> : Créer à l'origine : un point et l'axe X, Y ou Z ou les plans XZ, XY et YZ. Les axes, point et plans d'origine sont automatiquement cachés.</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Onglet Points</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_03.png" class="image"><img alt="Macro WorkFeatures 03.png" src="200px-Macro_WorkFeatures_03.png" width="200" height="336" srcset="/wiki/images/thumb/a/ab/Macro_WorkFeatures_03.png/300px-Macro_WorkFeatures_03.png 1.5x, /wiki/images/a/ab/Macro_WorkFeatures_03.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Onglet Points</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Object(s) Center</span> : Créé un point au centre des objets sélectionnés.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Lines(s) Center</span> : Créé un point au milieu de chaque ligne sélectionnée.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Line(s) Extrema</span> : Créé un point aux extrémités de chaque ligne sélectionnée.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Circle(s) Center</span> : Crée un point au centre du cercle(s) ou d'arc(s) sélectionné(s).</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Point along Line</span> : Créé un point sur la ligne à une certaine distance du point d'extrémité sélectionné.</li>
|
||
<li> <b>Case de saisie</b> : saisir une valeur de déplacement.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Face(s) Center</span> : Créé un point au centre de chacune des faces sélectionnées.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Point (Line,Face)</span> : Créé un point à l'intersection de la ligne et du plan sélectionnés.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Point (Line,Point)</span> : Crée une projection d'un point sur un point ou un point symétrique.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Point (Point,Face)</span> : Projeter un point sur une face.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Object(s) Base Point</span> : Créer un point de base sur tous les objets sélectionnés.</li></ul>
|
||
</td></tr></table>
|
||
<p><br />
|
||
<b>Onglet Axis</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_04.png" class="image"><img alt="Macro WorkFeatures 04.png" src="200px-Macro_WorkFeatures_04.png" width="200" height="336" srcset="/wiki/images/thumb/f/f3/Macro_WorkFeatures_04.png/300px-Macro_WorkFeatures_04.png 1.5x, /wiki/images/f/f3/Macro_WorkFeatures_04.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Onglet Axis</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Object(s) X, Y, Z Axes</span> : Créé 3 axes au centre de tous les objets sélectionnés.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Two Points Axis</span> : Créé un axe traversant deux points.</li>
|
||
<li> <b>Case de saisie</b> : saisir la valeur de déplacement.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Cylinder(s) Axis</span> : Créé un axe au centre d'un cylindre.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axis (Line,Line)</span> : Créé un axe entre deux axes.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane(s) Axes</span> : Créé deux axes perpendiculaires au centre d'un plan.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axis (Point,Axis)</span> : Créé un axe parallèle à un autre axe et croisant un point.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axis (Axis,Point)</span> : Créé un axe perpendiculaire à un autre axe et croisant un point.</li>
|
||
<li> <b>Case de saisie</b> : saisir la valeur de déplacement.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axis (Plane,Axis)</span> : Projette un axe sur un plan.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axis (Plane,Plane)</span> : Créé un axe à l'intersection de deux plans.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Object(s) Base Axis</span> : Créé 3 axes à l'emplacement de base des objets sélectionnés.</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Onglet Plane</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_05.png" class="image"><img alt="Macro WorkFeatures 05.png" src="200px-Macro_WorkFeatures_05.png" width="200" height="336" srcset="/wiki/images/thumb/a/ae/Macro_WorkFeatures_05.png/300px-Macro_WorkFeatures_05.png 1.5x, /wiki/images/a/ae/Macro_WorkFeatures_05.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Onglet Plane</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Three Points Plane</span> : Créé un plan croisant 3 points.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane (Point, Axis)</span> : Créé un plan croisant une ligne et un point. Le point ne doit PAS appartenir à la ligne !</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane (Point, _Axis)</span> : Créé un plan perpendiculaire à une ligne et croisant un point.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane (Point, Plane)</span> : Créé un plan croisant un point et parallèle à un plan.</li>
|
||
<li> <b>Case de saisie</b> : saisir la valeur de déplacement.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane (Plane, Axis)</span> : Créé un plan croisant une ligne et perpendiculaire à un plan.</li>
|
||
<li> <b>Case de saisie</b> : saisir la valeur de déplacement.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Object(s) Center Planes</span> : Créé 3 plans (XY, XZ et YZ) au centre des objets sélectionnés.</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Onglet Boxes</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_06.png" class="image"><img alt="Macro WorkFeatures 06.png" src="200px-Macro_WorkFeatures_06.png" width="200" height="352" srcset="/wiki/images/thumb/6/6e/Macro_WorkFeatures_06.png/300px-Macro_WorkFeatures_06.png 1.5x, /wiki/images/6/6e/Macro_WorkFeatures_06.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Onglet Boxes</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Bounding Box(es)</span> : Créé des boîtes englobantes autour de chacun des objets sélectionnés.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Bounding Box</span> : Créé une boîte englobante autour de chacun des objets sélectionnés.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Cylinder</span> : Sélectionnez d'abord un axe et un point. Définissez le diamètre et la longueur si nécessaire. Cliquez ensuite sur le bouton ... Il va créer un cylindre aligné sur l'axe sélectionné, avec une des extrémités au point sélectionné.</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Cube</span> : Sélectionnez d'abord un axe et un point. Définissez les dimensions si nécessaire. Cliquez ensuite sur le bouton ... Il va créer un Cube aligné sur l'axe sélectionné. avec l'une des extrémités au point sélectionné.</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Views Tab</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_09.png" class="image"><img alt="Macro WorkFeatures 09.png" src="200px-Macro_WorkFeatures_09.png" width="200" height="348" srcset="/wiki/images/thumb/7/7b/Macro_WorkFeatures_09.png/300px-Macro_WorkFeatures_09.png 1.5x, /wiki/images/thumb/7/7b/Macro_WorkFeatures_09.png/400px-Macro_WorkFeatures_09.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Views Tab</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Align to ...</span> : Défini la vue en cours perpendiculairement à la face sélectionnée, ou aligné sur l'axe sélectionné, ou alignés sur les deux points. Cliquer à nouveau avec la même sélection, renversera la direction.</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Modif. Tab</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_10.png" class="image"><img alt="Macro WorkFeatures 10.png" src="200px-Macro_WorkFeatures_10.png" width="200" height="399" srcset="/wiki/images/thumb/9/9d/Macro_WorkFeatures_10.png/300px-Macro_WorkFeatures_10.png 1.5x, /wiki/images/9/9d/Macro_WorkFeatures_10.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Modif. Cutting Tab</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select Object</span> : After selected your object and, First, one Object to cut and click 'Select Object' button,
|
||
<ul><li> The name of the object selected are displayed</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select Cut Line</span> : Second, one cutting Line and click 'Select Cut Line' button,
|
||
<ul><li> The name of the line selected are displayed</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select Ref. Plane</span> : Last, a reference Plane and click 'Select Ref. Plane' button!
|
||
<ul><li> The name of the plane selected are displayed</li></ul></li>
|
||
<li> <b>Angle</b> : Angle for cut (Defaut : 0.0)</li>
|
||
<li> <b>Thichness</b> : Thichness the cut (Defaut : 0.0)</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Reset</span> : Reset the values</li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Apply</span> : Apply the values</li></ul>
|
||
</td></tr></table>
|
||
<p><b>Check. Tab</b>
|
||
</p>
|
||
<table>
|
||
<tr>
|
||
<td><div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_WorkFeatures_11.png" class="image"><img alt="Macro WorkFeatures 11.png" src="200px-Macro_WorkFeatures_11.png" width="200" height="396" srcset="/wiki/images/thumb/e/e1/Macro_WorkFeatures_11.png/300px-Macro_WorkFeatures_11.png 1.5x, /wiki/images/e/e1/Macro_WorkFeatures_11.png 2x" /></a></div>
|
||
</td>
|
||
<td>
|
||
<ul><li><b>Check. Tab</b></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">are Parallel ?</span> : Check if two faces or two Edges are Parallel:
|
||
<ul><li>Select the 2 faces/planes or 2 Edges/Lines and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">are Perpendicular ?</span> : Check if two faces or two Edges are Perpendicular:
|
||
<ul><li>Select the 2 faces/planes or 2 Edges/Lines and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">are Coplanar ?</span> : Check if two faces or two Edges are Coplanar:
|
||
<ul><li>Select the 2 faces/planes or 2 Edges/Lines and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Distance Clearance ?</span> : Check for two Objects Clearance distance:
|
||
<ul><li>Quick measurements between parallel faces and similarly placed objects Select the 2 Objects and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Angle ?</span> : Calculate angle from 2 objects:
|
||
<ul><li>Angle measurement between two Edges or two Planes</li>
|
||
<li>Select the 2 Edges and Click this button</li>
|
||
<li>or : Select the 2 Planes and Click this button</li>
|
||
<li>or : Select one Edge and one Plane and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Distance ?</span> : Check for two Points distance:
|
||
<ul><li>Distances measurement and Delta values (on main Axes) between two Points</li>
|
||
<li>Select the 2 Points and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Length ?</span> : Check for Line Length:
|
||
<ul><li>Length measurement and Delta values (on main Axes) for a Line</li>
|
||
<li>Select the Line and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Area ?</span> : Check for surface Area:
|
||
<ul><li>Area measurement for a Plane or a set of Planes.</li>
|
||
<li>Select One or several Planes and Click this button</li></ul></li>
|
||
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">View</span> : Detect the position of the camera. The returned value is the value provided by the function getCameraOrientation().</li></ul>
|
||
</td></tr></table>
|
||
<h2><span class="mw-headline" id="Script">Script</span></h2>
|
||
<p>Après téléchargement du fichier compressé ici
|
||
<b><a rel="nofollow" class="external text" href="https://github.com/Rentlau/WorkFeature">Download the latest version on GitHub</a></b> ,
|
||
Vous devez décompresser l'archive zip et copier tous les fichiers dans votre répertoire Macro.
|
||
</p><p><b>PS:Cette macro est toujours en développement vérifiez de temps en temps pour vous assurer d'avoir la dernière version.</b>
|
||
</p><p><br />
|
||
</p>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_GitHub_00.png" class="image" title="Download in GitHub click the Download ZIP button"><img alt="Download in GitHub click the Download ZIP button" src="640px-Macro_Work_Features_GitHub_00.png" width="640" height="415" srcset="/wiki/images/thumb/1/17/Macro_Work_Features_GitHub_00.png/960px-Macro_Work_Features_GitHub_00.png 1.5x, /wiki/images/1/17/Macro_Work_Features_GitHub_00.png 2x" /></a></div></div>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
Installez la macro <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD-addons/blob/master/addons_installer.FCMacro">addons_installer</a> pour installer facilement WorkFeatures et d'autres macros intéressantes ou
|
||
</p>
|
||
<ol><li> Aller dans le menu <b>Macro → Macros...</b> ou cliquez sur le bouton <a href="https://www.freecadweb.org/wiki/index.php?title=File:Std_DlgMacroExecuteDirect.svg" class="image"><img alt="Std DlgMacroExecuteDirect.svg" src="Std_DlgMacroExecuteDirect.svg" width="24" height="24" /></a> « Ouvre une boîte de dialogue pour exécuter une macro enregistrée » <div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_01.png" class="image"><img alt="Dxf Importer Install 01.png" src="640px-Dxf_Importer_Install_01.png" width="640" height="443" srcset="/wiki/images/5/56/Dxf_Importer_Install_01.png 1.5x" /></a></div></div></li>
|
||
<li> Une boîte de dialogue s'ouvre, indiquant la destination du répertoire Macro
|
||
<ul><li>Sous Windows tel que dans la capture d'écran ci-dessous, l'emplacement est <b>C:\Users\your_user_name\AppData\Roaming\FreeCAD\</b></li>
|
||
<li>Sous Ubuntu, l'emplacement par défaut est <i>/home/your_user_name/.FreeCAD'</i></li></ul></li></ol>
|
||
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_02.png" class="image"><img alt="Dxf Importer Install 02.png" src="640px-Dxf_Importer_Install_02.png" width="640" height="443" srcset="/wiki/images/c/c2/Dxf_Importer_Install_02.png 1.5x" /></a></div></div>
|
||
<p>Ici un petit tutoriel <a href="How_to_install_macros.html" title="How to install macros">How to install macros</a> pour installer une macro
|
||
</p>
|
||
<h2><span class="mw-headline" id="Exemples">Exemples</span></h2>
|
||
<h3><span class="mw-headline" id="Cutting_tools">Cutting tools</span></h3>
|
||
<p><b>Setting of the Cutting tools:</b> Select an object to cut, a cutting line and a reference Plane.
|
||
Angle is an angle between the cutting Plane and the Ref. Plane.
|
||
Thickness is the wide of the of the cutting Plane.
|
||
</p>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:CuttingSettings.jpg" class="image"><img alt="" src="338px-CuttingSettings.jpg" width="338" height="250" srcset="/wiki/images/thumb/b/b9/CuttingSettings.jpg/507px-CuttingSettings.jpg 1.5x, /wiki/images/thumb/b/b9/CuttingSettings.jpg/676px-CuttingSettings.jpg 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>Here we have selected a cylinder.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:CuttingResult.jpg" class="image"><img alt="" src="330px-CuttingResult.jpg" width="330" height="250" srcset="/wiki/images/thumb/1/1b/CuttingResult.jpg/495px-CuttingResult.jpg 1.5x, /wiki/images/thumb/1/1b/CuttingResult.jpg/660px-CuttingResult.jpg 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>The result will be : the cylinder is then cut in two parts!
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<center>
|
||
<p><b>Example the practice</b>
|
||
</p>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_01.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_01.png" width="351" height="250" srcset="/wiki/images/thumb/6/66/Macro_Work_Features_Cutting_01.png/526px-Macro_Work_Features_Cutting_01.png 1.5x, /wiki/images/thumb/6/66/Macro_Work_Features_Cutting_01.png/701px-Macro_Work_Features_Cutting_01.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>Select the <b>Tab <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane</span></b>
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_02.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_02.png" width="351" height="250" srcset="/wiki/images/thumb/2/2e/Macro_Work_Features_Cutting_02.png/526px-Macro_Work_Features_Cutting_02.png 1.5x, /wiki/images/thumb/2/2e/Macro_Work_Features_Cutting_02.png/701px-Macro_Work_Features_Cutting_02.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>and click the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Plane</span> button<br /> (you can change the dimensions of the plane (<b>Default: 10 x 10</b>)).
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_03.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_03.png" width="351" height="250" srcset="/wiki/images/thumb/8/87/Macro_Work_Features_Cutting_03.png/526px-Macro_Work_Features_Cutting_03.png 1.5x, /wiki/images/thumb/8/87/Macro_Work_Features_Cutting_03.png/701px-Macro_Work_Features_Cutting_03.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>click you work object. The plane is created tangent of the object (here a cylinder)
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_04.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_04.png" width="351" height="250" srcset="/wiki/images/thumb/b/b9/Macro_Work_Features_Cutting_04.png/526px-Macro_Work_Features_Cutting_04.png 1.5x, /wiki/images/thumb/b/b9/Macro_Work_Features_Cutting_04.png/701px-Macro_Work_Features_Cutting_04.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>click the Tab <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Modif</span>, and <br /><b>1 :</b> click your object for cutting<br /><b>2 :</b> click the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select object</span> button (here the cylinder and then name is displayed)
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_05.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_05.png" width="351" height="250" srcset="/wiki/images/thumb/b/bf/Macro_Work_Features_Cutting_05.png/526px-Macro_Work_Features_Cutting_05.png 1.5x, /wiki/images/thumb/b/bf/Macro_Work_Features_Cutting_05.png/701px-Macro_Work_Features_Cutting_05.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p><b>3 :</b> click your line for cutting your cylinder<br /><b>4 :</b> click the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select Cut Line</span> (then name is displayed)
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_06.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_06.png" width="351" height="250" srcset="/wiki/images/thumb/e/e1/Macro_Work_Features_Cutting_06.png/526px-Macro_Work_Features_Cutting_06.png 1.5x, /wiki/images/thumb/e/e1/Macro_Work_Features_Cutting_06.png/701px-Macro_Work_Features_Cutting_06.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p><b>5 :</b> click the work plane<br /><b>6 :</b> click the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Select Ref. Plane</span> button (then name is displayed)
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_07.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_07.png" width="351" height="250" srcset="/wiki/images/thumb/5/58/Macro_Work_Features_Cutting_07.png/526px-Macro_Work_Features_Cutting_07.png 1.5x, /wiki/images/thumb/5/58/Macro_Work_Features_Cutting_07.png/701px-Macro_Work_Features_Cutting_07.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>click the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Apply</span> button
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_08.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_08.png" width="351" height="250" srcset="/wiki/images/thumb/1/14/Macro_Work_Features_Cutting_08.png/526px-Macro_Work_Features_Cutting_08.png 1.5x, /wiki/images/thumb/1/14/Macro_Work_Features_Cutting_08.png/701px-Macro_Work_Features_Cutting_08.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>The operation is completed and all operations are preserved.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
||
<div class="thumb" style="width: 430px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Work_Features_Cutting_09.png" class="image"><img alt="" src="351px-Macro_Work_Features_Cutting_09.png" width="351" height="250" srcset="/wiki/images/thumb/8/89/Macro_Work_Features_Cutting_09.png/526px-Macro_Work_Features_Cutting_09.png 1.5x, /wiki/images/thumb/8/89/Macro_Work_Features_Cutting_09.png/701px-Macro_Work_Features_Cutting_09.png 2x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>you can also give Angle and Thickness for your cut.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<h3><span class="mw-headline" id="Concentric_constraint_between_two_non_cylindrical_parts">Concentric constraint between two non cylindrical parts</span></h3>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 535px"><div style="width: 535px">
|
||
<div class="thumb" style="width: 530px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Concentric_Constraint_Between_two_non_cylindrical_parts.gif" class="image"><img alt="" src="Concentric_Constraint_Between_two_non_cylindrical_parts.gif" width="500" height="500" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>How to Constraint Between two non cylindrical parts.<br /><b>1 :</b> The original object to modify.<br /><b>2 :</b> Objective center two square tubes.<br /><b>3 :</b> Select the first object and in the menu <b>Axis 1/2</b> click "Object(s)" X, Y, Z Axes.<br /><b>4 :</b> Same procedure for the second object.<br /><b>5 :</b> Click on button <b>Draw style</b> and onto "Wireframe",<br /><b>6 :</b> for clarify the view.<br /><b>7 :</b> Select the object to center and his axis created.<br /><b>8 :</b> Click the button <b>Draft Move</b><br /><b>9 :</b> and select the first axis to move on the second axis.<br /><b>10 :</b> Restore normal view with on button <b>Draw style</b> and onto <b>As is</b>.<br /><b>11 :</b> Click the first object moved and correct the position with "Combo view > Data > Placement".<br /><b>12 :</b> Select the object created by WorkFeature (contener axis) and delete it.<br /><b>13 :</b> The object weshed.<br /><b>14 :</b> The result.
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<h3><span class="mw-headline" id="Rotation_Object">Rotation Object</span></h3>
|
||
<center>
|
||
<ul class="gallery mw-gallery-traditional">
|
||
<li class="gallerybox" style="width: 535px"><div style="width: 535px">
|
||
<div class="thumb" style="width: 530px;"><div style="margin:92px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:WorkFeature_Rotation_Object.gif" class="image"><img alt="" src="500px-WorkFeature_Rotation_Object.gif" width="500" height="346" srcset="/wiki/images/f/f2/WorkFeature_Rotation_Object.gif 1.5x" /></a></div></div>
|
||
<div class="gallerytext">
|
||
<p>Click the image for see the animation.<br />
|
||
</p>
|
||
</div>
|
||
</div></li>
|
||
</ul>
|
||
</center>
|
||
<div style="clear:both"></div>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Liens">Liens</span></h2>
|
||
<p>La discussion sur le forum (en anglais) <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&t=9056">MACRO:Work Feature 2014_12</a>
|
||
</p>
|
||
<h2><span class="mw-headline" id="Derni.C3.A8re_version">Dernière version</span></h2>
|
||
<p>Icons :
|
||
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:WF_wf.png" class="image"><img alt="WF wf.png" src="WF_wf.png" width="64" height="64" /></a>
|
||
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:WF_centerObjectsPlanes.png" class="image"><img alt="WF centerObjectsPlanes.png" src="WF_centerObjectsPlanes.png" width="64" height="64" /></a>
|
||
</p><p>Sources :
|
||
</p><p>08/03:2105 : <a rel="nofollow" class="external text" href="http://github.com/Rentlau/WorkFeature.git">WF_2015_03_08</a>
|
||
- Circle cut added
|
||
- Are Parallel, Are Perpendicular, Are Coplanar added
|
||
</p><p>17/02/2015 : <a rel="nofollow" class="external text" href="https://github.com/Rentlau/WorkFeature.git">WF_2015_02_17</a>
|
||
- Circle and Ellipse Tab added
|
||
- Cutting tab added
|
||
</p><p>25/01/2015 : <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/download/file.php?id=10937&sid=b770dec5362ae499adb4173547ef445f">WF_2015_01_25.zip</a> add Object Cylinder Cube
|
||
</p><p>18/01/2015 : <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/download/file.php?id=10799">WF_2015_01_18.tar.gz</a> add plane and face to view
|
||
</p><p>28/12/2014 : <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/download/file.php?id=10347">WorkFeatures_2014_12_28.zip</a>
|
||
</p><p>27/12/2014 : <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/download/file.php?id=10325">WF_2014_12_27.zip</a>
|
||
</p><p><br />
|
||
</p>
|
||
<div style="clear:both"></div>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
</div><div class="printfooter">
|
||
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Macro_WorkFeatures/fr&oldid=253146">http://www.freecadweb.org/wiki/index.php?title=Macro_WorkFeatures/fr&oldid=253146</a>"</div>
|
||
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
||
</div>
|
||
</div>
|
||
<div id="mw-navigation">
|
||
<h2>Navigation menu</h2>
|
||
|
||
</body></html> |