Sketcher ConstrainHorizontal/ja: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu}}

{{Docnav
{{Docnav
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_ConstrainVertical|Vertical]]
|[[Sketcher_ConstrainParallel|Parallel]]
|[[Sketcher_ConstrainParallel|Parallel]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Constraint_Vertical.png
|IconL=Sketcher_ConstrainVertical.svg
|IconR=Sketcher_ConstrainParallel.svg
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
|IconR=Constraint Parallel.svg
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/jp|Name=Sketcher ConstrainHorizontal|Workbenches=[[Sketcher Workbench/jp|スケッチャー]], [[PartDesign Workbench/jp|パートデザイン]]|MenuLocation=Sketch → Sketcher constraints → Constrain horizontally|SeeAlso=[[Constraint Vertical/jp|Constraint Vertical]]}}
{{GuiCommand/ja
|Name=Sketcher ConstrainHorizontal
|Name/ja=Sketcher ConstrainHorizontal
|Workbenches=[[Sketcher Workbench/ja|スケッチャー]], [[PartDesign Workbench/ja|パートデザイン]]
|MenuLocation=Sketch → Sketcher constraints → Constrain horizontally
|SeeAlso=[[Constraint Vertical/ja|Constraint Vertical]]
}}
</div>


==説明==
==説明==
Line 19: Line 29:
</div>
</div>


<div class="mw-translate-fuzzy">
[[File:HorizontalConstraint1.png|left|256px]]
[[File:HorizontalConstraint1.png|left|256px]]
スケッチ上の線をクリックして選択します。
スケッチ上の線をクリックして選択します。
Line 34: Line 45:
上で示したように線を選択して拘束を適用すると、それらがスケッチの水平軸に平行になるように拘束されます。
上で示したように線を選択して拘束を適用すると、それらがスケッチの水平軸に平行になるように拘束されます。
<br style="clear: both" />
<br style="clear: both" />
</div>

[[File:HorizontalConstraint2.png|500px]]
{{Caption|The line turns dark green.}}

[[File:HorizontalConstraint3.png|500px]]
{{Caption|Apply the Horizontal Constraint by clicking on the {{Button|[[File:Sketcher_ConstrainHorizontal.svg|16px]] [[Sketcher_ConstrainHorizontal|Constraint horizontal]]}} in the Sketcher Constraints toolbar or by selecting the Constrain horizontally menu item in the Sketcher constraints sub menu of the Sketcher menu item in the Sketcher work bench (or the Part Design menu item of the Part Design work bench). The selected line is constrained to be parallel to the horizontal axis of the sketch.}}

[[File:HorizontalConstraint4.png|500px]]
{{Caption|Multiple lines may be selected}}

[[File:HorizontalConstraint5.png|500px]]
{{Caption|and then applying the constraint as described above, they are constrained to be parallel to the sketch horizontal axis.}}

== Scripting ==

{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Horizontal', Line))}}

The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Line}} and contains further examples on how to create constraints from Python scripts.



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 39: Line 70:
</div>
</div>


{{Sketcher Tools navi}}
{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

{{Userdocnavi}}
{{clear}}

Revision as of 09:48, 7 November 2021

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Sketcher ConstrainHorizontal

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

説明

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

使用方法

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

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

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

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

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

The line turns dark green.

Apply the Horizontal Constraint by clicking on the Constraint horizontal in the Sketcher Constraints toolbar or by selecting the Constrain horizontally menu item in the Sketcher constraints sub menu of the Sketcher menu item in the Sketcher work bench (or the Part Design menu item of the Part Design work bench). The selected line is constrained to be parallel to the horizontal axis of the sketch.

Multiple lines may be selected

and then applying the constraint as described above, they are constrained to be parallel to the sketch horizontal axis.

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.