R/L/C Physical |
Parameter | Description | Example | |
---|---|---|---|
Lib_S_Dwg_Obj | jsGraphics Object that points to the drawing. |
0 10 30 50 70 90 110 140 170 200 230 320 300 280 260 240 220 200 180 160 140 120 100 80 60 40 RXX |
|
Lib_P_RefDes | Select the RefDes || Other: |
RefDes Location. Over Under Left Right Body |
|
Lib_P_Value | Value: | Value location. Over Under Left Right Body |
|
Lib_P_Type | Device Type ("R0.5", "C0.5", etc.) quoted sting. | ||
Lib_P_Rot (CCW) | Device Rotation (0, 90). | ||
Lib_P_Start_X | Symbol Start X Position |
Show/Hide Grid (10x10), Center Mark (Orange), Pins (purple dot). |
|
Lib_P_Start_Y | Symbol Start Y Position |
Return: Nothing to return.
Usage:
// Draw RXX
RXX_XY_Rtn = RLC_Physical( Dwg_Obj, "RXX", "Over", "100 KOhm", "Under", "R 0.5", 0, RXX_Center_X, RXX_Center_Y );
RXXP1_X = RXX_XY_Rtn[0]; RXXP1_Y = RXX_XY_Rtn[1]; RXXP2_X = RXX_XY_Rtn[2]; RXXP2_Y = RXX_XY_Rtn[3];
RXX_XY_Rtn = RLC_Physical( Dwg_Obj, "RXX", "Over", "100 KOhm", "Under", "R 0.5", 0, RXX_Center_X, RXX_Center_Y );
RXXP1_X = RXX_XY_Rtn[0]; RXXP1_Y = RXX_XY_Rtn[1]; RXXP2_X = RXX_XY_Rtn[2]; RXXP2_Y = RXX_XY_Rtn[3];
Dip Physical |
Description:
- Under Lib_P_RefDes, if a Reference Designator is not required, select "Other" and then blank out the text box next to it.
- Under Lib_P_Name, if a IC Name is not required, blank out the text box next to Lib_P_Name.
- Under Lib_P_Type, select the device type. Currently only Dual In-Line ICs are defined. The default type is a view from the top of the IC. Any type with "Inv" in the name is a bottom view. These are intended for wiring views. You will note that the Pin 1 marker changes location and the pin counting reverses direction.
- Under Lib_P_Rot the rotation angle is specified. The IC can be rotated in increments of 90 degrees. The default, 0 degrees, will have Pin 1 facing left. Rotation from 0 degrees is CCW.
Notes:
- The Name and RefDes are simply strings. They can be anything.
- Because the Name and RefDes are simply strings, the Name and Device Type need to be matched manually. e.g SN74LS10 is a DIP-14.
- The Name and RefDes can both be specified as Body on the 24 pin device only. The other devices do not have enough room.
- When specifying 90 or 270 degree rotation, RefDes and Name will be written vertically, when Left, Right, or Body is selected. Over and Under will write RefDes and Name horizontally.
Parameter | Description | Example | |
---|---|---|---|
Lib_S_Dwg_Obj | jsGraphics Object that points to the drawing. |
0 10 30 50 70 90 110 140 170 200 230 320 300 280 260 240 220 200 180 160 140 120 100 80 60 40 U10 SN74LS10 |
|
Lib_P_RefDes | Select the RefDes || Other: |
RefDes Location. Over Under Left Right Body |
|
Lib_P_Name | Name: | Name location. Over Under Left Right Body |
|
Lib_P_Type | Device Type ("Dip-8", "Dip-14", etc.) quoted sting. | ||
Lib_P_Rot (CCW) | Device Rotation (0, 90, 180, 270). | ||
Lib_P_Start_X | Symbol Start X Position |
Show/Hide Grid (10x10), Center Mark (Orange), Pins (purple dot). |
|
Lib_P_Start_Y | Symbol Start Y Position |
Return: Nothing to return.
Usage:
// Draw U10
U10_Rtn = Physical( Dwg_Obj, "U10", "Over", "SN74LS10", "Under", "D6", 0, U10_Center_X, U10_Center_Y );
U10P1_X = U10_Rtn[0]; U10P1_Y = U10_Rtn[1]; U10P2_X = U10_Rtn[2]; U10P2_Y = U10_Rtn[3];
U10P3_X = U10_Rtn[4]; U10P3_Y = U10_Rtn[5]; U10P4_X = U10_Rtn[6]; U10P4_Y = U10_Rtn[7];
U10P5_X = U10_Rtn[8]; U10P5_Y = U10_Rtn[9]; U10P6_X = U10_Rtn[10]; U10P6_Y = U10_Rtn[11];
U10_Rtn = Physical( Dwg_Obj, "U10", "Over", "SN74LS10", "Under", "D6", 0, U10_Center_X, U10_Center_Y );
U10P1_X = U10_Rtn[0]; U10P1_Y = U10_Rtn[1]; U10P2_X = U10_Rtn[2]; U10P2_Y = U10_Rtn[3];
U10P3_X = U10_Rtn[4]; U10P3_Y = U10_Rtn[5]; U10P4_X = U10_Rtn[6]; U10P4_Y = U10_Rtn[7];
U10P5_X = U10_Rtn[8]; U10P5_Y = U10_Rtn[9]; U10P6_X = U10_Rtn[10]; U10P6_Y = U10_Rtn[11];