Skip to content

jsl/symbols/diode-bridge

Package name: jsl/symbols/diode-bridge

Summary

Data Types

DiodeBridgeSymbolParams

Parameters for building a Diode Bridge Schematic Symbol

DiodeBridgeSymbol

Diode Bridge Schematic Symbol Generator

Constructors

Function Description
DiodeBridgeSymbol Constructor for defstruct DiodeBridgeSymbol

Definitions

DiodeBridgeSymbolParams

Parameters for building a Diode Bridge Schematic Symbol

public defstruct DiodeBridgeSymbolParams <: SymbolParams
    pad-ref-size: Double
    params: DiodeSymbolParams
    pin-length: Double
    side-length: Double

  • pad-ref-size: Double - Sets the size of the text for the pad references on the pins. By default the pin names are not shown.

  • params: DiodeSymbolParams - Parameters applied to the Diode glyphs that make up the bridge.

  • pin-length: Double - Sets the target pin length of the pin radiating from each corner of the diode bridge This sets the target length but not the explicit length. This length will be modulated so that the resulting pin is on the schematic symbol grid.

  • side-length: Double - The length of a side of the diode bridge square The diode bridge symbol consists of a square (or regular diamond) with a diode in each side. This sets the side length of that square.

This parameterization re-uses the DiodeSymbolParams for constructing the individual elements.

Functions

set-default-diode-bridge-symbol-params

public defn set-default-diode-bridge-symbol-params (v:DiodeBridgeSymbolParams) -> False

  • Returns False

DiodeBridgeSymbolParams

public defn DiodeBridgeSymbolParams ( -- params:DiodeSymbolParams = ?, side-length:Double = ?, pin-length:Double = ?, pad-ref-size:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?) -> DiodeBridgeSymbolParams

  • Returns DiodeBridgeSymbolParams

get-default-diode-bridge-symbol-params

public defn get-default-diode-bridge-symbol-params () -> DiodeBridgeSymbolParams

  • Returns DiodeBridgeSymbolParams

to-tuple

public defn to-tuple (p:DiodeBridgeSymbolParams) -> [DiodeSymbolParams, Double, Double, Double]

  • Returns [DiodeSymbolParams, Double, Double, Double]

DiodeBridgeSymbol

Diode Bridge Schematic Symbol Generator

public defstruct DiodeBridgeSymbol <: SymbolDefn
    params: Maybe<DiodeBridgeSymbolParams>

  • params: Maybe<DiodeBridgeSymbolParams>

These symbols will be generated with the following pins:

; AC Interface
V-ac.p[1]
V-ac.p[2]
; DC Interface
V-dc.p[1]   ; Positive
V-dc.p[2]   ; Negative

Constructors

DiodeBridgeSymbol

Constructor for defstruct DiodeBridgeSymbol

public defn DiodeBridgeSymbol (params:Maybe<DiodeBridgeSymbolParams> = ?)

Related Packages

Forwarded by packages: jsl/symbols/generators, jsl/symbols