Closed jcoehoorn closed 5 years ago
ThingiVerse Customizer is rendering studs different than OpenSCAD.
The code below somehow produces a stud with a 2 mm diameter in the customizer and 4.825 mm in OpenSCAD.
LU = 1.6; stud_radius_adjustment = -.02; base_stud_height = 1.8; stud_height_adjustment = .1; stud_height = base_stud_height - stud_height_adjustment; stud_rad = (1.5*LU) - stud_radius_adjustment; cylinder(stud_height,stud_rad, stud_rad, $fn=40);
Turns out Customizer wants floats with an absolute value < 1 to have leading zeros. Fix is in.
ThingiVerse Customizer is rendering studs different than OpenSCAD.
The code below somehow produces a stud with a 2 mm diameter in the customizer and 4.825 mm in OpenSCAD.