Difference between revisions of "Sketcher ConstrainEqual/ja"

From FreeCAD Documentation
Jump to navigation Jump to search
(Created page with "{{GuiCommand/jp|Name=Constraint EqualLength|Workbenches=スケッチャー, パートデザイン|MenuLocation=Sketch →...")
 
(Updating to match new version of source page)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
{{GuiCommand/jp|Name=Constraint EqualLength|Workbenches=[[Sketcher Workbench/jp|スケッチャー]], [[PartDesign Workbench/jp|パートデザイン]]|MenuLocation=Sketch → Sketcher constraints → Constrain equal|SeeAlso=[[Constraint Radius/jp|Constraint Radius]]}}
 
  
==Description==
+
{{Docnav
 +
|[[Sketcher_ConstrainTangent|Tangent]]
 +
|[[Sketcher_ConstrainSymmetric|Symmetric]]
 +
|[[Sketcher_Workbench|Sketcher]]
 +
|IconL=Sketcher_ConstrainTangent.svg
 +
|IconR=Sketcher_ConstrainSymmetric.svg
 +
|IconC=Workbench_Sketcher.svg
 +
}}
  
The Constrain Equal constraint forces two or more line segments in a line , poly-line or rectangle to have equal length. If applied to arcs or circles the radii are constrained to be equal. It cannot be applied to geometry primitives which are not of the same type (e.g. line segments and arcs).
+
<div class="mw-translate-fuzzy">
 +
{{GuiCommand/ja
 +
|Name=Constraint EqualLength
 +
|Name/ja=Constraint EqualLength
 +
|Workbenches=[[Sketcher Workbench/ja|スケッチャー]], [[PartDesign Workbench/ja|パートデザイン]]
 +
|MenuLocation=Sketch → Sketcher constraints → Constrain equal
 +
|SeeAlso=[[Constraint Radius/ja|Constraint Radius]]
 +
}}
 +
</div>
 +
 
 +
==説明==
 +
 
 +
<div class="mw-translate-fuzzy">
 +
ConstrainEqualはライン、ポリライン、長方形に含まれる複数の線分が等しい長さになるように拘束を行います。円弧や円に対して適用した場合はその半径が等しくなるように拘束を行います。異なるタイプの幾何プリミティブ間(例えば線分と円弧)に適用することはできません。
 +
</div>
 +
 
 +
<div class="mw-translate-fuzzy">
 +
==操作==
 +
下のスケッチの例には複数のスケッチプリミティブ(ライン、ポリライン、長方形、円弧、円)が含まれています。
 +
 
 +
[[File:EqualConstraint1.png|256px]]
 +
 
 +
複数の線分を選択します(例えばラインと長方形の一辺)。
 +
 
 +
[[File:EqualConstraint2.png|256px]]
 +
 
 +
(スケッチャーワークベンチまたはパートデザインワークベンチにある)スケッチャーツールバのConstrainEqualアイコン[[File:Constraint_EqualLength.png|16px]]をクリックするか、選択されているワークベンチ(スケッチャーまたはパートデザイン)に応じてSketchメニューアイテムまたはPart DesignメニューアイテムにあるSketcher constraintsサブメニューアイテムのConstrain Equaメニューアイテムを選択して選択アイテムに拘束を適用します。
 +
 
 +
[[File:EqualConstraint3.png|256px]]
 +
 
 +
今度はスケッチ上の円弧と円を選択します。
 +
 
 +
[[File:EqualConstraint4.png|256px]]
 +
 
 +
先ほどと同じようにConstrainEqual[[File:Constraint_EqualLength.png|16px]]拘束を適用します。
 +
 
 +
[[File:EqualConstraint5.png|256px]]
 +
 
 +
今度は線分、ポリラインの全線分、そして長方形の拘束されずに残っている辺の一つを選択します。
 +
 
 +
[[File:EqualConstraint6.png|256px]]
 +
 
 +
先ほどと同じようにConstrainEqual[[File:Constraint_EqualLength.png|16px]]拘束を適用します。
 +
 
 +
[[File:EqualConstraint7.png|256px]]
 +
 
 +
