--- jupyter: description: 'Manufacturing examples with planex2d in Python: gear cutting by a rack, pocket milling with offsets, a slicer for 3D printing with G-code, a laser-cut box with kerf compensation, stencil lettering, drawings of a flange series from its design table, and a design table of adjusting slots.' --- # Manufacturing examples - [Gear cutting](gear-cutting.md) - [Pocket milling](pocket-milling.md) - [A slicer for 3D printing](slicer.md) - [Laser-cut box](laser-cut-box.md) - [Stencil lettering](stencil-lettering.md) - [Flange drawings from a design table](flange-drawings.md) - [How long can adjusting slots be?](adjusting-slots.md) These examples prepare parts for the machines that cut or build them. Offsets do most of the work. A pocket is cleared by offsets of its outline for a 6 mm end mill, a laser-cut box gets its kerf compensated, and a slicer turns each layer of a STEP part into perimeters and infill and writes the G-code. Gear cutting subtracts a rack cutter in every position, and stencil lettering finds the islands inside letters and bridges them so that nothing falls out. Two examples work from a design table. One draws a production drawing for every size of a flange series, and the other fills the table itself, writing a motor plate's web for every slot length to a CSV file.

In this section

Gear cutting
Gear cuttingA rack cutter with one subtraction per position, from which involutes and undercut emerge.
Pocket milling
Pocket millingOffsets for a 6 mm end mill and the material left in the corners.
A slicer for 3D printing
A slicer for 3D printingA STEP part cut into layers, with perimeters, infill and G-code.
Laser-cut box
Laser-cut boxFinger joints with the kerf compensated by offsets, and the cut path as DXF.
Stencil lettering
Stencil letteringIslands inside letters found and bridged so that nothing falls out.
Flange drawings from a design table
Flange drawings from a design tableOne sketch updated to every size, and a dimensioned drawing with a title block for each.
How long can adjusting slots be?
How long can adjusting slots be?A motor plate's slots lengthened step by step, the web to the edge written to a CSV.
See [Examples](index.md) for the other collections.