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

85 lines
4.8 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><title>Constraint PointOnObject/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>Constraint PointOnObject/es</h1></div>
<div id="mw-content-text" lang="es" dir="ltr" class="mw-content-ltr"><hr/>
<div class="mw-parser-output"><p><br />
</p>
<table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id=".7B.7B.7BName.2Fes.7D.7D.7D"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Constraint_PointOnObject.png" class="image"><img alt="Constraint PointOnObject.png" src="32px-Constraint_PointOnObject.png" width="32" height="32" srcset="/wiki/images/thumb/7/7d/Constraint_PointOnObject.png/48px-Constraint_PointOnObject.png 1.5x, /wiki/images/7/7d/Constraint_PointOnObject.png 2x" /></a> {{{Name/es}}}</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Ubicación en el Menú
</th></tr>
<tr>
<td class="ctEven">Croquizador → Restricciones del Croquizador → Punto en objeto
</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=Sketcher_Workbench/es" title="Sketcher Workbench/es">Croquizador</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=PartDesign_Workbench/es" title="PartDesign Workbench/es">Diseño de Piezas</a>
</td></tr>
<tr>
<th class="ctOdd">Atajo de teclado por defecto
</th></tr>
<tr>
<td class="ctEven">None
</td></tr>
<tr>
<th class="ctOdd">Ver también
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Constraint_PointOnPoint/es" title="Constraint PointOnPoint/es">Coincidente</a>
</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="#.7B.7B.7BName.2Fes.7D.7D.7D"><span class="tocnumber">1</span> <span class="toctext">{{{Name/es}}}</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="#How_to_Use"><span class="tocnumber">3</span> <span class="toctext">How to Use</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Scripting"><span class="tocnumber">4</span> <span class="toctext">Scripting</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>Affixes a point onto another object such as a line, arc, or axis.
</p>
<h2><span class="mw-headline" id="How_to_Use">How to Use</span></h2>
<ol><li>Select the point you want to affixe onto a line/arc/etc. (Once selected the point become green).</li>
<li>Select the line you want to be affixed onto the point you have just selected (Once selected the line become green).</li>
<li>Click the constraint button «point onto object » <a href="https://www.freecadweb.org/wiki/index.php?title=File:Constraint_PointOnObject.png" class="image"><img alt="Constraint PointOnObject.png" src="24px-Constraint_PointOnObject.png" width="24" height="24" srcset="/wiki/images/thumb/7/7d/Constraint_PointOnObject.png/36px-Constraint_PointOnObject.png 1.5x, /wiki/images/thumb/7/7d/Constraint_PointOnObject.png/48px-Constraint_PointOnObject.png 2x" /></a>.</li></ol>
<p>Note : The order you select the line and point does not matter. The point will always move to line. The line remains fixed.
</p>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The constraint can be created from macros and from the python console by using the following command:
</p>
<pre>Sketch.addConstraint(Sketcher.Constraint('PointOnObject',LineMoving,PointOfLineMoving,LineFixed)) </pre>
<p>where :
</p>
<ul><li> Sketch is a sketch object</li>
<li> LineMoving is the number that designates the line, which contains the point that has to be moved onto the LineFixed (The line which is fixed) </li>
<li>PointOfLineMoving is the number of the vertex of line LineMoving, that has to be moved onto the LineFixed</li>
<li>LinedFixed is the number of the line to be affixed onto the point PointOfLineMoving</li></ul>
<p>How to indentify the number that designates lines and points ? Please refer to the scripting part of <a href="Constraint_PointOnPoint.html" title="Constraint PointOnPoint">this wiki page</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=Constraint_PointOnObject/es&amp;oldid=231305">http://www.freecadweb.org/wiki/index.php?title=Constraint_PointOnObject/es&amp;oldid=231305</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>