To aid in the process of assembling parts, Onshape provides some convenient tools in the context menu for selected parts:
- Hide
- Isolate
- 使之透明
使用这些命令可访问任务所需的零件和配合,而不必费力地查找零件和子装配体并将其移开以访问相关的图元。
以下示例使用此模型:
Hide all parts, selected parts, or unselected parts to aid in visualizing or evaluating the movement of an assembly.
To hide parts:
-
Select parts in the graphics area or in the Assembly list.
-
Use a box select to select multiple parts.
-
Select a folder in the Assembly list to select all parts in that folder.
-
-
Right-click to access the context menu and choose an option:
-
Hide - Hides the selected part or parts
-
Hide other instances - Hides all unselected instances.
-
Hide all instances - Hides all selected and unselected instances.
-
This command is a toggle: Hide/Show.
You can also use the y shortcut key to hide a part under the cursor; the part will show a highlight on hover. To show the part again, right-click and select Show all or Show all parts.
隐藏示例
The selected parts in the assembly:
The model after Hide:
The model after Hide other instances
隔离的工作方式与隐藏类似,不同之处在于未选的零件在视觉上保持可见以供参照,但是颜色淡化且不可选择,直到您退出隔离模式。未选的零件的任何配合连接器和配合也会颜色淡化且不可选择。与隐藏命令一样,您可以在特征列表和图形区域中选择零件,也可以使用框选功能来进行选择。选定零件的所有配合和配合连接器在配合过程中也可供选择。
可将“隔离”用于单个零件、多个零件和组。
This command is a toggle: Isolate/Exit isolate.
步骤
-
Select parts in the graphics area or in the Assembly list.
-
Use a box select to select multiple parts.
-
Select a folder in the Assembly list to select all parts in that folder.
-
- Right-click in empty space and select Isolate from the context menu:
- 选定的零件可见,而模型的其余部分淡出。此时将打开“隔离”对话框:
- 使用下拉列表和滑尺可使更多顶级零件或子装配体包括在“隔离”命令中:
- 展开:连接 - 展开“隔离”命令,使与选定零件嵌合的顶级零件和子装配体进入视线范围。第一次拖动会使整个子装配体进入视线范围。第二次拖动会使另一个顶级零件或整个子装配体进入视线范围。
- 展开:距离 - 展开“隔离”命令,根据在各个方向上的距离从选定零件的中心开始逐渐使其他零件进入视线范围。零件不一定互相嵌合。滑块一次可以使多个零件进入视线范围。
-
Use the Hide transparent parts checkbox to hide the parts that are grayed out (faded); this can help with visualizing the parts in view and also may enhance performance:
When modeling, you may need to see a part that is occluded visually by another part or parts, in order to perform some task. Onshape provides the Make transparent command in the context menu for parts and assemblies.
-
Select parts in the graphics area or in the Assembly list.
-
Use a box select to select multiple parts.
-
Select a folder in the Assembly list to select all parts in that folder.
-
- Right-click to access the context menu, and select Make transparent.
- In the dialog, select Expand distance or Expand connectivity, and then drag the slider to make each successive part transparent as you drill through to the part you need.
You can also use the t shortcut key to make the part (or multi-selected parts) under the cursor transparent; the part will show a highlight on hover. To show the part again, right-click and select Show all or Show all parts. This command is cumulative; you can use it on part after part, keeping all transparent until you select Exit make transparent from the context menu or close the dialog that opens.
在上下文中编辑零件时,此命令也可用。有关上下文内编辑的更多信息,请参阅 在情境中建模。