Ultimate customizable swatches holder generator

Ultimate customizable swatches holder generator

Boost
29
69
2

Print Profile(1)

All
P1S
P1P
X1
X1 Carbon
X1E
A1

Bambu and Generic Filaments - 4 x 5 Swatches
Bambu and Generic Filaments - 4 x 5 Swatches
20.4 h
10 plates

Boost
29
69
2
1
18
2
Released

Description

This is an OpenSCAD script to generate filament and infill swatches tiles for display.

Tiles generated with the default settings are fully compatible with Bambu Lab sample swatches and is the full compatible parametrization of the Swatch Display Board by Bambu Lab, any parameter of the swatch and holder can be changed.

 

Source of every file can be found on GitHub at this page.


This completes with my previous Ultimate fully customizable swatches generator you can find here.

 

Thanks to @Stephanos for the complete list of fonts and styles supported by MakerWorld he gave me access with his script Parametric Model Maker ALL TEXT FONTS TEMPLATE you can find here.

A guide through the tabs

Here's an detailed explanation of every possible setting. Feel free to explore the endless possibilities of combining these values.

Dimensions

In this tab you can customize the dimension of every aspect of this design.

ParameterDescriptionunitminmaxdefault
columnsThe number of tiles for each row.n.1104
rowsThe number of tiles for each column.n.1155
columns_spacerThe distance of the raised border between columns.mm0.1255
rows_spacerThe distance of the raised border between rows.mm0.1255
outside_borderThe dimension of the border all around the holder.mm0.1252.2
tile_sizeBeing the tile a rounded-corners square, this defines the length of the side of that square.mm1010024.1
tile_heightThis is the tile depth.mm152.15
tile_radiusThis sets the roundness of the above mentioned square.mm1103.1
outside_border_chamferThis is the chamfer applied to the external border at top. (0 = no chamfer)mm0100.5
outside_border_radiusThe radius of the corners in the external border. (0 = squared borders)mm0105
back_heightThe height of the back part of the grid (the one below the tiles).mm0.4101.35
create_back_holeIf a hole in the back back, at the middle of each tile must be cut. This hole allows to easily extract a tile by placing a finger behind it and pushing forward.bool  true
back_hole_diameterThe diameter of the back hole above mentioned.mm22515.5
back_hole_chamferSpecifies if a chamfer must be cut around the bottom border of the back hole. (0 = no chamfer)mm010.4
create_pinThis sets if a holding pin must be created for each tile.bool  true
pin_diameterDiameter of the pin to be created.mm153.1
pin_x_offsetX-axis distance from the left border of a tile to the center of the pin.mm1103.9
pin_y_offsetY-axis distance from the top border of a tile to the center of the pin.mm1104.6
pin_chamferSpecifies if a chamfer must be created around the top border of the pin. (0 = no chamfer)mm010.1

Sides

All the sides have the same settings available or better to say, horizontal sides (top and bottom) have the same settings, vertical sides (left and right) have the same settings. In these sections you can enable the creation of an expanded border with a text and one/two/no holes for using a collector.

Top side

ParameterDescriptionunitminmaxdefault
top_createIndicates if a expanded border must be created on this side.bool  true
top_dimensionSpecified the dimension (height) of this side.mm35010
top_textSpecifies the text to create on this side. (leave this field blank to have no text)text  “Top text”
top_direction

The direction on Z-axis where the text extends, allows these values:

  • Extrude
  • Chisel
   Chisel
top_heightThe height in millimeters of extrusion or chisel.mm0.150.4
top_fontChoose one of the supported fonts from the list to apply it to the text on this side.   Liberation Serif
top_custom_fontHere you can override the above setting by putting the name of a font installed in the system where this script is executed. Please keep in mind that when you use Parametric Model Maker, the system the script is running on is MakerWorld's server, not your computer.   none
top_styleChoose the style of the text. Note: not all fonts support all styles.   Bold
top_sizeThe size of the text.pt1125
top_align

Alignments of the text, accepted values:

  • Left
  • Center
  • Right
   Center
top_spacingSpacing between letters, the greater the number, the far the letters are. 0.151
top_x_offsetX offset of the text to compensate and correct calculated position.mm-1001000
top_y_offsetY offset of the text to compensate and correct calculated position.mm-1001000
top_holes

Create holes in this, this value can be:

  • None - no holes are cut;
  • Left - only a hole on the left side is created;
  • Right - only a hole on the right side is created;
  • Both - two holes are created, one on the left and one on the right side.
   None
top_holes_diameterThe diameter of the holes.mm0.2105
top_holes_distanceThe distance from the side of the border to the middle of the hole.mm0.21003
top_left_hole_x_offsetAn offset on the X-axis to give to the left hole.mm-1001000
top_left_hole_y_offsetAn offset on the Y-axis to give to the left hole.mm-1001000
top_right_hole_x_offsetAn offset on the X-axis to give to the right hole.mm-1001000
top_right_hole_y_offsetAn offset on the Y-axis to give to the right hole.mm-1001000

Left side

Left side has almost the same configuration as the top side, here only the differences will be shown.

 

ParameterDescriptionunitminmaxdefault
left_textSpecifies the text to create on this side. (leave this field blank to have no text)text  empty
left_orientation

The orientation of the text, which can be:

  • Rotated text (CCW) - counter-clockwise rotated text
  • Rotated text (CW) - clockwise rotated text
  • Vertical text - letters are horizontal, one below the other
   Rotated text (CCW)
left__align

Alignments of the text, accepted values:

  • Top
  • Center
  • Bottom
   Center
left_holes

Holes can be created:

  • None - no holes are created;
  • Top - only the top hole is created;
  • Bottom - only the bottom hole is created;
  • Both - both the top and bottom holes are created.
   Both

Right side

Right side has the same configuration as left side, only parameters that change are shown here.

ParameterDescriptionunitminmaxdefault
right_createIndicates if a expanded border must be created on this side.bool  false
right_textSpecifies the text to create on this side. (leave this field blank to have no text)text  “Right text”

Bottom side

Bottom side has the same configuration as top side, only parameters that change are shown here.

ParameterDescriptionunitminmaxdefault
bottom_createIndicates if a expanded border must be created on this side.bool  false
bottom_textSpecifies the text to create on this side. (leave this field blank to have no text)text  “Bottom text”

3D printing settings

ParameterDescriptiondefault
print_mode

Switches between modes of generation.

  • Monochromatic - generates the full body with holder, chiseled and extruded texts.
  • Holder only - generates the body of the holder with chiseled texts, but not extruded texts which can be lately added with the next option.
  • Texts only - generates only chiseled and extruded texts, this can be used to create a multicolor object.
Monochromatic
curves_quality

Selects the quality of curves to be used when generating the model, the lowest the quality, the faster generation will take. You can work in Draft all the time for fast refresh, but you need to remember to switch back to Normal or something higher before exporting the model to be printed.

 

Possible values:

  • Draft - low quality, not suitable for printing;
  • Printable draft - not for production, yet printable;
  • Normal: normal quality, ready to print;
  • High quality: good quality for high resolution printers.

 

Be warned: Parametric Model Maker has a short timeout for script execution to avoid DDoS attacks, for this reason setting a quality too high could create a timeout error

Normal

What you can create

Monochromatic holders

The easiest one, nothing to say: create a holder the way you want it.

An example holder to be printed using a single color.

Make sure you selected Monochromatic for the parameter print_mode in the 3D printing settings tab as shown in the image above.

Remember to left click on to generate a version with your current settings.

Click on the button to download the object to a file.

When this windows pops up, left click on the button to select the .STL file format.

If your computer offers the possibility to save the file to a desired location, select a folder where you want to save it and choose a proper name, e. g. “monochromatic”, which fill create “monochromatic.stl”.

 

If your browser is configured to automatically save files, you will find the file named “Swatches holder.stl” in the location you usually receive downloaded file, usually called the “Downloads” folder.


Open Bambu Studio or your preferred slicer, start a new project and drag the file onto it.

Sample result of the above operations.

Multi color holders on mono printers or for non AMS compatible filaments (using pause at layer/height)

Please read the Monochromatic holders section for basic information about how to manage the whole process before continuing.

 

A limitation of the monochromatic printer can be partially bypassed, printing the texts with another color by using some clever tricks, here's how to do it.


First of all make sure you designed your holder with all the texts as extruded, chiseled texts will not be colored.

Export it as STL and import into Bambu Studio following the same instructions for monochromatic printing until you reach the step where you slice it.


Once you sliced the plate, use drag the + icon of the vertical scrollbar down.

As you scroll top layers will disappear from view, continue scrolling down until only one layer with texts is visible.


Now, right click on the + icon and a menu will pop out.

Select the Add Pause item, the you will have to slice the plate again.

Once you sliced it again, the scrollbar will show a “Pause” label where you set it and the layer will be drawn with another color.

 

Now print this, when the printer is starting to print that layer, it will pause and the print head will be moved away from the piece and on the screen you will see a message.

Change the filament in the printer, then press Resume to continue printing using the new color.

In my opinion, results are beautiful.

Multi color holders on multi color printers

Please read the Monochromatic holders section for basic information about how to manage the whole process before continuing.

 

The most easy way to print these, yet the most satisfying way to customize this.


Once you draw your holder, be sure to select the Holder only option for the print_mode parameter in the 3D printing settings tab and click on Generate.


Click the Download button to export to a STL file, let's say holder.stl.

Change the print_mode parameter to Texts only and click Generate button again.


Click Download again and export this to a STL file and call it texts.stl.


Open a new project in Bambu Studio and drag both file at the same time on it.

When asked if these has to be considered two parts of a single object, select Yes.


Now follow these steps:

  1. Switch to the Objects tab by left clicking on the Global/Objects switch;
  2. Right click on the texts.stl line in the objects list;
  3. Move with the mouse over the Change filament menu item;
  4. From the sub menu select the filament you want.

This procedure has been designed to work with both chiseled and extruded modes.

 


Documentation (1)

Other Files (1)
Guide to swatches holder generator_fb1c660b-0baa-420d-aec6-5e981d2f2316.pdf

Comment & Rating (2)

Please fill in your opinion
(0/5000)

Boosted
Thank you
The designer has replied
1
Reply
Thank YOU for boosting my model! Did you like it? Did you already print something? Can I see the final result? Did you also see my generator for the swatches at https://makerworld.com/en/models/481721 ?
(Edited)
0
Reply
No more