Posted in 3d Printer hacks, Parts Tagged 3D printed parts, knob, openscad, parametric design Post navigationĪs I learn more about functional programming I find that things I want to do are not impossible with it. Projects like the Ultimate Box Maker we looked at back in 2018 are an excellent example of how powerful OpenSCAD can be if you give your design the proper forethought. Of course, if you want to make your OpenSCAD designs even easier for others to modify, you’ll want to look into its impressive customizer capability which replaces manually edited variables with friendly sliders and text input boxes. With the core functionality in place, you just need to concern yourself with writing a new function to generate a grip texture more to your liking. But that’s the beauty of open source, should you want to print out some wild looking knobs, you can at least use this code as a basis to build on. Now admittedly, all the knobs generated with this code will look more or less the same. Just plug in your desired diameter and height, fiddle around a bit with the values that get fed into the grip generating function, and hit F7 to export it to an STL ready for printing. The code clocks in at less than 100 lines, but if you’re looking to spin up your own version, all you really need to pay attention to are the clearly labeled variables up at the top. Take for example this parametric-knob-maker written by. Using a few choice variables, it’s possible to make a model in OpenSCAD that can be easily tweaked by other users - even if they have zero prior experience with CAD. While not everyone is necessarily onboard for the CAD-via-code principle behind OpenSCAD, there’s no denying the software lends itself particularly well to parametric designs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |