I want to know how to make a mold of a 3D design in .stl format.

Suppose I have a 3D partin .stl format (for e.g. a cylinder) and I want to make/design a mold for this object (i.e. the structure through which I could make the cylinder). Is there any way to do so? Are there any tools to do so?

My requirement is as follows: I have an .stl file of a design and need to develop the CAD files for its mold. I will then need to 3D print these molds. I would require to add a hole to pour in liquid (resin based) raw material which hardens with time.

  • $\begingroup$ What kind of mold you are looking for? for plastic extrusion or resine molding? $\endgroup$ Commented May 7, 2018 at 19:12
  • $\begingroup$ Adding a hole is trivial assuming you own a drill :-) $\endgroup$ Commented May 8, 2018 at 13:10
  • 2
    $\begingroup$ An off-the wall thought: if it were possible to modify a printer to use wax or other low-temperature melting point material, then print the item, pack in sand, and use lost-wax method of casting. $\endgroup$ Commented May 8, 2018 at 13:12

3 Answers 3


You can also bring the model and a big box into slic3r, align and orient them (enclose the model in the box), and do a subtract modifier, leaving a hollow where the two intersected. You probably want to do this twice, for a top mould and a botom mould. I've done this, but I don't see any instructions online for it. :(

EDIT: Unfortunately, this would be very tedious. It's much easier to use meshmixer or another publicly available program to subtract one stl from another.

In Slic3r, using another stl as a modifier has no effect unless you are also printing that second stl (normally from another head). So you would have to manually remove all the gcode for the second head. Sorry for the bad advice.

  • $\begingroup$ Nice answer, maybe you could write the instructions here and post some screenshots to accompany the text, would be a nice reference. $\endgroup$
    – 0scar
    Commented May 7, 2018 at 21:05
  • $\begingroup$ I can beef this up with instructions and screenshots tomorrow. :) $\endgroup$
    – Davo
    Commented May 7, 2018 at 21:07
  • $\begingroup$ Yes. This looks a simple yet effective solution. Pls. give detailed steps to do the mold making in slic3r starting from how to make a box in it. (I have the model defined in stl format). Basically I have the stl file of the model. I need to generate a mold for it and do 3D printing of the mold. Thanks. $\endgroup$ Commented May 8, 2018 at 5:31
  • $\begingroup$ @ArvindGupta Please update your question to describe what you are pouring into the mould, just a simple mould may not be sufficient as you may need to add holes to pour your material in, or need riser holes for de-aeration. I doubt whether that is possible with this solution. $\endgroup$
    – 0scar
    Commented May 8, 2018 at 7:44
  • 1
    $\begingroup$ I agree with the Meshmixer suggestion: "Boolean difference" is relatively quick. $\endgroup$ Commented May 8, 2018 at 13:09

In addition to the answer of Davo (which describes a surprising feature of the slicer software I was unaware of), a more generic description would involve the use of a 3D solid model CAD program. You should be aware that a model in STL format is not a solid model, it is a surface model. In order to make a mold you would have to import the STL model into a CAD program (there are a few free ones available like Fusion 360 or FreeCAD or maybe many more that will work also) and make a solid body from the surface model. Next thing is to create a large rectangular block and subtract the positive model from the block. Now a negative lives inside this block so you will need to conveniently cut the block through your negative to create 2 mold parts. Be sure that you divide the block so that you can take out the casting from the mold parts and also add an entry to pour in the liquid casting material and add risers (holes) to de-aerate the cavity. Furthermore, for alignment, you could add pins and holes to the mold parts.

  • 1
    $\begingroup$ meshmixer has a "Make solid" function. $\endgroup$ Commented May 8, 2018 at 13:10

While trying to find a soloution to this problem I came across this forum post, which led me to "Parametric two-part mold generator for OpenSCAD" on Thingiverse.

A set of parametric OpenSCAD scripts that generate ready-to-print two-part molds from arbitrary STL models.

These scripts can be used to generate either square (with or without rounded corners) or circular two-part molds and are fully parameterized to make it easy to adapt for your application.

Here's an example from Thingiverse. A parametric two-part mold, and casted object

You can find a download, install instructions or source code for OpenSCAD here.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .