Draft Wire/cs: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 12: | Line 12: | ||
{{GuiCommand/cs|Name=Draft_Wire|Name/cs=Kreslení Drát|Workbenches=[[Draft Module/cs|Kreslení]], [[Arch Module/cs|Architektura]]|Shortcut=W I|MenuLocation=Kreslení -> Drát|SeeAlso=[[Draft Line/cs|Kreslení Přímka]], [[Draft BSpline/cs|Kreslení B-křivka]]}} |
{{GuiCommand/cs|Name=Draft_Wire|Name/cs=Kreslení Drát|Workbenches=[[Draft Module/cs|Kreslení]], [[Arch Module/cs|Architektura]]|Shortcut=W I|MenuLocation=Kreslení -> Drát|SeeAlso=[[Draft Line/cs|Kreslení Přímka]], [[Draft BSpline/cs|Kreslení B-křivka]]}} |
||
</div> |
</div> |
||
==Description== |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 22: | Line 24: | ||
[[Image:Draft_Polyline_example.jpg|400px]] |
[[Image:Draft_Polyline_example.jpg|400px]] |
||
{{Caption|Wire defined by multiple points}} |
{{Caption|Wire defined by multiple points}} |
||
==Usage== |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 37: | Line 41: | ||
{{emphasis|Note:}} the end points of the lines must be exactly touching or they won't merge. If necessary, manually adjust the [[Draft Coordinates|Draft Coordinates]] of the start and end points of the lines, or use [[Draft Snap|Draft Snap]] with the [[Draft Endpoint|Draft Endpoint]] mode to make the nodes coincident. |
{{emphasis|Note:}} the end points of the lines must be exactly touching or they won't merge. If necessary, manually adjust the [[Draft Coordinates|Draft Coordinates]] of the start and end points of the lines, or use [[Draft Snap|Draft Snap]] with the [[Draft Endpoint|Draft Endpoint]] mode to make the nodes coincident. |
||
==Options== |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
Revision as of 21:45, 21 February 2020
Kreslení Drát |
Umístění Menu |
---|
Kreslení -> Drát |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
W I |
Představen ve verzi |
- |
Viz také |
Kreslení Přímka, Kreslení B-křivka |
Description
Popis
Nástroj Drát vytváří lomenou čáru (sekvenci přímek z několika segmentů) v aktuální pracovní rovině. Použije se tloušťka čáry a barva předem zadaná v záložce Nástrojů. Nástroj Drát se chová přesně stejně jako nástroj Přímka kromě toho, že nekončí po zadání dvou bodů.
The Draft BSpline tool behaves like the Wire tool, except that each of its segments is curved instead of being a straight line. Use Draft WireToBSpline to convert one to the other.
Wire defined by multiple points
Usage
Použití
- Stiskněte tlačítko Drát nebo klávesy W potom I
- Klikněte na první bod ve 3D pohledu nebo zadejte jeho souřadnice
- Klikněte na další bod ve 3D pohledu nebo zadejte jeho souřadnice
- Stiskněte klávesu F nebo C nebo dvojklikněte na poslední bod pro ukončení nebo uzavření drátu. Je-li drát uzavřen, bude zároveň i povrchem i když se jeví jako drátový model.
The wire can be edited by double clicking on the element in the Tree view, or by pressing the Draft Edit button. Then you can move the points to a new position, or click add point or remove point and then click on the wire to add or remove points.
Fuse single lines
If several connected Draft Lines are selected when pressing the Draft Polyline button, they will be turned into a wire and the command will exit. introduced in version 0.17
Note: the end points of the lines must be exactly touching or they won't merge. If necessary, manually adjust the Draft Coordinates of the start and end points of the lines, or use Draft Snap with the Draft Endpoint mode to make the nodes coincident.
Options
Volby
- Stiskněte klávesu F nebo tlačítko UkončitČáru pro ukončení drátu a ponechání jej otevřený
- Stiskněte klávesu C nebo tlačítko UzavřítČáru nebo klikněte na první bod drátu. Tím se drát ukončí a uzavře se doplněním posledního (uzavíracího) segmentu mezi posledním a počátečním bodem.
- Stisknutím klávesy X, Y nebo Z po zadání bodu zajistíte, že následující bod bude ležet na dané ose.
- Pro ruční zadávání souřadnic jednoduše zadávejte čísla a mezi každou komponentou X, Y a Z stiskněte ENTER
- Stiskněte klávesu R nebo klikněte/odklikněte zaklikávací políčko Relativní. Je-li nastaven relativní mód jsou souřadnice následujícího bodu relativní k předchozímu bodu. Je-li mód absolutní souřadnice jsou vztaženy k počátečnímu bodu (0,0,0).
- Stiskněte klávesu T nebo klikněte/odklikněte zaklikávací políčko Pokračovat. Je-li nastaven pokračovací mód, nástroj Drát bude po ukončení drátu restartován a připraven ke kreslení dalšího drátu bez nutnosti znovu jej spouštět klikáním na tlačítko Drát.
- Stiskněte při kreslení klávesu CTRL pro přichycení Vašeho bodu k nejbližšímu uchopovacímu místu, nezávisle na vzdálenosti od něho.
- Stiskněte při kreslení klávesu SHIFT pro nastavení vazby Vašeho dalšího bodu vodorovně nebo svisle v relaci k předchozímu bodu.
- Stiskněte klávesu W nebo stiskněte tlačítko Smaž pro odstranění existujících segmentů a začněte křivku z posledního bodu.
- Stiskněte klávesy CTRL+Z nebo tlačítko Undo k návratu na poslední bod.
- Stiskněte klávesu I nebo tlačítko Filled aby se drát po jeho uzavření zobrazoval jako plocha. To jednoduše nastavuje Pohled->Vlastnost Drát na "Otevřené čáry" nebo "Drátový model", toto také může být snadno změněno později.
- Stiskněte klávesu ESC nebo tlačítko Cancel pro ukončení aktuálního příkazu Drát.
Vlastnosti
- ÚdajeUzavřen: Specifikuje zda je drát uzavřen nebo ne
- ÚdajePoloměr zaoblení: Specifikuje poloměr zaoblení ve spojích drátu
- PohledKoncová šipka: Ukazuje symbol šipky na koncovém bodě drátu, takže ten může být použit jako linka pro vysvělivku
Data
- ÚdajeStart: specifies the first point in the wire.
- ÚdajeEnd: specifies the last point in the wire, not counting the initial point if the wire is closed.
- ÚdajeClosed: specifies if the wire is closed or not. If the wire is initially open, this value is
false
; setting it totrue
will draw a line segment to close the wire. If the wire is initially closed, this value istrue
; setting it tofalse
will remove the last line segment, and make the wire open. - ÚdajeChamfer Size: specifies the size of the chamfers (straight segments) created on the corners of the wire.
- ÚdajeFillet Radius: specifies the radius of the fillets (arc segments) created on the corners of the wire.
- ÚdajeMake Face: specifies if the wire makes a face or not. If it is
true
a face is created, otherwise only the edges are considered part of the object. This property only works if ÚdajeClosed istrue
.
- Note: do not set ÚdajeMake Face to
true
if the wire intersects itself, as it won't create a proper face.
- ÚdajeSubdivisions: specifies the number of interior nodes in each segment of the wire. introduced in version 0.16
- ÚdajeLength: (read-only) specifies the length of the entire wire.
View
- PohledEnd Arrow: if it is
true
it will display a symbol at the last point of the wire, so it can be used as an annotation line. - PohledArrow Size: specifies the size of the symbol displayed at the end of the wire.
- PohledArrow Type: specifies the type of symbol displayed at the end of the wire, which can be "Dot", "Circle", "Arrow", or "Tick".
- PohledPattern: specifies a Draft Pattern with which to fill the face of the closed wire. This property only works if ÚdajeMake Face is
true
, and if PohledDisplay Mode is "Flat Lines". - PohledPattern Size: specifies the size of the Draft Pattern.
Skriptování
Nástroj Drát může být využit v makrech a z konzoly Pythonu použitím následující funkce:
See also: Draft API and FreeCAD Scripting Basics.
The Wire tool can be used in macros and from the Python console by using the following function:
Wire = makeWire(pointslist, closed=False, placement=None, face=None, support=None)
Wire = makeWire(Part.Wire, closed=False, placement=None, face=None, support=None)
- Vytvoří objekt Drát podle zadaného seznamu vektorů bodů nebo podle Drát (Part Wire).
- Je-li closed True nebo jsou-li první a poslední bod identické, drát je uzavřen.
- Je-li face (plocha) True (a drát je uzavřen), bude se drát jevit jako vyplněná plocha.
- Je použita aktuálně nastavená tloušťka čáry a barva čáry.
- Vrací nově vytvořený objekt.
Příklad:
import FreeCAD, Draft
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(1000, 1000, 0)
p3 = FreeCAD.Vector(2000, 0, 0)
Wire1 = Draft.makeWire([p1, p2, p3], closed=True)
Wire2 = Draft.makeWire([p1, 2*p3, 1.3*p2], closed=True)
Wire3 = Draft.makeWire([1.3*p3, p1, -1.7*p2], closed=True)
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub