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

137 lines
14 KiB
HTML

<html><head><title>Property editor/cs</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Property editor/cs</h1></div>
<div id="mw-content-text" lang="cs" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="#P.C5.99ehled"><span class="tocnumber">1</span> <span class="toctext">Přehled</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Definov.C3.A1n.C3.AD_vlastnost.C3.AD"><span class="tocnumber">2</span> <span class="toctext">Definování vlastností</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Funkce"><span class="tocnumber">3</span> <span class="toctext">Funkce</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="#P.C5.99.C3.ADklad_vlastnost.C3.AD_objektu_D.C3.ADl"><span class="tocnumber">4</span> <span class="toctext">Příklad vlastností objektu Díl</span></a>
<ul>
<li class="toclevel-2"><a href="#Properties"><span class="tocnumber">4.1</span> <span class="toctext">Properties</span></a></li>
<li class="toclevel-2"><a href="#View"><span class="tocnumber">4.2</span> <span class="toctext">View</span></a></li>
<li class="toclevel-2"><a href="#Data"><span class="tocnumber">4.3</span> <span class="toctext">Data</span></a></li>
</ul>
</li>
</ul>
</div>
<h2><span class="mw-headline" id="P.C5.99ehled">Přehled</span></h2>
<p>Editor vlastností je jeden z nejdůležitějších nástrojů FreeCADu a hlavní prvek při práci s FreeCADem.
Editor vlastností umožňuje správu vlastností objektů v dokumentu.
</p><p>Obecně je editor vlastností určen k práci s jedním objektem v jednom čase. Hodnoty zobrazované v editoru vlastností patří vždy k aktuálnímu aktivnímu dokumentu (dávejte pozor, který dokument je právě aktivní, když pracujete na vícenásobném dokumentu). Pokud není vybrán žádný prvek (nebo v dokumentu nejsou žádné prvky) bude editor vlastností prázdný.
</p><p>Ne všechny vlastnosti mohou být upravovány v daném čase. V závislosti na specifickém stavu budou některé vlastnosti zobrazovány pouze pro čtení.
</p><p>Vlastnosti objektu jsou seskupovány v oknech vlastností a dat a zobrazovány na různých záložkách.
</p><p>Různé objekty mohou mít různé vlastnosti. Nicméně některé vlastnosti jsou společné pro všechny objekty, například pozice a otočení objektu jsou datové vlastnosti, které lze upravovat.
</p>
<h2><span class="mw-headline" id="Definov.C3.A1n.C3.AD_vlastnost.C3.AD">Definování vlastností</span></h2>
<p>A <b>property</b> is a piece of information like a number or a text string that is attached to a FreeCAD document or an object in a document. Properties can be viewed and - if allowed - modified with the <a href="Property_editor.html" title="Property editor">Property editor</a>.
</p><p>Properties play a very important part in FreeCAD, since it is from the beginning made to work with parametric objects, which are objects defined only by their properties.
</p><p>Custom <a href="Scripted_objects.html" title="Scripted objects">scripted objects</a> in FreeCAD can have properties of the following types:
</p>
<pre>Boolean
Float
FloatList
FloatConstraint
Angle
Distance
Integer
IntegerConstraint
Percent
Enumeration
IntegerList
String
StringList
Link
LinkList
Matrix
Vector
VectorList
Placement
PlacementLink
Color
ColorList
Material
Path
File
FileIncluded
PartShape
FilletContour
Circle
</pre>
<p><br />
</p>
<h2><span class="mw-headline" id="Funkce">Funkce</span></h2>
<p>Editor vlastností má dvě záložky: záložku Pohled a záložku Data.
</p>
<ul><li> Záložka Pohled poskytuje přístup k vlastnostem vztahujícím se k vizuálnímu zobrazení objektu</li>
<li> Záložka Data umožňuje úpravy fyzických parametrů objektu.</li></ul>
<h2><span class="mw-headline" id="P.C5.99.C3.ADklad_vlastnost.C3.AD_objektu_D.C3.ADl">Příklad vlastností objektu Díl</span></h2>
<h3><span class="mw-headline" id="Properties">Properties</span></h3>
<p>There are two types of feature properties, accessible through tabs at the bottom of the Property editor:
</p>
<dl><dd> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>View</b>&#160;:properties related to the visual display of the object.</dd></dl>
<dl><dd> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Data</b>&#160;: properties related to the physical parameters of an object.</dd></dl>
<h3><span class="mw-headline" id="View">View</span></h3>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Revolution_en_03.png" class="image"><img alt="PartDesign Revolution en 03.png" src="300px-PartDesign_Revolution_en_03.png" width="300" height="479" srcset="/wiki/images/9/92/PartDesign_Revolution_en_03.png 1.5x" /></a></div>
<p><span style="color: #ffffff; background-color: #a0a0a0; font-size: 132%; font-weight: bold; margin-bottom: .3em; page-break-after: avoid;">Base</span>
</p>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Bounding Box</b>&#160;: To view the occupation, and, overall, of the object dimensions in space. Value False, or True (Default, False).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Control Point</b>&#160;: Value False, or True (Default, False).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Deviation</b>&#160;: Sets the accuracy of the polygonal representation of the model in 3d view (tessellation). Lower values = better quality. The value is in percent of object's size (deviation in mm = (w+h+d)/3*valueInPercent/100, where w,h,d are sizes of bounding box).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Display Mode</b>&#160;:Display mode of the form, <b>Flat lines, Shaded, Wireframe, Points</b> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Vue_DisplayModePartDesign_fr_00.png" class="image"><img alt="Vue DisplayModePartDesign fr 00.png" src="96px-Vue_DisplayModePartDesign_fr_00.png" width="96" height="46" srcset="/wiki/images/thumb/a/a1/Vue_DisplayModePartDesign_fr_00.png/144px-Vue_DisplayModePartDesign_fr_00.png 1.5x, /wiki/images/thumb/a/a1/Vue_DisplayModePartDesign_fr_00.png/192px-Vue_DisplayModePartDesign_fr_00.png 2x" /></a>. (Default, <b>Flat lines</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Lighting</b>&#160;: Lighting <b>One side, Two side</b> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Vue_Lighting_fr_00.png" class="image"><img alt="Vue Lighting fr 00.png" src="96px-Vue_Lighting_fr_00.png" width="96" height="26" srcset="/wiki/images/thumb/6/67/Vue_Lighting_fr_00.png/144px-Vue_Lighting_fr_00.png 1.5x, /wiki/images/thumb/6/67/Vue_Lighting_fr_00.png/192px-Vue_Lighting_fr_00.png 2x" /></a>. (Default, <b>Two side</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Line Color</b>&#160;: Gives the color of the line (edges) (Default, <b>25, 25, 25</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Line Width</b>&#160;: Gives the thickness of the line (edges) (Default, <b>2</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Point Color</b>&#160;: Gives the color of the points (ends of the form) (Default, <b>25, 25, 25</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Point Size</b>&#160;: Gives the size of the points (Default, <b>2</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Selectable</b>&#160;: Allows the selection of the form. Value False, ou True (Default, True).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Shape Color</b>&#160;: Give the color shape (default, <b>204, 204, 204</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Transparency</b>&#160;: Sets the degree of transparency in the form of <b>0</b> to <b>100</b> (Default, <b>0</b>).</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Visibility</b>&#160;: Determines the visibility of the form (like the bar <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SPACE</span>). Value False, or True (Default, True).</li></ul>
<div style="clear:both"></div>
<p><br />
</p><p><br />
</p>
<div style="clear:both"></div>
<p><br />
</p>
<h3><span class="mw-headline" id="Data">Data</span></h3>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Revolution_en_04.png" class="image"><img alt="PartDesign Revolution en 04.png" src="300px-PartDesign_Revolution_en_04.png" width="300" height="514" srcset="/wiki/images/6/65/PartDesign_Revolution_en_04.png 1.5x" /></a></div>
<p><span style="color: #ffffff; background-color: #a0a0a0; font-size: 132%; font-weight: bold; margin-bottom: .3em; page-break-after: avoid;">Base</span>
<span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Angle</b>&#160;: The argument <b>Angle</b>, indicates the angle that will be used with the option <b>Axis</b> (below). Here, an angle is defined. The angle on the axis is set with the option <b>Axis</b>.<br />The object takes the specified angle around the specified axis.<br />An example, if you create an object with a required revolution should be rotate functionality of a certain amount, in order to enable it to take the same angle that another element existing.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Axis</b>&#160;: This option specifies the axis/axes to rotate the created object. The exact value of rotation comes from the angle (see above) option.<br />This option takes three arguments, these arguments, are transmitted in the form of numbers, <b>x, y</b> or <b>z</b>. Adding a value, more of an axis, will the rotation to each specified axis angle.<br />For example, with a <b>Angle of 15 °</b>&#160;: specifying, <b>1.0 for x</b> and <b>2.0 for y</b>, will rotate <b>15 ° and 30 °</b> in the y-axis and the x-axis (final position),
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Base</b>&#160;: This option specifies the offset in either axes <b>x, y, or z</b>, and accept any number as the argument for each field.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Label</b>&#160;: The Label is the name given to the operation, this name can be changed at convenience.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Placement</b>&#160;: <b>[(0.00 0.00 1.00);0.00;(0.00 0.00 0.00)]</b> Summary below data.
Every feature has a placement that can be controlled through the Data Properties table. It controls the placement of the part with respect to the coordinate system. NOTE: The placement options do not affect the physical dimensions of the feature, but merely its position in space!<br />If you select the title <b>Placement</b> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Tache_Placement_01_fr_00.png" class="image" title="Options Placement"><img alt="Options Placement" src="256px-Tache_Placement_01_fr_00.png" width="256" height="15" srcset="/wiki/images/thumb/8/80/Tache_Placement_01_fr_00.png/384px-Tache_Placement_01_fr_00.png 1.5x, /wiki/images/8/80/Tache_Placement_01_fr_00.png 2x" /></a>, a button with <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">three small points</span> appears, clicking this button <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"> <b>...</b></span>, you have access to the options window<b> <a href="Tasks_Placement.html" title="Tasks Placement">Tasks_Placement</a></b>.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Angle</b>&#160;:
The Angle argument specifies the angle to be used with the <a href="#Axis">axis</a> option (below). An angle is set here, and the axis that the angle acts upon is set with the axis option.
The feature is rotated by the specified angle, about the specified axis.
A usage example might be if you created a revolution feature as required, but then needed to rotate the whole feature by some amount, in order to allow it to line-up with another pre-existing feature.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Axis</b>&#160;:
This option specifies the axis/axes about which the created feature is to be rotated. The exact value of rotation comes from the angle option (above).
This option takes three arguments, which are passed as numbers to either the x, y, or z boxes in the tool. Adding a value to more than one of the axes will cause the part to be rotated by the angle in each axis.
For example, with an angle of 15° set, specifying a value of 1.0 for x, and 2.0 for y will cause the finished part to be rotated 15° in the x-axis AND 30° in the y-axis.
</p><p><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Position</b>&#160;:
This option specifies the base point to which all dimensions refer. This option takes three arguments, which are passed as numbers to either the x, y, or z boxes in the tool. Adding a value to more than one of the boxes will cause the part to be translated by the number of units along the corresponding axis.
</p>
<div style="clear:both"></div>
<p><b>PS: The displayed properties can vary, depending on the tool used.</b>
</p><p><br />
</p>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Property_editor/cs&amp;oldid=75152">http://www.freecadweb.org/wiki/index.php?title=Property_editor/cs&amp;oldid=75152</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>