summaryrefslogtreecommitdiff
path: root/hyp2mat/src/cmdline.ggo
diff options
context:
space:
mode:
Diffstat (limited to 'hyp2mat/src/cmdline.ggo')
-rw-r--r--hyp2mat/src/cmdline.ggo43
1 files changed, 43 insertions, 0 deletions
diff --git a/hyp2mat/src/cmdline.ggo b/hyp2mat/src/cmdline.ggo
new file mode 100644
index 0000000..85f4c18
--- /dev/null
+++ b/hyp2mat/src/cmdline.ggo
@@ -0,0 +1,43 @@
+#
+# Hyp2mat command line options. Use gengetopt to generate the C sources.
+#
+
+args "--unamed-opts"
+usage " [-h] [ -o outfile ] [ -f pdf|csxcad ] [-n net]... [OPTIONS]... [-v] [infile]"
+
+description "Converts Hyperlynx Signal-Integrity Transfer Format files to Octave/matlab scripts."
+
+option "output" o "Output file." string typestr="filename" default="-" optional
+option "output-format" f "Output file format." enum values="csxcad", "pdf" default="pdf" optional
+section "Processing options"
+option "net" n "Import net. Repeat to import several nets. Default is importing all nets." string optional multiple
+option "layer" l "Import layer. Repeat to import several layers. Default is importing all layers." string optional multiple
+option "xmin" x "Crop pcb. Set lower bound of x coordinate." double optional
+option "xmax" X "Crop pcb. Set upper bound of x coordinate." double optional
+option "ymin" y "Crop pcb. Set lower bound of y coordinate." double optional
+option "ymax" Y "Crop pcb. Set upper bound of y coordinate." double optional
+option "zmin" z "Crop pcb. Set lower bound of z coordinate." double optional
+option "zmax" Z "Crop pcb. Set upper bound of z coordinate." double optional
+option "grid" - "Set output grid size." double default="10e-6" optional
+option "arc-precision" - "Set maximum difference between perfect arc and polygonal approximation." default="0" double optional
+option "clearance" - "Set default trace-to-plane clearance." default="0.0002" double optional
+option "flood" - "Flood layer with copper. Repeat to flood several layers. The value \"plane_layers\" floods all plane layers." string optional multiple
+section "Physical properties"
+option "epsilonr" - "Set epsilon r of dielectric." double optional
+option "loss-tangent" - "Set loss tangent of dielectric." double optional
+option "bulk-resistivity" - "Set bulk resistivity of copper (in Ohm meter)." double optional
+section "CSXCAD output options"
+option "pcb-outline" - "Detailed board outline." flag off
+option "lossy-copper" - "Model copper as lossy. Default is modeling copper as perfect conductor." flag off
+option "metal-3d" - "Model copper layers as 3D. Default is modeling metal as 2D sheet." flag off
+section "PDF output options"
+option "hue" - "Set PDF color hue. Range 0.0 to 1.0" double default="0.0" optional
+option "saturation" - "Set PDF color saturation. Range 0.0 to 1.0" double default="0.6" optional
+option "brightness" - "Set PDF color brightness. Range 0.0 to 1.0" double default="0.9" optional
+section "Debugging options"
+option "raw" r "Raw output. Do not join adjacent or overlapping copper." flag off
+option "debug" d "Increase debugging level. Repeat for more detailed debugging." optional multiple
+option "verbose" v "Print board summary." no
+
+text "\nAll lengths are in meters."
+# not truncated