Skip to content
OpenChipwiki

Print correction for overcure

Resin printers cure a little past where they are told to. Light spreads sideways past the edge of a feature and carries on downward through the layers above a channel, so small channels come out narrower and lower than drawn, and the smallest close. Print correction measures that on your printer and enlarges channels at export to cancel it.

It is optional. With Print correction set to None (uncompensated), which is where every session starts, OpenChip exports exactly what you drew, as it always has. Nothing asks you to calibrate.

Changed The STL and OpenSCAD files you export while a profile is selected.
Never changed The design. The Draw canvas, the 3D preview, the Design checks, the flow estimates and the saved .openchip file all stay at the size you drew.

The correction is recomputed from the nominal design every time you export. It is never written back, so there is nothing to undo and no way to correct a design twice.

You need one print of a small coupon, about an hour including washing.

  1. Open CAD Preview. In the Export section, open Print correction and choose Calibrate a printer….
  2. On Print the coupon, choose Download coupon (.openchip), or Open the coupon in the editor. The coupon is an ordinary project.
  3. Export its STL with Print correction set to None (uncompensated).
  4. Print it flat, base down, with no tilt, in the resin and at the exposure settings you use for real chips.
  5. Wash it and flush every channel before curing. Resin left inside a channel reads as a closed channel and will be fitted as overcure.

The coupon is a narrow monolithic strip crossed by straight rectangular channels, one for each combination of width and height. By default the sizes are spread around the minimum feature size in your printer profile, from half of it to three times it, so that some channels close and some stay open. With the Standard 4K preset that is seven widths from 0.1 mm to 0.6 mm and four heights from 0.1 mm to 0.5 mm: 28 channels on a strip about 14 × 44 × 3 mm.

Channels are grouped by height. OpenChip has no text to engrave, so each group is labelled with dots in the top face: one dot for group 1, two for group 2. The dots are at one end of the strip, which also tells the two ends apart.

Within a group, channel 1 is the one nearest the dots and is the widest. A channel’s name is its group and position, so 2.3 is the third channel in the two-dot group. Measurement sheet (.csv) downloads a table of every channel and its drawn size, to print or fill in at the bench.

Advanced: choose the sizes lets you set the widths, heights, channel length, gaps, floor, roof and dot size yourself.

On Enter results, click each channel to mark it:

Mark Means
Open Liquid flushes through freely, or light shows through.
Partial It passes, but visibly restricted.
Closed Nothing passes.

Leave a channel unset if you did not check it. Import a filled-in sheet or profile… reads the CSV sheet back, or the measurements stored in an existing profile.

Advanced: enter measured dimensions takes a measured width and height for any channel you have measured. This is optional, and it is the difference between a rough estimate and a fit: see below.

OpenChip fits three numbers and tells you what each rests on.

Evidence What you get
Open / partial / closed only A range, not a value. The fit can only say the offset lies between the largest size that closed and the smallest that stayed open, and takes the middle. The dialog labels this a coarse fit and shows the range.
Measured widths A least-squares fit of the lateral offset, with its RMS residual. With three or more different widths measured, it also fits how much worse narrow channels are.
Measured heights The mean loss of height, with its scatter.

Two cases the dialog calls out:

  • Nothing closed. Overcure is below what the coupon resolves. No correction is applied on that axis, because enlarging channels on no evidence can only make a good print worse.
  • Nothing stayed open. The offset is a lower bound. Reprint with larger sizes.

If a result does not fit any threshold, for example a narrow channel open beside a wider one closed, the dialog counts it. Check the entry, or flush the coupon again.

Advanced: edit values lets you type the three numbers yourself.

Name the profile after the printer, the resin and the exposure, fill in what you know about the setup, and choose Save profile (.ocdfm) and use it. The file downloads and the profile is selected for export.

The profile is a file of its own, never part of a project, so one profile serves every chip you print on that setup and can be sent to someone with the same printer. Loaded profiles are remembered in your browser. Keep the file: it is how a profile moves between browsers and people. Its contents are documented in The print-correction profile.

Choose the profile under Print correction, or Load a profile… to read a .ocdfm file. Then export as usual.

  • The file is named with the profile, for example my-chip-dfm-mars-4-clear.stl, so it cannot be mistaken for the nominal file.
  • The profile name and a hash of its contents are written into the STL header and into the comments at the top of the OpenSCAD source.
  • The line under the selector shows the offsets being applied.
  • The project remembers which profile it was last exported with. It never selects it for you: the next session starts on None (uncompensated) and offers Use it.

SVG schematics, PNG snapshots and the presentation bundle are drawings of the design, not print files, and are never corrected.

Enlarging channels uses up the material between them. When compensation would push a design past one of its own limits, the Export section lists each case with the features involved and how much is missing:

