Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clifford_torus.py « mesh.primitive_xyz_function_surface « operator « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7e14f5550f087623cc6316c41cb86231be9b7f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import bpy
op = bpy.context.active_operator

op.x_eq = 'cos(u+v)/(sqrt(2.)+cos(v-u))'
op.y_eq = 'sin(v-u)/(sqrt(2.)+cos(v-u))'
op.z_eq = 'sin(u+v)/(sqrt(2.)+cos(v-u))'
op.range_u_min = 0.0
op.range_u_max = 3.140000104904175
op.range_u_step = 8
op.wrap_u = False
op.range_v_min = 0.0
op.range_v_max = 6.2831854820251465
op.range_v_step = 128
op.wrap_v = False
op.close_v = False
op.n_eq = 1
op.a_eq = '0'
op.b_eq = '0'
op.c_eq = '0'
op.f_eq = '0'
op.g_eq = '0'
op.h_eq = '0'