スケッチャー・角度を拘束
|
|
| Menu location |
|---|
| Sketch → Constraints → Angle Dimension |
| Workbenches |
| Sketcher |
| Default shortcut |
| K A |
| Introduced in version |
| - |
| See also |
| Sketcher ConstrainPerpendicular |
Description
The Sketcher ConstrainAngle tool fixes the angle between two edges (lines are then treated as infinite, and open curves are virtually extended as well), the angle of a line with the horizontal axis of the sketch, or the aperture angle of a circular arc.
Usage
See also: Drawing aids.
Continue mode
- Make sure there is no selection.
- There are several ways to invoke the tool:
- introduced in 1.0: If the Dimensioning constraints preference is set to
Single tool(default): press the down arrow to the right of thebutton and select the
Angle Dimension option from the dropdown.
- If this preference has a different value (and in 0.21 and below): press the
Angle Dimension button.
- Select the Sketch → Constraints →
Angle Dimension option from the menu.
- introduced in 1.0: Right-click in the 3D View and select the Dimension →
Angle Dimension option from the context menu.
- Use the keyboard shortcut: K then A.
- introduced in 1.0: If the Dimensioning constraints preference is set to
- The cursor changes to a cross with the tool icon.
- Do one of the following:
- Select two lines.
- Select a point and two edges (in that order).
- Select an edge, a point and an edge (idem).
- If a driving dimensional constraint is created, depending on the preferences, a dialog opens to edit its value. A negative value will reverse the angle direction.
- An angle constraint is added. If a point and two edges have been selected, up to two point-on-object constraints can also be added. See Examples.
- Optionally keep creating constraints.
- To finish, right-click or press Esc, or start another geometry or constraint creation tool.
Run-once mode
- Do one of the following:
- Select a single line.
- Select a single circular arc.
- Select two lines.
- Select a point and two edges (in any order).
- Invoke the tool as described above, or with the following additional option:
- Right-click in the Elements section of the Sketcher Dialog and select the
Angle Dimension option from the context menu.
- Right-click in the Elements section of the Sketcher Dialog and select the
- Optionally edit the constraint value.
- An angle constraint is added. If a point and two edges have been selected, up to two point-on-object constraints can also be added. See Examples.
Examples
Single line
The angle of the line with the positive X-axis of the sketch is fixed.
Single circular arc
The aperture angle of the arc is fixed.
Between two lines
The angle between the two lines is fixed. It is not required that the lines intersect.
Between two edges at point
The angle between the two edges at a given point is fixed. The point can be any point, e.g. the center of a circle, the endpoint of an edge, or the origin, it can belong to either or both edges, and it can also be a point object. If required point-on-object constraint(s) are added to ensure the point lies on both (extended) edges. These additional constraints are called helper constraints.
Scripting
Angle Constraint can be created from macros and from the Python console by using the following:
# line slope angle
Sketch.addConstraint(Sketcher.Constraint('Angle',iline,angle))
# angular span of arc
Sketch.addConstraint(Sketcher.Constraint('Angle',iarc,angle))
# angle between lines
Sketch.addConstraint(Sketcher.Constraint('Angle',iline1,pointpos1,iline2,pointpos2,angle))
# angle-via-point (no helper constraints are added automatically when from python)
Sketch.addConstraint(Sketcher.Constraint('AngleViaPoint',icurve1,icurve2,geoidpoint,pointpos,angle))
where:
Sketchis a sketch objectiline, iline1, iline2are integers specifying the lines by their ordinal numbers inSketch.pointpos1, pointpos2should be 1 for start point and 2 for end point. The choice of endpoints allows to set internal angle (or external), and it affects how the constraint is drawn on the screen.geoidpointandpointposinAngleViaPointare the indexes specifying the point of intersection.angleis the angle value in radians. The angle is counted between tangent vectors in counterclockwise direction. Tangent vectors are pointing from start to end for the lines (or vice versa if ending point is supplied in angle between lines mode), and along counterclockwise direction for circles, arcs and ellipses. Quantity is also accepted as an angle (e.g.App.Units.Quantity('45 deg'))
The Sketcher scripting page explains the values which can be used for iline, iline1, iline2, pointpos1, pointpos2, geoidpoint and pointpos and contains further examples on how to create constraints from Python scripts.
- 全般: スケッチを作成、スケッチを編集、スケッチをアタッチ、スケッチの方向を変更、スケッチを検証、スケッチをマージ、スケッチを鏡像化、スケッチの編集を終了、スケッチを表示、セクション表示、グリッドの表示を切り替え、スナップの切り替え、レンダリング順を設定、操作を停止
- スケッチャージオメトリー: 点を作成、ポリライン(折れ線)を作成、線分を作成、中心点から円弧を作成、3点指定円弧を作成、楕円弧を作成、双曲線の円弧を作成、放物線の円弧を作成、中心を指定して円を作成、3点で円を作成、中心点を指定して楕円を作成、3点を指定して楕円を作成、長方形を作成、中心配置長方形、角丸長方形、正三角形, 正方形、正五角形、正六角形、正七角形、正八角形、正多角形、長円形を作成、円弧状の長円形を作成、制御点によるBスプライン, 制御点によるBスプライン、制御点によるBスプライン、ノットによる周期的Bスプライン、構築ジオメトリの切り替え
- スケッチャー拘束:
- 寸法拘束: 寸法、水平距離拘束、垂直距離拘束、距離拘束、半径/直径を自動拘束、半径拘束、直径拘束、角度を拘束、ロック拘束
- 幾何拘束: 一致拘束(統合)、一致拘束、点がオブジェクト上にある拘束、水平/垂直拘束、水平拘束、垂直拘束、 並行拘束, 直角拘束、正接拘束または共線拘束、等値拘束、対称拘束、固定拘束
- その他の拘束: 屈折率拘束(スネルの法則)
- 拘束ツール: 駆動拘束/参照拘束の切り替え、駆動拘束/参照拘束の切り替え
- スケッチャーツール フレットを作成、面取りを作成、エッジをトリム、エッジを分割、エッジを延長、外部ジオメトリを作成、カーボンコピーを作成、原点を選択, 水平軸を選択、垂直軸を選択、配列変換, 軸周変換、スケール変換、オフセット、対称、軸方向の拘束を解除、すべてのジオメトリーを削除, すべての拘束を削除
- スケッチャーBスプラインツール: ジオメトリをB-スプラインに変換、Bスプラインの次数を増やす、Bスプラインの次数を減らす、ノット多重度を増やす, ノット多重度を減らす、ノットを挿入、曲線を結合
- スケッチャー表示ツール: 未拘束の自由度を選択、関連する拘束を選択、関連する要素を選択、冗長な拘束を選択、競合する拘束を選択、円弧の補助円を表示/非表示、Bスプライン次数の表示/非表示, Bスプライン制御ポリゴンの表示/非表示、Bスプライン曲率コームの表示/非表示、Bスプラインノット多重度の表示/非表示、Bスプライン制御点重みの表示/非表示、内部ジオメトリの表示/非表示、仮想スペース切り替え
- はじめてみよう
- インストール: ダウンロード、Windowsへのインストール、Linuxへのインストール、Macへのインストール、付加機能のインストール、Dockerでのコンパイル、AppImage、Ubuntu Snap
- 基本: FreeCADについて、ユーザー・インタフェース、Mマウス・ナビゲーション、オブジェクトの選択方法、オブジェクトの名前、設定、ワークベンチ、FreeCADファイルの構造、プロパティ、FreeCADへの貢献、寄付
- ヘルプ: チュートリアル、チュートリアル動画
- ワークベンチ: 共通ツール、アセンブリー、BIM、CAM、ドラフト、FEM、インスペクション、マテリアル、メッシュ、OpenSCAD、 パート、パートデザイン、ポイント、リバースエンジニアリング、ロボット、スケッチャー、スプレッドシート、サーフェス、テックドロー、テストフレームワーク
- 情報ハブ: ユーザー向けハブ、パワーユーザー向けハブ、開発者向けハブ