In SketchUp, the Tags Panel has dash patterns so you can change entity lines on a tag from solid to dashed. Any geometry on the tag inherits the tag’s dash pattern. Dashed lines appear in the model view at any screen scale.在SketchUp中,标记面板具有虚线图案,因此您可以将标记上的图元线从实线更改为虚线。标记上的任何几何图形都会继承标记的虚线图案。虚线以任何屏幕比例显示在模型视图中。
With these dash patterns, you can define property boundaries, identify elements to be demolished in a model of an existing structure, or create a grid or reference lines (for elements like topology or hidden pipes or services).使用这些虚线图案,您可以定义特性边界,识别现有结构模型中要拆除的图元,或创建网格或参照线(用于拓扑或隐藏管道或服务等图元)。
Dashes also help you follow simple and efficient workflows when you use SketchUp with LayOut and/or a CAD program.当您将SketchUp与LayOut和/或CAD程序一起使用时,Dashes还可以帮助您遵循简单高效的工作流程。
For details about how SketchUp tags work, see Controlling Visibility with tags.有关SketchUp标记如何工作的详细信息,请参阅使用标记控制可见性。
Because you select dash patterns in the Tags Panel, it’s helpful to think about how to apply dashes in the overall context of working with tags:因为您在标签面板中选择了破折号模式,所以考虑如何在使用标签的整体上下文中应用破折号是有帮助的:
(Optional) Toggle the visibility by tag to hide geometry or adjust whether all lines are solid or dashed globally for the model in the Styles panel.(可选)在“样式”面板中,通过标记切换可见性以隐藏几何图形或调整模型的所有线条是全局实线还是虚线。
To choose a dash pattern for a tag, follow these steps:要为标签选择破折号图案,请执行以下步骤:
With the Profiles and Depth Cue edge style options, edges appear thicker or thinner to create certain effects. These varied thicknesses apply to dashed lines in the same way they apply to solid lines.使用“轮廓”和“深度线索”边缘样式选项,边缘会显示得更厚或更薄,以创建某些效果。这些不同的厚度适用于虚线,就像它们适用于实线一样。
Note that components and groups inherit the dash style of their tag with one exception: edges assigned to a tag with a dashed line style within the component do not inherit the component’s line style.请注意,组件和组继承其标记的虚线样式,但有一个例外:指定给组件内具有虚线样式的标记的边不继承组件的线样式。
With this behavior, a component can contain 3D geometry and a patterned 2D representation on different tags. The following figure of a door is an example. The dash pattern that illustrates how the door swings is within the door component, and the lines of the 3D door and 2D swing pattern are different.通过此行为,组件可以在不同的标记上包含3D几何图形和图案化的2D表示。下图中的门是一个示例。显示门如何摆动的虚线图案位于门构件内,三维门和二维摆动图案的线条不同。
Tags were designed to control the visibility of the geometry on a tag. When you toggle a tag’s visibility, you toggle the visibility of the edges and their dashes on that tag. To toggle a tag’s visibility, clear the Visible checkbox for the tag in the Tags Panel.标签旨在控制标签上几何图形的可见性。切换标记的可见性时,可以切换该标记上边及其虚线的可见性。要切换标记的可见性,请清除“标记面板”中标记的“可见”复选框。
Globally, you can control the visibility of only the dashes via the Styles panel. To show dashes, display the Edge Settings on the Edit tab and select the Dashes checkbox. When you clear the Dashes checkbox, the lines are visible but the dashes are not.在全局范围内,您可以通过“样式”面板仅控制破折号的可见性。要显示虚线,请在“编辑”选项卡上显示“边设置”,然后选中“虚线”复选框。清除虚线复选框后,线条可见,但虚线不可见。
All CAD line styles (imperial and metric equivalents) can be imported. When you import a CAD file (.dwg or .dxf) into SketchUp, the tags from the CAD file appear in SketchUp and retain a close approximation to the original dashed lines.所有CAD线条样式(英制和公制等效)都可以导入。将CAD文件(.dwg或.dxf)导入SketchUp时,CAD文件中的标记将显示在SketchUp中,并保留与原始虚线的近似值。
You can change the dashes in SketchUp on the Tags Panel by selecting a different dash pattern for the tag.通过为标记选择不同的虚线图案,可以在“标记面板”上的SketchUp中更改虚线。
Although you can print a model with dashes directly from SketchUp, using LayOut to print is recommended. 虽然可以直接从SketchUp打印带虚线的模型,但建议使用轮廓打印。For a professional SketchUp user, LayOut enables you to print more accurately and offers more control over size, page setup, and line thickness and quality.对于专业的SketchUp用户,LayOut使您能够更准确地打印,并提供对尺寸、页面设置、线条粗细和质量的更多控制。
To print a model with dashes from SketchUp, here’s the recommended workflow:要从SketchUp打印带破折号的模型,建议使用以下工作流程:
On macOS, you can also print the model to a PDF via the print dialog box with good results.在macOS上,您还可以通过打印对话框将模型打印为PDF,效果良好。
If you choose to print a model via LayOut, here are a few tips for working with dashed lines in LayOut:如果您选择通过LayOut打印模型,以下是在LayOut中使用虚线的一些提示:
When your SketchUp model contains dashed lines, you can preserve the dashes when you export to the following formats:当SketchUp模型包含虚线时,导出为以下格式时可以保留虚线:
If the SketchUp model was originally imported from a CAD file and you didn’t edit the dashes, the dashes should remap back to the original CAD line styles. Otherwise, the SketchUp dash pattern is remapped to the equivalent CAD line style.如果SketchUp模型最初是从CAD文件导入的,而您没有编辑虚线,则虚线应重新映射回原始CAD线条样式。否则,SketchUp虚线图案将重新映射为等效的CAD线条样式。