3D Printing Generator
DeutschEnglish

Print a pen cup: tube ring or twisted honeycomb holder

A pen cup as a tube ring or a twisted honeycomb

A pen cup keeps pens, pencils, brushes and markers upright instead of rolling around the desk. This generator builds two kinds of pen holder. The first is a tube ring: a circle of tilted tubes, each with a hole for one pen, around an open compartment in the middle. The second is a honeycomb: hexagonal cells that widen and twist going up, standing on short base cups, with a top edge that you can cut into a wave, a dune or a trough.

You choose the sizes, the generator draws the cup, and you download an STL or 3MF file for your slicer. The examples show what is possible, from a tall round pen cup for ballpoint pens to a colored pencil ring for 36 pencils and a twisted honeycomb with a wavy top.

How the generator works

Everything runs in your browser. You change the numbers, the 3D preview updates, and nothing is uploaded. Your design lives in the link behind “Share”, so you can open it later or send it to someone. When you are happy, download the file.

Both styles are ports of OpenSCAD models on Printables (see “Origin and licenses” below). We rebuilt them in TypeScript so that they run in the browser, and we added a few limits so that the cups print without supports and fit a 180 mm bed.

Two styles

Choose one with “Style”: “Tube ring” or “Honeycomb”.

  • Tube ring. Tubes stand wall to wall in a circle. More tubes make a wider ring and a larger middle compartment. Every tube can be tilted along the ring, which gives the twisted look, and leaned inward or outward.
  • Honeycomb. Cells of one to seven groups sit on a hexagonal grid. Tall cells twist and widen toward the top, short cells end low, and every cell has a floor.

Designing the tube ring

The groups “Tube ring” and “Angles” hold the settings of this style.

  • “Tubes” (10–64, default 12) is the number of tubes. The ring’s diameter follows from the tube count and the hole size: 36 tubes with 8 mm holes make a ring about 119 mm across.
  • “Hole size” (5–30 mm, default 9) is measured across the corners of the hole. “Hole shape” and “Tube shape” can each be “Round”, “Triangle”, “Hexagon” or “Octagon”. A round hole in a triangular tube needs a thick wall, otherwise the hole cuts through; the generator then raises the wall and tells you.
  • “Tube length” (10–170 mm, default 40) is the length of each tube along its axis. The top is cut level, so the finished cup is a little lower: the default 40 mm gives a cup 33.5 mm tall.
  • “Wall” (1.2–4 mm, default 1.5) is the wall thickness of the tubes and of the floor.
  • “Tilt along the ring” (−40 to 40°, default 10) tilts every tube sideways and makes the ring look twisted.
  • “Lean inward” (−40 to 40°, default 5) leans the tubes toward the middle. Negative values lean them outward, so the ring opens up like a vase: the tube ring that opens up toward the top uses −6°.
  • “Turn of each tube” (0–180°, default 30) turns every tube about its own axis and decides where the corners of hexagonal or triangular tubes point. The octagon examples use 22.5°.

Tilt and lean together stay at 42° or less, because steeper tubes would need supports. Strong lean also makes neighboring holes cut into each other, and then the walls between some tubes are open; the editor warns you.

Designing the honeycomb

The groups “Honeycomb”, “Twist” and “Top edge” hold the settings of this style.

  • “Cell size” (15–60 mm, default 30) is the size of one cell across its corners. Cells shrink on their own when the cup would be wider than 178 mm.
  • “Height of the tall cells” (20–150 mm, default 90) is the height of the twisted part above the base cups. “Base height” (5–30 mm, default 15) is the height of the short cups under every cell; cells set to “Short” end there.
  • “Wall allowance” (2–8 mm, default 3) is how much smaller the inner hexagon is across its corners. The wall is about 0.43 times this value thick, about 1.3 mm at the default, and the cup floor is this value plus 0.1 mm.
  • “Cell groups” (1–7, default 3): one group is a middle cell and up to six neighbors. The first group sits in the middle, the others around it, each turned by 60°.
  • Neighbors: “Top neighbor”, “Upper left neighbor”, “Lower left neighbor”, “Bottom neighbor”, “Lower right neighbor” and “Upper right neighbor” can each be “Tall”, “Short” or “None”. The defaults are short on top and upper right, tall at the upper left, lower left and bottom, and nothing at the lower right.
  • “Twist” (−120 to 120°, default −30) turns the cells from bottom to top; positive turns clockwise going up. “Top scale” (0.6–1.6, default 1.15) sets how much wider the cells are at the top; 1 keeps them straight. If the walls would lean more than 42°, both values are reduced.

The top edge

