-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nutmeg script dialog improvements #476
Conversation
ivandi69
commented
Jan 20, 2024
- Add 'display in schematic' option for code
- Add 'isChanged' state for the entire dialog
- Use fixed pitch font for the code editor
- Fix dialog appearance in swaywm
- Remove manually entered spaces from outputs and variables on apply
- Prevent duplication in outputs in case of print >>
- Relax let_pattern regex fixes Schematic Editor: Nutmeg script parser does not "Find all variables" if terms in brackets #427
- Relax print_rx regex
- Document recently added custom prefix and scalars print features in the default code
- Add example nutmeg_script.sch to help working around FFT and AC are not allowed on the same schematic #463 until we figure out how to fix it
A manually edited list can contain spaces, ex: output1.txt ; output2.txt That will put 'output1.txt ' and ' output2.txt' in the list of output files. The actual created files are 'output1.txt' and 'output2.txt'. They are not found and silently ignored.
…naged isChanged for entire dialog
This is the default parent pointer for the component dialog. With this change the nutmeg script dialog appears as floating window in sway window manager.
Thanks for the contribution! Merged. This will help to improve the scripting simulation. |
Can you post nutmeg_script.sch? |
Generating errors on my machine running Windows 10 and ngspice 42plus. Data generated isn't getting plotted. |
The latest build from git is required for this schematic. The build from December last year will not work. |
I will have to wait for a newer version... ;-) |
It's time to think about nightly builds ) |
It's need to setup CI to build Windows exe. It should be possible using the Github workflow. |
Attached is an 100W amplifier used by the ngspice guys for examples. It may be useful since they know it very well. I deleted the MOSFET thermal parameters. I used a number of conversion tools to convert the ngspice netlist to Qucs-S and LTspice. |