線分と円弧を選択します。
 +
 
 +
[[File:EqualConstraint8.png|256px]]
 +
 
 +
先ほどと同じようにConstrainEqual[[File:Constraint_EqualLength.png|16px]]拘束を適用します。すると拘束アイテム同じ形状タイプ(曲線を含まない線分集合または曲線を含む線分集合)でなければならいということを示すポップアップメッセージが表示されます。
  
==Operation==
 
The example sketch below contains a number of sketch primitives ( line,poly-line, rectangle, arc and circle).<br /><br />
 
[[File:EqualConstraint1.png|256px]]<br /><br />
 
Select two or more line segments (e.g. line and one side of the rectangle).<br /><br />
 
[[File:EqualConstraint2.png|256px]]<br /><br />
 
Click on the Constrain Equal icon  [[File:Constraint_EqualLength.png|16px]] in the Sketcher toolbar (in either the Sketcher or Part Design workbenches) or select the Constrain Equal menu item from the Sketcher constraints sub menu item in either the Sketch or Part Design menu item depending upon which workbench is selected (Sketcher or Part Design) to apply the constraint to the selected items.<br /><br />
 
[[File:EqualConstraint3.png|256px]]<br /><br />
 
Now select the arc and the circle in the sketch.<br /><br />
 
[[File:EqualConstraint4.png|256px]]<br /><br />
 
and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constraint as before.<br /><br />
 
[[File:EqualConstraint5.png|256px]]<br /><br />
 
Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle <br /><br />
 
[[File:EqualConstraint6.png|256px]]<br /><br />
 
and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constraint as before.<br /><br />
 
[[File:EqualConstraint7.png|256px]]<br /><br />
 
Select the line segment and the arc<br /><br />
 
[[File:EqualConstraint8.png|256px]]<br /><br />
 
and apply the Constrain Equal [[File:Constraint_EqualLength.png|16px]] constraint as before. A pop-up message indicates that the constrained items have to be of the same geometrical type (lines of zero curvature or lines of non-zero curvature).<br /><br />
 
 
[[File:EqualConstraint9.png|256px]]
 
[[File:EqualConstraint9.png|256px]]
 +
</div>
 +
 +
The example sketch below contains a number of sketch primitives (line, poly-line, rectangle, arc and circle).
 +
 +
[[File:EqualConstraint1.png]]
 +
 +
Select two or more line segments (e.g. line and one side of the rectangle).
 +
 +
[[File:EqualConstraint2.png]]
 +
 +
Click on {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} in the Sketcher toolbar (in either the Sketcher or Part Design workbenches) or select the Constrain Equal menu item from the Sketcher constraints sub menu item in either the Sketch or Part Design menu item depending upon which workbench is selected (Sketcher or Part Design) to apply the constraint to the selected items.
 +
 +
[[File:EqualConstraint3.png]]
 +
 +
Now select the arc and the circle in the sketch.
 +
 +
[[File:EqualConstraint4.png]]
 +
 +
and apply {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before.
 +
 +
[[File:EqualConstraint5.png]]
 +
 +
Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle
 +
 +
[[File:EqualConstraint6.png]]
 +
 +
and apply {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before.
 +
 +
[[File:EqualConstraint7.png]]
 +
 +
Select the line segment and the arc
 +
 +
[[File:EqualConstraint8.png]]
 +
 +
and apply {{Button|[[File:Sketcher_ConstrainEqual.svg|16px]] [[Sketcher_ConstrainEqual|Constrain equal]]}} as before. A pop-up message indicates that the constrained items have to be of the same geometrical type (lines of zero curvature or lines of non-zero curvature).
 +
 +
[[File:EqualConstraint9.png]]
 +
 +
== Scripting ==
 +
 +
{{Code|code=Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))}}
 +
 +
The [[Sketcher_scripting|Sketcher scripting]] page explains the values which can be used for {{incode|Edge1}} and {{incode|Edge2}} and  contains further examples on how to create constraints from Python scripts.
 +
 +
 +
{{Docnav
 +
|[[Sketcher_ConstrainTangent|Tangent]]
 +
|[[Sketcher_ConstrainSymmetric|Symmetric]]
 +
|[[Sketcher_Workbench|Sketcher]]
 +
|IconL=Sketcher_ConstrainTangent.svg
 +
|IconR=Sketcher_ConstrainSymmetric.svg
 +
|IconC=Workbench_Sketcher.svg
 +
}}
  