“Top edge” is “Flat”, “Trough”, “Dune”, “Slope” or “Wave” (default “Wave”). The four shaped edges are computed cutters from the original model: a solid shape moves through the cup and removes everything above it, so the cell walls follow its curve. They are not heightmaps, and the eleven bitmap designs of the source are not included.

Seven settings place the cutter: “Cut height”, “Cut position x”, “Cut position y”, “Cut rotation”, “Cutter width”, “Cutter depth” and “Cutter height”. A lower “Cut height” cuts deeper into the cells. If the cutter lies above the cup it cuts nothing, and if it would remove everything the top stays flat; the editor says so in both cases. The easiest start is an example such as the honeycomb cup with a rounded trough or the dune top: open it and move “Cut position x”, “Cut position y” and “Cut rotation” until the edge falls where you want it.

What the generator limits for you

  • Footprint of 178 mm. A wider design gets fewer tubes, a lower ring or smaller cells.
  • Walls of at least 0.8 mm. Thinner tube walls are raised, and so are walls that a hole would cut through.
  • Walls at most 42° from vertical. Tilt, lean, twist and top scale are reduced to stay below that.
  • Short tubes. Tubes that are too short for the hole size are lengthened a little.

Every adjustment shows up as a note next to the settings, with the value that was used.

Choosing the hole size

Measure the thickest part of your tools with calipers, clip included, and set “Hole size” a little larger. Because the size is measured across the corners, a hexagonal hole is about 13 % narrower across its flats; a round hole is the simplest to size. The examples use these values:

ForHole sizeHole shapeExample
Ballpoint pens9.5 mmRoundTall pen cup
Colored pencils8 mmRoundColored pencil ring
Brushes and fineliners7 mmRoundBrush holder
Thick markers16 mmOctagonMarker ring

These are starting points, not tested fits. Print a short test ring first if a pen has to slide in without play.

Print numbers

We sliced every example in PrusaSlicer for a Prusa MINI with the 0.20 mm SPEED profile and Prusament PLA, with automatic supports switched on. It added none to any of them. The times and weights below come from those slices; yours will differ with another printer, profile or material.

ExampleSize (mm)FilamentTime
Ring of twelve twisted hex tubes50.5 × 50.5 × 33.521 g1 h 48 min
Tall pen cup71.9 × 71.9 × 8281 g5 h 37 min
Colored pencil ring118.6 × 118.6 × 54.4103 g7 h 49 min
Marker ring89 × 89 × 70.197 g4 h 47 min
Brush holder88.4 × 88.4 × 60.968 g6 h 24 min
Flared tube ring77.6 × 77.6 × 5448 g2 h 56 min
Straight octagon ring82.1 × 81.7 × 6991 g5 h 39 min
Honeycomb with a wavy top159.4 × 142.5 × 76.2120 g4 h 49 min
Straight honeycomb129 × 129.2 × 80123 g5 h 3 min
Seven-cell honeycomb117.2 × 117.2 × 115133 g4 h 34 min
Honeycomb flower146.5 × 137.4 × 85261 g11 h 20 min
Honeycomb with a trough166.8 × 142.5 × 105146 g5 h 54 min
Honeycomb with a dune166.8 × 142.8 × 105172 g6 h 43 min

The honeycomb flower shows how fast weight grows with seven groups: it is the heaviest and the slowest. To save filament, use fewer “Cell groups”, a lower “Height of the tall cells” or more cells set to “None”.

Printing tips

  • Orientation. Print the cup as exported, standing on its floor with the open end up. No supports are needed in the sliced examples, and you shouldn’t add any: they would fill the holes.
  • Layer height. 0.2 mm is a good default. With the default “Wall allowance” the honeycomb walls are about 1.3 mm thick, which a 0.4 mm nozzle prints with about three perimeters.
  • Material. PLA is the easy choice. It softens in a hot car or in strong sun, so keep the cup away from radiators; PETG is a little more forgiving.
  • Check the size first. Every example fits a 180 mm bed, the widest at 166.8 mm. If you change values, look at the size shown in the editor.
  • Weight. A cup with many tubes or many cells takes hours. Open a similar cup under “Examples” and change only what you need.

Color

The cup is a single part with one color, called “Cup” under “Colors”. With a single extruder you can change the filament at a layer height (M600); that recolors whole layers, so it fits a band at the base of the honeycomb and cannot color a single tube or cell.

Origin and licenses

The tube ring is a port of holder.scad from Customizable Pen Cup by djedi (CC BY 4.0). The honeycomb and its top edges are a port of hexagon_pencil_holder.scad and wave_design_generator.scad from Customizable hexagonal pencil holder / organizer (OpenSCAD) by pixel (CC BY 4.0).

We changed both: the tubes reach the floor at every tilt, tilt and lean are limited to 42°, walls to at least 0.8 mm, the footprint to 178 mm, the honeycomb groups sit exactly on the hex grid, every tall cell gets a base cup, and the top cut is open upward. Of the source’s wave designs we ported the computed ones, 12 to 15. All license texts are on the licenses page.

Now design your pen cup or browse the examples. To label a pencil instead, try the pencil topper with a name, or sort the rest of your desk with the desk organizer.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Tube ring
Tubes1210 – 64Number of tubes in the ring. They stand edge to edge, so more tubes make a wider ring with a larger middle compartment.
Hole size9 mm5 – 30 mmSize of the holes across the corners. Pick it a little larger than your pens; a triangular or hexagonal hole is narrower across its flats.
Tube length40 mm10 – 170 mmLength of each tube along its axis. The cup is cut level at (length − hole / 2) × cos(tilt).
Wall1.5 mm1.2 – 4 mmWall thickness of the tubes and of the floor.
Angles
Tilt along the ring10 °-40 – 40 °Tilts every tube sideways along the ring, which gives the twisted look. Tilt and lean together stay at 42° or less.
Lean inward5 °-40 – 40 °Leans the tubes toward the middle (positive) or outward (negative). Strong lean makes neighboring holes cut into each other or opens gaps.
Turn of each tube30 °0 – 180 °Turns every tube about its own axis; changes where the corners of hexagonal or triangular tubes point.
Honeycomb
Cell size30 mm15 – 60 mmSize of one honeycomb cell across its corners. Cells get smaller automatically when the cup would not fit a 180 mm bed.
Height of the tall cells90 mm20 – 150 mmHeight of the twisted part above the base cups.
Base height15 mm5 – 30 mmHeight of the short cups under all cells; cells set to “short” end here.
Wall allowance3 mm2 – 8 mmHow much smaller the inner hexagon is across its corners; the wall itself is about 0.43 × this value thick, the cup floor this value + 0.1 mm.
Cell groups31 – 7Number of cell groups: the first one in the middle, the others around it.
Twist
Twist-30 °-120 – 120 °Turn of the cells from bottom to top in degrees; positive turns clockwise going up. Limited so the walls lean 42° at most.
Top scale1.150.6 – 1.6How much wider the cells are at the top than at the bottom (1 = straight).
Top edge
Cut height210 mm0 – 400 mmHeight of the cutter above the bed. Lower values cut deeper into the cells.
Cut position x-10 mm-200 – 200 mmMoves the top cutter sideways, measured from the middle cell of the first group.
Cut position y50 mm-200 – 200 mmMoves the top cutter forward or back, measured from the middle cell of the first group.
Cut rotation250 °0 – 360 °Turns the top cutter about the vertical axis.
Cutter width350 mm50 – 600 mmWidth of the cutter shape; smaller shapes give stronger curves.
Cutter depth350 mm50 – 600 mmDepth of the cutter shape.
Cutter height50 mm10 – 200 mmHeight of the cutter shape; it also scales the bulges below it.

Frequently asked questions

How big should the holes be for my pens?

Measure your thickest pen and set “Hole size” a little larger; for round holes about 1 mm more is a good start. The size is measured across the corners, so a hexagonal hole is about 13 % narrower across its flats and an octagonal one about 8 %. A triangular hole holds a round pen only about half its size.

Do I need supports?

We sliced all 13 examples in PrusaSlicer with automatic supports switched on, and it added none. Tilt and twist are limited so that no wall leans more than 42° from vertical. These are slicer checks, not print tests, so print a small cup first.

Tube ring or honeycomb: which one should I pick?

The tube ring keeps every pen in a hole of its own and leaves an open compartment in the middle for scissors or a ruler. The honeycomb has wide cells and short base cups for erasers, clips and brushes, and its top edge can be sculpted. It is also bigger and uses more filament.

Why does my cup have fewer tubes or smaller cells than I set?

The finished cup has to fit a 180 mm print bed, so the footprint is limited to 178 mm. A wider design gets fewer tubes, a lower ring or smaller cells, and a note in the editor names the new value.

Can I print the cup in several colors?

The cup is one part with one color, called “Cup” under “Colors”. On a printer with a single extruder you can still change the filament at a layer height; that recolors whole layers, so it suits the honeycomb’s base cups best.

Where does the design come from?

The tube ring is ported from djedi’s “Customizable Pen Cup”, the honeycomb and its top edges from pixel’s “Customizable hexagonal pencil holder / organizer”. Both are CC BY 4.0 on Printables; we adapted them, see the credits at the end of this page.

Origin & license