{
  "title": "Giving a Turtle Magnetic Attraction",
  "date": "2026-11-30T12:00:00Z",
  "slug": "turtle-sandbox-magnets",
  "type": "entry",
  "tags": [
    "3dprinting",
    "cad",
    "magnets",
    "hardware",
    "python",
    "projects"
  ],
  "thumbnail": "/2026/11/30/turtle-sandbox-magnets/1219626d2a89.jpg",
  "summary": "TL;DR: Remixed a classic green turtle sandbox 3D print into a magnetic needle keeper. Fitting 38 neodymium magnets mid-print meant thickening the floor with Python computational geometry, testing pull clearances, and surviving a pause-and-insert dance without wrecking the hotend.",
  "draft": false,
  "comments_archived": false,
  "year": "2026",
  "month": "11",
  "day": "30",
  "postName": "2026-11-30-turtle-sandbox-magnets",
  "isDir": true,
  "path": "2026/11/30/turtle-sandbox-magnets",
  "body": "\nTL;DR: Remixed a classic green turtle sandbox 3D print into a magnetic needle keeper. Fitting 38 neodymium magnets mid-print meant thickening the floor with Python computational geometry, testing pull clearances, and surviving a pause-and-insert dance without wrecking the hotend.\n\n\u003c!--more--\u003e\n\n\u003cnav role=\"navigation\" class=\"table-of-contents\"\u003e\u003c/nav\u003e\n\n## The goal\n\nSo, I wanted to make a little plastic turtle sandbox that could hold sewing needles and miscellaneous metal bits.\n\nThe starting point was this little \"[Retro Turtle Sandbox](https://www.printables.com/model/427130-retro-turtle-sandbox-or-keepsake-stash-box)\" by [Grandpa 3DPrints](https://www.printables.com/@Grandpa3DPrints)—modeled after those classic green plastic turtle sandboxes every kid in the 1980s had in their backyard. I wanted to remix this model to embed an array of neodymium magnets, so needles, pins, and paperclips snap securely to the shell floor. \n\nThis became a dive into computational geometry and nozzle brinkmanship, about which I knew next to nothing before I began.\n\n## Fitting coupons\n\nI've never played with embedding magnets in a 3D print. So, before committing to a long design process on the whole turtle, I printed several small \"[fitting coupons](https://kapycad.com/en/academy/3dprint/test-coupons)\" with varying cavity sizes and model thicknesses. \n\nI've been using [`build123d`](https://github.com/gumyr/build123d) lately for code-CAD projects, which was fantastic for whipping up parametric test swatches: a few lines of Python to extrude a rounded square and pocket out cylindrical voids.\n\nAnd, while this isn't the exact code I used to build these models, here's roughly what it looks like with `build123d`, simplified for reading pleasure:\n\n```python\nfrom build123d import *\n\n# Parametric magnet test coupon\ncoupon_w, coupon_h = 38.0, 3.4\ncorner_r = 3.0\npocket_d = 10.2     # Bore clearance for 10.0mm nominal magnet\npocket_depth = 2.2 # Room for double-stacked 10x1mm magnets + tolerance\n\nwith BuildPart() as coupon:\n    # 1. Base rounded swatch\n    with BuildSketch():\n        RectangleRounded(coupon_w, coupon_w, corner_r)\n    extrude(amount=coupon_h)\n    \n    # 2. Bore cylindrical pockets into the top face\n    with BuildSketch(coupon.faces().sort_by(Axis.Z)[-1]):\n        with Locations((0.0, 6.495), (-7.5, -6.495), (7.5, -6.495)):\n            Circle(radius=pocket_d / 2)\n    extrude(amount=-pocket_depth, mode=Mode.SUBTRACT)\n\nexport_stl(coupon.part, \"coupon_cluster.stl\")\n```\n\n\u003cfigure\u003e\n  \u003cstl-viewer src=\"coupon_cluster_build123d.stl\" title=\"Parametric Test Coupon\" height=\"340px\" style=\"max-width: 480px; margin: 0 auto;\"\u003e\u003c/stl-viewer\u003e\n  \u003cfigcaption\u003eThe 3D model generated directly by the build123d script above.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\nThat let me test two things: how thin the covering ceiling could be while still bridging cleanly, and how well the magnets actually grabbed pins through that skin. A single 10×1mm disc under a 0.6mm (3-layer) ceiling felt anemic—needles would slide around lazily. But double-stacking two magnets in each hole (a 2.0mm stack in a 2.2mm cavity) gave a satisfying grab.\n\nA quick stepped tolerance ladder helped nail down the bore diameter: 10.2mm was the sweet spot for a smooth drop-in fit with zero friction against 10.0mm nominal neodymium discs.\n\n\u003cfigure class=\"image-figure wide\"\u003e\n\u003cimg src=\"8b00ca10f2f6.jpg\" alt=\"Four teal 3D-printed square test coupons stuck magnetically to white painted ductwork in a basement\"\u003e\n\u003cfigcaption\u003eBasement ductwork torture test: the top two coupons are thicker and hold double-stacked magnets; the bottom two hold single discs. The double-stacked magnets grab much harder.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n## Geometry exam\n\nThe original STL had no space for magnets at all—just a solid 1.6mm tray floor and empty structural voids in the corner feet.\n\nIf you want to embed magnets mid-print, you need solid bottom skin below, a clean bore for the cavity, and a solid bridging ceiling above it so the extruded filament can span the void without drooping onto bare metal.\n\nAs-is, there wasn't enough vertical room in the model for the sandwich: I needed at least 0.6mm of solid bottom skin, 1.0–2.0mm for the magnet cavity, and at least 0.8mm of ceiling above. That meant at least 2.4mm to 3.4mm of total floor height. \n\nTo gain that, there were really only two options: extend the base down, or raise the floor up.\n\nExtending the base down was the easy trick, but it was a dead end physically. Pushing the bottom down puts extra plastic between the magnets and the inside of the tray. Through that much solid plastic and distance—inverse square law, and all that—the magnets barely had enough pull to hold a sewing needle, let alone snap one into place.\n\nSo I had to extend the floor up into the interior cavity. That kept the magnets right beneath the tray surface where needles land, but it meant colliding with the real geometry: the bowl curves upward into the shell, and there are two alignment pillars for the lid. If a pocket clipped into a pillar, the magnet would end up buried under 12–18mm of plastic pulling nothing.\n\n## Rings in Python\n\nWhile `build123d` was fantastic for modeling the coupons from scratch, the turtle base was a whole different beast: someone else's exported STL mesh. \n\nTraditional boundary-representation (B-Rep) kernels notoriously choke on raw triangle soup, and trying to do clean CSG booleans on faceted polygons usually ends in tears. So instead of fighting CAD kernels, I treated the mesh as a computational geometry problem in Python using [`trimesh`](https://trimesh.org/), [`NumPy`](https://numpy.org/), and [`Shapely`](https://shapely.readthedocs.io/) to thicken the floor and bore out legal magnet pockets automatically.\n\nHaha 😂 did I sound like I knew what I was talking about, just then? Because I absolutely did not—and still mostly don't. I assure you this was a shit-ton of reading and trial \u0026 error to do something that I thought would be simple. \n\nBut I'll save you all that and jump straight to what actually worked:\n\nFirst, I used `trimesh` to fire a vertical grid of raycasts through the model, measuring the distance between the bottom of the turtle and the inner tray floor. Then a 2D Euclidean distance transform mapped out the legal territory—flagging anywhere the floor was thin enough to be useful while steering clear of the shell curves and lid pillars:\n\n```python\n# Fire a dense grid of vertical rays through the STL to map floor thickness\norigins = np.column_stack([grid_xy, np.full(len(grid_xy), -9.0)])\nloc, ray_idx, _ = mesh.ray.intersects_location(origins, [0.0, 0.0, 1.0])\n\n# Map out thin-floor regions and compute clearance to walls \u0026 pillars\ndist_map = scipy.ndimage.distance_transform_edt(thin_floor_mask, sampling=(0.4, 0.4))\n```\n\nI started out trying several variations on planar hexagonal grids across the footprint. But because the turtle's tray is roughly circular while the outer shell is an organic shape flanked by those corner pillars, standard grid tiling looked haphazard and collided with the lid alignment posts:\n\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"haphazard-hex-grid.png\" alt=\"Python geometry plots showing various candidate hexagonal grid patterns inside the turtle perimeter looking haphazard and colliding with walls and pillars\"\u003e\n\u003cfigcaption\u003eEarly grid experiments: planar hex grids produced asymmetrical, haphazard pocket patterns that collided with the corner alignment pillars.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\nRealizing the tray floor is roughly circular, I switched from a flat grid to concentric hexagonal rings: one magnet dead center, and nested 6-fold orbits stepping outward at a 15mm pitch:\n\n```python\ndef rot60(q, r):\n    \"\"\"60° rotation in axial hexagonal coordinates.\"\"\"\n    return (-r, q + r)\n\ndef to_xy(q, r, pitch=15.0):\n    \"\"\"Convert axial lattice coords to physical millimeters.\"\"\"\n    return (pitch * (q + r / 2.0), pitch * (r * np.sqrt(3) / 2.0))\n```\n\nEvery candidate pocket was tested against the distance map. If a pocket’s entire 10.2mm diameter had enough clearance to avoid burrowing into a pillar or breaking through the wall, it was kept. \n\nThat yielded nineteen cavities with clean 6-fold symmetry, taking two stacked magnets each—thirty-eight magnets in all.\n\nThis may or may not have been a good idea, since writing all this crap probably took about the same amount of time it would have taken me to just get better at [FreeCAD](https://www.freecad.org/). 😅\n\nBut, it worked, and now I think I have tooling I can try reusing the next time something like this pops into my head.\n\n\u003cfigure class=\"wide\"\u003e\n  \u003cstl-viewer src=\"turtle_magnet_base_v2.1.stl\" title=\"Turtle Sandbox Magnet Base (v2.1)\" color=\"#2ec4b6\" height=\"420px\" style=\"margin: 0;\"\u003e\u003c/stl-viewer\u003e\n  \u003cfigcaption\u003eInteractive 3D preview: modified turtle base with nineteen concentric magnet cavities. Scrub the Z-slider to layer 19 (Z=3.8mm) to view the open magnet pockets before bridging.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n## Pause and insert\n\nPrinting is the fun part. \n\nYou slice the model with an unconditional pause command (`M601`) right at the layer before the pocket ceilings start bridging (Z=3.8mm). When the print head parks itself off to the side, you have a couple of minutes to drop thirty-eight greasy little rare-earth magnets into their nineteen snug holes. \n\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"859dcfe8ab99.jpg\" alt=\"A teal 3D printed turtle base on a textured gray build plate with circular metal magnets inserted into pockets\"\u003e\u003cfigcaption\u003eMid-print pause: dropping thirty-eight magnets into nineteen pockets before the roof goes on.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\nThe annoying part is polarity—if two adjacent magnets flip and jump out of their pockets to stick together. Also, it's likely they'll latch onto the steel heat block when the print resumes and maybe wreck the extruder.\n\nLuckily, my wife treated me to a diamond nozzle a few years back, which made the hotend far less attractive to magnets and let the print run smooth.\n\n\u003cimage-gallery\u003e\n\n![Two teal 3D-printed plastic pieces on a wooden table: a round lid and a turtle-shaped trinket box with embedded magnets](2261cd1df55b.jpg)\n\n![A completed teal 3D-printed turtle trinket box with a textured shell, feet, and head sitting on a wooden desk](1219626d2a89.jpg)\n\n\u003c/image-gallery\u003e\n\nFortunately, [the magnets stayed in their homes](https://masto.hackers.town/@lmorchard/117712017717577391), the printer bridged over them without a hitch, and now we have a sandbox turtle with genuine magnetic superpowers. \n\nAt some point, I might get around to uploading my remix to Printables. Then, if you want a magnetic turtle, you can just do the part where you risk flinging magnets around inside your 3D printer.\n",
  "html": "\u003cp\u003eTL;DR: Remixed a classic green turtle sandbox 3D print into a magnetic needle keeper. Fitting 38 neodymium magnets mid-print meant thickening the floor with Python computational geometry, testing pull clearances, and surviving a pause-and-insert dance without wrecking the hotend.\u003c/p\u003e\n\u003c!--more--\u003e\n\u003cnav role=\"navigation\" class=\"table-of-contents\"\u003e\u003c/nav\u003e\n\u003ch2 id=\"the-goal\"\u003eThe goal\u003c/h2\u003e\n\u003cp\u003eSo, I wanted to make a little plastic turtle sandbox that could hold sewing needles and miscellaneous metal bits.\u003c/p\u003e\n\u003cp\u003eThe starting point was this little \u0026#34;\u003ca href=\"https://www.printables.com/model/427130-retro-turtle-sandbox-or-keepsake-stash-box\"\u003eRetro Turtle Sandbox\u003c/a\u003e\u0026#34; by \u003ca href=\"https://www.printables.com/@Grandpa3DPrints\"\u003eGrandpa 3DPrints\u003c/a\u003e—modeled after those classic green plastic turtle sandboxes every kid in the 1980s had in their backyard. I wanted to remix this model to embed an array of neodymium magnets, so needles, pins, and paperclips snap securely to the shell floor.\u003c/p\u003e\n\u003cp\u003eThis became a dive into computational geometry and nozzle brinkmanship, about which I knew next to nothing before I began.\u003c/p\u003e\n\u003ch2 id=\"fitting-coupons\"\u003eFitting coupons\u003c/h2\u003e\n\u003cp\u003eI\u0026#39;ve never played with embedding magnets in a 3D print. So, before committing to a long design process on the whole turtle, I printed several small \u0026#34;\u003ca href=\"https://kapycad.com/en/academy/3dprint/test-coupons\"\u003efitting coupons\u003c/a\u003e\u0026#34; with varying cavity sizes and model thicknesses.\u003c/p\u003e\n\u003cp\u003eI\u0026#39;ve been using \u003ca href=\"https://github.com/gumyr/build123d\"\u003e\u003ccode\u003ebuild123d\u003c/code\u003e\u003c/a\u003e lately for code-CAD projects, which was fantastic for whipping up parametric test swatches: a few lines of Python to extrude a rounded square and pocket out cylindrical voids.\u003c/p\u003e\n\u003cp\u003eAnd, while this isn\u0026#39;t the exact code I used to build these models, here\u0026#39;s roughly what it looks like with \u003ccode\u003ebuild123d\u003c/code\u003e, simplified for reading pleasure:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003efrom build123d import *\n\n# Parametric magnet test coupon\ncoupon_w, coupon_h = 38.0, 3.4\ncorner_r = 3.0\npocket_d = 10.2     # Bore clearance for 10.0mm nominal magnet\npocket_depth = 2.2 # Room for double-stacked 10x1mm magnets + tolerance\n\nwith BuildPart() as coupon:\n    # 1. Base rounded swatch\n    with BuildSketch():\n        RectangleRounded(coupon_w, coupon_w, corner_r)\n    extrude(amount=coupon_h)\n    \n    # 2. Bore cylindrical pockets into the top face\n    with BuildSketch(coupon.faces().sort_by(Axis.Z)[-1]):\n        with Locations((0.0, 6.495), (-7.5, -6.495), (7.5, -6.495)):\n            Circle(radius=pocket_d / 2)\n    extrude(amount=-pocket_depth, mode=Mode.SUBTRACT)\n\nexport_stl(coupon.part, \u0026#34;coupon_cluster.stl\u0026#34;)\n\u003c/code\u003e\u003c/pre\u003e\n\u003cfigure\u003e\n  \u003cstl-viewer src=\"coupon_cluster_build123d.stl\" title=\"Parametric Test Coupon\" height=\"340px\" style=\"max-width: 480px; margin: 0 auto;\"\u003e\u003c/stl-viewer\u003e\n  \u003cfigcaption\u003eThe 3D model generated directly by the build123d script above.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003cp\u003eThat let me test two things: how thin the covering ceiling could be while still bridging cleanly, and how well the magnets actually grabbed pins through that skin. A single 10×1mm disc under a 0.6mm (3-layer) ceiling felt anemic—needles would slide around lazily. But double-stacking two magnets in each hole (a 2.0mm stack in a 2.2mm cavity) gave a satisfying grab.\u003c/p\u003e\n\u003cp\u003eA quick stepped tolerance ladder helped nail down the bore diameter: 10.2mm was the sweet spot for a smooth drop-in fit with zero friction against 10.0mm nominal neodymium discs.\u003c/p\u003e\n\u003cfigure class=\"image-figure wide\"\u003e\n\u003cimg src=\"8b00ca10f2f6.jpg\" alt=\"Four teal 3D-printed square test coupons stuck magnetically to white painted ductwork in a basement\"/\u003e\n\u003cfigcaption\u003eBasement ductwork torture test: the top two coupons are thicker and hold double-stacked magnets; the bottom two hold single discs. The double-stacked magnets grab much harder.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003ch2 id=\"geometry-exam\"\u003eGeometry exam\u003c/h2\u003e\n\u003cp\u003eThe original STL had no space for magnets at all—just a solid 1.6mm tray floor and empty structural voids in the corner feet.\u003c/p\u003e\n\u003cp\u003eIf you want to embed magnets mid-print, you need solid bottom skin below, a clean bore for the cavity, and a solid bridging ceiling above it so the extruded filament can span the void without drooping onto bare metal.\u003c/p\u003e\n\u003cp\u003eAs-is, there wasn\u0026#39;t enough vertical room in the model for the sandwich: I needed at least 0.6mm of solid bottom skin, 1.0–2.0mm for the magnet cavity, and at least 0.8mm of ceiling above. That meant at least 2.4mm to 3.4mm of total floor height.\u003c/p\u003e\n\u003cp\u003eTo gain that, there were really only two options: extend the base down, or raise the floor up.\u003c/p\u003e\n\u003cp\u003eExtending the base down was the easy trick, but it was a dead end physically. Pushing the bottom down puts extra plastic between the magnets and the inside of the tray. Through that much solid plastic and distance—inverse square law, and all that—the magnets barely had enough pull to hold a sewing needle, let alone snap one into place.\u003c/p\u003e\n\u003cp\u003eSo I had to extend the floor up into the interior cavity. That kept the magnets right beneath the tray surface where needles land, but it meant colliding with the real geometry: the bowl curves upward into the shell, and there are two alignment pillars for the lid. If a pocket clipped into a pillar, the magnet would end up buried under 12–18mm of plastic pulling nothing.\u003c/p\u003e\n\u003ch2 id=\"rings-in-python\"\u003eRings in Python\u003c/h2\u003e\n\u003cp\u003eWhile \u003ccode\u003ebuild123d\u003c/code\u003e was fantastic for modeling the coupons from scratch, the turtle base was a whole different beast: someone else\u0026#39;s exported STL mesh.\u003c/p\u003e\n\u003cp\u003eTraditional boundary-representation (B-Rep) kernels notoriously choke on raw triangle soup, and trying to do clean CSG booleans on faceted polygons usually ends in tears. So instead of fighting CAD kernels, I treated the mesh as a computational geometry problem in Python using \u003ca href=\"https://trimesh.org/\"\u003e\u003ccode\u003etrimesh\u003c/code\u003e\u003c/a\u003e, \u003ca href=\"https://numpy.org/\"\u003e\u003ccode\u003eNumPy\u003c/code\u003e\u003c/a\u003e, and \u003ca href=\"https://shapely.readthedocs.io/\"\u003e\u003ccode\u003eShapely\u003c/code\u003e\u003c/a\u003e to thicken the floor and bore out legal magnet pockets automatically.\u003c/p\u003e\n\u003cp\u003eHaha 😂 did I sound like I knew what I was talking about, just then? Because I absolutely did not—and still mostly don\u0026#39;t. I assure you this was a shit-ton of reading and trial \u0026amp; error to do something that I thought would be simple.\u003c/p\u003e\n\u003cp\u003eBut I\u0026#39;ll save you all that and jump straight to what actually worked:\u003c/p\u003e\n\u003cp\u003eFirst, I used \u003ccode\u003etrimesh\u003c/code\u003e to fire a vertical grid of raycasts through the model, measuring the distance between the bottom of the turtle and the inner tray floor. Then a 2D Euclidean distance transform mapped out the legal territory—flagging anywhere the floor was thin enough to be useful while steering clear of the shell curves and lid pillars:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003e# Fire a dense grid of vertical rays through the STL to map floor thickness\norigins = np.column_stack([grid_xy, np.full(len(grid_xy), -9.0)])\nloc, ray_idx, _ = mesh.ray.intersects_location(origins, [0.0, 0.0, 1.0])\n\n# Map out thin-floor regions and compute clearance to walls \u0026amp; pillars\ndist_map = scipy.ndimage.distance_transform_edt(thin_floor_mask, sampling=(0.4, 0.4))\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eI started out trying several variations on planar hexagonal grids across the footprint. But because the turtle\u0026#39;s tray is roughly circular while the outer shell is an organic shape flanked by those corner pillars, standard grid tiling looked haphazard and collided with the lid alignment posts:\u003c/p\u003e\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"haphazard-hex-grid.png\" alt=\"Python geometry plots showing various candidate hexagonal grid patterns inside the turtle perimeter looking haphazard and colliding with walls and pillars\"/\u003e\n\u003cfigcaption\u003eEarly grid experiments: planar hex grids produced asymmetrical, haphazard pocket patterns that collided with the corner alignment pillars.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003cp\u003eRealizing the tray floor is roughly circular, I switched from a flat grid to concentric hexagonal rings: one magnet dead center, and nested 6-fold orbits stepping outward at a 15mm pitch:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-python\"\u003edef rot60(q, r):\n    \u0026#34;\u0026#34;\u0026#34;60° rotation in axial hexagonal coordinates.\u0026#34;\u0026#34;\u0026#34;\n    return (-r, q + r)\n\ndef to_xy(q, r, pitch=15.0):\n    \u0026#34;\u0026#34;\u0026#34;Convert axial lattice coords to physical millimeters.\u0026#34;\u0026#34;\u0026#34;\n    return (pitch * (q + r / 2.0), pitch * (r * np.sqrt(3) / 2.0))\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eEvery candidate pocket was tested against the distance map. If a pocket’s entire 10.2mm diameter had enough clearance to avoid burrowing into a pillar or breaking through the wall, it was kept.\u003c/p\u003e\n\u003cp\u003eThat yielded nineteen cavities with clean 6-fold symmetry, taking two stacked magnets each—thirty-eight magnets in all.\u003c/p\u003e\n\u003cp\u003eThis may or may not have been a good idea, since writing all this crap probably took about the same amount of time it would have taken me to just get better at \u003ca href=\"https://www.freecad.org/\"\u003eFreeCAD\u003c/a\u003e. 😅\u003c/p\u003e\n\u003cp\u003eBut, it worked, and now I think I have tooling I can try reusing the next time something like this pops into my head.\u003c/p\u003e\n\u003cfigure class=\"wide\"\u003e\n  \u003cstl-viewer src=\"turtle_magnet_base_v2.1.stl\" title=\"Turtle Sandbox Magnet Base (v2.1)\" color=\"#2ec4b6\" height=\"420px\" style=\"margin: 0;\"\u003e\u003c/stl-viewer\u003e\n  \u003cfigcaption\u003eInteractive 3D preview: modified turtle base with nineteen concentric magnet cavities. Scrub the Z-slider to layer 19 (Z=3.8mm) to view the open magnet pockets before bridging.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003ch2 id=\"pause-and-insert\"\u003ePause and insert\u003c/h2\u003e\n\u003cp\u003ePrinting is the fun part.\u003c/p\u003e\n\u003cp\u003eYou slice the model with an unconditional pause command (\u003ccode\u003eM601\u003c/code\u003e) right at the layer before the pocket ceilings start bridging (Z=3.8mm). When the print head parks itself off to the side, you have a couple of minutes to drop thirty-eight greasy little rare-earth magnets into their nineteen snug holes.\u003c/p\u003e\n\u003cfigure class=\"image-figure\"\u003e\n\u003cimg src=\"859dcfe8ab99.jpg\" alt=\"A teal 3D printed turtle base on a textured gray build plate with circular metal magnets inserted into pockets\"/\u003e\u003cfigcaption\u003eMid-print pause: dropping thirty-eight magnets into nineteen pockets before the roof goes on.\u003c/figcaption\u003e\n\u003c/figure\u003e\n\u003cp\u003eThe annoying part is polarity—if two adjacent magnets flip and jump out of their pockets to stick together. Also, it\u0026#39;s likely they\u0026#39;ll latch onto the steel heat block when the print resumes and maybe wreck the extruder.\u003c/p\u003e\n\u003cp\u003eLuckily, my wife treated me to a diamond nozzle a few years back, which made the hotend far less attractive to magnets and let the print run smooth.\u003c/p\u003e\n\u003cimage-gallery\u003e\n\u003cp\u003e\u003cimg src=\"2261cd1df55b.jpg\" alt=\"Two teal 3D-printed plastic pieces on a wooden table: a round lid and a turtle-shaped trinket box with embedded magnets\"/\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"1219626d2a89.jpg\" alt=\"A completed teal 3D-printed turtle trinket box with a textured shell, feet, and head sitting on a wooden desk\"/\u003e\u003c/p\u003e\n\u003c/image-gallery\u003e\n\u003cp\u003eFortunately, \u003ca href=\"https://masto.hackers.town/@lmorchard/117712017717577391\"\u003ethe magnets stayed in their homes\u003c/a\u003e, the printer bridged over them without a hitch, and now we have a sandbox turtle with genuine magnetic superpowers.\u003c/p\u003e\n\u003cp\u003eAt some point, I might get around to uploading my remix to Printables. Then, if you want a magnetic turtle, you can just do the part where you risk flinging magnets around inside your 3D printer.\u003c/p\u003e\n",
  "sourceFile": "content/posts/2026/2026-11-30-turtle-sandbox-magnets/index.md",
  "parentPath": "content/posts/2026/2026-11-30-turtle-sandbox-magnets",
  "attachments": [
    "2261cd1df55b.jpg",
    "1219626d2a89.jpg",
    "8b00ca10f2f6.jpg",
    "haphazard-hex-grid.png",
    "859dcfe8ab99.jpg"
  ],
  "prevPostPath": "2026/11/19/w47",
  "prevPostTitle": "Radio snooping, cow people, and the anxious GPU (Week 47)",
  "nextPostPath": "2026/12/04/a-wishlist-of-my-own",
  "nextPostTitle": "A Wishlist of My Own"
}