Labels are texts that complement the graphic description of a cutting pattern. Corte associates each semiproduct of the pattern, being either an intermediate or a final one, with an only label. However, you can customize the text, location and appearance of all the above labels through a single label format.

 

To define the label format, select Launch Options from the Tools menu and show the Labels tab. Here you can:

 

Load different formats supplied by Corte: Select Load to choose one of the format files (fmt) available in the Corte’s installation folder.

Generate the label format from the default label types: Select Generate to easily obtain the label format starting from four default label types: Part Label, Offcut Label, Vertical-Cut Label and Horizontal-Cut Label. From the Generate Label Format window, first select the Label Type and then press Configure to show the Edit Label window.  Here you can select the Semiproduct Parameters to show with the label and also configure their visual attributes: alignment, font and clipping. Unless you’re using conditional sequences, you won’t need to enter any escape sequence manually since they will be all generated automatically. (See semiproduct parameters and escape sequences below)

 

See also: Editing Labels.

 

 

Restore the original format: Select Original.

 

Edit manually the format text: Edit the text in the Label Format box.

 

Tip: You can use context menus to copy the format template showed here below.

 

Save your customized formats: After editing or generating the label format, select Save to create a new format file that can be loaded later.

 

Delete the label format: Erase all the text in the Label Format box not to show any label.

 

 

The label format is a text including semiproduct parameters and escape sequences.

 

Semiproduct parameters are always prefixed by the “#”  (number) character and will be replaced by their actual values when displaying the label.

 

Semiproduct Parameters

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

                         

                         

            

            

            

            

            

 

 

 

 

 

 

Escape sequences are always prefixed by the “\” (backslash) character and will control generation, location and appearance of the label.

            

 

Alignment Sequences

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: Text within brackets [ ] can be omitted.

 

Important remarks about the label format

 

· Parameters indicating dimension or distance will take their values according to the length units format.

 

· Escape sequences of the same type will be applied from left to right which will keep in active the last one applied, that is, latter sequences overwrites former sequences. When resolving alignment sequences, the previous ones resulting in a contradiction are ignored.

 

· Conditional sequences can be nested providing the label format with a great flexibility. It allows labels to be generated in a different way according to the semiproduct type. Some widely used conditions are listed below:

 

#DIR=0             Final semiproduct condition.

#DIR<>0           Cut semiproduct condition.

#OFF>0             Reusable offcut condition.

#P<>0                Part semiproduct condition.

The nested use of the above conditions will allow you to completely identify any type of semiproduct. You can use the next example as a template when creating the label format (comments between “<>” should be omitted):

 

\if  #DIR=0 \then

    <final semiproduct. Whether it is a part, offcut or scrap remains to be determined>

         \if #P<>0 \then

               <part semiproduct>

         \else

              < Whether it is an offcut or scrap remains to be determined >

                \if #OFF>0 \then

                       <offcut>

 

                 \else

                      <scrap>

                 \endif

 

         \endif

\else

      <cut semiproduct. Whether it is vertically or horizontally cut  remains to be

        determined >

          \if #DIR=1 \then

               <vertically cut>

          \else

                <horizontally cut>

          \endif

\endif

 

· Since Corte internally works with integer units, when comparing against a constant value indicating length or distance, provided that either decimal or fractional units are being used in the launch, place the macro “toint”  in front of such constant in order to realize the conversion. For example: #SL>toint34.45, #SW<=toint23 4/5.

 

· The font sequence do not include any specification to modify the label color. To do that, select Preferences from the Tools menu.

 

· Clipping will only be applied if the label is aligned within the semiproduct.

 

· Carriage Returns (Enter key) used directly in format text definition will not be applied when generating the label. However, carriage returns introduced when editing from the Edit Label window will automatically generate the \n sequence.

 

· The characters “(  ) ;” are all used internally by Corte as delimiters in the launch file. You may still continue using them when defining the label format as they will be automatically replaced by the escape sequences “\1 \2 \3”, respectively.

Corte 4

Copyright ©  2003-2006 CorteOptimo.com

All rights reserved

4.4

Configuring the Launch

4

Text Box: Labels
Text Box: index

#OX

Semiproduct origin X coordinate with respect to the left-bottom corner of the pattern.

#OY

Semiproduct origin Y coordinate.

#C

Cut consecutive number.

#SL

Semiproduct Length.

#SW

Semiproduct Width.

#PL

Part Length.

#PW

Part Width.

#RX

Part repetition in the horizontal direction.

#RY

Part repetition in the vertical direction..

#DESC1

First part description

#DESC2

Second part description

#OFFX

Length of the offcut left within the semiproduct in the horizontal direction

#OFFY

Length of the offcut left within the semiproduct in the vertical direction

#P

Part index: =0 if the semiproducts do not distribute any part.

#ROT

Part rotation: =0 not rotated, =1 rotated 90 degrees.

#DIR

Cut direction: =1 vertical, =-1 horizontal, =0 no cut (final semiproduct).

#DIM1

First cut dimension. Distance from the left side of the semiproduct if the cut if vertical or the bottom side if the cut is horizontal.

#DIM2

Second cut dimension. Distance from the cut to the opposite side of the semiproduct.

#SP      

Semiproduct consecutive number.

#OFF

Offcut consecutive number. =0 no reusable.

#LM     

Left margin.

#RM     

Right margin.

#BM

Bottom margin.

#TM

Top margin.

\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, right, vertical center and horizontal center of the semiproduct.

\if<condition>\then

    <format1>

[\else

    <format2>]

\endif

Conditional sequence. if <condition> holds then <format1> is applied, else <format2> is applied.<condition> is an expression of the kind <operand><comp><operand>, where <operand> is either a semiproduct parameter or an integer value and <comp> is any of the comparison operators:  =,<,>,<=,>= and <>.

\font [<name>][,<dimension>] [,bold][,italic]\endfont

Font sequence. Defines the font of the label. By default, the sequence \fontArial,8\endfont is applied.

\clipon,\clipoff 

Clipping sequences. Respectively, enable and disable clipping of the label text within the semiproduct.  \clipon is active by default.

\n

New line sequence. Put the text following it into a new line.