[[Category:Sketcher]]
+
{{Sketcher_Tools_navi{{#translation:}}}}
 +
{{Userdocnavi{{#translation:}}}}

Latest revision as of 20:24, 20 March 2022

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский • ‎日本語
Arrow-left.svg Previous: Sketcher ConstrainTangent.svg Tangent
Next: Symmetric Sketcher ConstrainSymmetric.svg Arrow-right.svg

Constraint EqualLength.svg Constraint EqualLength

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

説明

ConstrainEqualはライン、ポリライン、長方形に含まれる複数の線分が等しい長さになるように拘束を行います。円弧や円に対して適用した場合はその半径が等しくなるように拘束を行います。異なるタイプの幾何プリミティブ間(例えば線分と円弧)に適用することはできません。

操作

下のスケッチの例には複数のスケッチプリミティブ(ライン、ポリライン、長方形、円弧、円)が含まれています。

EqualConstraint1.png

複数の線分を選択します(例えばラインと長方形の一辺)。

EqualConstraint2.png

(スケッチャーワークベンチまたはパートデザインワークベンチにある)スケッチャーツールバのConstrainEqualアイコンSketcher ConstrainEqual.pngをクリックするか、選択されているワークベンチ(スケッチャーまたはパートデザイン)に応じてSketchメニューアイテムまたはPart DesignメニューアイテムにあるSketcher constraintsサブメニューアイテムのConstrain Equaメニューアイテムを選択して選択アイテムに拘束を適用します。

EqualConstraint3.png

今度はスケッチ上の円弧と円を選択します。

EqualConstraint4.png

先ほどと同じようにConstrainEqualSketcher ConstrainEqual.png拘束を適用します。

EqualConstraint5.png

今度は線分、ポリラインの全線分、そして長方形の拘束されずに残っている辺の一つを選択します。

EqualConstraint6.png

先ほどと同じようにConstrainEqualSketcher ConstrainEqual.png拘束を適用します。

EqualConstraint7.png

線分と円弧を選択します。

EqualConstraint8.png

先ほどと同じようにConstrainEqualSketcher ConstrainEqual.png拘束を適用します。すると拘束アイテム同じ形状タイプ(曲線を含まない線分集合または曲線を含む線分集合)でなければならいということを示すポップアップメッセージが表示されます。

EqualConstraint9.png

The example sketch below contains a number of sketch primitives (line, poly-line, rectangle, arc and circle).

EqualConstraint1.png

Select two or more line segments (e.g. line and one side of the rectangle).

EqualConstraint2.png

Click on Sketcher ConstrainEqual.svg Constrain equal in the Sketcher toolbar (in either the Sketcher or Part Design workbenches) or select the Constrain Equal menu item from the Sketcher constraints sub menu item in either the Sketch or Part Design menu item depending upon which workbench is selected (Sketcher or Part Design) to apply the constraint to the selected items.

EqualConstraint3.png

Now select the arc and the circle in the sketch.

EqualConstraint4.png

and apply Sketcher ConstrainEqual.svg Constrain equal as before.

EqualConstraint5.png

Now select the line segment, all segments of the poly-line and one of the remaining unconstrained sides of the rectangle

EqualConstraint6.png

and apply Sketcher ConstrainEqual.svg Constrain equal as before.

EqualConstraint7.png

Select the line segment and the arc

EqualConstraint8.png

and apply Sketcher ConstrainEqual.svg Constrain equal as before. A pop-up message indicates that the constrained items have to be of the same geometrical type (lines of zero curvature or lines of non-zero curvature).

EqualConstraint9.png

Scripting

Sketch.addConstraint(Sketcher.Constraint('Equal', Edge1, Edge2))

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


Arrow-left.svg Previous: Sketcher ConstrainTangent.svg Tangent
Next: Symmetric Sketcher ConstrainSymmetric.svg Arrow-right.svg