Skip to content

Ferrite Symbol

Package name: jsl/symbols/ferrite

The Ferrite symbol defines a schematic symbol as a tilted rectangle.

Create the default symbol:

create-symbol(FerriteSymbol())
  • create-symbol does a good thing.

Create a symbol with a 20 degree tilt::

create-symbol(FerriteSymbol(body-angle = 20.0)) ; or however this works.
  • create-symbol does a good thing.

Summary

Data Types

FerriteSymbolParams

Constructors

Function Description
FerriteSymbolParams (+ 1) Constructor for defstruct FerriteSymbolParams

FerriteSymbol

Constructors

Function Description
FerriteSymbol (+ 1) Constructor for defstruct FerriteSymbol

Definitions

FerriteSymbolParams

public defstruct FerriteSymbolParams <: SymbolParams :
    body-angle: Double
    line-width: Double
    symb-body: Dims

  • body-angle: Double - Set the rotation angle for the ferrite body in degrees. Default value is -30.0 degrees.

  • line-width: Double - Line width for the shapes drawn. Default value is 0.05 in symbol grid units.

  • symb-body: Dims - Set the dimensions for the ferrite body. Default value is Dims(0.9, 0.4) in symbol grid units

Parameters for customizing the FerriteSymbol

Create a parameters struct to change the line width to 30mm.

val params = FerriteSymbolParams(line-width = 30.0)

Constructors

FerriteSymbolParams

Constructor for defstruct FerriteSymbolParams

public defn FerriteSymbolParams (line-width:Double, symb-body:Dims = ?, body-angle:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

FerriteSymbolParams

Constructor for defstruct FerriteSymbolParams

public defn FerriteSymbolParams ( -- line-width:Double = ?, symb-body:Dims = ?, body-angle:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

FerriteSymbol

public defstruct FerriteSymbol <: TwoPinSymbol :

The Ferrite symbol defines a schematic symbol as a tilted rectangle. - pitch:Double Set the pitch of the symbol - ...

Create the default symbol:

val f = FerriteSymbol()
  • create-symbol does a good thing.

Constructors

FerriteSymbol

Constructor for defstruct FerriteSymbol

public defn FerriteSymbol (pitch:Double, polarized?:True|False = ?, params:Maybe<FerriteSymbolParams> = ?)

FerriteSymbol

Constructor for defstruct FerriteSymbol

public defn FerriteSymbol ( -- pitch:Double = ?, polarized?:True|False = ?, params:Maybe<FerriteSymbolParams> = ?)

Related Packages

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