Inkscape.org
Embroidery and InkStitch Passing arguments in Inkscape CLI actions - org.inkstitch.stitch-plan-preview.
  1. #1
    Riki Maru Riki Maru @pperekoty
    *

    Hello!
    I am trying to use the org.inkstitch.stitch-plan-preview extension from Ink/Stitch via the Inkscape CLI and pass specific parameters to the action. Currently, I am unable to figure out how to include these arguments directly in the --actions parameter of the Inkscape CLI.

    When running the following command:

    ./inkscape --actions="org.inkstitch.stitch-plan-preview:{ args need here };" --export-type=svg --export-filename=output.svg input.svg

    I expect to provide arguments such as --render-mode, --move-to-side, and --layer-visibility, similar to how they are specified when using the standalone Ink/Stitch CLI:

    ./inkstitch --extension=stitch_plan_preview --render-mode=realistic-600 --move-to-side=False --layer-visibility=hidden input.svg > output.svg

     

  2. #2
    inklinea inklinea @inklinea⛰️

     As far as I am aware, it is not possible to pass parameters to extensions using the command line.

    The extension will use the default parameters, or the last know parameters which will have been saved when Inkscape GUI was last cleanly exited.

  3. #3
    Riki Maru Riki Maru
Inkscape Inkscape.org Inkscape Forum Embroidery and InkStitch Passing arguments in Inkscape CLI actions - org.inkstitch.stitch-plan-preview.