3
1
Back

More on the circumference surface. Enable_cone_indents = false; // Height of the YuSynth ADSR, though without the stem. ≥30 means "round, using current quality setting". /* [Top Rounding (optional)] */ // Whether to create cutouts around the top to indicate direction? Pointer2 = 1; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; TimerKnobConst = 1.8*1; PI=3.14159265*1; KnobMajorRadius = KnobDiameter/2; 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.

New Pull Request