Difference between revisions of "Sketcher ConstrainParallel/pt-br"
Jump to navigation
Jump to search
Sketcher
User documentation
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|[[Sketcher_ConstrainPerpendicular|Perpendicular]] | |[[Sketcher_ConstrainPerpendicular|Perpendicular]] | ||
|[[Sketcher_Workbench|Sketcher]] | |[[Sketcher_Workbench|Sketcher]] | ||
− | |IconL= | + | |IconL=Sketcher_ConstrainHorizontal.svg |
+ | |IconR=Sketcher_ConstrainPerpendicular.svg | ||
|IconC=Workbench_Sketcher.svg | |IconC=Workbench_Sketcher.svg | ||
− | |||
}} | }} | ||
<div class="mw-translate-fuzzy"> | <div class="mw-translate-fuzzy"> | ||
− | {{GuiCommand/pt-br|Name=Constraint Parallel|Name/pt-br=Constraint Parallel|Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]]|MenuLocation=Sketch → Sketcher constraints → Constrain parallel|SeeAlso=[[ | + | {{GuiCommand/pt-br |
+ | |Name=Constraint Parallel | ||
+ | |Name/pt-br=Constraint Parallel | ||
+ | |Workbenches=[[Sketcher Workbench/pt-br|Sketcher]], [[PartDesign Workbench/pt-br|PartDesign]] | ||
+ | |MenuLocation=Sketch → Sketcher constraints → Constrain parallel | ||
+ | |SeeAlso=[[Sketcher_ConstrainVertical/pt-br|Constraint Vertical]], [[Sketcher_ConstrainHorizontal/pt-br|Constraint Horizontal]] | ||
+ | }} | ||
</div> | </div> | ||
− | ==Description== | + | ==Description== |
+ | |||
The Constrain Parallel constraint forces two selected straight lines or edges to be parallel to each other. | The Constrain Parallel constraint forces two selected straight lines or edges to be parallel to each other. | ||
− | ==Operation== | + | ==Operation== |
+ | |||
The sketch contains two randomly oriented lines. | The sketch contains two randomly oriented lines. | ||
− | [[Image:ConstrainParallel1.png| | + | [[Image:ConstrainParallel1.png|500px]] |
− | Select both lines by clicking successively on each of them. | + | {{Caption|Select both lines by clicking successively on each of them.}} |
− | [[File:ConstrainParallel2.png| | + | [[File:ConstrainParallel2.png|500px]] |
Apply the Constrain Parallel constraint by either: | Apply the Constrain Parallel constraint by either: | ||
− | * Pressing the {{Button|[[ | + | * Pressing the {{Button|[[File:Sketcher_ConstrainParallel.svg|16px]] [[Sketcher_ConstrainParallel|Constrain parallel]]}} button from the Sketcher constraints toolbar. |
− | * Use the | + | * Use the {{KEY|P}} keyboard shortcut. |
− | * Use the {{MenuCommand|Sketch → Sketcher constraints → Constrain parallel}} entry from the top menu. | + | * Use the {{MenuCommand|Sketch → Sketcher constraints → [[File:Sketcher_ConstrainParallel.svg|16px]] Constrain parallel}} entry from the top menu. |
+ | |||
+ | [[Image:ConstrainParallel3.png|500px]] | ||
+ | |||
+ | {{Caption|Result: The selected lines are forced to be parallel to each other. Changing the orientation of one line will change the orientation of the other to be the same.}} | ||
+ | |||
+ | == Scripting == | ||
+ | |||
+ | {{Code|code=Sketch.addConstraint(Sketcher.Constraint('Parallel', Line1, Line2))}} | ||
− | [[ | + | The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Line1}} and {{incode|Line2}} and contains further examples on how to create constraints from Python scripts. |
− | |||
{{Docnav | {{Docnav | ||
Line 38: | Line 53: | ||
|[[Sketcher_ConstrainPerpendicular|Perpendicular]] | |[[Sketcher_ConstrainPerpendicular|Perpendicular]] | ||
|[[Sketcher_Workbench|Sketcher]] | |[[Sketcher_Workbench|Sketcher]] | ||
− | |IconL= | + | |IconL=Sketcher_ConstrainHorizontal.svg |
+ | |IconR=Sketcher_ConstrainPerpendicular.svg | ||
|IconC=Workbench_Sketcher.svg | |IconC=Workbench_Sketcher.svg | ||
− | |||
}} | }} | ||
− | {{Sketcher Tools navi}} | + | {{Sketcher Tools navi{{#translation:}}}} |
− | + | {{Userdocnavi{{#translation:}}}} | |
− | {{ | + | {{clear}} |
Latest revision as of 20:20, 20 March 2022
|
Veja também |
---|
Sketch → Sketcher constraints → Constrain parallel |
Bancadas de trabalho |
Sketcher, PartDesign |
Atalho padrão |
Nenhum |
Introduzido na versão |
- |
Veja também |
Constraint Vertical, Constraint Horizontal |
Description
The Constrain Parallel constraint forces two selected straight lines or edges to be parallel to each other.
Operation
The sketch contains two randomly oriented lines.
Select both lines by clicking successively on each of them.
Apply the Constrain Parallel constraint by either:
- Pressing the
Constrain parallel button from the Sketcher constraints toolbar.
- Use the P keyboard shortcut.
- Use the Sketch → Sketcher constraints →
Constrain parallel entry from the top menu.
Result: The selected lines are forced to be parallel to each other. Changing the orientation of one line will change the orientation of the other to be the same.
Scripting
Sketch.addConstraint(Sketcher.Constraint('Parallel', Line1, Line2))
The Sketcher scripting page explains the values which can be used for Line1
and Line2
and contains further examples on how to create constraints from Python scripts.
- General: Create sketch, Edit sketch, Leave sketch, View sketch, View section, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, 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, Periodic B-pline, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, 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, Diameter, Radiam, Angle, Snell's law, Internal alignment
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Close shape, Connect edges, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select vertical axis, Select horizontal 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
- 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, 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