Sketcher ValidateSketch/zh-cn: Difference between revisions
(Created page with "如有需要,可在下拉字段中定义一个更大的公差值。") |
(Updating to match new version of source page) |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav|[[Sketcher_Reorient|Reorient sketch ]]|[[Sketcher MergeSketches|Merge sketches]]|[[Sketcher_Workbench|Sketcher]]|IconL=|IconC=Workbench_Sketcher.svg|IconR=Sketcher MergeSketch.png}} |
|||
{{Docnav/zh-cn |
|||
⚫ | |||
|[[Sketcher_ReorientSketch/zh-cn|调整草图方向]] |
|||
|Name=Sketcher ValidateSketch |
|||
|[[Sketcher_MergeSketches/zh-cn|合并草图]] |
|||
|Empty=1 |
|||
|[[Sketcher_Workbench/zh-cn|Sketcher]] |
|||
⚫ | |||
|IconL=Sketcher_ReorientSketch.svg |
|||
⚫ | |||
|IconR=Sketcher MergeSketch.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
|Name=校验草图… |
|||
⚫ | |||
⚫ | |||
|SeeAlso=[[Sketcher_ConstrainCoincident/zh-cn|重合约束]], [[Topological_naming_problem/zh-cn|Topological naming problem]] |
|||
}} |
|||
</div> |
|||
<span id="Description"></span> |
|||
==描述== |
==描述== |
||
<div class="mw-translate-fuzzy"> |
|||
'''草图验证(Validate sketch)'''工具可用于修复不可编辑的草图、存在无效约束的草图,以及添加有缺失的[[Sketcher ConstrainCoincident|重合约束]]的根据DXF等文件中导入的几何图形所创建的草图。此工具也可有效的定位本地草图中缺失的重合约束,这个问题将导致在您试图运用一个PartDesign特征时生成一个"can't validate broken face"错误。 |
'''草图验证(Validate sketch)'''工具可用于修复不可编辑的草图、存在无效约束的草图,以及添加有缺失的[[Sketcher ConstrainCoincident|重合约束]]的根据DXF等文件中导入的几何图形所创建的草图。此工具也可有效的定位本地草图中缺失的重合约束,这个问题将导致在您试图运用一个PartDesign特征时生成一个"can't validate broken face"错误。 |
||
</div> |
|||
[[File:Sketcher_ValidateSketch_taskpanel.png|x500px]] |
|||
{{Caption|The Sketcher validation task panel}} |
|||
<span id="Usage"></span> |
|||
[[File:Sketcher validation tasks.png|left]] |
|||
==用法== |
|||
⚫ | |||
==如何使用== |
|||
<div class="mw-translate-fuzzy"> |
|||
# 选择待验证的草图,可以从模型树或通过单击3D视图中目标对象的一条边进行选择。'''请注意:''' 草图一定不能处于编辑模式中。如果您正处于草图编辑模式,需要[[Sketcher LeaveSketch|退出草图编辑模式]]。 |
# 选择待验证的草图,可以从模型树或通过单击3D视图中目标对象的一条边进行选择。'''请注意:''' 草图一定不能处于编辑模式中。如果您正处于草图编辑模式,需要[[Sketcher LeaveSketch|退出草图编辑模式]]。 |
||
# 从Sketch菜单或Part Design菜单中打开草图验证工具。 |
# 从Sketch菜单或Part Design菜单中打开草图验证工具。 |
||
# 执行的具体操作请参考下列[[#选项|选项]]部分。 |
# 执行的具体操作请参考下列[[#选项|选项]]部分。 |
||
# 完成验证后点击{{Button|Close}}按钮。 |
# 完成验证后点击{{Button|Close}}按钮。 |
||
</div> |
|||
<span id="Options"></span> |
|||
==选项== |
==选项== |
||
<span id="Missing_coincidences"></span> |
|||
===缺失重合约束=== |
===缺失重合约束=== |
||
Line 32: | Line 49: | ||
如有需要,可在下拉字段中定义一个更大的公差值。 |
如有需要,可在下拉字段中定义一个更大的公差值。 |
||
Press {{Button|Highlight troublesome vertexes}} to highlight vertexes that are outside this tolerance. |
|||
Leave the "Ignore construction geometry" checkbox checked to disregard construction geometry in the analysis. |
|||
This tolerance is also used by the {{Button|Find}}/{{Button|Fix}} process. |
|||
通过选择"Ignore construction geometry"复选框在分析过程中忽略造型几何图形。 |
|||
===Invalid constraints=== |
|||
<div class="mw-translate-fuzzy"> |
|||
===无效约束=== |
===无效约束=== |
||
</div> |
|||
For example, if there is a Circle-Line-Tangent constraint, but it references two lines, it is considered invalid. |
|||
(This sometimes happens due to the [[Topological_naming_problem|Topological naming problem]], i.e. the external geometry changes type). |
|||
It also does other checks, such as for empty links. |
|||
===Degenerated geometry=== |
|||
Degenerated geometry can result from solver actions in a sketch. |
|||
For instance, if a line is forced to shorten to become almost a point. |
|||
Other examples: a zero length line or zero radius circle/arc. |
|||
===Reversed external geometry=== |
|||
<div class="mw-translate-fuzzy"> |
|||
===逆向外部几何图形=== |
===逆向外部几何图形=== |
||
</div> |
|||
This process might be helpful if sketches with external-geometry fail to solve because of these changes. |
|||
===Constraint orientation locking=== |
===Constraint orientation locking=== |
||
<div class="mw-translate-fuzzy"> |
|||
===约束方向锁定=== |
|||
</div> |
|||
Internally they work by constraining the angle between tangent vectors. With tangent constraint for example, the angle can be 0 or 180 degrees (co-directed or opposed vectors). The actual angle is remembered in the constraint data ("constraint orientation is locked"), it guards against flipping. But the angle can be erased ("constraint orientation unlock") or updated; these tools do exactly that. |
|||
{{Docnav|[[Sketcher_Reorient|Reorient sketch ]]|[[Sketcher MergeSketches|Merge sketches]]|[[Sketcher_Workbench|Sketcher]]|IconL=|IconC=Workbench_Sketcher.svg|IconR=Sketcher MergeSketch.png}} |
|||
The locking mechanism typically works well and this tool should not be needed. '''It should only used after making a backup of the open document.''' |
|||
⚫ | |||
⚫ | |||
{{Docnav/zh-cn |
|||
|[[Sketcher_ReorientSketch/zh-cn|调整草图方向]] |
|||
|[[Sketcher_MergeSketches/zh-cn|合并草图]] |
|||
|[[Sketcher_Workbench/zh-cn|Sketcher]] |
|||
|IconL=Sketcher_ReorientSketch.svg |
|||
|IconR=Sketcher MergeSketch.svg |
|||
|IconC=Workbench_Sketcher.svg |
|||
}} |
|||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 11:15, 27 March 2024
校验草图… |
菜单位置 |
---|
Sketch → Validate sketch… |
所属工作台 |
Sketcher, PartDesign |
默认快捷键 |
沒有 |
版本介紹 |
- |
参阅 |
重合约束, Topological naming problem |
描述
草图验证(Validate sketch)工具可用于修复不可编辑的草图、存在无效约束的草图,以及添加有缺失的重合约束的根据DXF等文件中导入的几何图形所创建的草图。此工具也可有效的定位本地草图中缺失的重合约束,这个问题将导致在您试图运用一个PartDesign特征时生成一个"can't validate broken face"错误。
The Sketcher validation task panel
用法
选项
缺失重合约束
找出有重合关系却缺失重合约束的顶点,并为之添加重合约束。按下Find按钮;程序会弹出一个对话框来报告找到了多少缺失的重合约束; 并在3D视图中以黄色小十字符号表示出来。按下OK来关闭此对话框,再按Fix按钮来添加缺失的重合约束。
如有需要,可在下拉字段中定义一个更大的公差值。
Press Highlight troublesome vertexes to highlight vertexes that are outside this tolerance.
This tolerance is also used by the Find/Fix process.
通过选择"Ignore construction geometry"复选框在分析过程中忽略造型几何图形。
Invalid constraints
无效约束
For example, if there is a Circle-Line-Tangent constraint, but it references two lines, it is considered invalid.
(This sometimes happens due to the Topological naming problem, i.e. the external geometry changes type).
It also does other checks, such as for empty links.
Degenerated geometry
Degenerated geometry can result from solver actions in a sketch.
For instance, if a line is forced to shorten to become almost a point.
Other examples: a zero length line or zero radius circle/arc.
Reversed external geometry
逆向外部几何图形
This process might be helpful if sketches with external-geometry fail to solve because of these changes.
Constraint orientation locking
约束方向锁定
Internally they work by constraining the angle between tangent vectors. With tangent constraint for example, the angle can be 0 or 180 degrees (co-directed or opposed vectors). The actual angle is remembered in the constraint data ("constraint orientation is locked"), it guards against flipping. But the angle can be erased ("constraint orientation unlock") or updated; these tools do exactly that.
The locking mechanism typically works well and this tool should not be needed. It should only used after making a backup of the open document.
- General: Create sketch, Edit sketch, Map sketch to face, Reorient sketch, Validate sketch, Merge sketches, Mirror sketch, Leave sketch, View sketch, View section, Toggle grid, Toggle snap, Configure rendering order, Stop operation
- Sketcher geometries: Point, Line, Arc, Arc by 3 points, Circle, Circle by 3 points, Ellipse, Ellipse by 3 points, Arc of ellipse, Arc of hyperbola, Arc of parabola, B-spline by control points, Periodic B-spline by control points, B-spline by knots, Periodic B-spline by knots, Polyline, Rectangle, Centered rectangle, Rounded rectangle, Triangle, Square, Pentagon, Hexagon, Heptagon, Octagon, Regular polygon, Slot, Fillet, Corner-preserving fillet, Trim, Extend, Split, External geometry, Carbon copy, Toggle construction geometry
- Sketcher constraints:
- Geometric constraints: Coincident, Point on object, Vertical, Horizontal, Parallel, Perpendicular, Tangent, Equal, Symmetric, Block
- Dimensional constraints: Lock, Horizontal distance, Vertical distance, Distance, Radius or weight, Diameter, Auto radius/diameter, Angle, Refraction (Snell's law)
- Constraint tools: Toggle driving/reference constraint, Activate/deactivate constraint
- Sketcher tools: Select unconstrained DoF, Select associated constraints, Select associated geometry, Select redundant constraints, Select conflicting constraints, Show/hide internal geometry, Select origin, Select horizontal axis, Select vertical axis, Symmetry, Clone, Copy, Move, Rectangular array, Remove axes alignment, Delete all geometry, Delete all constraints
- Sketcher B-spline tools: Show/hide B-spline degree, Show/hide B-spline control polygon, Show/hide B-spline curvature comb, Show/hide B-spline knot multiplicity, Show/hide B-spline control point weight, Convert geometry to B-spline, Increase B-spline degree, Decrease B-spline degree, Increase knot multiplicity, Decrease knot multiplicity, Insert knot, Join curves
- Sketcher virtual space: Switch virtual space
- Additional: Sketcher Dialog, Preferences, Sketcher scripting
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub