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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'presets/operator/mesh.primitive_xyz_function_surface/sine.py')
-rw-r--r--presets/operator/mesh.primitive_xyz_function_surface/sine.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/presets/operator/mesh.primitive_xyz_function_surface/sine.py b/presets/operator/mesh.primitive_xyz_function_surface/sine.py
new file mode 100644
index 00000000..d6b9fa5d
--- /dev/null
+++ b/presets/operator/mesh.primitive_xyz_function_surface/sine.py
@@ -0,0 +1,22 @@
+import bpy
+op = bpy.context.active_operator
+
+op.x_eq = 'sin(u)'
+op.y_eq = 'sin(v)'
+op.z_eq = 'sin(u+v)'
+op.range_u_min = 0.0
+op.range_u_max = 6.2831854820251465
+op.range_u_step = 128
+op.wrap_u = True
+op.range_v_min = 0.0
+op.range_v_max = 6.2831854820251465
+op.range_v_step = 128
+op.wrap_v = True
+op.close_v = True
+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'