85 lines
4.8 KiB
HTML
85 lines
4.8 KiB
HTML
<html><head><title>Constraint PointOnObject/pl</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/pl</h1></div>
|
||
|
||
<div id="mw-content-text" lang="pl" 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="Constraint_PointOnObject"><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> Constraint PointOnObject</span></h3>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Lokalizacja menu
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">Sketch → Sketcher constraints → Constrain point onto object
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Workbenches
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Sketcher_Workbench/pl" title="Sketcher Workbench/pl">Sketcher</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=PartDesign_Workbench/pl" title="PartDesign Workbench/pl">PartDesign</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Domyślny skrót
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">żaden
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Zobacz także
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Constraint_PointOnPoint/pl" title="Constraint PointOnPoint/pl">Constraint Coincident</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="#Constraint_PointOnObject"><span class="tocnumber">1</span> <span class="toctext">Constraint PointOnObject</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/pl&oldid=231311">http://www.freecadweb.org/wiki/index.php?title=Constraint_PointOnObject/pl&oldid=231311</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> |