[general] name = Kleinbottle2; comments = Klein's bottle (kleinsche Flaeche), Moebius parametrization. Felix Christian Klein (1849-1925).; a1_min = 0; a1_max = 360; a1_steps = 80; a2_min = 0; a2_max = 360; a2_steps = 80; [param] name = a; title = Outer Radius; default = 2; min = 0.01; max = 10; [param] name = b; title = Inner Radius; default = 1; min = 0.01; max = 10; [formula] S1 = sin(A1); S2 = sin(A2/2); S3 = sin(2*A1); C2 = cos(A2/2); T1 = C2 * S1 - S2 * S3; X = (a + b * T1) * cos(A2); Y = b * (S2 * S1 + C2 * S3); Z = (a + b * T1) * sin(A2); [preset] name = default; a = 2; b = 1; a1_min = 0; a1_max = 360; a1_steps = 80; a2_min = 0; a2_max = 360; a2_steps = 80;