Copyright © 2021 by K4.org
  (v.0.48.124)

A single sheet of virtual paper, representing an engineering drawing that can contain scaled views of scenes from modele space. A drawing sheet uses it own 'paper units' so that it maps to an actual paper size in PDF and other outputs.

A drawing sheet is always its own Scene, with the scene name the same as the sheetName. Any geometry (not just 2d graphics) can be placed into a drawing sheet, but it will always be viewed as if in a Top view, with +X to the right, and +Y to the top.

DrawingSheets are the only object that can have Viewport children. DrawingSheets cannot have DrawingSheet children, and cannot appear in another scene.

Index

Rules

__mod3

__mod3: String

Internal Use Only.

Flags : Cached, External (Note this is uncached)

Expression : R.THREE.makeDrawingSheet(this.renderName,this.length,this.width,this.paperUnits)

annotationStyle

annotationStyle: Model

The AnnotationStyle object to use in this drawing.

Flags : Cached (Note this is uncached)

Expression : R.getAnnotationStyle(this.annotationStyleName)

annotationStyleName

annotationStyleName: String

The name of the AnnotationStyle to use in this drawing.

Flags : Cached, Parameter, Lookup (Note this is uncached)

Expression : "default"

border

border: Child

The drawing border.

Design: [[this.showBorder ? 'Rectangle' : 'NullDesign']]

color

color: String

Override of the standard rule to make all content black instead of gray.

Flags : Cached (Note this is uncached)

Expression : "black"

length

length: Number

This can be set to create a custom paper size, but is normally automatically obtained from the size parameter.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.papersize[this.size].xSize

paperSize

paperSize: Any

Sheet space units: ISO sizes assume mm, ANSI assume inch

Flags : Cached (Note this is uncached)

Expression : {'ANSI A Landscape': { xSize: 11, ySize: 8.5 }, 'ANSI A Portrait': { xSize: 8.5, ySize: 11 }, 'ANSI B': { xSize: 17, ySize: 11 }, 'ANSI C': { xSize: 22, ySize: 17 }, 'ANSI D': { xSize: 34, ySize: 22 }, 'ANSI E': { xSize: 44, ySize: 34 }, A4: { xSize: 210, ySize: 297 }, A3: { xSize: 420, ySize: 297 }, A2: { xSize: 594, ySize: 420 }, A1: { xSize: 841, ySize: 594 }, A0: { xSize: 1189, ySize: 841 } }

paperUnits

paperUnits: String

This can be set to 'in' or 'mm', but is normally automatically obtained from the size parameter.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.size.startsWith("ANSI") ? "in" : "mm"

renderNode

renderNode: Boolean

Override of Render3Mixin rule.

Flags : Cached (Note this is uncached)

Expression : true

sceneName

sceneName: String

Override of the standard rule so that it is always the sheetName.

Flags : Cached (Note this is uncached)

Expression : this.sheetName

sheetName

sheetName: String

The name of the sheet, and thus the scene.

Flags : Cached, Parameter (Note this is uncached)

Expression : "Sheet1"

showBorder

showBorder: Boolean

Whether to show a rectangular border representing the paper boundary.

Flags : Cached, Parameter (Note this is uncached)

Expression : true

size

size: String

The standard nominal paper size of this sheet. Must be one of the elements in the paperSize list.

Flags : Cached, Parameter (Note this is uncached)

Expression : "ANSI B"

viewScale

viewScale: Number

The default scale for viewports on this sheet. This is the size on the sheet relative to model space.

Flags : Cached, Parameter (Note this is uncached)

Expression : 1.0

width

width: Number

This can be set to create a custom paper size, but is normally automatically obtained from the size parameter.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.papersize[this.size].ySize