Header menu logo issie

Constants Module

Functions and values

Function or value Description

arrayAspectWarning

Full Usage: arrayAspectWarning

Returns: float

How lopsided a fragment may be before arraying it along its LONG axis is worth warning about: copies stacked end to end make a strip too long to place or to read.

Returns: float

arrayGapFraction

Full Usage: arrayGapFraction

Returns: float

The gap between one copy of a pasted array and the next, as a fraction of the copied fragment's own size along the direction the array runs.

Returns: float

arrayScreenFraction

Full Usage: arrayScreenFraction

Returns: float

An array bigger than this fraction of the window in either direction is placed zoomed out, so that there is room on screen to see where it is going.

Returns: float

boxAspectRatio

Full Usage: boxAspectRatio

Returns: float

aspect ratio required before align or distribute can be done

Returns: float

boxParameters

Full Usage: boxParameters

Returns: (type)

geometry parameters for sizing circuits

Returns: (type)

defaultCanvasSize

Full Usage: defaultCanvasSize

Returns: float

total size of canvas (determines how far you can zoom out)

Returns: float

fineZoomIncrement

Full Usage: fineZoomIncrement

Returns: float

smaller step for physical Ctrl/Cmd-wheel zoom, so a wheel notch is not too coarse

Returns: float

fineZoomWheelStep

Full Usage: fineZoomWheelStep

Returns: float

physical wheel delta represented by one fine zoom step

Returns: float

gridSize

Full Usage: gridSize

Returns: float

Size of each grid square

Returns: float

maxFitAspectRatio

Full Usage: maxFitAspectRatio

Returns: float

How lopsided the canvas beside a pinned Sheet menu may be before a sheet is sized to the whole canvas instead. Dodging a menu that leaves a tall slot costs more magnification than seeing the sheet whole under it, and the menu is see-through-able by unpinning.

Returns: float

maxMagnification

Full Usage: maxMagnification

Returns: float

max zoom beyond which it is not worth going

Returns: float

maxUndoListSize

Full Usage: maxUndoListSize

Returns: int

what is the max length of the UndoList

Returns: int

maxZoomFactorPerWheelEvent

Full Usage: maxZoomFactorPerWheelEvent

Returns: float

largest zoom change one wheel event may make, in either direction. A precision touchpad coalesces scrolling into deltas an order of magnitude larger than a mouse notch, and reports them as a physical Ctrl-wheel when Ctrl really is held, so both branches need the bound

Returns: float

minMagnification

Full Usage: minMagnification

Returns: float

how much is it possible to zoom out? this is related to the actual canvas size

Returns: float

pinchZoomSensitivity

Full Usage: pinchZoomSensitivity

Returns: float

sensitivity for the continuous pinch gesture reported by trackpads

Returns: float

segmentSnapLimit

Full Usage: segmentSnapLimit

Returns: float

how large is the snapping when moving segments

Returns: float

sheetMenuId

Full Usage: sheetMenuId

Returns: string

id of the Sheet menu's dropdown, which when pinned covers the left of the canvas. Its width is a rendered fact and so has to be measured; whether it is pinned is model state and is passed in. TopMenuView.fileTab puts this on the element; nothing else knows they are one.

Returns: string

symbolSnapLimit

Full Usage: symbolSnapLimit

Returns: float

how large is the snapping when moving symbols

Returns: float

wireBoundingBoxSize

Full Usage: wireBoundingBoxSize

Returns: float

increase to make it easier to select wire segments

Returns: float

zoomIncrement

Full Usage: zoomIncrement

Returns: float

factor by which zoom is increased or decreased

Returns: float

Type something to start searching.