Difference between revisions of "Draft BezCurve/it"
(Updating to match new version of source page) |
Renatorivo (talk | contribs) (Created page with "{{Docnav/it|Lega facce|Etichetta|Draft|IconL=Draft_Facebinder.svg |IconC=Workbench_Draft.svg|IconR=Draft_Label.s...") |
||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
− | {{Docnav|[[Draft_Facebinder| | + | {{Docnav/it|[[Draft_Facebinder/it|Lega facce]]|[[Draft_Label/it|Etichetta]]|[[Draft_Module/it|Draft]]|IconL=Draft_Facebinder.svg |IconC=Workbench_Draft.svg|IconR=Draft_Label.svg }} |
<div class="mw-translate-fuzzy"> | <div class="mw-translate-fuzzy"> |
Revision as of 17:10, 25 April 2019
Nome nel codice |
---|
Draft BezCurve |
Posizione nel menu |
Draft → Curva di Bezier |
Ambiente |
Draft, Arch |
Avvio veloce |
B Z |
Introdotto nella versione |
- |
Vedere anche |
Nessuno |
Descrizione
Lo strumento Curva di Bezier crea una Curva di Bezier (o un tratto) da più punti nel corrente piano di lavoro. Assume lo lo spessore e il colore precedentemente impostati nella scheda Azioni.
The BezCurve tool curve uses control points to define the direction of the curve; on the other hand the Draft BSpline tool specifies the exact points through which the curve will go. To create exact circular or elliptical curves, use Draft Arc and Draft Ellipse.
Bezier curve defined by multiple control points
- Press the
Draft BezCurve button, or press B then Z keys.
- Click a first point on the 3D view, or type a coordinate and press the
add point button.
- Click additional points on the 3D view, or type a coordinate and press the
add point button.
- Press Esc or the Close button, or double-click the last point to complete the edition.
L'oggetto viene creato come una unica curva di Bezier di grado uguale al numero di punti - 1. Dopo la creazione può essere commutato in tratti di curva di Bezier di determinato grado modificando le proprietà. Le curve di Bezier possono essere modificate utilizzando Modifica.
The curve 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 curve to add or remove points. You can also change the constraint type of each point.
Vincolare i nodi
I punti finali del segmento in un tratto della curva di Bezier possono essere vincolati in modo tale che i punti di controllo adiacenti siano tangenti o simmetrici ai segmenti nel punto finale. Questo viene fatto dopo la creazione dell'oggetto utilizzando Modifica.
The segment endpoints can be constrained such that adjacent control points are tangent or symmetric to the segments at the endpoint. First, start editing the curve, then pick one of the tools and then pick a point. Click again on the tool to deactivate it, so you can move the point.
sharp remove constraints on the points so the curve can have sharp corners.
tangent force adjacent control points to be tangent.
symmetric force adjacent control points to be tangent and equidistant.
Limitazioni
- Questo strumento non è disponibile prima della versione 0.14 di FreeCAD
- Le Proprietà Punti non compaiono ancora nell'elenco delle proprietà.
- OpenCascade non supporta le curve di Bezier con grado > 25. Nella pratica, questo non dovrebbe essere un problema.
- Premere il pulsante
Curva di Bezier , oppure premere i tasti B e Z.
- Fare clic sul primo punto sulla vista 3D, o digitare le sue coordinate
- Cliccare in un altro punto nella vista 3D, o digitare le sue coordinate
- Premere F o C, o fare doppio clic sull'ultimo punto, oppure fare clic sul primo punto per completare e chiudere la curva.
Opzioni
- Premere F o il pulsante
Finisci per interrompere la spline lasciandola aperta
- Premere C o il pulsante
Chiudi o fare clic sul primo punto per terminare la spline, ma rendendola chiusa con l'aggiunta di un ultimo segmento tra l'ultimo punto e il primo.
- Premere X, Y o Z dopo un punto per vincolare il punto successivo sull'asse dato.
- Per inserire manualmente le coordinate, è sufficiente inserire i valori, quindi premere ENTER per ciascun componente X, Y e Z.
- Premere R o cliccare nella casella per selezionare o deselezionare il pulsante Relativo. Se la modalità relativa è attivo, le coordinate del punto successivo sono relative all'ultimo. In caso contrario, esse sono assolute, prese dal punto di origine (0,0,0).
- Premere T oppure fare clic sulla casella di controllo per selezionare o deselezionare la modalità Continua. In modalità Continua, al termine dell'operazione, lo strumento Curva di Bezier si riavvia automaticamente e permette di disegnare una nuova curva senza dover ripetere il comando.
- Premere CTRL mentre si disegna per ancorare il proprio punto al punto agganciabile più vicino, indipendentemente dalla distanza.
- Premere SHIFT mentre si disegna per vincolare orizzontalmente o verticalmente il secondo punto rispetto al primo.
- Premere W o il pulsante
Pulisci per rimuovere i segmenti esistenti e avviare la spline dall'ultimo punto.
- Premere CTRL+Z o premere il pulsante
Annulla per annullare l'ultimo punto inserito. Questa opzione permette di annullare a ritroso tutti i punti.
- Premere ESC o premere il pulsante Cancella per uscire dal comando Curva di Bezier.
Proprietà
Data
- DataDegree: specifies the degree of the Bezier curve or the individual segments.
- DataClosed: specifies if the curve is closed or not. If the curve is initially open, this value is
false
; setting it totrue
will draw a segment to close the curve. If the curve is initially closed, this value istrue
; setting it tofalse
will remove the last segment, and make the curve open. - DataMake Face: specifies if the curve makes a face or not. If it is
true
a face is created, otherwise only the perimeter is considered part of the object. This property only works if DataClosed istrue
.
- Note: do not set DataMake Face to
true
if the curve intersects itself, as it won't create a proper face.
- DataContinuity: (read-only) when the curve is closed, indicates the continuity of the curve
[0]
, or[0,0]
. Otherwise it's[]
.
View
- ViewArrow Size: specifies the size of the symbol displayed at the end of the curve.
- ViewArrow Type: specifies the type of symbol displayed at the end of the curve, which can be dot, circle, arrow, and tick.
- ViewEnd Arrow: specifies whether to show a symbol at the last point of the curve, so it can be used as an annotation line.
- ViewPattern: specifies a Draft Pattern with which to fill the face of the closed curve. 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
Lo strumento Curva di Bezier può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:
BezCurve = makeBezCurve(pointslist, closed=False, placement=None, face=None, support=None, Degree=None)
BezCurve = makeBezCurve(Part.Wire, closed=False, placement=None, face=None, support=None, Degree=None)
- Crea un oggetto curva di Bezier dalla lista di vettori dati. Invece di un pointslist, si può anche passare una Part Wire.
Example:
import FreeCAD, Draft
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(1000, 1000, 0)
p3 = FreeCAD.Vector(2000, 0, 0)
p4 = FreeCAD.Vector(1500, -2000, 0)
BezCurve1 = Draft.makeBezCurve([p1, p2, p3, p4], closed=True)
BezCurve2 = Draft.makeBezCurve([p4, 1.3*p2, p1, 4.1*p3], closed=True)
BezCurve3 = Draft.makeBezCurve([1.7*p3, 1.5*p4, 2.1*p2, p1], closed=True)
- Basics: Coordinates, Constraining, Snapping (Near, Extension, Parallel, Grid, Endpoint, Midpoint, Perpendicular, Angle, Center, Ortho, Intersection, Special, Dimensions, Working plane)
- Drawing: Line, Polyline, Fillet, Circle, Arc, Arc 3 points, Ellipse, Polygon, Rectangle, Text, Dimension, BSpline, Point, ShapeString, Facebinder, Cubic Bezier Curve, Bezier Curve, Label
- Modifying: Move, Rotate, Offset, Trimex, Join, Split, Upgrade, Downgrade, Scale, Edit, SubelementHighlight, Wire to BSpline, Add point, Delete point, Shape 2D View, Draft to Sketch, Array, LinkArray, Polar Array, Circular Array, Path Array, Path LinkArray, 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

- 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, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Points, Raytracing, Reverse Engineering, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Deprecated or unmaintained workbenches: Complete, Drawing, Robot
- Hubs: User hub, Power users hub, Developer hub