Sketcher ConstrainHorizontal スケッチャー

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

Sketcher ConstrainHorizontal

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

説明

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

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

使用方法

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

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

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

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

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

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.