Simple Swatch - Customizable - 250+ pre-made swatches
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
A quick and easily-customizable filament swatch. Yes, another swatch. You're welcome!
- Ocena
- 0 / 5
- Polubienia
- 12
- Pobrania
- 66
- Wydruki
- 0
- Wyświetlenia
- 463
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Accessories
- Licencja
- Creative Commons — Attribution — Noncommercial — Share Alike
Why create another swatch when there are so many options out there? There are a lot of great swatches out there, but none were exactly what I wanted. Here is what went into this simple design:
- Focus on color: Print tests reflect so many variables that can distract from the color sample.
- Just the right size: Big enough to show the color and print the filament details without wasted space or plastic. This swatch is 45 x 70 x 3.4mm and uses ~7g filament.
- Command line customizable: Create a new swatch model without clicking around in CAD software.
Customizing swatches
Two methods for customizing swatches include using the OpenSCAD GUI or via OpenSCAD command line. OpenSCAD is required for either option.
If and of the text is too long to fit, it will be auto-scaled down. This tends to work well, but very long text may be too small to print well.
1. OpenSCAD GUI option
Load simple-swatch.scad in OpenSCAD and edit the four Main Settings at the top of the file.
/* [Main Settings] */
vendor="Prusament";
color="Galaxy Black";
type="PETG";
nudgeCnt=2; // Number of "nudges" on top of swatch. Can be 0 or up to ~8.
// I use:
// 1 for PLA
// 2 for PETG
// 3 for ASA
// 4 for TPU
// ...but use what makes sense for youRender the model and you're good to go.
2. Command Line option
Use the command line to generate any number of swatches with ease by calling OpenSCAD with the -D flag to set the variables mentioned above. Use -o to set the output file. E.g., assuming
openscad.exe -o outputswatch.stl -D "nudgeCnt=2" -D "vendor=\"Prusament\"" -D "color=\"White\"" -D "type=\"PLA\"" simple-swatch.scad
An example Windows batch script is included in the file simple-swatch.bat.txt. On Windows, rename this to simple-swatch.bat and run it to quickly generate a swatch. (You may need to change OPENSCAD_PATH if OpenSCAD is installed in a non-standard location.
Other Credit
In addition to @Mildly_Admirable's model that this was based on, credit is due to:
- @Zapador for the Box and Filament Samples that jumpstarted the OpenSCAD code for this model. I also adopted the “nudge” feature from that model.
- fontmetrics.scad by Alexander Pruss is embedded to make sure text fits on the swatch
Don't Forget!
If this model is useful, don't forget to Like and post a make. I read and appreciate all comments. Constructive criticism is welcome!