Sketcher ToggleDrivingConstraint/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav|[[Sketcher_ConstrainInternalAlignment|Internal Alignment]]|[[Sketcher_SelectElementsWithDoFs|Select solver DOFs]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_InternalAlignment.png |IconC=Workbench_Sketcher.svg|IconR=Sketcher SelectElementsWithDoFs.svg}}
<div class="mw-translate-fuzzy">
{{Docnav/ru
|[[Sketcher_ConstrainSnellsLaw/ru|Ограничение преломления (закон Снеллиуса)]]
|[[Sketcher_SelectElementsWithDoFs/ru|Выбрать геометрию имеющую неограниченные степени свободы]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainSnellsLaw.svg
|IconR=Sketcher SelectElementsWithDoFs.svg
|IconC=Workbench_Sketcher.svg
}}
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Переключить ограничения в построительные/основные
|Name=Sketcher ToggleConstraint
|Name=Sketcher_ToggleDrivingConstraint
|Name/ru=Sketcher ToggleConstraint
|MenuLocation=Sketch → Ограничения эскиза → Переключить ограничения в построительные/основные
|Workbenches=[[Sketcher Workbench/ru|Sketcher]], [[PartDesign Workbench/ru|PartDesign]]
|Workbenches=[[Sketcher_Workbench/ru|Sketcher]]
|MenuLocation=Sketch → Ограничения эскиза → Toggle reference/driving constraint
|Version=0.16
|Shortcut=
|SeeAlso=[[Sketcher_ToggleConstruction/ru|Toggle Construction]]
|SeeAlso=[[Sketcher_ToggleConstruction/ru|Переключить построительную геометрию]]
}}
}}
</div>
</div>


==Description==
<span id="Description"></span>
==Описание==


The [[Image:Sketcher ToggleDrivingConstraint.svg|24px]] [[Sketcher_ToggleDrivingConstraint|Sketcher ToggleDrivingConstraint]] tool either toggles the [[Sketcher_Workbench#Sketcher_CompDimensionTools|dimensional constraint creation tools]] between driving and reference mode, or toggles selected dimensional constraints between those modes.
The '''Toggle Constraint''' icon turns dimensional constraints (Lock, Horizontal/Vertical distance, Length, Radius and Angle) into reference mode, and back. The icons in the toolbar turn blue, and rather than dimensional constraints, reference dimensions are created. Reference dimensions do not constrain the sketch. It can be useful to create reference dimensions in a sketch as a way to check on measurements; when given a name, they can also be used to drive constraints in another sketch through [[Expressions|expressions]].


[[File:Sketcher Constraint Toolbar ReferenceMode.png|none]]
''The Sketcher Constraint toolbar with the dimensional constraints in reference dimension mode (blue).''


Contrary to driving constraints, reference constraints do not constrain the sketch, their value depends on other constraints, they are driven. They can be useful to verify measurements. They can be used in [[Expressions|expressions]], but not in the sketch itself.


[[File:Sketcher ToggleConstraint example.png|none]]
[[File:Sketcher ToggleConstraint example.png|none]]
''A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).''
{{Caption|A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).}}


==Usage==
<span id="Usage"></span>
==Применение==


===Toggle tools===
# Press the {{KEY|[[File:Sketcher ToggleConstraint.png|24px]] '''Toggle reference/driving constraint'''}} button. The dimensional constraints icons in the Sketcher Constraints toolbar turn from red to blue.
# The usual method of creating dimensional constraints works the same, but a blue reference dimension is added instead.
# To turn the Sketcher Constraints toolbar back to constraint mode (red), press the Toggle Constraint button again.
# To turn a dimensional constraint into a reference dimension, or the reverse, select it and press the Toggle Constraint button.


