|
Labels are texts that complement the graphic description of the cutting patterns. Corte associates a label to each semiproduct in a pattern. You can customize both the text and location of the labels by defining a label format.
To modify a label once created, select its semiproduct in the Cutting Patterns Sheet and access Label from the Edit or context menu. To define the default label format that will be applied to all of the patterns, select Options from the Tools menu and access the Labels tab.
Tip: Try with the different formats supplied by Corte. To do that, from the Labels tab, load the format files (.fmt) available in the Corte’s installation folder. You can also define and save your own formats or define no default format at all if you deletes its text, in which case none of the labels are going to be showed, only the edited ones.
Important: The characters “(“, “)” and “;” are all used internally by Corte as delimiters in the launch file. None of them can be used when editing label texts from the Edit menu. However, all of them can indeed be used when defining the default format.
A label format is a text that can contain semiproduct parameters and escape sequences. Semiproduct parameters always begin and end with the character “#”. They are:
#OX X coordinate of the semiproduct origin with respect to the left-bottom border of the pattern.
#OY Y coordinate of the semiproduct origin with respect to the left-bottom border of the pattern.
#C Consecutive number of the cut in the semiproduct
#SW Semiprodcut width
#SH Semiproduct height
#PW Width of the part distributed in the semiproduct
#PH Height of the part
#RX Multiple part repetition in the horizontal direction
#RY Multiple part repetition in the vertical direction
#OX Length of the offcut left inside the semiproduct in the horizontal direction (beyond the last part)
#OY Length of the offcut left in the vertical direction
#P Part index. 0 if the semiproduct is an offcut
#ROT Part rotation: 0 no rotation. 1 the part is rotated 90 degrees
#DIR Cut direction. 1 vertical, -1 horizontal, 0 there is no cut (final semiproduct).
#DIM1 First dimension for the cut. Distance from the left side of the semiproduct if it is vertically cut or from the bottom side if it is horizontally cut.
#DIM2 Second dimension for the cut. Distance from the cut to the opposite side of the semiproduct.
#SP Consecutive number of the semiproduct.
#O Consecutive number of the reusable offcut. 0 if the offcut is a non-reusable one
Note: Parameters indicating dimension or distance will take their values according to the length units format. See Configuring the Launch.
Escape sequences always begin with the back slash “\” character and can be grouped in:
Alignment Sequences
\vin: Vertical alignment is realized inside the semiproduct.
\vout: Vertical alignment is realized outside the semiproduct.
\vcut: Vertical alignment is realized with respect to the cut.
\hin,\hout,\hcut: Idem for horizontal alignment.
\top,\bot,\lef,\rig,\vcen,hcen: Respectively, align with respect to the top, bottom, left and right sides, vertically center and horizontally center.
Note: Contradictory alignment may lead to unexpected results. For example: \top\hin\hcut.
Control Sequences
\if<condition>\then<format if condition holds>\else<else format>\endif: You can include if conditionals (even nested ones) in the format in order to the label be generated in a different way according to the semiproduct type. Here, <condition> is an expression of type <operand><compare><operand>, where <operand> can be either a semiproduct parameter or an integer value and <compare> is one of the following comparisons: =,<,>,<=,>= and <>. For example:
#DIR=0: Final semiproduct condition (it is not cut).
#P=0: Offcut condition.
#DIR=-1: Horizontal cut condition.
Important: Whether an if conditional is used, you must include all of its escape sequences, \if,\then,\else and \endif, even if one of its branch generates no text.
Since Corte works internally with integer units, when compare against a constant that indicates length or distance, having the unit of the launch a precision lesser than 1, prefix such constant with the macro “toint” to make the conversion. For example: #SW>toint34.45, #SH<=toint23 4/5.
\font[<name>][,<size>][,bold][,italic]\endfont: Defines the letter type. Omitted parameters will take their default values: \fontArial,8\endfont.
\clipoff: Labels are always clipped by their semiproducts when they are aligned inside them. Include this sequence to disable this default setting.
\n: New line sequence. Provoke the next text in the label to appear in a new line.
Note: Do not confuse with the new lines when defining the format, which are no to be considered when generating the label. However, when editing a label text from the Edit menu, pressing Enter key will automatically generates a \n sequence. |
|
Corte 3 Professional Edition Copyright © 2003-2005 Neginter del Caribe Ltd. All rights reserved |
|
5.7 |
|
Working with the Solution |
|
5 |
|
Customizing Labels |