Printer requires vectorised contour path for cut contour
Hi! I created a non-rectangular shaped document. The printer requires a cut contour in a particular colour, no problem so far. However, he complained about a missing “single continuous closed vectorised contour path”. The one I provided is an area, not a contour path. I created the path as follows: \starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- origin; \stopMPcode \stoptext Any clue how to create such a vectorised contour path? Marco
Marco Patzer schrieb am 06.09.18 um 12:49:
Hi!
I created a non-rectangular shaped document. The printer requires a cut contour in a particular colour, no problem so far. However, he complained about a missing “single continuous closed vectorised contour path”. The one I provided is an area, not a contour path.
I created the path as follows:
\starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- origin; \stopMPcode \stoptext
Any clue how to create such a vectorised contour path?
Use cycle to close the path. \starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- cycle ; \stopMPcode \stoptext Wolfgang
On Thu, 6 Sep 2018 17:00:38 +0200
Wolfgang Schuster
I created a non-rectangular shaped document. The printer requires a cut contour in a particular colour, no problem so far. However, he complained about a missing “single continuous closed vectorised contour path”. The one I provided is an area, not a contour path.
I created the path as follows:
\starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- origin; \stopMPcode \stoptext
Any clue how to create such a vectorised contour path?
Use cycle to close the path.
\starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- cycle ; \stopMPcode \stoptext
That's it. The printer confirmed it's working now. Thanks. Marco
Hi Marco,
In Metapost, fill is:
def fill expr c =
addto currentpicture contour c _op_
enddef ;
(whereas draw adds a "doublepath".)
Alan
On Thu, 6 Sep 2018 12:49:04 +0200
Marco Patzer
Hi!
I created a non-rectangular shaped document. The printer requires a cut contour in a particular colour, no problem so far. However, he complained about a missing “single continuous closed vectorised contour path”. The one I provided is an area, not a contour path.
I created the path as follows:
\starttext \startMPcode draw origin -- (50mm, 0mm) -- (60mm, 20mm) -- (10mm, 20mm) -- origin; \stopMPcode \stoptext
Any clue how to create such a vectorised contour path?
Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 9/11/2018 5:28 PM, Alan Braslau wrote:
Hi Marco,
In Metapost, fill is:
def fill expr c = addto currentpicture contour c _op_ enddef ;
(whereas draw adds a "doublepath".)
the double in doublepath always puzzles me Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Alan Braslau
-
Hans Hagen
-
Marco Patzer
-
Wolfgang Schuster