-
Notifications
You must be signed in to change notification settings - Fork 0
/
hexahedron_3D.py
62 lines (61 loc) · 1.18 KB
/
hexahedron_3D.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 = 'cos(v)**3*cos(u)**3'
op.y_eq = 'sin(u)**3'
op.z_eq = 'sin(v)**3*cos(u)**3'
op.w_eq = '0'
op.range_u_min = -1.2999999523162842
op.range_u_max = 1.2999999523162842
op.range_u_step = 32
op.wrap_u = False
op.range_v_min = 0.0
op.range_v_max = 6.2831854820251465
op.range_v_step = 32
op.wrap_v = False
op.close_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 = '0'
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.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