February 18, 2024
Description
It's an OpenSCAD file with many, many options to allow you to:
If you're new to OpenSCAD customizer, read the attached PDF "Using OpenSCAD customizer". All parameters have descriptions, so they're referenced and explained in the tool itself.
See the size of the model you want to make heart-shaped. In the "Main Parameters" panel:
Render with F6 and export to STL with F7.
In your slicer, load the object and then add to it a "Negative mesh" or negative volume/modifier, the object you just exported. Make sure that it's at the same coordinates as your object to cut. In PrusaSlicer you can export the cut object (i.e., export as STL with the modifier applied to the geometry), but your object may need to be error-free (repaired if necessary).
That's it! Slice and print.
Yes, you can use this to generate cutters for dough-based 3D objects, but the method will be slightly different.
Do as above, but select "Frame" as "Object type". In "Frame parameters", set the "Frame thickness" to a small value, like one or two perimeters (just one if you're going to print in vase mode), according to your nozzle size; f.i., 0.45 is good for a 0.4 nozzle. F6 to render, F7 to export, you're done.
You may want to add a "base rim" with maybe a “cross” or a square texture inside. Well, do the following:
This is something you may want to do before HueForging the image, so it appears already in the heart shape. And there are actually different ways to do this, depending on the exact program you'll be using.
Instead of an STL, you'll be exporting a SVG file; do as the simple cutout, but set the Height to 0 and export to SVG from File->Export->Export as SVG in OpenSCAD. You may want to edit the resulting SVG and set the stroke width to 0 (you can do this in Inkscape, but also Notepad), and export it as a raster file, such as PNG (better than JPG for this), with the same dimensions in pixels as the image you'll be HueForging.
In your image editor (Photoshop, GIMP, whatever), open the image to HueForge and add a layer. Set the mask in it. Use the magic wand to select it, select the layer with your image, and fill the selection with a transparent color. Then, delete the "mask" image.
(That's not an actual mask in photo editing. You could of course use the SVG-to-PNG as a proper mask, but mask operations are usually more complex and if you know what is a mask, chances are that you'll already know how to use this SVG-to-PNG.)
Just make sure that the image mode you're working it supports transparency (alpha channel). Not all image editors have it enabled by default in all modes.
Now this is something more complex, like the composition of two HueForges in a single object, plus adding a frame (outline) to it. That's the included example of Geralt and Yennefer from The Witcher (Henry Cavill and Anya Chalotra in the Netflix series).
(If you just want to print that example for now, use a low TD black, a high TD white —I used Winkle Nácar, but others lie Prusament Pearl White, f.i., will work nicely— and some red, and add color changes at 0.64 and 3-ish mm —2.96 or 3.04—, and optionally a height range modifier from 3mm onwards for a layer height of 0.2 or greater. Sources are included in the "Other files" section, and you have the STL for 100-ish mm).
This technique will give a seamless look, but it will require that both HueForge objects (made separately) use the same color scheme, meaning the color swaps are to be made at the same height. This is not that difficult to do if you're using a monochrome base image and adjust levels, but may require some tweaking and eyeing.
(If you plan on use several color schemes, you'll have to print the HueForges separately and then glue them in a frame with a base, which is the next section.)
We'll start by prepping the images. You could skip this step and adjust everything later in the slicer, but it's harder. The size we've for the heart (inside) is 100x100mm, but what matters is the ratio, which is 1:1. We'll split that in two "columns", left for Geralt and right for Yennefer. So we have to prep the images, cutting/resizing so they have a 1:2 (Width:Depth, or X:Y) ratio. Obviously, if we wanted two "rows" (Yennefer above Geralt, f.i.), we'd have to resize the images to a 2:1 (W:D) ratio, and so on. You can make more complex arrangements, like "two on top and one below" playing with the selections and number of columns/rows per each item.
Once we've HueForged the images at a 50x100mm size, we need to create the modifiers and frame.
We'll do the same for the right half, just that "Cell group index" or "Column index" must be 2. As you may have already guessed, "index" means "the nth whatever", either column, cell, &c. And the "Group size" of cells, columns, &c is "out of X". So, if you set "Cell group index" to 1 and "Cell group size" to 3, you're telling the OpenSCAD file to get each 1st cell (square) out of each 3.
Now for the frame:
Time to compose in the slicer!
Load the Geralt for the left. Set it in the middle of the bed, and then 25mm to its left (center -25mm). That is, half its width, so its right side is precisely in the middle of the bed. Now add to it its negative modifier; set it at the center of the object (0,0 in object relative coordinates), then move it 25mm to the right (add 25mm, again half the width of the Geralt). Now you'll have the negative modifier centered in the bed, and the Geralt with its right side at the center of the bed.
Do the same with the Yennefer for the right, but move the positive to the right and the negative modifier to the left. Now, the two negative modifiers will be at the same coordinates (center of the bed) and the two positives, Geralt and Yennefer, will be 50mm apart on X, and at the same Y.
Now you only need to add the frame; since you've used the centering fillet, just set it in the middle of the bed. It will be at the same (world) coordinates as the negative modifiers. If you want to remove the centering fillet once you've placed the frame, split it to parts (in PrusaSlicer, there's a P button in the top button row, but you can also do that from the right-click menu in the object list at the right). Select the fillet part and delete it. (You can split the frame to objects instead of parts, but by parts is slightly easier to find the fillet one.)
You may want to export the whole plate now as a single STL. That may make slicing easier, and adding height range modifiers and others. For instance, you may add the frame itself as a modifier of the frame itself and set its infill at, say, 20%; this will save you time and material.
(Note that this may not be the most efficient way, or the only way, to do this specific project. We could have merged Geralt and Yennefer in a single object, then added just a single negative modifier like in the basic case above, and then the frame. Or even better, pasted the two images in a single one and HueForge it. I did it this way just to illustrate how to merge several HueForges in a single print!)
This is mostly like the above case, but with a few important differences. We'll add the negative modifiers and print one by one (or by more, if the color schemes are the same), and then glue them to a frame. So we need two things:
So for the first, go to "Frame base thickness" in "Frame parameters" and set it to something bigger than 0 before exporting the frame. A couple of layers may be enough —remember that you won't be HueForging the frame, so you can go for greater layer heights.
For the second, go to "Cutter-specific parameters" and set "Cutter clearance" to a "good" value. Usually, something like 0.15 or 0.2 will give you room for a tight fit, but that may depend on your printer, material, etc. It's good to make first a test fit using the positives (select "Positive modifier" in "Modifier type"), which don't need to be tall. If everything fits, you're good to go!
Well, the heart shape is... not exactly regular. In its "regular" shape, it fits into a square (1:1 ratio), although it may be fit into any ratio. But thing is, the lower half has less usable area than the upper half, so maybe you want a first row with two columns, and a second row with just one column; or maybe other non-regular, same-columns-per-row layout.
This is actually easy to do. Make the top as 2 columns, and export each cell independently. Then just modify the “Columns” parameter and set it to 1, then export it. It will keep the clearance between rows, so it will fit nicely.
License:
Creative Commons — Attribution — Noncommercial — Share Alike