88 lines
4.3 KiB
HTML
88 lines
4.3 KiB
HTML
<html><head><title>TechDraw Symbol/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>TechDraw Symbol/fr</h1></div>
|
|
|
|
<div id="mw-content-text" lang="fr" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Symbole"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_Symbol.png" class="image"><img alt="TechDraw Symbol.png" src="32px-TechDraw_Symbol.png" width="32" height="32" srcset="/wiki/images/thumb/8/88/TechDraw_Symbol.png/48px-TechDraw_Symbol.png 1.5x, /wiki/images/8/88/TechDraw_Symbol.png 2x" /></a> Symbole</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Emplacement du menu
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">TechDraw → Symbole
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Ateliers
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_Module/fr" title="TechDraw Module/fr">TechDraw</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Raccourci par défaut
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Voir aussi
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">
|
|
</td></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="#Symbole"><span class="tocnumber">1</span> <span class="toctext">Symbole</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="#Comment_faire"><span class="tocnumber">3</span> <span class="toctext">Comment faire</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Propri.C3.A9t.C3.A9s"><span class="tocnumber">5</span> <span class="toctext">Propriétés</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Script"><span class="tocnumber">6</span> <span class="toctext">Script</span></a></li>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Notes"><span class="tocnumber">7</span> <span class="toctext">Notes</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>L'outil Symbole insère un fichier SVG dans la page en tant que vue
|
|
</p>
|
|
<h2><span class="mw-headline" id="Comment_faire">Comment faire</span></h2>
|
|
<ol><li> Appuyez sur le bouton <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Symbol.png" class="image"><img alt="Symbol.png" src="24px-Symbol.png" width="24" height="24" srcset="/wiki/images/thumb/4/46/Symbol.png/36px-Symbol.png 1.5x, /wiki/images/thumb/4/46/Symbol.png/48px-Symbol.png 2x" /></a> <a class="mw-selflink selflink">Symbole</a></span> </li>
|
|
<li> Une boîte de dialogue s'ouvre. Sélectionnez un emplacement et un nom de fichier. </li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<p>Aucune.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Propri.C3.A9t.C3.A9s">Propriétés</span></h2>
|
|
<ul><li> n/a</li></ul>
|
|
<h2><span class="mw-headline" id="Script">Script</span></h2>
|
|
<p>Les fichiers SVG peuvent être insérés dans une page de dessin en utilisant le code Python.
|
|
</p>
|
|
<pre>sym = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewSymbol','TestSymbol')
|
|
rc = page.addView(anno)
|
|
f = open(unicode(symbolFileSpec,'utf-8'),'r')
|
|
svg = f.read()
|
|
f.close()
|
|
sym.Symbol = svg
|
|
rc = page.addView(sym) </pre>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Notes">Notes</span></h2>
|
|
<ul><li> Le symbole apparaît plus grand que prévu. Utilisez la propriété Échelle pour ajuster la taille. </li></ul>
|
|
<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=TechDraw_Symbol/fr&oldid=258574">http://www.freecadweb.org/wiki/index.php?title=TechDraw_Symbol/fr&oldid=258574</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> |