Sketcher ConstrainRadiam: Difference between revisions

From FreeCAD Documentation
No edit summary
(Docnav)
Line 5: Line 5:
<!--T:7-->
<!--T:7-->
{{Docnav
{{Docnav
|[[Sketcher_ConstrainDistance|Distance]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_ConstrainRadius|Radius]]
|[[Sketcher_ConstrainAngle|Angle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainDiameter.svg
|IconL=Sketcher_ConstrainDistance.svg
|IconR=Sketcher_ConstrainAngle.svg
|IconR=Sketcher_ConstrainRadius.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 62: Line 62:
<!--T:8-->
<!--T:8-->
{{Docnav
{{Docnav
|[[Sketcher_ConstrainDistance|Distance]]
|[[Sketcher_ConstrainDiameter|Diameter]]
|[[Sketcher_ConstrainRadius|Radius]]
|[[Sketcher_ConstrainAngle|Angle]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_ConstrainDiameter.svg
|IconL=Sketcher_ConstrainDistance.svg
|IconR=Sketcher_ConstrainAngle.svg
|IconR=Sketcher_ConstrainRadius.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}

Revision as of 10:15, 8 March 2024

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Sketcher ConstrainRadiam

Menu location
Sketch → Sketcher constraints → Constrain auto radius/diameter
Workbenches
Sketcher
Default shortcut
K S
Introduced in version
0.20
See also
Sketcher Constrain distance, Sketcher Constrain horizontal distance, Sketcher Constrain vertical distance

Description

The Sketcher ConstrainRadiam tool fixes the radius of arcs and B-spline weight circles, and the diameter of circles.

Usage

See also: Drawing aids.

Continue mode

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Constrain auto radius/diameter button.
    • Select the Sketch → Sketcher constraints → Constrain auto radius/diameter option from the menu.
    • introduced in version 0.22: Right-click in the 3D view and select the Dimension → Constrain auto radius/diameter option from the context menu.
    • Use the keyboard shortcut: K then S.
  3. For further steps see Sketcher ConstrainRadius.

Once-only mode

See Sketcher ConstrainRadius.

Scripting

Sketch.addConstraint(Sketcher.Constraint('Radius', ArcOrCircle, App.Units.Quantity('123.0 mm')))
Sketch.addConstraint(Sketcher.Constraint('Diameter', ArcOrCircle, App.Units.Quantity('246.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.