Skip to content

About

Generate textured, multicolour 3D prints for Bambu Lab: woven baskets, knit and loop vases, halftone pictures, vase mode, lithophanes. Pick a shape and a texture, get a print-ready Bambu Studio 3MF. Python CLI, web studio and Claude Code skill.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

text2print

Print-ready Bambu Studio projects for the Bambu Lab P2S: textured pieces from a catalogue, and functional parts with the right settings.

tests MIT License Python 3.10–3.12 Bambu Lab P2S 3MF and STL output 43 textures 25 shapes Claude Code skill GitHub stars

Six text2print pieces at true relative size, spinning: a woven grid cup, a halftone flames cup, a colour-knit vase hung with loops, a twist vase in spiral vase mode, a fringe cup and a woven rose-window dish

Textures on shapes
Pick one of 25 shapes and 43 textures (woven rods, knit and loops, halftone pictures, droop fringe, vase-mode twists, lithophanes) and get one object with a part per AMS colour.

t2p make cup twill --colours "#8B3A2F,#EDE3D1" --out ~/Downloads/cup
Functional parts
A bracket, a sleeve, a stand, an STL you were handed: your mesh goes in, and out come PLA or PETG settings, a dimension drawing and a slice report.

t2p part bracket.stl --material petg --slice

Install · Functional parts · Studio · All 43 textures · Claude Code skill · FAQ

Install

pip install git+https://github.com/stilwellc/text2print     # the library and the t2p command (Python 3.10–3.12)
t2p list                                                    # shapes, sizes and the textures that fit each

For the studio, the tests and t2p ask, clone it (the studio is not in the pip package; here the command is ./t2p):

git clone https://github.com/stilwellc/text2print && cd text2print
python3.12 -m venv .venv && .venv/bin/pip install -r requirements.txt
./t2p studio                                 # opens the studio at http://127.0.0.1:7384

--slice drives the Bambu Studio CLI and looks for Bambu Studio in /Applications (macOS). Everything else, project files included, works without it.

Functional parts

Render of a small trumpet-shaped pipe sleeve: a wide flat base tapering up to a narrow collar with a round bore Dimension drawing of the same sleeve: a top view 45.0 mm across and a front view 30.0 mm tall with a 17.0 mm bore marked

The render and the dimension drawing part.deliver wrote for the sleeve below. Bambu Studio's CLI slices it at 39 min 39 s and 11.95 g of PETG.

A bracket, a sleeve, a stand, an STL you were handed: model the mesh however you like (manifold3d, trimesh, CadQuery) and part.deliver does everything after it.

from text2print import part, extras, meshops

body = meshops.manifold_to_trimesh(extras.revolve([(8.5, 0), (22.5, 0), (22.5, 0.6), (9.7, 29), (9.7, 30), (8.5, 30)]))
r = part.deliver("pipe_sleeve", [("Sleeve", body, 1)], colours=["#2E4E7E"], material="petg", slice=True,
                 check={"length": (30.0, "z"), "bell": (45.0, "x")},      # raises if the part is not this size
                 dims=[("front", (-8.5, 15), (8.5, 15), "17.0 bore")])    # an extra size for the drawing
t2p part bracket.stl --material petg --slice     # a ready-made STL as a project; it is placed, never reshaped
t2p check _slice/sliced.3mf                      # real first-layer and print speeds, changes, grams per filament
It writes to ~/Downloads/<name>/
Bambu Studio project one object, one part per colour; 3 walls and 20 % gyroid unless you override them
Material settings the PLA or PETG filament preset and that material's own speeds, one material per colour if you like
Dimension drawing top and front views with the overall sizes and any you add; check stops a part of the wrong size
STL per colour and a render
Slice report (slice=True) time, grams per filament, filament changes, the slicer's warnings, and the speeds read back from the G-code

Render of a white screw-lid can with its lid beside it, a small plaque with black inlaid letters, and a bar of six test holes

t2p basic can, t2p basic plaque --text and t2p coupon hole 16, as rendered.

Several pieces deliver(name, {"Lid": [...], "Base": [...]}, copies=2) lays them out on one plate, clear of the prime tower
Inside sizes check={"bore": (17.0, "x", (0, 0, 15))} measures through a point: a bore, a slot, the gap between two legs
Fit coupons t2p coupon hole 16, slot 3, dovetail: the fit at 0.10 to 0.40 mm a side, to print before the real part
fits helpers split_keyed (two halves on dovetail keys), crush_ribs, bump, sheet_slot, grille (refuses holes the plate cannot print)
Two-colour marks fits.trace / fits.words → fits.inlay, then fits.artwork_check compares the sliced first layer with the drawing
Plain things t2p basic can, box, plaque: solid walls, screw or slip lids, inlaid words or a traced picture
Your own shape t2p plugin new shape NAME --image outline.png turns a silhouette into a catalogue shape

lattice.weave_region puts any woven pattern on your own outline (holes included) and lattice.support_audit checks that no rod end is left in mid-air.

The studio

./t2p studio, from a clone. Pick a shape, texture, colours and nozzle; the preview rebuilds live. Open in Bambu Studio writes the project to ~/Downloads/text2print/. Get exact print time slices it with the Bambu Studio CLI, including real AMS changes and purge. Save design keeps it under Saved, and every design is a shareable link.

Screen recording of the text2print studio: picking the round dish shape, the rose window woven texture and a marine blue colour, the live 3D preview rebuilding, a spin, and the print card with time, filament, AMS changes and Open in Bambu Studio

The studio: pick a shape, a pattern and colours; the preview rebuilds live and the print card shows time, filament and AMS changes.

Why text2print

Every texture is a construction, not a surface effect: woven rods stacked course by course, fabric whose layers zigzag in mid-air, knit walls hung with thousands of single-strand loops. What you see in the preview is what the printer lays down.

  • 43 textures, 25 shapes, from weaves and knits to halftone, CMYK, voronoi, lithophane and spiral vase mode.
  • Up to 4 colours, PLA or PETG. Colours split into bands or stripes cut on layer boundaries, and every texture card shows its AMS change cost before you pick it.
  • Print-ready. Bambu's own P2S presets are built in, no supports needed. Each project is one object with one part per AMS colour.
  • Lids. Slip-on, a two-start screw (about one turn) or six 6 × 2 mm magnets, at a snug, slip or loose fit (0.15 / 0.25 / 0.40 mm a side; the Fit test plate prints all three). By default the lid wears the piece's own texture, with a knob, a button or neither.
  • Extendable by prompt. Ask for "a koi pond halftone" or "a fish-scale knit" and Claude writes it as a plugin.

How it works

How text2print works: 01 Pick a shape and texture, 02 Build real geometry with one part per AMS colour, 03 Check watertight parts, overhangs and colour changes, 04 Slice with the Bambu Studio CLI for exact time and grams, 05 Print the Bambu Studio 3MF

Time-lapse of a woven cup printing course by course, each course a row of parallel rods in alternating blue and cream
Woven rods, course by course. Each course is a row of rods that bridges the gaps in the one below it. Colour follows direction, so the AMS changes once per course.
Animation of a fringe cup: strands printed straight out into the air, then sagging under gravity into a hanging fringe
Droop, as printed and after. Strands are laid flat into the air, fast and hot, then sag into a hanging fringe as they cool. The preview shows both.

Every animation is the real build, rendered from the same geometry that goes into the Bambu Studio project by docs/make_media.py, make_motion.py and make_hero.py.

Command line

Everything the studio does is also a command. ./t2p runs from any folder and prints JSON; a bad request exits 2 with an error that says what to fix.

./t2p list                                # shapes, sizes and the textures that fit each
./t2p options jacquard                    # every option a texture takes
./t2p make tray twill --colours "#8B3A2F,#EDE3D1" --out ~/Downloads/tray --preview --slice
./t2p make cup halftone --nozzle 0.8 --image flames.png --colours "#F3D34A,#C3302C" --out ~/Downloads/flames
./t2p make --design cup.json --save "Shag cup" --open     # a design file, studio link or saved name
./t2p ask "a low bowl that fades from brick to bone" --ideas 3      # Design with Claude
./t2p printer test                        # LAN check; `send DESIGN --confirm` slices and starts a print

A design is one JSON object:

{"shape": "cup", "texture": "jacquard", "nozzle": 0.4, "params": {"diameter": 90, "height": 110},
 "colours": ["#151515", "#F4F2EC"], "options": {"loops": "shag", "band": 2}}
make flag
--set key=mm, --option key=value, --colours, --nozzle sizes, options, colours, nozzle (JSON values work, e.g. bands=[...])
--material pla|petg filament and its print speeds; one per colour as pla,petg
--design SPEC · --image PHOTO a design file, - for stdin, a studio link or a saved name · your own picture for halftone, litho and flat
--draft · --preview · --render quick sketch · PNG with loops hung as they fall · PNG as printed
--slice Bambu Studio's CLI: time, layers, grams per filament, filament changes and its warnings
--out DIR · --name STEM · --no-stls · --save NAME · --open where the files go · their name · skip STLs · add to Saved · open in Bambu Studio

./t2p link, designs, taste and catalogue cover links, the Saved list, taste notes and the full catalogue as JSON (what an agent reads first). sampler writes test plates, verify TEXTURE NOZZLE ok|fail --material records a real print, design check|slice builds a design file without writing a project, picture and pictures prepare and list pictures, palette match reads a photo's colours, and plugin manages your own textures and shapes.

Use it as a Claude Code skill

text2print ships as a Claude Code skill (SKILL.md):

ln -s "$PWD" ~/.claude/skills/text2print

"A low woven bowl that fades from brick to bone, our name under the base."

Claude composes the design from the catalogue, builds it, checks the preview and hands you the Bambu project. If nothing fits, it writes a new weave, stitch, picture or shape as a plugin first. In the studio, Design with Claude does the same from a sentence or a photo, and Make a new one turns a description into a plugin in about a minute.

Textures

Woven rods · 17
Weave texture: The classic: rods cross at right angles, colour by direction
Weave
Twill texture: Every 4th rod skipped on alternate courses — a drifting diagonal
Twill
Kagome texture: Three directions at 60° — triangles and hexagons
Kagome
Rose window texture: Rings and spokes that halve toward the centre
Rose window
Ripple texture: Wavy rods against straight ones — reed and honeycomb
Ripple
Selvedge texture: Rod ends join in loops — a woven hem on every edge
Selvedge
Moiré texture: Two rod spacings that beat into large bands
Moiré
Over-under texture: A true weave — rods pass over and under each other
Over-under
Chevron texture: Parallel zigzag rods crossed by straight ones — stacked Vs
Chevron
Herringbone texture: Zigzag rods both ways, flipping in blocks — woven tweed
Herringbone
Ogee texture: Wavy rods mirrored in pairs, pinching into onion-shaped lenses
Ogee
Basketweave texture: Checkerboard blocks where one direction drops away to show the other
Basketweave
Brick bond texture: Rods broken into staggered bricks over a full cross course
Brick bond
Trellis texture: Rods at ±45° — an open diamond trellis
Trellis
Picture frame texture: Rods follow the piece's own outline in concentric rings
Picture frame
Tartan texture: Colour runs along both directions — plaid
Tartan
Labyrinth texture: Raised rings that follow the outline, broken into a maze, over a two-colour weave — made for lids (3 colours)
Labyrinth
Printed fabric and reliefs · 6
Zigzag texture: Crisscrossing fins that open into diamonds — light and airy
Zigzag
Knit texture: Rounded stitch domes in offset rows, like stockinette
Knit
Wave texture: Mirrored sine strands that open eye-shaped windows
Wave
Garland texture: Rows of festoon scallops that hang across the wall
Garland
Drips texture: Teardrops running down the wall like glue-gun drips
Drips
Melt texture: Sagging coil beads with broken arcs, as if the wall softened
Melt
Droop and fur · 5
Fringe texture: Dense narrow loops that fall into a long hanging fringe
Fringe
Swag texture: Wide, fat loops that sag into layered festoons
Swag
Curls texture: Small loops stacked in drifting columns — they settle into coils
Curls
Unraveled texture: A wild mix of short and long loops, as if the wall is coming apart
Unraveled
Fur texture: Hundreds of bridged hairs out to a cut-away shell — brush them into a mane
Fur
Colour pictures and knit · 3
Halftone texture: Two colours alternate every layer; the one that ribs outward paints a picture
Halftone
Jacquard texture: A knitted chart in ribs — fair-isle bands, motifs, pictures, 2–3 colours
Jacquard
Bead knit texture: Every stitch a bead — beaded colourwork bands, 2–3 colours
Bead knit
Vase mode · 6
Pleats texture: Sharp vertical folds — paper-lantern crisp
Pleats
Flutes texture: Rounded scallops running up the wall, like a column
Flutes
Twist texture: Folds that turn as they rise
Twist
Low-poly texture: A faceted polygon that twists up the piece
Low-poly
Pinch texture: The round foot squeezes into a lens-shaped mouth
Pinch
Rib slits texture: Hidden internal ribs: a thin glowing wall with lines in the light
Rib slits
Shell · 3
Voronoi texture: An organic lattice of cells cut through the wall
Voronoi
Lithophane texture: The picture appears when it's lit from inside
Lithophane
Fuzzy skin texture: Slicer-made noise: orange peel, marble ridges or stone cells, in bands
Fuzzy skin
Flat tiles · 2
Lithophane texture: One colour; the picture appears when it's backlit
Lithophane
Colour lithophane texture: Cyan, magenta, yellow and white mix into a full-colour image
Colour lithophane
Mix · 1
Mix texture: Stack textures in bands up the wall — woven, fabric, droop, halftone and plain
Mix

Every card is rendered by the studio itself (python -m text2print thumbs).

Woven rods. Each course is a row of rounded beads; the next runs another way, so every rod bridges a short gap. No supports, infill or walls: the rods are the object. Colour follows direction, so the AMS changes once per course (Over-under and Tartan change about once per layer). Works on any round silhouette (bowl, vase, goblet, amphora, sleeve) with no course stepping more than 0.8 mm per mm. A woven 180 mm vase slices at about 14 h 40 min and 260 g.

Printed fabric and reliefs. A two-loop wall whose layers alternate between mid-air stitches and straight rings, with an optional looped rim and floor cut-outs. Reliefs (Garland, Drips, Melt) keep every underside at 45° or less.

Droop and fur. Strands leave the wall, arc into air and sag into hanging loops, laid fast and hot so they stay molten. With 2–4 colours each row takes the next colour, so the AMS changes once per row. Fur bridges short stiff hairs off the wall at full fan.

Halftone. Two colours alternate every layer, and the one that ribs outward paints the picture (built-ins, or --image photo.png). It prints at the nozzle's maximum layer height with one wide line, after kowafatcompany's Fire Flame Vase. The AMS changes every layer, so use a 0.8 nozzle, 2–3 layers per colour, a picture in the lower half, or one dual-colour silk spool (no changes at all).

Colour-knit. Jacquard and Bead knit work charts into the wall: fair-isle bands, motifs and pictures, in 2–3 colours.

Vase mode. One continuous spiral wall, no seams, fast: Pleats, Flutes, Twist, Low-poly, Pinch and Rib slits. One colour; dual- or tri-colour silk shows the folds best.

Shell and flat. Voronoi cells cut through the wall with gable roofs, a lithophane that shows when lit from inside, and Bambu's fuzzy skin in bands. Flat tiles print face-down: a one-colour lithophane, or CMYK over white for full colour.

Mix. Stack textures in bands up one wall, each with its own height and colour, meeting in a fade, a dissolve, or along a wave, zigzag, scallop, drip or torn edge. Woven bands sit on 45° collars. Presets include Coil band, Fringe skirt, Flame foot and Basket band.

Loops on colour-knit

Five loop looks on the same pear-shaped vase: teardrop tiers fading blue to orange to yellow, a black and white shag, tan fringe panels over a wave knit, a black fringe around a salt-speckled window, and red and white petal ruffles

A colour-knit wall already changes colour layer by layer. Hang a one-layer loop from it and the loop takes that layer's colour, so thousands of loops cost no extra AMS changes. Pick a look under Loops:

Look What it is
Teardrop tiers pinched teardrops in brick-offset rows, with long hairpins under the rim
Shag short scallops in close rows
Fringe panels two side panels of long hairpins; the knit shows front and back
Fringe and a window fringe all round, leaving one arched knit window
Petal ruffles scallops lengthening down overlapping petals, one colour each

Loop colours fade by row, scatter as salt, or follow the chart. A looped piece can also carry inlaid words under the base (inlay_text=hello). Loops are not yet print-verified, so print a small piece first.

Pictures and plugins

Picture textures share one library: built-ins, your uploads, text in 11 fonts, and anything in ~/.text2print/pictures. New pictures, weaves, stitches and shapes are small Python plugins in ~/.text2print/plugins; python -m text2print plugin check FILE builds, checks and previews one (examples in plugin_examples/). Words can also be debossed under the base or on a lid. Print time shows with every build (fitted to 121 real P2S slices, typically within 10 %), and Test plates print small coupons of new features before you commit to a big piece.

Shapes

Shape key Textures
Tray · Platter · Round dish · Cup · Bowl · Vase · Goblet · Amphora · Your shape · Paneled gourd · Paneled jar · Basket · Catch-all tray platter dish cup bowl vase goblet amphora custom gourd jar basket catchall woven, fabric, droop, halftone, colour-knit, vase mode, shell, mix
Cachepot · Glass sleeve cachepot sleeve woven, fabric, droop, halftone, colour-knit, vase mode, shell, mix; the inner size stays fitted to the pot or glass
Lidded box box woven, fabric, halftone, colour-knit, vase mode, shell, mix
Coaster · Hex tile coaster hextile woven, fabric, halftone, colour-knit, shell (hex tile: + photo)
Photo tile tile photo
Lamp shade shade woven
Tealight lantern · Pendant shade · LED puck lamp lantern pendant puck fabric, droop, halftone, colour-knit, vase mode, shell, mix
Candle holder candle droop
Mason jar lid jarlid fabric, halftone, colour-knit, shell; 86 mm wide-mouth or 70 mm regular, optional screw-capped pour spout

Sizes and their ranges are in the studio and ./t2p list. Square, rectangular and hex pieces take the wall textures by mapping a round piece of the same circumference onto the outline. Lamps, lanterns, cachepots and candles carry their hardware fit (collar, foot ring, crush ribs) and LED-only safety notes.

Made for the Bambu Lab P2S

Nozzle Layer Rod bead Rod spacing
0.2 mm 0.10 mm 0.88 × 0.40 mm 1.88 mm computed
0.4 mm 0.20 mm 1.68 × 0.80 mm 3.60 mm print-verified
0.6 mm 0.30 mm 1.86 × 1.20 mm 4.06 mm computed
0.8 mm 0.40 mm 2.46 × 1.60 mm 5.26 mm computed

The profiles in text2print/data/ are Bambu's own P2S presets with every inherits link resolved, so projects don't depend on your Bambu Studio install. Each texture family then sets what it needs: rods bridge at full speed, fabric prints as a 2-loop shell with no infill, droop strands print with a low fan and a hotter nozzle. PETG uses Bambu's Generic PETG @BBL P2S preset per colour and its own process speeds (printer.PETG_PROCESS: walls 60/100 mm/s, bridges 30, first layer 20 with gentle moves); PLA keeps the stock ones. Loops and strands keep their own speeds on either material. The shapes and textures were tuned on PLA Matte, and the app says so.

What the slicer confirmed

Show
  • Bambu Studio's CLI honours each part's AMS slot once every per-filament setting list is the right length, so the exact-time numbers include real colour changes. On three mixes the slicer's change count matched the app's estimate exactly.

  • Layer ranges are keyed by the object's position in the build (Metadata/layer_config_ranges.xml). A range must set layer_height; line widths in a range drop layers of multi-part objects, and "extruder" breaks them.

  • The prime tower needs every object on a plate to share one set of layer ranges.

  • Weight comes back one number per filament; the app sums them.

  • Spiral vase mode prints one wall and can't change filament.

  • With three or more colours the prime tower grows deep: it parks front-right with 20 mm margins, or the G-code leaves the printable area.

  • Purge per change comes from the colour pair (light after dark costs most), not a flat number.

  • The headless CLI ignores gap_fill_target, filter_out_gap_fill, infill_wall_overlap, detect_thin_wall, flush_multiplier and a hand-written flush_volumes_matrix (it recomputes purge from the colour pair). Per-part wall_loops and seam_position are honoured. Run the CLI from the output folder with --export-3mf <absolute path>; --outputdir is not relied on.

  • ironing_type "topmost" irons only the object's highest surface; an inlaid logo below a dome crown needs "top".

  • Support is flagged from the vertical: an outward flare or a 45° chamfer at the base draws support; a straight first few mm draws none. Support grams come from NET E deltas (retract/de-retract cancel) over G1 AND G2/G3 arcs — Bambu arc-fits, so a round part is mostly arcs; a G1-only, positive-E-only sum is 3× low then 46 % high. Not toolpath length × filament area (≈9× too high). bambu.support_grams lands within 0.1 g of the declared weight.

  • A loop must print as ONE bead. At the stock min_bead_width (85 %) Arachne traces each 1.0 mm loop as two thin lines with a zigzag at the round end; 150 % still split 3.5 % of them; 200 % gives one full-width strand out and back. Check it in the G-code: no loop length narrower than the strand.

  • A modifier volume is honoured for line width and speed, but it cannot lower the fan for part of a layer, and temperature is per filament and per layer. Loop cooling is therefore a per-filament setting.

  • Filament-preset keys (fan, temperatures) changed on top of a preset must be flagged per filament slot in different_settings_to_system, or Bambu Studio's window puts the preset's values back on open.

  • A prime pad as a second object made Bambu Studio's window show the pad alone, though the CLI sliced both. The pad is now extra parts of the piece's own object.

  • A piece that nearly fills the bed goes into the back-left corner with the tower hard in the front-right one; a 200 mm three-colour tray that used to fail with "G-code conflicts" slices that way. If they still meet, the build says so.

  • "Front" is one angle everywhere (315°, the side the studio camera looks at): a front picture, a once-only motif and the bare window of the loop looks all face it.

  • With the prime tower off, purge moves at the chute appear in the G-code as wall-type extrusions far from the piece; leave them out of any wall-continuity check.

Laws

Show

These are print-verified, and the tests enforce the geometric ones.

  • A woven object has a flat, full-size first course, and no course reaches past the one below it.
  • A rod's skin stays inside the outline: bead centre lines are clipped half a bead in.
  • Each colour is a part of one object, never its own object (alternating courses leave empty layers, which Bambu refuses).
  • Fabric stitches keep their swing-to-wavelength ratio at every height, so narrow necks don't collapse.
  • The layer height is part of the geometry: print at the nozzle's layer height.
  • Droop strands are one extrusion wide, at most 4 layers tall, never touch each other in the mesh, and start high enough that the droop can't reach the bed. They print with overhang slow-down off, fan at 20 % and the nozzle 5 °C hotter; slow or cold strands freeze where they are laid.
  • Loops on colour-knit are one layer tall and one bead wide (0.8-1.0 mm), anchored in the wall at both ends, and never share a layer where they overlap: a loop whose layer is taken moves to the next layer that suits its colour. The wall is laid at 30 mm/s and loops at 40 with the fan at 20 %; layers shorter than 8 s are slowed, so a neck is not laid on a soft layer. PLA runs 5 °C hot so loops stay molten; PETG stays at its preset temperature.
  • A colour plan is laid out against the piece's real height. (An oversize piece once had its chart computed for the picker's 220 mm limit and every feature near the top landed 30 mm low.)
  • Fine 2-colour detail in PETG (a flat logo inlaid in a cap, verified Nov 2026 after three failed prints): rough, furry tops are a SPEED problem — top surface 25, outer wall 35, small perimeters 15, solid 60, minimum 30 s per layer — never ironing, never 0 walls (free line ends curl). Layer 0.12, top line width 0.3 (0.2 ropes); the horizontal-line look is the line width, not the layer height. A flat inlay top on an EVEN layer prints horizontal lines (Bambu alternates 0/90 each layer); a domed top prints rings. Round body: seam_position random, logo part back. The preset is bambu.SHOWROOM_PETG_DETAIL + bambu.LOGO_PART; bambu.check_detail proves it in the gcode.
  • Measure, don't guess: recentre a raw CAD STL by its bounds midpoint before any radius; read 3D section vertices (.to_2D() reframes); build revolved parts from axis-Z cylinder frustums (Manifold.revolve mis-orients).
  • Alternating colour bands: white = body ∩ (odd-band z-mask), black = body − mask — clean complements stay watertight. Each band is an AMS swap: purge and time scale with the count.

FAQ

Which printers does it support? The bundled profiles are Bambu Lab's P2S presets for 0.2–0.8 mm nozzles. Other printers can slice the STL/3MF parts, but the process settings are tuned for the P2S and its AMS.

Do I need an AMS? No. Every texture prints in one colour; the AMS is only for multicolour designs.

Does it need supports? No. Rods bridge short gaps, reliefs keep undersides at 45° or less, and Voronoi holes are gable-roofed.

What files does it make? A Bambu Studio .3mf project (parts, colours, AMS slots, process settings), plus STLs and a PNG preview on request.

Can I add my own pattern or shape? Yes, as a plugin in ~/.text2print/plugins (see plugin_examples/), or ask Claude to write one.

What has actually been printed? The woven twill tray and platter at 0.4 mm. Other nozzles and the loop looks are computed and sliced but not yet printed.

Repo

text2print/   build.py (pick -> project) · design.py (a design as data) · __main__.py (CLI) · agent.py
              shapes.py · lattice.py (woven) · fabric*.py · droop.py (strands, fur) · loops.py
              halftone.py · colourwork.py (knit charts) · compose.py (mix) · spiral.py (vase mode)
              shell.py (voronoi, litho, fuzzy) · flat.py (tiles) · extras.py (zones, lids)
              fittings.py · floors.py · meshops.py · verify.py · sampler.py (test plates)
              part.py (functional parts) · drawing.py (dimension drawing)
              bambu.py (3MF + CLI slice) · printer.py + data/ (P2S) · lan.py · store.py
studio/       server.py + static/ (the picker)
docs/         make_media.py · make_motion.py · make_hero.py (the README animations)
t2p           the command line from any folder (pip installs the same command)
tests/        python -m pytest (fast) · python -m pytest -m "" (everything, incl. the real slicer)

Adding a texture is one function in lattice.py (PATTERNS) or fabric.py (STITCHES); adding a shape is one entry in shapes.py. Run python -m text2print thumbs to render its card.

Contributing

Print results are the most useful contribution: open an issue with a photo, your nozzle, filament and the studio link, and it moves a row above from computed to print-verified. New textures and shapes can start as plugins. python -m pytest runs the fast suite; python -m pytest -m "" adds the real-slicer tests.

License

MIT. If text2print made something you like, a ⭐ helps other makers find it.

About

Generate textured, multicolour 3D prints for Bambu Lab: woven baskets, knit and loop vases, halftone pictures, vase mode, lithophanes. Pick a shape and a texture, get a print-ready Bambu Studio 3MF. Python CLI, web studio and Claude Code skill.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages