101 lines
8.6 KiB
HTML
101 lines
8.6 KiB
HTML
<html><head><title>Draft Text/ro</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Draft Text/ro</h1></div>
|
||
|
||
<div id="mw-content-text" lang="ro" 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="Draft_Text"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Text.png" class="image"><img alt="Draft Text.png" src="32px-Draft_Text.png" width="32" height="32" srcset="/wiki/images/thumb/9/9f/Draft_Text.png/48px-Draft_Text.png 1.5x, /wiki/images/9/9f/Draft_Text.png 2x" /></a> Draft Text</span></h3>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">poziția meniului
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">Draft → Text
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Workbenches
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/ro" title="Draft Module/ro">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/ro" title="Arch Module/ro">Arch</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">scurtătură
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">T E
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">A se vedea, de asemenea,
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">nici unul
|
||
</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="Draft_Text.html"><span class="tocnumber">1</span> <span class="toctext">Draft Text</span></a></li>
|
||
<li class="toclevel-1 tocsection-1"><a href="#Descriere"><span class="tocnumber">2</span> <span class="toctext">Descriere</span></a></li>
|
||
<li class="toclevel-1 tocsection-2"><a href="#Mod_de_utilizare"><span class="tocnumber">3</span> <span class="toctext">Mod de utilizare</span></a></li>
|
||
<li class="toclevel-1 tocsection-3"><a href="#Op.C5.A3iuni"><span class="tocnumber">4</span> <span class="toctext">Opţiuni</span></a></li>
|
||
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
|
||
<li class="toclevel-1 tocsection-5"><a href="#Scriptare"><span class="tocnumber">6</span> <span class="toctext">Scriptare</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
</td></tr></table>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Descriere">Descriere</span></h2>
|
||
<p>Unealta Text inserează o porţiune de text într-un punct dat din documentul curent. În prealabil, în meniul <b>Editare</b>, opţiunea <b>Preferinţe</b>, trebuie să setaţi <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Linestyle/ro&action=edit&redlink=1" class="new" title="Draft Linestyle/ro (page does not exist)">mărimea şi culoarea textului</a> în tab-ul <b>Sarcini</b> (Tasks).
|
||
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Text_example.jpg" class="image"><img alt="Draft Text example.jpg" src="400px-Draft_Text_example.jpg" width="400" height="214" srcset="/wiki/images/thumb/4/4f/Draft_Text_example.jpg/600px-Draft_Text_example.jpg 1.5x, /wiki/images/4/4f/Draft_Text_example.jpg 2x" /></a>
|
||
</p>
|
||
<h2><span class="mw-headline" id="Mod_de_utilizare">Mod de utilizare</span></h2>
|
||
<ol><li> Apăsaţi butonul <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Text.png" class="image"><img alt="Draft Text.png" src="16px-Draft_Text.png" width="16" height="16" srcset="/wiki/images/thumb/9/9f/Draft_Text.png/24px-Draft_Text.png 1.5x, 32px-Draft_Text.png 2x" /></a> <a href="Draft_Text.html" title="Draft Text">Draft Text</a></span> ori apăsaţi tasta <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">T</span>, apoi tasta <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">E</span>.</li>
|
||
<li> Daţi clic în fereastra de vizualizare 3D view sau introduceţi <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Coordinates/ro&action=edit&redlink=1" class="new" title="Draft Coordinates/ro (page does not exist)">coordonatele</a>.</li>
|
||
<li> Introduceţi textul dorit, apăsând tasta <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> pentru a trece la linie nouă.</li>
|
||
<li> Apăsaţi DE DOUĂ ORI <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> ca să terminaţi operaţia.</li></ol>
|
||
<h2><span class="mw-headline" id="Op.C5.A3iuni">Opţiuni</span></h2>
|
||
<p>Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CTRL</span> will <a href="Draft_Snap.html" title="Draft Snap">snap</a> your point to available snap locations.
|
||
</p>
|
||
<ul><li> To enter coordinates manually, simply enter the numbers, then press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> between each X, Y and Z component.</li>
|
||
<li> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ESC</span> will cancel the operation.</li>
|
||
<li> When editing the text, pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">DOWN ARROW</span> allow you to enter or edit a next line of text.</li>
|
||
<li> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">UP ARROW</span> allows you to edit a previous line of text.</li>
|
||
<li> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> <b>twice</b> (thus leaving the last line empty) adds the text to the document and closes the editor.</li></ul>
|
||
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
|
||
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Position</b>: The base point of the text block</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Label Text</b>: The contents of the text block</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Display Mode</b>: Specifies if the text is aligned to the scene axes or always faces the camera</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Font Size</b>: The size of the letters</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Justification</b>: Specifies if the text is aligned to the left, right or center of the base point.</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Line Spacing</b>: Specifies the space between lines of text</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Rotation</b>: Specifies a rotation to be applied to the text</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Rotation Axis</b>: Specifies the axis to use for the rotation</li>
|
||
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Font Name</b>: The font to use to draw the text. It can be a font name, such as "Arial", a default style such as "sans", "serif" or "mono", or a family such as "Arial,Helvetica,sans" or a name with a style such as "Arial:Bold". If the given font is not found on the system, a generic one is used instead.</li></ul>
|
||
<h2><span class="mw-headline" id="Scriptare">Scriptare</span></h2>
|
||
<p>Unealta Text poate fi folosită în <a href="https://www.freecadweb.org/wiki/index.php?title=Macros/ro" title="Macros/ro">macro-uri</a> şi de la consola python cu ajutorul funcţiei următoare:
|
||
</p>
|
||
<pre>makeText (string or list, [Vector], [screenmode]) </pre>
|
||
<ul><li> Creează un obiect Text, într-un punct dat, dacă este furnizat un vector, care conține șirul sau șirurile dintr-o listă, câte un șir pe rând.</li>
|
||
<li> În Ciorna curentă, se utilizează fontul, culorile şi dimensiunea textului specificate în Preferințe.</li>
|
||
<li> Dacă modul Ecran este True, textul preia întotdeauna direcția de vizualizare, altfel se situează în planul XY.</li>
|
||
<li> Înapoiază obiectul nou creat.</li></ul>
|
||
<p>Exempluː
|
||
</p>
|
||
<pre>import FreeCAD,Draft
|
||
Draft.makeText("This is a sample text",FreeCAD.Vector(1,1,0)) </pre>
|
||
<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=Draft_Text/ro&oldid=239363">http://www.freecadweb.org/wiki/index.php?title=Draft_Text/ro&oldid=239363</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> |