From a185069037109eee009cfb4133bc23510c8c3a47 Mon Sep 17 00:00:00 2001 From: Windell Oskay Date: Fri, 30 Jan 2015 16:14:20 -0800 Subject: [PATCH] Update dimension handling help text --- inkscape_driver/eggbot.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/inkscape_driver/eggbot.py b/inkscape_driver/eggbot.py index f2930d7..ec24916 100755 --- a/inkscape_driver/eggbot.py +++ b/inkscape_driver/eggbot.py @@ -512,10 +512,12 @@ class EggBot( inkex.Effect ): if self.options.startCentered and ( not self.getDocProps() ): # Cannot handle the document's dimensions!!! inkex.errormsg( gettext.gettext( - 'The document to be plotted has invalid dimensions. ' + - 'The dimensions must be unitless or have units of pixels (px) or ' + - 'percentages (%). Document dimensions may be set in Inkscape with ' + - 'File > Document Properties' ) ) + 'This document does not have valid dimensions.\r\r' + + 'Consider starting with the EggBot template, or ' + + 'setting the document size to 3200 px (wide) x 800 px (tall).\r\r' + + 'Document dimensions may be set in Inkscape with ' + + 'File > Document Properties.\r\rThe document dimensions must be unitless or have ' + + 'units of pixels (px) or percentages (%). ' ) ) return # Viewbox handling