FreeCAD-Doc/localwiki/Draft_ShapeString-es.html
2018-07-19 18:47:02 -05:00

111 lines
8.9 KiB
HTML

<html><head><title>Draft ShapeString/es</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 ShapeString/es</h1></div>
<div id="mw-content-text" lang="es" 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_ShapeString.2Fes"><a href="https://www.freecadweb.org/wiki/index.php?title=File:NoIconFound.png" class="image" title="Official icon not found"><img alt="Official icon not found" src="32px-NoIconFound.png" width="32" height="32" srcset="/wiki/images/thumb/a/a6/NoIconFound.png/48px-NoIconFound.png 1.5x, /wiki/images/a/a6/NoIconFound.png 2x" /></a> Draft ShapeString/es</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Ubicación en el Menú
</th></tr>
<tr>
<td class="ctEven">Borrador -&gt; Bosquejar forma de cadena
</td></tr>
<tr>
<th class="ctOdd">Entornos de trabajo
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/es" title="Draft Module/es">Borrador</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/es" title="Arch Module/es">Arquitectura</a>
</td></tr>
<tr>
<th class="ctOdd">Atajo de teclado por defecto
</th></tr>
<tr>
<td class="ctEven">S S
</td></tr>
<tr>
<th class="ctOdd">Ver también
</th></tr>
<tr>
<td class="ctEven">None
</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_ShapeString.2Fes"><span class="tocnumber">1</span> <span class="toctext">Draft ShapeString/es</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Descripci.C3.B3n"><span class="tocnumber">2</span> <span class="toctext">Descripción</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Como_utilizar"><span class="tocnumber">3</span> <span class="toctext">Como utilizar</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Opciones"><span class="tocnumber">4</span> <span class="toctext">Opciones</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="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
<li class="toclevel-1 tocsection-6"><a href="#Selecting_A_Font"><span class="tocnumber">7</span> <span class="toctext">Selecting A Font</span></a></li>
<li class="toclevel-1 tocsection-7"><a href="#Limitations"><span class="tocnumber">8</span> <span class="toctext">Limitations</span></a></li>
<li class="toclevel-1 tocsection-8"><a href="#Tutorials"><span class="tocnumber">9</span> <span class="toctext">Tutorials</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Descripci.C3.B3n">Descripción</span></h2>
<p>La herramienta forma de cadena, inserta una forma compuesta representando una cadena de texto a un punto dado en el actual documento. Altura, trayectoria y fuente pueden ser definidas.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_ShapeString_Example400.png" class="image"><img alt="Draft ShapeString Example400.png" src="Draft_ShapeString_Example400.png" width="400" height="200" /></a>
</p>
<h2><span class="mw-headline" id="Como_utilizar">Como utilizar</span></h2>
<ol><li> Presiona el boton <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_ShapeString16.png" class="image"><img alt="Draft ShapeString16.png" src="Draft_ShapeString16.png" width="16" height="16" /></a> <a href="Draft_ShapeString.html" title="Draft ShapeString">Draft Shape from text ...</a></span> o presiona la tecla <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span> luego <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span></li>
<li> Cliquea en un punto sobre la vista 3D o escribe una coordenada <a href="Draft_Coordinates.html" title="Draft Coordinates">coordenada</a></li>
<li> Ingresa el texto deseado y presiona <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> </li>
<li> Ingresa el tamaño deseado y presiona <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span></li>
<li> Ingresa la trayectoria deseada y presiona <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span></li>
<li> Presiona <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> para aceptar el archivo fuente mostrado ó </li>
<li> Presiona <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">...</span> para seleccionar el archivo fuente. </li></ol>
<h2><span class="mw-headline" id="Opciones">Opciones</span></h2>
<ul><li>Para ingresar coordenadas manualmente, simplemente ingresa los numeros, luego <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> entre cada componente X,Y y Z.</li>
<li> Presionando <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ESC</span> cancelará la operación.</li>
<li> Puedes ajustar un archivo fuente predeterminado en Draft/Preferencias.</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 compound shape</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>String</b>: The contents of the text string</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Size</b>: The height of the letters in FC units</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Tracking</b>: The inter-character spacing in FC units</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Font File</b>: The font definition file used to draw the string</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The ShapeString tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
</p>
<pre>makeShapeString(String,FontFile,[Size],[Tracking]) </pre>
<ul><li> Turns a text string into a Compound Shape using a specified font. </li></ul>
<p>Example:
</p>
<pre>import FreeCAD,Draft
Draft.makeShapeString("This is a sample text",
"/usr/share/fonts/truetype/msttcorefonts/Arial.ttf",
200.0,10) </pre>
<h2><span class="mw-headline" id="Selecting_A_Font">Selecting A Font</span></h2>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:SSFontSelect.png" class="image"><img alt="SSFontSelect.png" src="SSFontSelect.png" width="702" height="32" /></a>
</p><p>ShapeString uses the internal geometry of a font to make FreeCAD shapes. To do this it must read the actual font file (*.tff, etc). If the Font Selection box is empty, you must type the full path to the font file or use <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">...</span> to select a font file.
</p>
<h2><span class="mw-headline" id="Limitations">Limitations</span></h2>
<ul><li> This tool is not available in FreeCAD versions anterior to 0.14</li>
<li> TrueType(*.ttf), OpenType(*.otf) and Type1(*.pfb) font files are supported. </li>
<li> Very small text heights may result in deformed character glyphs due to loss of detail in scaling. </li>
<li> The current version is limited to left-to-right layouts on a horizontal baseline. </li>
<li> For creating curved text you can use the macro <a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularTextButtom.png" class="image"><img alt="FCCircularTextButtom.png" src="24px-FCCircularTextButtom.png" width="24" height="24" srcset="/wiki/images/thumb/c/c1/FCCircularTextButtom.png/36px-FCCircularTextButtom.png 1.5x, /wiki/images/thumb/c/c1/FCCircularTextButtom.png/48px-FCCircularTextButtom.png 2x" /></a><a href="Macro_Circular_Text.html" title="Macro Circular Text">Circular Text</a></li></ul>
<h2><span class="mw-headline" id="Tutorials">Tutorials</span></h2>
<ul><li> <a href="Draft_ShapeString_tutorial.html" title="Draft ShapeString tutorial">Draft ShapeString tutorial</a></li></ul>
<p><br />
</p>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_ShapeString/es&amp;oldid=282237">http://www.freecadweb.org/wiki/index.php?title=Draft_ShapeString/es&amp;oldid=282237</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>