From 1d3cb680c4ec253165fb5cd183e8b4e920f635be Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 18 Dec 2021 08:44:37 +0100 Subject: PDF: Estimated thread (#1389) --- print/templates/operator_overview.html | 5 +++-- print/templates/print_overview.html | 2 +- print/templates/ui.html | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) (limited to 'print/templates') diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index a7f33a85..f61c2a6f 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -12,8 +12,9 @@

{{ _('Design box size') }}:{{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}

-

{{ _('Total stitch count') }}:{{job.num_stitches }}

-

{{ _('Total thread used') }}:{{job.total_thread_used }}

+

{{ _('Total stitch count') }}:{{ job.num_stitches }}

+

{{ _('Total thread used') }}:

+
diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html index 04269e20..7d09ff1a 100644 --- a/print/templates/print_overview.html +++ b/print/templates/print_overview.html @@ -13,7 +13,7 @@

{{ _('Design box size') }}:{{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}

{{ _('Total stitch count') }}:{{job.num_stitches }}

-

{{ _('Total thread used') }}:{{job.estimated_thread }}

+

{{ _('Total thread used') }}:

diff --git a/print/templates/ui.html b/print/templates/ui.html index 57c17205..dd61e2d8 100644 --- a/print/templates/ui.html +++ b/print/templates/ui.html @@ -19,6 +19,7 @@ +
@@ -142,6 +143,27 @@ +
+ {{ _('Estimated Thread') }} +
+ {{ _('Factors') }} +

{{ _('The thread length calculation depends on a lot of factors in embroidery designs. We will only get a very inacurate approximation. + Ink/Stitch simply calculates the path length, so the factor of 1 will always be much, much less than the real thread consumption.') }}

+

{{ _('Set a factor to multiply the path length with, depending on your standard setup or adapt it to your current design (tension, thread, fabric, stitch count, etc.).') }}

+

Upper thread

+

+ + +

+

Bobbin

+

+ + +

+
+ +
+
{{ _('Design') }}

-- cgit v1.2.3