@@ -109,8 +109,8 @@ def set_last_indices(self, indices):
109
109
self .last_indices = indices
110
110
111
111
def finish (self , context ):
112
- print ("turtle.finish" )
113
- print (str (self .pen ))
112
+ # print("turtle.finish")
113
+ # print(str(self.pen))
114
114
new_mesh = self .pen .end ()
115
115
if new_mesh is not None :
116
116
self .bmesh .from_mesh (new_mesh )
@@ -166,7 +166,7 @@ def __init__(self, seed):
166
166
self .set_interpretation (':' , start_object )
167
167
self .set_interpretation (';' , end_object )
168
168
self .set_interpretation ('#' , fatten )
169
- # self.set_interpretation('%', slink) # todo: should be abscission
169
+ # self.set_interpretation('%', slink) # handled in lsystem
170
170
self .set_interpretation ('s' , scale )
171
171
self .set_interpretation ('p' , set_pen )
172
172
self .set_interpretation ('m' , set_material )
@@ -202,9 +202,9 @@ def set_direction(self, direction):
202
202
self .transform = util .matmul (self .transform , rot_matrix )
203
203
204
204
def rotate (self , angle , vector ):
205
- print ("turtle rotate" )
206
- print (str (angle ))
207
- print (str (vector ))
205
+ # print("turtle rotate")
206
+ # print(str(angle))
207
+ # print(str(vector))
208
208
self .transform = util .matmul (self .transform , mathutils .Matrix .Rotation (angle , 4 , vector ))
209
209
210
210
def rotate_y (self , angle ):
@@ -274,9 +274,9 @@ def scale(self, scaling, bl_obj):
274
274
275
275
def forward (self , length ):
276
276
vec = (0.0 , 0.0 , length )
277
- print ("forward" )
278
- print (str (vec ))
279
- print (str (self .tropism_force ))
277
+ # print("forward")
278
+ # print(str(vec))
279
+ # print(str(self.tropism_force))
280
280
self .transform = util .matmul (self .transform , mathutils .Matrix .Translation (vec ))
281
281
if self .tropism_force > 0.0 :
282
282
loc , rot , sca = self .transform .decompose ()
0 commit comments