Draft: Filament/Polilinie
poziția meniului |
---|
Draft → Wire |
Workbenches |
Draft, Arch |
scurtătură |
W I |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
Draft Line, Draft BSpline |
Description
Descriere
Unealta filament "Wire" creează o polilinie (o succesiune de segmente legate între ele) în planul de lucru curent. Preia valorile pentru lăţimea și culoarea liniei setate în prealabil pe tab-ul "Sarcini" (Tasks). Unealta "Wire" se comportă ca şi unealta linie din CIornă, cu deosebirea că va continua şi după trasarea între primele două puncte.
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.
Usage
Cum se foloseşte
- Apăsați tasta
Draft Wire button, or press W then I sau apăsați W apoi tastele I
- Faceți clic pe un prim punct din vizualizarea 3D sau tastați un coordinate
- Faceți clic pe un punct suplimentar în vizualizarea 3D sau tastați un coordinate
- Apăsați F sau C sau faceți dublu clic pe ultimul punct sau faceți clic pe primul punct pentru a termina sau a închide filamentul/polilinia. Dacă filamentul este închis, acesta va fi, de asemenea, o fațetă, chiar dacă acesta apare ca o rețea wireframe.
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 two or more connected Draft Lines or Draft Wires are selected when pressing the Draft Wire 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.
Similar functionality is provided by with the Draft Join tool.
Options
Opțiuni
- Dacă sunt selectate mai multe linii Draft Lines atunci când apăsați butonul Draft Wire, acestea vor fi transformate într-un fir și comanda va ieși. introduced in version 0.17/ro
- Apăsați butonul F sau butonul
Finish pentru a finalize firul și a-l lăsa deschis
- Apăsați butonul C or the
Close terminați firul, dar închizându-l prin adăugarea unui ultim segment între ultimul punct și primul.
- Apăsați X, Y sau Z după un punct pentru a restrânge următorul punct de pe axa dată.
- Pentru a introduce manual coordonatele, pur și simplu introduceți numerele, apoi apăsați ENTER între fiecare componentă X, Y și Z.
- Apăsați tasta R sau faceți clic pe caseta de selectare pentru a bifa/debifa butonul Relativ. Dacă modul relativ este activ, coordonatele punctului următor sunt relative la ultimul. Dacă nu, ele sunt absolute, luate din punctul de origine (0,0,0).
- Apăsați tasta T sau faceți clic pe caseta de selectare pentru a bifa/debifa butonul Continue. Dacă funcția continuă este activată, instrumentul Wire se va reporni după ce terminați sau închideți-l, permițându-vă să desenați altul fără să apăsați din nou butonul Wire.
- Apăsați CTRL în timp ce desenați pentru a forța ancorarea snapping punctului dvs. către cea mai apropiată locație, independent de distanța.
- Apăsați pe SHIFT în timp ce desenați constrain următorul punct pe orizontală sau pe verticală în raport cu ultimul.
- Apăsați butonul W sau apăsați butonul
Șterge pentru a elimina segmentele existente și a porni firul de la ultima punct.
- Apăsați tasta CTRL + Z sau apăsați pe
Undo pentru a anula ultimul punct.
- Apăsați butonul I sau butonul Fillet pentru a avea firul umplut cu o fațetă dacă este închis.
- Apăsați butonul ESC sau butonul Cancel pentru a întrerupe comanda curentă.
- Firele închise, atunci când sunt în modul de afișare "Flat Lines", pot afișa un model de hașură, prin setarea proprietății "Pattern" de mai jos.
Properties
Proprietăți
- DATEClosed: Specifică dacă firul este închis sau nu
- DATEChamfer Size: Specifică dimensiunea colțurilor zimțate
- DATEFillet Radius: Specifică o rază de curbură pentru a da nodurilor sârmei
- DATESubdivisions: Separă segmentele firului cu numărul de subdiviziuni date Disponibil în versiune 0.16/ro
- DATEMake Face: Umple firul cu o față dacă este închis
- VEDEREEnd Arrow: Arată un simbol săgeată în ultimul punct al firului, astfel încât acesta poate fi folosit ca linie de lider de adnotări
- VEDEREPattern: Specifică un model de trasare pentru a umple firul cu (Sârmă închisă)
- VEDEREPattern Size: Specifică dimensiunea șablonului de trasare
Data
- DataStart: specifies the first point in the wire.
- DataEnd: specifies the last point in the wire, not counting the initial point if the wire is closed.
- DataClosed: 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. - DataChamfer Size: specifies the size of the chamfers (straight segments) created on the corners of the wire.
- DataFillet Radius: specifies the radius of the fillets (arc segments) created on the corners of the wire.
- DataMake 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 DataClosed istrue
.
- Note: do not set DataMake Face to
true
if the wire intersects itself, as it won't create a proper face.
- DataSubdivisions: specifies the number of interior nodes in each segment of the wire. introduced in version 0.16
- DataLength: (read-only) specifies the length of the entire wire.
View
- ViewEnd 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. - ViewArrow Size: specifies the size of the symbol displayed at the end of the wire.
- ViewArrow Type: specifies the type of symbol displayed at the end of the wire, which can be "Dot", "Circle", "Arrow", or "Tick".
- ViewPattern: specifies a Draft Pattern with which to fill the face of the closed wire. This property only works if DataMake Face is
true
, and if ViewDisplay Mode is "Flat Lines". - ViewPattern Size: specifies the size of the Draft Pattern.
Script-Programare
A se vedea FreeCAD Scripting Basics pentru mai multe informații
Instrumentul Wire tool poate fi utilizat în macros și de la consola Python utilizând următoarele funcții:
Wire = makeWire(pointslist, closed=False, placement=None, face=None, support=None)
Wire = makeWire(Part.Wire, closed=False, placement=None, face=None, support=None)
- Creează un obiect
Wire
din lista dată de vectori sau din lista de puncte datepointslist
.- Dacă închis este Adevărat sau dacă primele și ultimul puncte sunt identice, firul este închis.
- Each point in the list is defined by its
FreeCAD.Vector
- Alternatively, the input can be a
Part.Wire
, from which points are extracted - Dacă
closed
esteTrue
(și firul este închis, (primul și ultimul punct sunt identice)), firul va forma o fațetă.
- Alternatively, the input can be a
- Se va folosi versiunea curentă de linie și culoareDraft Linestyle.
- Returnează obiectul nou creat.
Exempluː
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)
- Basics: Coordinates, Constraining, Snapping (Near, Extension, Parallel, Grid, Endpoint, Midpoint, Perpendicular, Angle, Center, Ortho, Intersection, Special, Dimensions, Working plane)
- Drawing: Line, Wire, Circle, Arc, Ellipse, Polygon, Rectangle, Text, Dimension, BSpline, Point, ShapeString, Facebinder, Bezier Curve, Label
- Modifying: Move, Rotate, Offset, Trimex, Upgrade, Downgrade, Scale, Edit, Wire to BSpline, Add point, Delete point, Shape 2D View, Draft to Sketch, Array, Path Array, Point Array, Clone, Drawing, Mirror, Stretch
- Utilities: Set working plane, Finish line, Close line, Undo line, Toggle construction mode, Toggle continue mode, Apply style, Toggle display mode, Add to group, Select group contents, Toggle snap, Toggle grid, Show snap bar, Heal, Flip Dimension, VisGroup, Slope, AutoGroup, Set Working Plane Proxy, Add to Construction group
- Additional: Preferences, Import-Export Preferences (DXF/DWG, SVG, OCA, DAT); Draft API

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting