线型

Toolbar Menu

File
Properties
Standard

File

Properties

线型选项管理当前模型的线型设置。

  • 使用不同的线型显示曲线。
  • 线型可以在物件图层属性设定。
  • 线型只能套用于曲线物件,无法套用于曲面、实体或其它物件类型。
New

Adds a linetype definition.

Copy

Makes a copy of the selected linetype definition.

Delete

Deletes the selected linetype definition.

Import

Imports linetype definitions from a .3dm, .lin or .txt file.

In the Import Linetypes dialog box, select the linetypes to import.

Add Defaults

Restores the default linetypes that have been deleted.

Model space scale

Sets the global scale factor for all linetype patterns in model viewports.

The SetLinetypeScale command can change this setting from Command-line.

Search

Enter text to only list the linetypes with the text in their names.

Name and pattern

Continuous

Border

Center

DashDot

Dashed

Dots

Hidden

Pattern

Linetypes are defined by a comma-separated list of dash and gap lengths, always starting with a dash. A zero-length dash is a dot.

Inches

Sets the display scale for linetypes to inches.

Millimeters

Sets the display scale for linetypes to millimeters.

Cap style

Draws curve ends with the Flat (left), Round (middle), or Square (right) style.

Join style

Draws curve joined corners with the Miter (left), Round (middle), or Bevel (right) style.

  • Enable Print display to see the cap and join styles in viewports.

Width

Sets the width of the linetype.

Width Units (Pixels / Length Units)

Sets the width of the linetype to base on screen pixels or length units.

  • Pixel width is intended for screen capture only. It does not affect Print Preview in viewports or Print. To print linetypes with widths, set linetypes to use length unit width, or set the Print Width in object properties or layers.

  • Print width overrides linetype width in pixels, but not in length units.

  • Length unit width can display in viewports when print preview is on or off. Print width needs print preview to be on to display.

Taper

Enables line stroke for the linetype.

Taper Position (0 to 1)

Defines the location on a curve where the Taper Width applies.

0 is at the start of a curve and 1 is at the end.

The default value, 0.5, is halfway of the curve length.

  • Use the Dir command to swap the start and end of a curve.
Taper Width

Controls the line width at the Taper Position.

End Width

Controls the line width at the end of the curve.

  • The Width setting controls the start width.
Print and Display
Use model units

When enabled (right), linetype segments in Detail views use model units to print.

When disabled (left), linetype segments in Detail views use Layout units to print. The linetype segments in Detail views and on the layout will be printed with the same scale regardless of the detail view scaling.

设定物件的线型

  • 物件属性面板线型栏位选择一个项目。
    物件预设的线型是以图层

设定图层的线型

  • 图层面板的图层的线型栏位设定线型。
  • 使用 SetLayerLinetype 指令设定图层的线型。

定义线型

  • 使用设置新增一个新的线型。

新增线型

  1. 点击新增按钮。
    在线型清单中加入一个新线型。
  2. 点选新增的线型重新名命。

    See: Naming conventions in Rhino

  3. 样式栏位修改线型的样式。

范例

"1,1" 代表样式为 1 单位的线段接着 1 单位的间隔。

"2,0.5" 代表样式为 2 单位的线段接着 0.5 单位的间隔。

"1,0.25,0.25,0.25" 代表样式为 1 单位的线段接着 0.25 单位的间隔,再接着 0.25 单位的线段,再接着 0.25 单位的间隔。

您可以用同样的方法建立更复杂的线型样式。

重命名线型

  1. 高亮选取一个线型。
  2. 单击它的名称并输入新的名称。
  3. See: Naming conventions in Rhino

  • 默认的 Continuous 线型不能重命名。

线型的单位

您可以在 Rhino 的线型文件里加入线型样式使用的单位,在加入的单位设定后面的线型样式都会使用这个单位,在同一个线型文件里 mm 与 inch 可以不限次数的切换,线型文件里没有单位设定时则预设使用 mm 为单位。

范例

#mm

设定后续的线型样式都以 mm 为单位。

#inch

设定后续的线型样式都以 inch 为单位。

使用其它 Rhino 文件中的线型定义

相关指令

ExtractLineTypeSegments

Toolbar

Menu

Curve Tools

New in V8

Drafting

Curve

Curve from Objects >

Extract Linetype Segments

ExtractLineTypeSegments 指令可以将选定曲线的线型图案转换为多个曲线段和点。

  • 抽离的各个曲线段的线型属性将设置为按物件和连续性。

指令行选项

删除输入物件

删除输入曲线。

输出成群组

将抽离出的曲线段组成一个组。

输出图层=当前图层/输入图层

将抽离的曲线段放置在当前层或与输入曲线相同的同一图层上。

LinetypeDisplay

ToolbarMenu

Not on menus.

LinetypeDisplay 指定线型在工作视窗中的显示方式。

指令行选项

显示线型

在工作视窗中打开或关闭线型显示。

依线段分段线型

在每一个线段的起点重新开始线型。

线型分段角度

以两个相邻线段的差异角度决定是否重新开始线型。

线型

Toolbar

Menu

Not on toolbars.

Window

Panels > Linetypes

The Linetypes command shows document linetype definitions in a tabbed panel.

Linetypes panel

New

Adds a linetype definition.

Copy

Makes a copy of the selected linetype definition.

Delete

Deletes the selected linetype definition.

Import

Imports linetype definitions from a .3dm, .lin or .txt file.

In the Import Linetypes dialog box, select the linetypes to import.

Add Defaults

Restores the default linetypes that have been deleted.

Model space scale

Sets the global scale factor for all linetype patterns in model viewports.

The SetLinetypeScale command can change this setting from Command-line.

Search

Enter text to only list the linetypes with the text in their names.

Name and pattern

Continuous

Border

Center

DashDot

Dashed

Dots

Hidden

To sort linetypes

(For the Linetypes panel only)

  • Click the name or pattern header to sort the linetype list.

右键快显功能表

  • Right-click on a linetype to show the context menu.

Assign to selected objects

Applies the linetype to the objects in selection.

  • Or select the curves and Shift+Double-click on the linetype pattern.

Assign to layer

Applies the linetype to the selected layer.

Select objects

Selects the objects displaying the linetype that can be By Layer or By Object.

  • Or double-click on the linetype pattern.

  • Only the object types supporting linetype display will be selected.

  • Objects in block instances using the linetype cannot be selected.

复制

Makes a copy of the linetype.

删除

Removes the linetype from the document.

Add defaults

Restores the default linetypes that have been deleted.

Pattern

Linetypes are defined by a comma-separated list of dash and gap lengths, always starting with a dash. A zero-length dash is a dot.

Inches

Sets the display scale for linetypes to inches.

Millimeters

Sets the display scale for linetypes to millimeters.

Cap style

Draws curve ends with the Flat (left), Round (middle), or Square (right) style.

Join style

Draws curve joined corners with the Miter (left), Round (middle), or Bevel (right) style.

  • Enable Print display to see the cap and join styles in viewports.

Width

Sets the width of the linetype.

Width Units (Pixels / Length Units)

Sets the width of the linetype to base on screen pixels or length units.

  • Pixel width is intended for screen capture only. It does not affect Print Preview in viewports or Print. To print linetypes with widths, set linetypes to use length unit width, or set the Print Width in object properties or layers.

  • Print width overrides linetype width in pixels, but not in length units.

  • Length unit width can display in viewports when print preview is on or off. Print width needs print preview to be on to display.

Taper

Enables line stroke for the linetype.

Taper Position (0 to 1)

Defines the location on a curve where the Taper Width applies.

0 is at the start of a curve and 1 is at the end.

The default value, 0.5, is halfway of the curve length.

  • Use the Dir command to swap the start and end of a curve.
Taper Width

Controls the line width at the Taper Position.

End Width

Controls the line width at the end of the curve.

  • The Width setting controls the start width.

SetCustomLinetype

Toolbar

Menu

Not on toolbars.

The SetCustomLinetype command lets you edit an object's custom linetype properties in a floating dialog.

SetLinetype

ToolbarMenu

Dimension
Drafting

Not on menus.

SetLinetype 指令设定曲线使用的线型。

步骤

  1. 选取曲线。
  2. 选择线型对话框选择一种线型。

SetLayerLinetype

ToolbarMenu

Not on toolbars.

Not on menus.

SetLayerLinetype 指令为指定的图层设置指定线型

步骤

  1. 选择一个图层名称。
  2. 选择一个线型。

SetLinetypeScale

ToolbarMenu

Not on toolbars.

Not on menus.

SetLinetypeScale 指令从指令行设定线型的全域缩放比。

请参考

Use drafting tools

Manage document properties