Sketcher ConstrainRadius: Difference between revisions
(Added documentation for the Constrain radius item davec49) |
(Marked this version for translation) |
||
(75 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Constraint Radius|Workbenches=[[Sketcher Workbench|Sketcher]], [[PartDesign Module|PartDesign_Workbench]]|MenuLocation=Sketcher → Constrain radius|SeeAlso=[[Constraint distance]], [[Constraint horizontal]], [[Constraint vertical]]}} |
|||
<translate> |
|||
<!--T:8--> |
|||
⚫ | |||
{{Docnav |
|||
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]] |
|||
|[[Sketcher_ConstrainDiameter|Diameter]] |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
|IconL=Sketcher_ConstrainRadiam.svg |
|||
|IconR=Sketcher_ConstrainDiameter.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
|||
<!--T:1--> |
|||
This constraint constrains the value of the radius of a circle or arc to have a specific value. Only one arc or circle can be constrained at a time. |
|||
{{GuiCommand |
|||
|Name=Sketcher ConstrainRadius |
|||
|MenuLocation=Sketch → Sketcher constraints → Constrain radius |
|||
|Workbenches=[[Sketcher_Workbench|Sketcher]] |
|||
|Shortcut={{KEY|K}} {{KEY|R}} |
|||
|SeeAlso=[[Sketcher_ConstrainRadiam|Sketcher ConstrainRadiam]], [[Sketcher_ConstrainDiameter|Sketcher ConstrainDiameter]] |
|||
}} |
|||
⚫ | |||
<!--T:6--> |
|||
====Operation==== |
|||
The [[Image:Sketcher_ConstrainRadius.svg|24px]] [[Sketcher_ConstrainRadius|Sketcher ConstrainRadius]] tool fixes the radius of circles, arcs and [[Sketcher_CreateBSpline#Notes|B-spline weight circles]]. |
|||
</translate> |
|||
[[File:ConstrainRadius1.png|256px]] |
|||
[[File:Sketcher ConstrainRadius example.png]] |
|||
<translate> |
|||
==Usage== <!--T:3--> |
|||
Select an arc or circle in the sketch by clicking on is ( turns dark green to indicate selection). |
|||
<!--T:14--> |
|||
[[File:ConstrainRadius2.png|256px]] |
|||
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]]. |
|||
===[[Sketcher_Workbench#Continue_modes|Continue mode]]=== <!--T:15--> |
|||
Apply the constraint by clicking on the Constrain Radius icon [[File:Constraint_Radius.png|16px]] in the Sketcher toolbar or selecting the Constrain radius menu item from the Sketcher constraints sub menu of the the Sketcher (or Part Design) menu item (depending upon which workbench is selected). |
|||
<!--T:4--> |
|||
[[File:ConstrainRadius3.png|256px]] |
|||
# Make sure there is no selection. |
|||
# There are several ways to invoke the tool: |
|||
#* {{Version|1.0}}: If the {{MenuCommand|Dimensioning constraints}} [[Sketcher_Preferences#General|preference]] is set to {{Value|Single tool}} (default): press the down arrow to the right of the {{Button|[[Image:Sketcher_Dimension.svg||x16px]][[Image:Toolbar_flyout_arrow.svg|x16px]]}} button and select the {{MenuCommand|[[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the dropdown. |
|||
#* If this preference has a different value (and in {{VersionMinus|0.21}}): press the {{Button|[[Image:Sketcher_ConstrainRadius.svg|16px]] [[Sketcher_ConstrainRadius|Constrain radius]]}} button. |
|||
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the menu. |
|||
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|Dimension → [[Image:Sketcher_ConstrainRadius.svg|16px]] Constrain radius}} option from the context menu. |
|||
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|R}}. |
|||
# For further steps see [[Sketcher_ConstrainRadiam#Continue_mode|Sketcher ConstrainRadiam]]. |
|||
===Run-once mode=== <!--T:16--> |
|||
The radius is constrained to have its current value when the constraint is applied. |
|||
<!--T:17--> |
|||
To change the constraint value either double click on the constraint in the 3D display (turning red indicates the constraint is currently selected) or by double clicking on the constraint in the Constraints panel of the Tasks tab of the Combo View. This will bring up a pop-up window. |
|||
See [[Sketcher_ConstrainRadiam#Once-only_mode|Sketcher ConstrainRadiam]]. |
|||
== Scripting == <!--T:12--> |
|||
[[File:ConstrainRadius4.png|256px]] |
|||
</translate> |
|||
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))}} |
|||
<translate> |
|||
<!--T:13--> |
|||
Enter the dsired value for the radius into the pop-up window and click OK to set the value of the constraint. |
|||
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|ArcOrCircle}}, and contains further examples on how to create constraints from Python scripts. |
|||
[[File:ConstrainRadius5.png|256px]] |
|||
<!--T:9--> |
|||
The constraint value is set to the value entered in the pop-up window. |
|||
{{Docnav |
|||
|[[Sketcher_ConstrainRadiam|Auto radius/diameter]] |
|||
|[[Sketcher_ConstrainDiameter|Diameter]] |
|||
|[[Sketcher_Workbench|Sketcher]] |
|||
|IconL=Sketcher_ConstrainRadiam.svg |
|||
|IconR=Sketcher_ConstrainDiameter.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
|||
</translate> |
|||
{{languages | {{es|Sketcher_Arc/es}} }} |
|||
{{Sketcher_Tools_navi{{#translation:}}}} |
|||
--[[User:Jdurston|Jdurston]] 00:34, 16 November 2011 (UTC) |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 15:16, 23 April 2024
Sketcher ConstrainRadius |
Menu location |
---|
Sketch → Sketcher constraints → Constrain radius |
Workbenches |
Sketcher |
Default shortcut |
K R |
Introduced in version |
- |
See also |
Sketcher ConstrainRadiam, Sketcher ConstrainDiameter |
Description
The Sketcher ConstrainRadius tool fixes the radius of circles, arcs and B-spline weight circles.
Usage
See also: Drawing aids.
Continue mode
- Make sure there is no selection.
- There are several ways to invoke the tool:
- introduced in version 1.0: If the Dimensioning constraints preference is set to
Single tool
(default): press the down arrow to the right of the button and select the Constrain radius option from the dropdown. - If this preference has a different value (and in version 0.21 and below): press the Constrain radius button.
- Select the Sketch → Sketcher constraints → Constrain radius option from the menu.
- introduced in version 1.0: Right-click in the 3D view and select the Dimension → Constrain radius option from the context menu.
- Use the keyboard shortcut: K then R.
- introduced in version 1.0: If the Dimensioning constraints preference is set to
- For further steps see Sketcher ConstrainRadiam.
Run-once mode
Scripting
Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))
The Sketcher scripting page explains the values which can be used for ArcOrCircle
, and contains further examples on how to create constraints from Python scripts.
Sketcher
- 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
User documentation
- 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