Skip to main content

Authoring punch patterns

A punch pattern is a named list of punches, authored on the Punch Patterns page or imported with an order (see Punch pattern import). A pattern is machine-agnostic: it says what to punch and where on the part, and Eclipse works out how each machine produces it when the pattern is solved.

Each row in the pattern grid is one punch: a type (what to punch), an X reference and offset (where along the part), and a Y reference and offset (where across it).

Punch types​

TypeWhat it punchesWho resolves it
ShapeA named shape — RD500, SLOT2X1, … — looked up in each machine's shape table.Eclipse. Shape punches are fully resolved per machine: the shape code picks a press and tool, per-tooling-code flips and offsets apply, and segment references are converted to real positions. The controller receives only absolute positions.
ToolA specific tool number.The controller. Tool punches pass through as-is, so the pattern only runs on machines that have that exact tool.
Macro (tool macro)A named macro of tool punches — a reusable sub-pattern — placed at a position along the part.The controller expands the macro when the part runs. In a pattern with shapes, Eclipse expands it into tool punches when it solves the pattern (see Tool macros).
Macro (shape macro)A named macro of shape punches, placed the same way.Eclipse. It replaces the call with the macro's shapes before solving, and from then on they are solved like shape punches typed into the pattern.

Shape punches are the portable kind, and everything on the rest of this page about solving — flips, segments, repetition — applies to them, including the ones a shape macro adds. Tool punches are carried through to the controller unchanged, and so are calls to tool macros in a pattern without shapes.

A shape code can also be an alias — a name from the global shape alias table that stands for one or more real shapes, so a single punch row can mean a cluster of hits. The editor shows what an alias resolves to next to the shape code; the expansion happens at solve time.

A pattern can itself be a macro that other patterns call; see Macros.

Converting a tool punch to a shape​

The Convert to shape action (the shape icon on a tool row) turns a tool punch into shape punches, so the pattern no longer depends on that tool number. It lists what the machines' shape tables say the row's tool punches, with the machines that define it that way, and under each choice the aliases that stand for the same holes. Every choice shows the punches it would write. Pick one and click Convert.

When other rows in the pattern use the same tool, Also convert the other rows that use tool N is ticked to start with, and converts them to the same choice, each keeping its own place in the pattern. Untick it to convert just the row you clicked.

Eclipse sets the offsets so each hole lands where the tool puts it:

  • When the shape table places a shape off the tool's center, the X and Y offsets include that distance.
  • When the tool has no axis, Y comes from where the machine holds the tool, not from the row's own Y.
  • A tool that punches several holes at once becomes one shape punch per hole. An alias whose shapes match all of those holes is offered too, and keeps the row to a single punch.
  • When an alias adds offsets of its own, they are taken off, so the alias resolves back to the same spot.
  • When a machine has a tooling-code rule that applies to every tooling code (*) and it flips or shifts shape punches, the row is written so that after the flip or shift it still lands where the tool punched. Tool punches never get those flips, so without this a converted row would end up mirrored.

If machines define the tool differently, for example with the tool in another position, each version is listed separately with its own machines.

The dialog warns you to check the converted row when:

  • the tool rides an axis but the row has no Y reference, so the Y is kept as typed;
  • a machine has other tooling-code rules that flip or shift shape punches differently, or set a strip offset. Under those tooling codes the shape lands somewhere other than where the tool punched;
  • the row is part of an even-spacing or proportional group. Shapes are grouped by shape code, so convert the group's other rows for that tool to the same shape. Such rows aren't adjusted for an X flip or shift, because the solve places even-spacing and proportional runs without it, and a tool that punches several holes at once isn't offered for them.

In a macro, the converted rows are placed from the call (Macro+ / Macro-), the only Y references a shape macro allows. A tool macro row measured from the strip center, or a tool with no axis, punched at the same Y wherever the macro was called; as a shape macro row it lands there only when the macro is called at Y 0, so the dialog names any pattern that calls it somewhere else. Machines that measure the tool's Y from a strip edge aren't offered, and flips the machine applies to every tooling code aren't accounted for, because they move the call and its holes together. When every row is a shape, see Changing a macro that patterns call.

Another shape converts the row to any shape code and keeps its offsets and references as they are. A row that uses the Kerf Adjust or Independent X reference can't be converted, and neither can a row that lists more than one tool (split it first). Nothing is saved until you save the pattern.

X references — where along the part​

Every punch has an X reference naming an anchor and an X offset measured from it. "Leading" is the first end of the part to leave the machine.

The four anchors​

X ReferenceThe offset measures…
Leading Edge…from the leading end. The position is fixed — it does not move if the part gets longer.
Trailing Edge…back from the trailing end. The position moves with part length.
Leading Center…from the middle of the part, toward the leading end.
Trailing Center…from the middle of the part, toward the trailing end.

These anchors are what make a pattern length-parametric. The pattern stores the anchor and offset, not a final position; Eclipse computes absolute positions from the actual part length at solve time. A typical stretching pattern pins some punches to the leading end, some to the trailing end, and lets the middle take care of itself.

Repeating punches — Even Spacing​

For a run of evenly spaced holes, rows with the same shape code work together as a group (rows calling the same shape macro group the same way; see Calling a macro):

  • An Even Spacing row's offset is the pitch, not a position. Holes repeat at that pitch to the end of the part — the hole count comes from the part length, so longer parts simply get more holes.
  • An optional Leading Edge row of the same shape becomes the start anchor: the first hole lands exactly there, then every pitch after. (The anchor row doesn't emit a separate hole of its own.) Without one, the first hole lands one pitch in from the leading edge.
  • An optional Spacing Limit row of the same shape defines a trailing dead zone: its offset is a distance from the trailing end that the run must stay out of. It never emits a hole itself.

For example, pitch 10 on a 100-inch part puts holes at 10, 20, … 90. Add a Leading Edge row at 15 and they become 15, 25, … 95. A Spacing Limit of 15 instead keeps the run out of the last 15 inches.

One even-spacing run per shape code per pattern — use different shape codes for independent runs.

Proportional spacing​

Where Even Spacing fixes the pitch and derives the count, the proportional references fix a bound on the spacing and pick the count that divides the part evenly:

  • ProportionalMin — the offset is the minimum acceptable spacing. Eclipse picks the largest hole count that keeps the actual (even) spacing at or above it.
  • ProportionalMax — the offset is the maximum acceptable spacing; Eclipse picks the smallest count that keeps the spacing at or below it.
  • ProportionalLimit — an optional companion row giving the bound on the other side. If no count can satisfy both, the pattern fails to solve for that part length.

As with Even Spacing, same-shape Leading Edge and Trailing Edge rows act as companions: they pull the span's endpoints in from the part ends and place a hole exactly on each anchor, with the proportional holes dividing the span between them.

Kerf Adjust and Independent​

These two are part of the controller's pattern language and remain selectable for tool punches, which pass through to the controller. They are not supported on shape punches — a shape punch using either will not solve — and can't be used on a call to a shape macro.

Y references — where across the part​

The Y reference and Y offset place the punch across the strip. Machine plus/minus is the machine's own Y direction (see machine orientation for how it's drawn).

Y ReferenceMeaning
NoneNo explicit reference — behaves as Center+.
Center+ / Center-Offset from the strip center, toward machine plus / minus.
+Edge / -EdgeOffset measured inward from the strip's plus / minus edge. Offset 0 is on the edge.
Macro+ / Macro-Offset from the point where the macro is called, toward plus / minus — for rows inside a macro pattern. In a relocatable shape macro they are the only Y references allowed.

On a shape punch, filling in the Segment column changes the frame: the Y reference then selects an anchor within the named profile segment instead of the machine. See Segment references.

Macros​

A macro is a pattern that other patterns call by name; tick Macro on the pattern to make it one. Every punch in a macro is placed relative to the point where it is called, so only the Leading Center and Trailing Center X references are allowed inside it: Leading Center lands before the call point, Trailing Center after it. The editor flags anything else, and the save is rejected with "Macros must have all X Reference values set to LeadingCenter or TrailingCenter." Macros can't call other macros.

What a macro does depends on its punches.

Tool macros​

A macro of tool punches goes to the controller, which stores it under its pattern number and expands it wherever a pattern calls it. A tool macro needs a pattern number from 975 to 999, or from 650 to 999 on XL200 controllers with the 'M' model option.

A pattern that also has shapes is solved, and its solution reaches the controller as fixed operations, so there Eclipse expands each call to a tool macro itself. Every row of the macro becomes a tool punch at a fixed position along the part: the call's position (each position of an even-spacing or proportional run, worked out as for shapes) plus the row's Leading or Trailing Center offset. A row with Macro+ or Macro- is placed from the call's Y; a row measured from the strip (Center±, ±Edge or None) keeps its Y. Like any tool punch in a solved pattern, these aren't checked for crashes and the tooling code's flips and strip offset don't apply to them. A call to a tool macro that doesn't exist fails the solve with MacroNotFound.

Shape macros​

A macro of shape punches is a shape macro. It never goes to the controller and has no pattern number. When Eclipse solves a pattern that calls it, it replaces the call with the macro's shapes, and from then on they are treated exactly as if they had been typed into the calling pattern: shape aliases, the machine's ignored shapes, segment references and the tooling code's flips and offsets all apply, and the solver assigns each one a press and tool.

A shape macro holds only shape punches, and its rows make it one of two kinds. The editor shows Shape macro next to the Macro checkbox; its tooltip says which kind.

KindIts rowsWhere the holes go
RelocatableNo segment on any row. Y is Macro+ or Macro- (or Macro Mirror for the pair).Relative to the call in both X and Y. The call says where the cluster goes.
PlacedA segment on every row, with Default, Center± or Edge±.Relative to the call in X; each row's Y comes from its own segment reference.

A macro that mixes rows with and without a segment can't be saved.

