-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sphere_4D.py
62 lines (61 loc) · 1.19 KB
/
Sphere_4D.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import bpy
op = bpy.context.active_operator
op.x_eq = 'a*sin(pi*t)*sin(pi*v)*sin(2*pi*u)'
op.y_eq = 'a*sin(pi*t)*sin(pi*v)*cos(2*pi*u)'
op.z_eq = 'a*sin(pi*t)*cos(pi*v)'
op.w_eq = 'a*cos(pi*t)'
op.range_u_min = 0.0
op.range_u_max = 1.0
op.range_u_step = 8
op.wrap_u = False
op.range_v_min = 0.0
op.range_v_max = 1.0
op.range_v_step = 8
op.wrap_v = False
op.range_t_min = 0.0
op.range_t_max = 1.0
op.range_t_step = 4
op.wrap_t = False
op.close_t = False
op.a_eq = '1'
op.b_eq = '0'
op.c_eq = '0'
op.f_eq = '0'
op.g_eq = '0'
op.h_eq = '0'
op.show_wire = False
op.edit_mode = False
op.show_4D_in_3D = False
op.TRx_from = 0.0
op.TRx_to = 0.0
op.TRx_fixed = 0.0
op.TRy_from = 0.0
op.TRy_to = 0.0
op.TRy_fixed = 0.0
op.TRz_from = 0.0
op.TRz_to = 0.0
op.TRz_fixed = 0.0
op.TRw_from = -1.25
op.TRw_to = 1.25
op.TRw_fixed = 0.0
op.Rxy_from = 0
op.Rxy_to = 0
op.Rxy_fixed = 0
op.Rxz_from = 0
op.Rxz_to = 0
op.Rxz_fixed = 0
op.Rxw_from = 0
op.Rxw_to = 0
op.Rxw_fixed = 0
op.Ryz_from = 0
op.Ryz_to = 0
op.Ryz_fixed = 0
op.Ryw_from = 0
op.Ryw_to = 0
op.Ryw_fixed = 0
op.Rzw_from = 0
op.Rzw_to = 0
op.Rzw_fixed = 0
op.frame_start = 1
op.frame_end = 10
op.generate = False