Sketcher ConstrainDistance: Difference between revisions
m (template fr) |
(Marked this version for translation) |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Constraint Length|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Workbench|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain distance|SeeAlso=[[Constraint HorizontalDistance]], [[Constraint VerticalDistance]]}} |
|||
<translate> |
|||
<!--T:12--> |
|||
{{Docnav|[[Sketcher_ConstrainDistanceY|Vertical Distance]]|[[Sketcher_ConstrainRadius|Radius]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_VerticalDistance.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Radius.png}} |
|||
<!--T:1--> |
|||
⚫ | |||
{{GuiCommand |
|||
|Name=Sketcher ConstrainDistance |
|||
|Workbenches=[[Sketcher Workbench|Sketcher]] |
|||
|MenuLocation=Sketch → Sketcher constraints → Constrain distance |
|||
|Shortcut=Shift + D |
|||
|SeeAlso=[[Sketcher ConstrainDistanceX|Constrain horizontal distance]], [[Sketcher ConstrainDistanceY|Constrain vertical distance]] |
|||
}} |
|||
⚫ | |||
'''Constrain distance''' constrains the length of a line, the perpendicular distance between a point and a line or the distance between two points to have a specified value. |
|||
</translate> |
|||
====Operation==== |
|||
[[File:Sketcher ConstrainDistance example.png|none]] |
|||
<translate> |
|||
==How to use== <!--T:9--> |
|||
<!--T:10--> |
|||
[[File:LengthConstraint1.png|left|256px]] |
|||
# Pick two points or one line or one point and one line. |
|||
Select a line in the sketch, |
|||
# Press the {{KEY|[[File:Sketcher ConstrainDistance.png|24px]] '''Constrain distance'''}} button. |
|||
<br style="clear: both" /> |
|||
# A pop up dialog opens to edit or confirm the value. Press {{KEY|OK}} to validate. |
|||
[[File:LengthConstraint2.png|right|256px]] |
|||
by clicking on the line (it turns dark green). |
|||
<!--T:8--> |
|||
<br style="clear: both" /> |
|||
'''Note:''' the constraint tool can also be started with no prior selection. To set the perpendicular distance between a point and a line, the point needs to be selected first. By default the command will be in continue mode to create new constraints; press the right mouse button or {{KEY|ESC}} once to quit the command. |
|||
[[File:LengthConstraint3.png|left|256px]] |
|||
Apply the Length Constraint by selecting the icon [[File:Constraint_Length.png|16px]] from the Sketcher Constraints toolbar or selecting the Constrain distance menu item from the Sketcher Constraints sub-menu of the Sketcher menu item in the Sketcher workbench (or Part Design in the Part Design workbench). |
|||
===Hint=== <!--T:3--> |
|||
<br style="clear: both" /> |
|||
If applicable please consider using the [[Sketcher ConstrainDistanceX|Horizontal distance]] or [[Sketcher ConstrainDistanceY|Vertical distance]] constraints instead. These constraints are more robust and faster to calculate than the here documented length constraint. |
|||
[[File:LengthConstraint4.png|right|256px]] |
|||
The length of the line is constrained to its current value.Double clicking on the constraint in the 3D view or in the Tasks tab of the Combo View will bring up a dialog box to allow the constraint value to be edited. |
|||
<!--T:13--> |
|||
<br style="clear: both" /> |
|||
{{Docnav|[[Sketcher_ConstrainDistanceY|Vertical Distance]]|[[Sketcher_ConstrainRadius|Radius]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_VerticalDistance.png|IconC=Workbench_Sketcher.svg|IconR=Constraint_Radius.png}} |
|||
[[File:LengthConstraint5.png|left|256px]] |
|||
Enter the required value and click OK to set the constraint length. |
|||
<!--T:14--> |
|||
<br style="clear: both" /> |
|||
{{Sketcher Tools navi}} |
|||
[[File:LengthConstraint6.png|right|256px]] |
|||
The Length Constraint also constrains the distance between a line and a point. |
|||
<!--T:15--> |
|||
<br style="clear: both" /> |
|||
{{Userdocnavi}} |
|||
[[File:LengthConstraint7.png|left|256px]] |
|||
Select the line and a point in the sketch, |
|||
</translate> |
|||
<br style="clear: both" /> |
|||
{{clear}} |
|||
[[File:LengthConstraint8.png|right|256px]] |
|||
then apply the constraint as before. |
|||
The perpendicular distance between the point and the line is constrained to its current value. this may be edited as described above to set the constraint to a desired value. |
|||
<br style="clear: both" /> |
|||
[[File:LengthConstraint9.png|left|256px]] |
|||
The constraint may also be applied to two points, selected here at either end of a poly-line. |
|||
<br style="clear: both" /> |
|||
[[File:LengthConstraint10.png|right|256px]] |
|||
Applying the constraint as before, |
|||
the distance between the two selected points is constrained. As described above it may be edited to set a desired value. |
|||
<br style="clear: both" /> |
|||
{{languages | {{es|Constraint_Length/es}} {{fr|Constraint_Length/fr}} {{it|Constraint_Length/it}} }} |
Revision as of 13:34, 19 February 2019
|
Menu location |
---|
Sketch → Sketcher constraints → Constrain distance |
Workbenches |
Sketcher |
Default shortcut |
Shift + D |
Introduced in version |
- |
See also |
Constrain horizontal distance, Constrain vertical distance |
Description
Constrain distance constrains the length of a line, the perpendicular distance between a point and a line or the distance between two points to have a specified value.
![](/images/c/ce/Sketcher_ConstrainDistance_example.png)
How to use
- Pick two points or one line or one point and one line.
- Press the
Constrain distance button.
- A pop up dialog opens to edit or confirm the value. Press OK to validate.
Note: the constraint tool can also be started with no prior selection. To set the perpendicular distance between a point and a line, the point needs to be selected first. By default the command will be in continue mode to create new constraints; press the right mouse button or ESC once to quit the command.
Hint
If applicable please consider using the Horizontal distance or Vertical distance constraints instead. These constraints are more robust and faster to calculate than the here documented length constraint.
- 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
![](/images/thumb/9/94/User_hub.png/24px-User_hub.png)
- 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