Open oxmon-2500 opened 4 years ago
what is the difference between a "project" and a directory?
i suggest to use a letter option for this, like-C project_path
. then e.g. in bash, qucs -C project_path [..]
should behave like (cd project_path; qucs [..])
, but no need for bash.
If someone works repeatedly on a set of projects it would be nice to open the project by command line parameter like:
qucs [ projectPath_prj [ schematicName.sch ] ]
Calling qucs without command line parameteres should works as previously (open the project specified in "Qucs Home")Command line enhancement: It is now possible to specify a project and schematic files to open by command line. Usage: ~/local/qucs/bin/qucs --help Usage: /home/gAz_/local/qucs/bin/qucs [-h|--help] [-v|--version] qucs -n -i FILENAME -o FILENAME qucs -p -i FILENAME -o FILENAME.[pdf|png|svg|eps] qucs [ projectPath] [ filePath1 [ filePath2 ... ] ] ]
-h, --help display this help and exit -v, --version display version information and exit -n, --netlist convert Qucs schematic into netlist -p, --print print Qucs schematic to file (eps needs inkscape) --page [A4|A3|B4|B5] set print page size (default A4) --dpi NUMBER set dpi value (default 96) --color [RGB|RGB] set color mode (default RGB) --orin [portrait|landscape] set orientation (default portrait) -i FILENAME use file as input schematic -o FILENAME use file as output netlist -icons create component icons under ./bitmaps_generated -doc dump data for documentation:
Examples: qucs -n -i schematic.sch -o netlist.net qucs -p -i schematic.sch -o output.png --page A4 --dpi 120 --orin landscape qucs -icons qucs -doc qucs ../qucs-test/testsuite/AC_bandpass_prj/ bandpass.sch opa227.sch qucs ~/proj/qucs-test/testsuite/DC_AC_gain_prj "*.sch"