Command Line

From Seamly

Calling Seamly2D from the command or terminal window

Usage:
seamly2d [options] filename


Arguments: Definition:
filename Pattern filename


Options: Definition:
-h, --help Displays this help.
-v, --version Displays version information.
-b, --basename <base layout filename> The base filename of exported layout files. Use it to enable console export mode.
-d, --destination <destination folder> The path to output destination folder. By default the directory at which the application was started.
-m, --mfile <measure file> Path to custom measure file (export mode).
-f, --format <format number>
Number corresponding to output format (default = 0, export mode):
* Svg files (*.svg) = 0,
* PDF files (*.pdf) = 1,
* Image files (*.png) = 2,
* Wavefront OBJ (*.obj) = 3,
* PS files (*.ps) = 4,
* EPS files (*.eps) = 5,
* AutoCAD DXF R10 (flat) files (*.dxf) = 6,
* AutoCAD DXF R11/12 (flat) files (*.dxf) = 7,
* AutoCAD DXF R13 (flat) files (*.dxf) = 8,
* AutoCAD DXF R14 (flat) files (*.dxf) = 9,
* AutoCAD DXF 2000 (flat) files (*.dxf) = 10,
* AutoCAD DXF 2004 (flat) files (*.dxf) = 11,
* AutoCAD DXF 2007 (flat) files (*.dxf) = 12,
* AutoCAD DXF 2010 (flat) files (*.dxf) = 13,
* AutoCAD DXF 2013 (flat) files (*.dxf) = 14,
* AutoCAD DXF R10 AAMA files (*.dxf) = 15,
* AutoCAD DXF R11/12 AAMA files (*.dxf) = 16,
* AutoCAD DXF R13 AAMA files (*.dxf) = 17,
* AutoCAD DXF R14 AAMA files (*.dxf) = 18,
* AutoCAD DXF 2000 AAMA files (*.dxf) = 19,
* AutoCAD DXF 2004 AAMA files (*.dxf) = 20,
* AutoCAD DXF 2007 AAMA files (*.dxf) = 21,
* AutoCAD DXF 2010 AAMA files (*.dxf) = 22,
* AutoCAD DXF 2013 AAMA files (*.dxf) = 23,
* PDF tiled files (*.pdf) = 33.
--bdxf Export dxf in binary form.
--text2paths Export text as paths.
--exportOnlyDetails Export only details. Export details as they positioned in the details mode. Any layout related options will be ignored.
--exportSuchDetails <name regex> Export only details that match a piece name regex.
-x, --gsize <size value>
Set size value a pattern file, that was opened with multisize measurements (export mode).
Valid values: 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72cm.
-e, --gheight <The height value>
Set height value a pattern file, that was opened with multisize measurements (export mode).
Valid values: 50, 56, 62, 68, 74, 80, 86, 92, 98, 104, 110, 116, 122, 128, 134, 140, 146, 152, 158, 164, 170, 176, 182, 188, 194, 200cm.
-p, --pageformat <Template number>
Number corresponding to layout page template (default = 0, export mode):
* A0 = 0,
* A1 = 1,
* A2 = 2,
* A3 = 3,
* A4 = 4,
* Letter = 5,
* Legal = 6,
* Roll 24in = 7,
* Roll 30in = 8,
* Roll 36in = 9,
* Roll 42in = 10,
* Roll 44in = 11
-W, --pagew <The page width> Page width in current units like 12.0 (cannot be used with "pageformat", export mode).
-H, --pageh <The page height> Page height in current units like 12.0 (cannot be used with "pageformat", export mode).
-U, --pageunits <The measure unit> Page measure units (export mode). Valid values: mm, cm, inch, px.
-i, --ignoremargins Ignore printer margins (export mode). Use if need full paper space. In case of later printing you must account for the margins himself.
-L, --lmargin <The left margin> Page left margin in current units like 3.0 (export mode). If not set will be used value from default printer. Or 0 if none printers was found.
-R, --rmargin <The right margin> Page right margin in current units like 3.0 (export mode). If not set will be used value from default printer. Or 0 if none printers was found.
-T, --tmargin <The top margin> Page top margin in current units like 3.0 (export mode). If not set will be used value from default printer. Or 0 if none printers was found.
-B, --bmargin <The bottom margin> Page bottom margin in current units like 3.0 (export mode). If not set will be used value from default printer. Or 0 if none printers was found.
-r, --rotate <Angle>
Rotation in degrees (one of predefined, export mode).
Default value is 180. 0 is no-rotate.
Valid values: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 180.
Each value show how many times details will be rotated. For example 180 mean two times (360/180=2) by 180 degree.
-c, --crop Auto crop unused length (export mode).
-u, --unite Unite pages if possible (export mode). Maximum value limited by QImage that supports only a maximum of 32768x32768 px images.
-S, --savelen Save length of the sheet if set (export mode). The option tells the program to use as much as possible width of sheet. Quality of a layout can be worse when this option was used.
-l, --layounits <The unit> Layout units (as paper's one except px, export mode).
-s, --shiftlen <Shift/Offset length> Shift/Offset layout length measured in layout units (export mode). The option show how many points along edge will be used in creating a layout.
-G, --gapwidth <The gap width> The layout gap width x2, measured in layout units (export mode). Set distance between details and a detail and a sheet.
-g, --groups <Grouping type>
Sets layout groupping cases (export mode):
Three groups: big, middle, small = 0;
Two groups: big, small = 1;
Descending area = 2.
-t, --test Run the program in a test mode. The program in this mode loads a single pattern file and silently quit without showing the main window. The key have priority before key 'basename'.
--no-scaling Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable.
--csvWithHeader Export to csv with header. By default disabled.
--csvCodec <Codec name>
Specify codec that will be used to save data. List of supported codecsprovided by Qt. Default value depend from system. On Windows, the codec will be based on a system locale. On Unix systems, the codec will might fall back to using the iconv library if no builtin codec for the locale can be found.
Valid values for this installation:
* US-ASCII,
* ISO-8859-1,
* ISO-8859-2,
* ISO-8859-3,
* ISO-8859-4,
* ISO-8859-5,
* ISO-8859-6,
* ISO-8859-7,
* ISO-8859-8,
* ISO-8859-9,
* ISO-8859-10,
* ISO-2022-JP-1,
* Shift_JIS,
* EUC-JP,
* US-ASCII,
* windows-949,
* ISO-2022-KR,
* windows-949,
* ISO-2022-JP,
* ISO-2022-JP-2,
* GBK,
* ISO-8859-6,
* ISO-8859-6,
* ISO-8859-8,
* ISO-8859-8,
* ISO-2022-CN,
* ISO-2022-CN-EXT,
* UTF-8,
* ISO-8859-13,
* ISO-8859-14,
* ISO-8859-15,
* GBK,
* GB18030,
* UTF-16,
* UTF-32,
* SCSU,
* UTF-7,
* UTF-16BE,
* UTF-16LE,
* UTF-16,
* CESU-8,
* UTF-32,
* UTF-32BE,
* UTF-32LE,
* BOCU-1,
* hp-roman8,
* Adobe-Standard-Encoding,
* IBM850,
* IBM862,
* IBM-Thai,
* Shift_JIS,
* GBK,
* Big5,
* macintosh,
* IBM037,
* IBM273,
* IBM277,
* IBM278,
* IBM280,
* IBM284,
* IBM285,
* IBM290,
* IBM297,
* IBM420,
* IBM424,
* IBM437,
* IBM500,
* cp851,
* IBM852,
* IBM855,
* IBM857,
* IBM860,
* IBM861,
* IBM863,
* IBM864,
* IBM865,
* IBM868,
* IBM869,
* IBM870,
* IBM871,
* IBM918,
* IBM1026,
* KOI8-R,
* HZ-GB-2312,
* IBM866,
* IBM775,
* KOI8-U,
* IBM00858,
* IBM01140,
* IBM01141,
* IBM01142,
* IBM01143,
* IBM01144,
* IBM01145,
* IBM01146,
* IBM01147,
* IBM01148,
* IBM01149,
* Big5-HKSCS,
* IBM1047,
* windows-1250,
* windows-1251,
* windows-1252,
* windows-1253,
* windows-1254,
* windows-1255,
* windows-1256,
* windows-1257,
* windows-1258,
* TIS-620,
* TSCII.
--csvSeparator <Separator character>
Specify csv separator character. Default value is ','. Valid characters:
* 'Tab',
* ';'
* 'Space',
* ','.
--csvExportFM <Path to csv file> Calling this command enable exporting final measurements. Specify path to csv file with final measurements. The path must contain path to directory and name of file. It can be absolute or relatetive. In case of relative path will be used current working directory to calc a destination path.
--tiledPageformat <Template number>
Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format):
* A0 = 0,
* A1 = 1,
* A2 = 2,
* A3 = 3,
* A4 = 4,
* Letter = 5,
* Legal = 6.
--tiledlmargin <The left margin> Tiled page left margin in current units like 3.0 (export mode). If not set will be used default value 1 cm.
--tiledrmargin <The right margin> Tiled page right margin in current units like 3.0 (export mode). If not set will be used default value 1 cm.
--tiledtmargin <The top margin> Tiled page top margin in current units like 3.0 (export mode). If not set will be used value default value 1 cm.
--tiledbmargin <The bottom margin> Tiled page bottom margin in current units like 3.0 (export mode). If not set will be used value default value 1 cm.
--tiledLandscape Set tiled page orientation to landscape (export mode). Default value if not set portrait.