HSV to RGB OpenSCAD Library

HSV to RGB OpenSCAD Library

thingiverse

This is a compact utility that transforms hue-saturation-value colors into RGB for OpenSCAD's color() module. See the 'Instructions' tab for more details. [Note: A bug has been fixed where hue was set using 0-360 instead of 0.0 - 1.0.] To use it in your project, download the .scad file and store it in either your OpenSCAD library folder or within the same directory as your project. In your script's top section, simply insert: 'use <library_name>'. We have also integrated this tool into Customizer. Add it to your customizers by including: 'use <customizer_name>'. The useful function in this library is 'hsvToRGB(h, s, v, a)', which takes hue, saturation, value, and alpha (all ranging 0.0-1.0) as inputs, and returns RGBA values [r, g, b, a] within the same range.

Download Model from thingiverse

With this file you will be able to print HSV to RGB OpenSCAD Library with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on HSV to RGB OpenSCAD Library.