3
1
Back

// color([1,0,0]) // linear_extrude(thickness+1) // text(string, size, halign=halign, font=font_for_title); //} // draw panel, subtract holes // v_wall(h=4, l=height-rail_clearance*2-thickness); // top to indicate direction? Pointer2 = 1; // [0:No, 1:Yes] ////////////////////////// //Advanced settings ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; DistanceBetweenKnurls = 3*1; TimerKnobConst = 1.8*1; ////////////////////////// KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : Knurls-1] rotate([0, 0, 90 + sphere_indents_offset_angle + ((360 / cone_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = knob_faces); // Create title png from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OF THIS DOCUMENT OR THE USE OF THIS SOFTWARE. This license applies to it and submit PRs to improve on this one, how much smoothing to apply.

New Pull Request