Sketcher ConstrainHorizontal スケッチャー

From FreeCAD Documentation
This page is a translated version of the page Sketcher ConstrainHorizontal and the translation is 13% complete.
Outdated translations are marked like this.

Sketcher ConstrainHorizontal

メニューの場所
Sketch → Sketcher constraints → Constrain horizontally
ワークベンチ
スケッチャー, パートデザイン
デフォルトのショートカット
None
バージョンで導入
-
も参照してください
Constraint Vertical

説明

HorizontalConstraintは選択された線または画像の辺がスケッチの水平軸と平行なるように拘束を行います。

introduced in version 1.0: In most cases it is advisable to use the combined Sketcher ConstrainHorVer tool instead.

使用方法

See also: Drawing aids.

Continue mode

スケッチ上の線をクリックして選択します。

線が暗緑色に変わります。

Sketcher ConstraintsツールバーのHorizontalConstraintアイコンをクリックするか、スケッチャーワークベンチのSketcherメニューアイテム(あるいはパートデザインワークベンチのPart Designメニューアイテム)にあるSketcher constraintsサブメニューのConstrain horizontallyメニューアイテムを選択してHorizontalConstraintを適用します。すると選択された線がスケッチの水平軸に平行になるように拘束されます。

複数の線を選択することもできます。

上で示したように線を選択して拘束を適用すると、それらがスケッチの水平軸に平行になるように拘束されます。

Run-once mode

  1. Do one of the following:
    • Select two or more points.
    • Select one or more lines. Points can be included in the selection, but will be ignored.
  2. Invoke the tool as explained above, or with the following additional option:
  3. Depending on the selection one or more constraints are added.

Scripting

Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))

The Sketcher scripting page explains the values which can be used for Line and contains further examples on how to create constraints from Python scripts.