Conflict Reported when compensation
Thin wall leaves less wall between two channels than the larger of the chip’s wall thickness and the minimum printable wall (0.4 mm by default)
Merge makes two channels touch or overlap
Edge clearance pushes a channel or chamber inside the chip’s minimum edge spacing
Thin roof raises a ceiling to leave less material above it than the wall thickness
Breakthrough raises a ceiling through the top face

Only problems that compensation created or made worse are listed. A wall that was already too thin as drawn is reported by Design checks, as before.

A conflict is a warning. The export buttons stay live, and None (uncompensated) is always available. Give the features more room, or export as drawn and accept the smaller channels.

With a profile selected, Preview DFM appears beside the STL button. It opens a panel in the sidebar; the main 3D view keeps showing the design as drawn.

The panel is read-only. It shows the profile name and the offsets applied, a top view, and cross-sections.

Drawn as Means
Translucent fill, dashed outline The channel as drawn
Diagonal hatching Material removed by compensation
Solid accent outline Where the edge moves to
Cross-hatching, heavier outline, diamond marker A conflict
Thin plain outline Unchanged, such as a port

Every state has its own line style or hatch as well as its colour.

Zoom in. A lateral offset is a few hundredths of a millimetre, which is invisible with the whole chip in view. Scroll to zoom, drag to pan.

Use the slice line. The ceiling correction cannot be seen from above. Drag the slice line, or click to place it, and each channel it crosses is drawn in section with its drawn and corrected width and height. Across X and Across Y turn the slice.

The expand button shows the same view full size. Esc or the close button returns to the sidebar panel. The preview follows the design as you edit.

The correction has three parameters.

Parameter Field Meaning
Δxy deltaXyMm How far one isolated edge cures past where it was drawn, per side.
λ lateralDecayMm How quickly stray light falls off across a channel. Zero makes the lateral offset the same at every width.
Δz deltaZMm How far a channel ceiling cures downward.

The shape comes from Jacobs’ working curve for cure depth,

C_d = D_p · ln(E / E_c)
Symbol Is Unit
C_d Cured depth mm
D_p Penetration depth of the resin mm
E Exposure delivered mJ/cm²
E_c Critical exposure, below which the resin does not gel mJ/cm²

It says dose falls off exponentially with distance and the resin cures wherever the dose is still above a threshold.

OpenChip takes stray light past an edge to fall off the same way sideways. One edge then cures a fixed distance Δxy past its drawn position. A channel has two edges facing each other, and their stray doses add in the gap, so each wall moves further as the channel narrows and the channel closes at a drawn width of

W_close = 2 · Δxy + 2 · λ · ln 2

To correct a channel, OpenChip solves for the width to draw so that the printed width equals the width you asked for.

Cure-through into a ceiling depends on dose, not on how wide the channel is, so Δz is a single distance. The ceiling is raised by Δz and the floor stays where you drew it.

This is an empirical curve with a physically motivated shape. Δxy, λ and Δz are fitted to your coupon directly. D_p and E_c are not recovered: a coupon printed at one exposure cannot separate them.

Reference: P. F. Jacobs, Rapid Prototyping & Manufacturing: Fundamentals of StereoLithography, Society of Manufacturing Engineers, 1992.

  • Printed flat, base down. The ceiling correction assumes the layers that form a channel’s roof are printed after the channel. Tilted or inverted prints put the cure-through on a different face.
  • The ceiling correction applies to monolithic chips only. A two-piece chip or a glass-slide chip prints its channels as open grooves, with no printed ceiling to cure downward. Those get the lateral correction only, and the panel says so.
  • Ports and fittings are not corrected. A luer taper is a fit to a standard part, and widening it from channel measurements would loosen the seal. Channels, corner joints, chambers and drainage vents are corrected.
  • One offset for the whole plate, the same in every direction. Real printers are brighter in the middle of the screen and are not perfectly isotropic.
  • The coupon measures enclosed channels. The same lateral offset is applied to open grooves, which wash out more easily and may bleed less.
  • Round and trapezoidal channels are approximated. A round channel is corrected as a larger circle, which also lowers its floor by Δxy. A trapezoid keeps its draft, so its floor widens by 0.7 of what its top does. Both err toward a slightly larger channel.
  • Pixel snapping rounds sizes only. If you enable it, corrected widths are rounded to a whole number of pixels. Where a channel lands on the pixel grid is decided when you place the part in the slicer.
  • A profile is for one setup. Change the resin, the exposure, the layer height or the printer and the offsets change. Calibrate again.
  • A coarse fit is coarse. From open/closed results on the default coupon, the lateral offset is known to about a quarter of the width step at best.