7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

Update demos and legacy qa files SpiceMapping -> Spice_Node_Sequence.

Also removes migration in the code as it will no longer be needed.
This commit is contained in:
Jeff Young 2022-12-19 12:04:53 +00:00
parent 04f50ce687
commit a3a2e2e5b1
6 changed files with 15 additions and 19 deletions
demos/simulation
eeschema/sim
qa/data/eeschema/spice_netlists

View File

LOADING design file

View File

LOADING design file

View File

@ -1296,7 +1296,6 @@ void SIM_MODEL::MigrateSimModel( T_symbol& aSymbol, const PROJECT* aProject )
bool modelFromValueField = false;
if( aSymbol.FindField( wxT( "Spice_Primitive" ) )
|| aSymbol.FindField( wxT( "SpiceMapping" ) )
|| aSymbol.FindField( wxT( "Spice_Node_Sequence" ) )
|| aSymbol.FindField( wxT( "Spice_Model" ) )
|| aSymbol.FindField( wxT( "Spice_Netlist_Enabled" ) )
@ -1308,9 +1307,6 @@ void SIM_MODEL::MigrateSimModel( T_symbol& aSymbol, const PROJECT* aProject )
aSymbol.RemoveField( primitiveField );
}
if( T_field* spiceMapping = aSymbol.FindField( wxT( "SpiceMapping" ) ) )
spiceMapping->SetName( wxT( "Spice_Node_Sequence" ) );
if( T_field* nodeSequenceField = aSymbol.FindField( wxT( "Spice_Node_Sequence" ) ) )
{
const wxString delimiters( "{:,; }" );

View File

LOADING design file

View File

@ -418,7 +418,7 @@
(property "Fieldname" "Value" (id 4) (at 118.11 93.98 0)
(effects (font (size 1.524 1.524)) hide)
)
(property "SpiceMapping" "1 2" (id 5) (at 118.11 93.98 0)
(property "Spice_Node_Sequence" "1 2" (id 5) (at 118.11 93.98 0)
(effects (font (size 1.524 1.524)) hide)
)
(property "Spice_Primitive" "R" (id 6) (at 118.11 93.98 90)
@ -486,7 +486,7 @@
(property "Spice_Primitive" "C" (id 5) (at 137.16 101.6 0)
(effects (font (size 1.524 1.524)) hide)
)
(property "SpiceMapping" "1 2" (id 6) (at 137.16 101.6 0)
(property "Spice_Node_Sequence" "1 2" (id 6) (at 137.16 101.6 0)
(effects (font (size 1.524 1.524)) hide)
)
(pin "1" (uuid 8927c4f6-bfd9-437a-8ad5-25802d51ce9d))
@ -511,7 +511,7 @@
(property "Fieldname" "Value" (id 4) (at 146.05 101.6 0)
(effects (font (size 1.524 1.524)) hide)
)
(property "SpiceMapping" "1 2" (id 5) (at 146.05 101.6 0)
(property "Spice_Node_Sequence" "1 2" (id 5) (at 146.05 101.6 0)
(effects (font (size 1.524 1.524)) hide)
)
(property "Spice_Primitive" "R" (id 6) (at 146.05 101.6 90)

View File

LOADING design file