Sketcher ConstrainDistance/it: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(38 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{Docnav/it|[[Sketcher_ConstrainDistanceY/it|Distanza verticale]]|[[Sketcher_ConstrainRadius/it|Raggio]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_VerticalDistance.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint_Radius.png}} |
|||
{{GuiCommand/it|Name=Constraint Length|Name/it=Lunghezza|Workbenches=[[Sketcher Workbench/it|Schizzo]], [[PartDesign Workbench/it|PartDesign]]|MenuLocation=PartDesign → Schizzo → Lunghezza|SeeAlso=[[Constraint HorizontalDistance/it|Distanza Orizzontale]], [[Constraint VerticalDistance/it|Distanza Verticale]]}} |
|||
</div> |
</div> |
||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
{{GuiCommand/it |
|||
|Name=Sketcher ConstrainDistance |
|||
|Name/it=Distanza |
|||
|Workbenches=[[Sketcher Workbench/it|Schizzo]] |
|||
|MenuLocation=Sketch → Vincolo → Distanza |
|||
|Shortcut={{KEY|Maiusc}} + {{KEY|D}} |
|||
|SeeAlso=[[Sketcher ConstrainDistanceX/it|Distanza Orizzontale]], [[Sketcher ConstrainDistanceY/it|Distanza Verticale]] |
|||
}} |
|||
</div> |
|||
==Description== |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Selezionare una linea nello schizzo, |
|||
==Descrizione== |
|||
⚫ | |||
</div> |
|||
[[Image:Sketcher_ConstrainDistance_example.png]] |
|||
[[File:LengthConstraint1.png|256px]] |
|||
<span id="Usage"></span> |
|||
facendo clic sulla linea (che diventa verde scuro). |
|||
==Utilizzo== |
|||
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]]. |
|||
[[File:LengthConstraint2.png|256px]] |
|||
===[[Sketcher_Workbench#Continue_modes|Continue mode]]=== |
|||
Applicare il vincolo Lunghezza selezionando l'icona [[File:Constraint_Length.png|16px]] nella barra degli strumenti di vincolo o selezionando il vincolo Distanza dal sottomenu dell'ambiente Schizzo (o quello dell'ambiente Parte). |
|||
<div class="mw-translate-fuzzy"> |
|||
[[File:LengthConstraint3.png|256px]] |
|||
# Selezionare due punti o una linea |
|||
# Richiamare il comando in uno di questi modi: |
|||
#* Cliccare sull'icona {{KEY|[[File:Sketcher ConstrainDistance.png|24px]] '''Distanza'''}} della barra degli strumenti. |
|||
#* Usare la scorciatoia da tastiera {{KEY|Maiusc}} + {{KEY|D}}. |
|||
#* Usare la voce {{MenuCommand|Sketch → Vincoli → Distanza}} dal menu principale. |
|||
# Si apre una finestra di dialogo per modificare o confermare il valore. Premere {{KEY|OK}} per confermare. |
|||
</div> |
|||
===Run-once mode=== |
|||
La lunghezza della linea viene vincolata al suo valore attuale. Un doppio clic sul vincolo nella vista 3D o nella scheda Attività della vista Combinata, apre una finestra di dialogo e consente di modificare il valore di vincolo. |
|||
# Do one of the following: |
|||
[[File:LengthConstraint4.png|256px]] |
|||
#* Select a single line. |
|||
#* Select two points. |
|||
#* Select a point and a line (in any order). |
|||
#* Select the edges of two circles or arcs. |
|||
#* Select the edge of a circle or arc and a line (idem). |
|||
#* {{Version|1.0}}: Select the edge of a single arc. |
|||
# Invoke the tool as explained above. |
|||
# Optionally [[Sketcher_Workbench#Edit_constraints|edit the constraint value]]. |
|||
# A constraint is added. |
|||
==Notes== |
|||
Immettere il valore desiderato e fare clic su OK per impostare la lunghezza del vincolo. |
|||
<div class="mw-translate-fuzzy"> |
|||
[[File:LengthConstraint5.png|256px]] |
|||
===Suggerimento=== |
|||
⚫ | Quando sono applicabili conviene usare il vincolo {{Button|[[File:Sketcher ConstrainDistanceX.svg|16px]] [[Sketcher ConstrainDistanceX/it|Distanza Orizzontale]]}} o il vincolo {{Button|[[File:Sketcher ConstrainDistanceY.svg|16px]] [[Sketcher ConstrainDistanceY/it|Distanza Verticale]]}}. Questi vincoli sono più robusti e più veloci da calcolare rispetto al vincolo di Lunghezza documentato qui. |
||
</div> |
|||
== Scripting == |
|||
Il vincolo Lunghezza limita anche la distanza tra una linea e un punto. |
|||
Distance from origin: |
|||
[[File:LengthConstraint6.png|256px]] |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Distance', Edge, PointOfEdge, -1, 1, App.Units.Quantity('123.0 mm')))}} |
|||
Selezionare una linea e un punto nello schizzo, |
|||
Distance between two vertices: |
|||
[[File:LengthConstraint7.png|256px]] |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Distance', Edge1, PointOfEdge1, Edge2, PointOfEdge2, App.Units.Quantity('123.0 mm')))}} |
|||
quindi applicare il vincolo come prima. |
|||
Length of line (the GUI allows selecting the edge itself, but it is just a shorthand for using the two extremities of the same line): |
|||
[[File:LengthConstraint8.png|256px]] |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Distance', Line, 1, Line, 2, App.Units.Quantity('123.0 mm')))}} |
|||
La distanza perpendicolare tra il punto e la linea è vincolata al suo valore attuale. |
|||
La distanza può essere modificata nel modo descritto prima per impostare il vincolo ad un valore desiderato. |
|||
Distance from point ({{incode|Edge, PointOfEdge}}) to perpendicular point on line ({{incode|Line}}): |
|||
Il vincolo può essere applicato anche a due punti, scelti qui alle due estremità di una polilinea. |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Distance', Edge, PointOfEdge, Line, 0, App.Units.Quantity('123.0 mm')))}} |
|||
[[File:LengthConstraint9.png|256px]] |
|||
Distance between the edges of two circles: |
|||
Applicare il vincolo come prima, |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Distance', Circle1, 0, Circle2, 0, App.Units.Quantity('123.0 mm')))}} |
|||
[[File:LengthConstraint10.png|256px]] |
|||
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Edge}}, {{incode|Edge1}}, {{incode|Edge2}}, {{incode|PointOfEdge}}, {{incode|PointOfEdge1}}, {{incode|PointOfEdge2}}, {{incode|Line}}, {{incode|Circle1}} and {{incode|Circle2}}, and contains further examples on how to create constraints from Python scripts. |
|||
e la distanza tra i due punti selezionati viene vincolata. Essa può essere modificata come descritto prima per impostare un valore desiderato. |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/it|[[Sketcher_ConstrainDistanceY/it|Distanza verticale]]|[[Sketcher_ConstrainRadius/it|Raggio]]|[[Sketcher_Workbench/it|Sketcher]]|IconL=Constraint_VerticalDistance.svg|IconC=Workbench_Sketcher.svg|IconR=Constraint_Radius.png}} |
|||
</div> |
|||
{{Sketcher_Tools_navi{{#translation:}}}} |
|||
{{clear}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 15:11, 23 April 2024
Distanza |
Posizione nel menu |
---|
Sketch → Vincolo → Distanza |
Ambiente |
Schizzo |
Avvio veloce |
Maiusc + D |
Introdotto nella versione |
- |
Vedere anche |
Distanza Orizzontale, Distanza Verticale |
Description
Descrizione
Il vincolo Distanza impone alla lunghezza di una linea, alla distanza perpendicolare tra un punto e una linea o alla distanza tra due punti di assumere un valore specifico.
Utilizzo
See also: Drawing aids.
Continue mode
- Selezionare due punti o una linea
- Richiamare il comando in uno di questi modi:
- Si apre una finestra di dialogo per modificare o confermare il valore. Premere OK per confermare.
Run-once mode
- Do one of the following:
- Select a single line.
- Select two points.
- Select a point and a line (in any order).
- Select the edges of two circles or arcs.
- Select the edge of a circle or arc and a line (idem).
- introduced in version 1.0: Select the edge of a single arc.
- Invoke the tool as explained above.
- Optionally edit the constraint value.
- A constraint is added.
Notes
Suggerimento
Quando sono applicabili conviene usare il vincolo Distanza Orizzontale o il vincolo Distanza Verticale. Questi vincoli sono più robusti e più veloci da calcolare rispetto al vincolo di Lunghezza documentato qui.
Scripting
Distance from origin:
Sketch.addConstraint(Sketcher.Constraint('Distance', Edge, PointOfEdge, -1, 1, App.Units.Quantity('123.0 mm')))
Distance between two vertices:
Sketch.addConstraint(Sketcher.Constraint('Distance', Edge1, PointOfEdge1, Edge2, PointOfEdge2, App.Units.Quantity('123.0 mm')))
Length of line (the GUI allows selecting the edge itself, but it is just a shorthand for using the two extremities of the same line):
Sketch.addConstraint(Sketcher.Constraint('Distance', Line, 1, Line, 2, App.Units.Quantity('123.0 mm')))
Distance from point (Edge, PointOfEdge
) to perpendicular point on line (Line
):
Sketch.addConstraint(Sketcher.Constraint('Distance', Edge, PointOfEdge, Line, 0, App.Units.Quantity('123.0 mm')))
Distance between the edges of two circles:
Sketch.addConstraint(Sketcher.Constraint('Distance', Circle1, 0, Circle2, 0, App.Units.Quantity('123.0 mm')))
The Sketcher scripting page explains the values which can be used for Edge
, Edge1
, Edge2
, PointOfEdge
, PointOfEdge1
, PointOfEdge2
, Line
, Circle1
and Circle2
, and contains further examples on how to create constraints from Python scripts.
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
- 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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub