<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shawn lee</title>
    <description>The latest articles on DEV Community by Shawn lee (@shawn_lee_8d4afa8d6ff67ad).</description>
    <link>https://dev.to/shawn_lee_8d4afa8d6ff67ad</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4245333%2Fa853c9e5-8d43-462c-a13c-9288fccaa4e5.png</url>
      <title>DEV Community: Shawn lee</title>
      <link>https://dev.to/shawn_lee_8d4afa8d6ff67ad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shawn_lee_8d4afa8d6ff67ad"/>
    <language>en</language>
    <item>
      <title>How to Edit an STL: Move and Resize a Hole Without Resizing the Plate</title>
      <dc:creator>Shawn lee</dc:creator>
      <pubDate>Sun, 15 Nov 2026 03:43:22 +0000</pubDate>
      <link>https://dev.to/shawn_lee_8d4afa8d6ff67ad/how-to-edit-an-stl-move-and-resize-a-hole-without-resizing-the-plate-1jjb</link>
      <guid>https://dev.to/shawn_lee_8d4afa8d6ff67ad/how-to-edit-an-stl-move-and-resize-a-hole-without-resizing-the-plate-1jjb</guid>
      <description>&lt;p&gt;Edit an imported STL by filling its existing hole, cutting a smaller hole in a new position, and downloading the edited mesh without changing the plate's outside size.&lt;/p&gt;

&lt;p&gt;This article was written with AI assistance using a recorded online modeling walkthrough. All instructional screenshots show the actual editor.&lt;/p&gt;

&lt;p&gt;Use a closed plate STL with the dimensions below in a mesh editor that supports cylinder primitives, union and difference. The screenshots show one recorded workflow. For another model, measure its bounds and hole positions first; the coordinates in this exercise are not universal defaults.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Plate width × depth × thickness:&lt;/strong&gt; 70 × 40 × 6 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;World X bounds:&lt;/strong&gt; -35 to 35 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;World Y bounds:&lt;/strong&gt; -20 to 20 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bottom / top Z:&lt;/strong&gt; 0 / 6 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Existing through-hole:&lt;/strong&gt; Diameter 10 mm, center X = -18 / Y = 0&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New through-hole target:&lt;/strong&gt; Diameter 6 mm, center X = 18 / Y = 0&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;STL stores a triangle mesh rather than the original sketches and dimensions. This lesson adds and removes material with separate tool bodies; it does not recover the source feature history. The simple plate is a practice model for this editing technique.&lt;/p&gt;

&lt;h2&gt;
  
  
  01. Import an editable STL
&lt;/h2&gt;

&lt;p&gt;In the illustrated editor, start a new &lt;strong&gt;Mesh Model&lt;/strong&gt; project, then choose &lt;strong&gt;File → Import model&lt;/strong&gt; and select your STL. Keep &lt;strong&gt;Model editable&lt;/strong&gt; enabled and click &lt;strong&gt;Import&lt;/strong&gt;. Select the imported entry in the Browser and set its &lt;strong&gt;Name&lt;/strong&gt; to &lt;strong&gt;Imported Plate&lt;/strong&gt;, pressing Enter to commit the name.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6u51jmdfa1idi1elld76.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6u51jmdfa1idi1elld76.jpg" alt="Import model dialog with Model editable enabled for the practice plate" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  02. Check the starting size
&lt;/h2&gt;

&lt;p&gt;Click the navigation cube's &lt;strong&gt;Top&lt;/strong&gt; face, then use &lt;strong&gt;Measure&lt;/strong&gt; to select the two outer vertices along the plate's long top edge. The practice plate reads &lt;strong&gt;70.00 mm&lt;/strong&gt;; remove the measurement with &lt;strong&gt;Delete&lt;/strong&gt; and return to &lt;strong&gt;Select&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The coordinates below assume the bounds in the starting specifications. For a different STL, establish its actual size, hole center and top/bottom positions before placing either cylinder; camera zoom does not change those dimensions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsna4l00i8xpqwplhrska.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsna4l00i8xpqwplhrska.jpg" alt="Measure shows the imported plate is 70.00 mm wide between its outer top vertices" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  03. Create a plug for the old hole
&lt;/h2&gt;

&lt;p&gt;Click &lt;strong&gt;Create cylinder&lt;/strong&gt; and place it on empty grid beside the plate. Set &lt;strong&gt;Name&lt;/strong&gt; to &lt;strong&gt;Hole Plug&lt;/strong&gt; and press Enter, then enter these values in &lt;strong&gt;Dimensions&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Radius:&lt;/strong&gt; 5.2 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Height:&lt;/strong&gt; 6 mm&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The old hole has a 5 mm radius; the extra 0.2 mm creates radial overlap with the surrounding material.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1tlpurnt4leyez9cf8o1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1tlpurnt4leyez9cf8o1.jpg" alt="Hole Plug cylinder with Radius 5.2 mm and Height 6 mm in the Parameter Palette" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  04. Place the plug inside the old hole
&lt;/h2&gt;

&lt;p&gt;With &lt;strong&gt;Hole Plug&lt;/strong&gt; selected, expand &lt;strong&gt;Transform&lt;/strong&gt; and enter the world coordinates below. Keep all rotations at zero and &lt;strong&gt;Scale Ratio&lt;/strong&gt; at 1.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pos X / Pos Y / Pos Z:&lt;/strong&gt; -18 / 0 / 0 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rot X / Rot Y / Rot Z:&lt;/strong&gt; 0° / 0° / 0°&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The plug spans Z = 0–6, matching the plate's bottom and top, so it fills the bore without adding material above or below the plate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F34ftnkm3cgwtztv8k02b.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F34ftnkm3cgwtztv8k02b.jpg" alt="Hole Plug at world position X minus 18, Y zero, Z zero with zero rotations and scale one" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  05. Combine the plug with the plate
&lt;/h2&gt;

&lt;p&gt;Select &lt;strong&gt;Imported Plate&lt;/strong&gt; first, then hold &lt;strong&gt;Ctrl&lt;/strong&gt; and select &lt;strong&gt;Hole Plug&lt;/strong&gt; in the Browser. Click &lt;strong&gt;Combine operation&lt;/strong&gt;, check &lt;strong&gt;Imported Plate&lt;/strong&gt; as &lt;strong&gt;Combine target 1&lt;/strong&gt; and &lt;strong&gt;Hole Plug&lt;/strong&gt; as &lt;strong&gt;Combine target 2&lt;/strong&gt;, and leave &lt;strong&gt;Keep source parts&lt;/strong&gt; off.&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Confirm&lt;/strong&gt; and name the result &lt;strong&gt;Filled Plate&lt;/strong&gt;. The old opening should disappear into one continuous top face.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fudvpt096moxcdbpuraio.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fudvpt096moxcdbpuraio.jpg" alt="Combine panel with Imported Plate as target one, Hole Plug as target two, and Keep source parts off" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  06. Create the new hole cutter
&lt;/h2&gt;

&lt;p&gt;Click &lt;strong&gt;Create cylinder&lt;/strong&gt; and place another cylinder on empty grid. Name it &lt;strong&gt;New Hole Cutter&lt;/strong&gt;, press Enter, and set these &lt;strong&gt;Dimensions&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Radius:&lt;/strong&gt; 3 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Height:&lt;/strong&gt; 8 mm&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This makes a 6 mm diameter opening; the extra cutter height lets it cross both faces of the 6 mm plate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzppc3d4atddn1hzhnp6a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzppc3d4atddn1hzhnp6a.jpg" alt="New Hole Cutter cylinder with Radius 3 mm and Height 8 mm" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  07. Position the new opening
&lt;/h2&gt;

&lt;p&gt;Expand the cutter's &lt;strong&gt;Transform&lt;/strong&gt; section and enter the world position below. Keep all rotations at zero and &lt;strong&gt;Scale Ratio&lt;/strong&gt; at 1.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pos X / Pos Y / Pos Z:&lt;/strong&gt; 18 / 0 / -1 mm&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rot X / Rot Y / Rot Z:&lt;/strong&gt; 0° / 0° / 0°&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cylinder now spans Z = -1–7, extending 1 mm beyond each plate face, with its center 36 mm along X from the old hole.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa8btah53qntgz4puy9ik.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa8btah53qntgz4puy9ik.jpg" alt="New Hole Cutter at world X 18, Y zero and Z minus 1 with zero rotations and scale one" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  08. Cut the smaller hole
&lt;/h2&gt;

&lt;p&gt;Select &lt;strong&gt;Filled Plate&lt;/strong&gt; first, then Ctrl-select &lt;strong&gt;New Hole Cutter&lt;/strong&gt;. Click &lt;strong&gt;Cut operation&lt;/strong&gt;, check &lt;strong&gt;Filled Plate&lt;/strong&gt; as &lt;strong&gt;Target part&lt;/strong&gt; and &lt;strong&gt;New Hole Cutter&lt;/strong&gt; as the only &lt;strong&gt;Tool part&lt;/strong&gt;, and keep &lt;strong&gt;Keep source parts&lt;/strong&gt; off.&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Confirm&lt;/strong&gt; and name the result &lt;strong&gt;Edited Plate&lt;/strong&gt;. The preview and result should show an open hole on the right, with the old left opening filled.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6l2z1uuz743hp2gi5mg1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6l2z1uuz743hp2gi5mg1.jpg" alt="Cut panel with Filled Plate as the target and New Hole Cutter as the selected tool" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  09. Download the edited STL
&lt;/h2&gt;

&lt;p&gt;Select &lt;strong&gt;Edited Plate&lt;/strong&gt; and choose &lt;strong&gt;File → Export STL&lt;/strong&gt;. Set &lt;strong&gt;Currently selected models&lt;/strong&gt; and check the count is &lt;strong&gt;1&lt;/strong&gt;; leave &lt;strong&gt;Project precision&lt;/strong&gt; selected, then click &lt;strong&gt;Download in browser&lt;/strong&gt; to save the STL.&lt;/p&gt;

&lt;p&gt;Import the downloaded file into your slicer using millimeters and place the broad bottom face on the build plate. The exercise uses chosen modeling dimensions rather than a tested hardware clearance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8xuj1ohd3oct0mb2v3fe.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8xuj1ohd3oct0mb2v3fe.jpg" alt="STL export dialog with one currently selected model, Project precision and Download in browser available" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Finished result
&lt;/h2&gt;

&lt;p&gt;The edited mesh is one plate with the original 70 × 40 × 6 mm envelope. Its old 10 mm hole is filled, and a 6 mm through-hole sits at X = 18 / Y = 0. The exported STL carries the resulting geometry; a native project can retain the tool bodies and editing workflow. Save that project separately if you need to revisit the edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical tips
&lt;/h2&gt;

&lt;p&gt;Match a filling tool to the plate's exact thickness, but extend a cutting tool beyond both faces. That combination preserves the exterior while avoiding a cut that only touches a surface. When changing one hole in another STL, measure that local region and move or resize the tools; scaling the whole model would also change its other dimensions.&lt;/p&gt;

&lt;p&gt;Adapted from the original recorded STL-editing lesson by the Reactor 3D Team. No physical print or hardware-fit test is claimed.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>beginners</category>
      <category>3dprinting</category>
    </item>
  </channel>
</rss>