Use a placed macro when a cluster spans the web and the flanges, or when it must serve profiles with different leg heights: each hole follows its own segment, so one macro serves a CEE and a ZEE alike. For a cluster that stays on one segment, a relocatable macro called on that segment does the same job.

Calling a macro​

Add a row of type Macro and pick the macro by name; the list marks each one tool or shape, and the label's tooltip on the row says how a shape macro is placed. There is one Macro type for both kinds: Eclipse stores the call according to the macro named.

  • X. Any of Leading Edge, Trailing Edge, Leading Center, Trailing Center, Even Spacing or the proportional references. Even and proportional spacing work as they do for shape punches, with the rows calling the same macro acting as the group, and each position gets a copy of the whole macro. That is the usual way to repeat a cluster down the part.
  • Y, relocatable macro. Placed like a shape punch: a machine reference, or a segment and anchor ("this cluster at the center of FlangePlus"). Macro+ and Macro- are for the rows inside the macro, not for the call.
  • Y, placed macro. None. The editor shows From macro, because the macro's rows carry their own Y.

The flat view draws a shape macro's holes like any others, and each hole's tooltip names the macro and row it came from. A solution's diagnostic detail has a MACROS section listing each macro the pattern calls, how many copies were placed and the holes they added.

To see a shape macro on its own, open the macro and choose Visualize. Pick a machine, material and length as you would for any pattern; macros remember a length of their own, which starts with room for the macro. The flat view then shows one call to the macro in the middle of the part, marked by a Macro call line.

  • A relocatable macro is called on the strip center, so each hole sits its Leading/Trailing Center and Macro± offsets from where that line crosses the strip center.
  • A placed macro takes its Y from its rows, so it needs a tooling code whose profile the segments can resolve against.
  • The machine's shape aliases and ignore lists and the tooling code's flips apply, as they would in a calling pattern. The machine's part printing and tooling code pattern rules are left out.

A machine that can't run a macro's holes at all can skip it: see Ignored macros.

Changing a macro that patterns call​

Patterns call a macro by its name and rely on its kind. So while any pattern calls it, a macro can't be renamed, stop being a macro, or change between tool, relocatable and placed. The macro's Where Used tab lists those patterns under Used by patterns. Other edits are fine, and saving the macro re-solves every pattern that calls it.

The one exception is turning a tool macro into a shape macro, typically after converting its rows. When every row is a shape and the pattern number is cleared, saving asks to update the patterns that call it as well. Their calls become calls to a shape macro and their pattern numbers are cleared, so from then on Eclipse solves them for each machine instead of sending them to the controller as they are. The machines that run them need the macro's shapes in their shape tables.

Before anything is saved, every calling pattern is checked. Nothing is saved when one of them can't take the change, for example a call whose Y uses Macro+ or Macro-. A calling pattern that also calls other tool macros is fine: once it is solved, Eclipse expands those calls into tool punches (see Tool macros), so a left-hand and a right-hand end macro can be converted one at a time. If a calling pattern can't be saved after the macro has been (the Agent stops answering, say), the message lists it; open it, clear its pattern number and save it.

Exploding a call​

The Explode action (the expand icon on a call to a shape macro) replaces the call with the shape punches it stands for, in the same place, each with its own offsets worked out. The pattern solves to the same holes before and after, but it no longer follows changes to the macro and no longer counts as calling it. Nothing is saved until you save the pattern, and Cancel discards the change as usual.

Explode isn't available for:

  • a call that is part of an even-spacing or proportional group: when any row calling the same macro uses Even Spacing, Spacing Limit or a proportional reference, the number of copies depends on the part length, so no fixed set of punches can replace it;
  • a call whose Y uses a segment's Default anchor while the macro moves holes in Y. Each machine's segment alias table can set that anchor differently, so choose an explicit anchor (Center+, Center-, +Edge or -Edge) first;
  • a call to a macro that doesn't exist or isn't a valid shape macro.

The icon's tooltip, or the message after you click it, says which.

Authoring shortcuts​

The editor has two conveniences that expand into ordinary punches when the pattern is saved:

  • Mirrors. Center Mirror and Edge Mirror (offered for both X and Y) create the symmetric pair in one row: Center Mirror becomes a Center+ and a Center- punch with the same offset (Leading Center / Trailing Center on the X side), Edge Mirror becomes the +Edge / -Edge pair (Leading Edge / Trailing Edge on X). Inside a relocatable shape macro, Macro Mirror makes the Macro+ / Macro- pair. This is a one-shot shortcut — after saving, the pattern shows the two expanded rows, not the mirror.
  • Comma lists. The offset and tool fields accept comma-separated values; the row expands into every combination. Three X offsets and two Y offsets make six punches.

From pattern to parts​

The pattern's Solutions tab shows the result per machine — the solved operations, or the solution alert explaining why the machine can't produce it. Each solved row's flat view draws the punched blank exactly as that machine runs it, which is the quickest way to sanity-check a new pattern.