# Make sure no dimensional constraints have been selected.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] [[Sketcher_ToggleDrivingConstraint|Toggle driving/reference constraint]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] Toggle driving/reference constraint}} option from the menu.
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|X}}.
# The mode of the dimensional constraint creation tools is toggled:
#* In driving mode their menu and toolbar icons are red, and they create driving constraints (default [[Sketcher_Preferences#Appearance|color]] red). The icon of this tool is then: [[Image:Sketcher_ToggleConstraint.svg|16px]].
#* In reference mode their menu and toolbar icons are blue, and they create reference constraints (default color blue). The icon of this tool is then: [[Image:Sketcher_ToggleConstraint_Driven.svg|16px]].


===Toggle constraints===


# Select one or more dimensional constraints.
{{Docnav|[[Sketcher_ConstrainInternalAlignment|Internal Alignment]]|[[Sketcher_SelectElementsWithDoFs|Select solver DOFs]]|[[Sketcher_Workbench|Sketcher]]|IconL=Constraint_InternalAlignment.png |IconC=Workbench_Sketcher.svg|IconR=Sketcher SelectElementsWithDoFs.svg}}
# Invoke the tool as described above, or with one of the following additional options:
#* {{Version|1.0}}: Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ToggleDrivingConstraint.svg|16px]] Toggle driving/reference constraint}} option from the context menu.
#* Right-click in the '''Constraints''' section of the [[Sketcher_Dialog|Sketcher Dialog]] and select the {{MenuCommand|Toggle to/from reference}} option from the context menu.
# The selected constraints are changed from driving to reference mode or vice versa. Their appearance changes accordingly.
# The mode of the dimensional constraint creation tools is not changed.


{{Sketcher Tools navi}}


<div class="mw-translate-fuzzy">
{{Userdocnavi}}
{{Docnav/ru
|[[Sketcher_ConstrainSnellsLaw/ru|Ограничение преломления (закон Снеллиуса)]]
|[[Sketcher_SelectElementsWithDoFs/ru|Выбрать геометрию имеющую неограниченные степени свободы]]
|[[Sketcher_Workbench/ru|Верстак "Sketcher"]]
|IconL=Sketcher_ConstrainSnellsLaw.svg
|IconR=Sketcher SelectElementsWithDoFs.svg
|IconC=Workbench_Sketcher.svg
}}
</div>

{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 09:59, 21 April 2024

Переключить ограничения в построительные/основные

Системное название
Sketcher_ToggleDrivingConstraint
Расположение в меню
Sketch → Ограничения эскиза → Переключить ограничения в построительные/основные
Верстаки
Sketcher
Быстрые клавиши
Нет
Представлено в версии
0.16
См. также
Переключить построительную геометрию

Описание

The Sketcher ToggleDrivingConstraint tool either toggles the dimensional constraint creation tools between driving and reference mode, or toggles selected dimensional constraints between those modes.

Contrary to driving constraints, reference constraints do not constrain the sketch, their value depends on other constraints, they are driven. They can be useful to verify measurements. They can be used in expressions, but not in the sketch itself.

A horizontal distance constraint (50 mm), a vertical constraint (30 mm) and an angle constraint (75°) were set to define the profile; a reference dimension was added on the slanted line segment to know its length (31.0583 mm).

Применение

Toggle tools

  1. Make sure no dimensional constraints have been selected.
  2. There are several ways to invoke the tool:
    • Press the Toggle driving/reference constraint button.
    • Select the Sketch → Sketcher constraints → Toggle driving/reference constraint option from the menu.
    • Use the keyboard shortcut: K then X.
  3. The mode of the dimensional constraint creation tools is toggled:
    • In driving mode their menu and toolbar icons are red, and they create driving constraints (default color red). The icon of this tool is then: .
    • In reference mode their menu and toolbar icons are blue, and they create reference constraints (default color blue). The icon of this tool is then: .

Toggle constraints

  1. Select one or more dimensional constraints.
  2. Invoke the tool as described above, or with one of the following additional options:
    • introduced in version 1.0: Right-click in the 3D view and select the Toggle driving/reference constraint option from the context menu.
    • Right-click in the Constraints section of the Sketcher Dialog and select the Toggle to/from reference option from the context menu.
  3. The selected constraints are changed from driving to reference mode or vice versa. Their appearance changes accordingly.
  4. The mode of the dimensional constraint creation tools is not changed.