File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed
Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change 1- import matplotlib .pyplot as plt
21from numpy import zeros
32
43from compas .geometry import closest_point_on_line_xy
@@ -287,10 +286,12 @@ def build_symmetry_matrix(form, printout=False):
287286 Asym [line , index ] = - 1
288287 line += 1
289288 i += 1
289+
290290 if printout :
291- plt .matshow (Asym )
292- plt .colorbar ()
293- plt .show ()
291+ raise NotImplementedError
292+ # plt.matshow(Asym)
293+ # plt.colorbar()
294+ # plt.show()
294295
295296 return Asym
296297
@@ -326,9 +327,10 @@ def build_symmetry_transformation(form, printout=False):
326327 Esym [:, id_sym ] = Ei .flatten ()
327328
328329 if printout :
329- plt .matshow (Esym )
330- plt .colorbar ()
331- plt .show ()
330+ raise NotImplementedError
331+ # plt.matshow(Esym)
332+ # plt.colorbar()
333+ # plt.show()
332334
333335 return Esym
334336
@@ -363,9 +365,10 @@ def build_vertex_symmetry_transformation(form, printout=False):
363365 Evsym [:, id_sym ] = Ei .flatten ()
364366
365367 if printout :
366- plt .matshow (Evsym )
367- plt .colorbar ()
368- plt .show ()
368+ raise NotImplementedError
369+ # plt.matshow(Evsym)
370+ # plt.colorbar()
371+ # plt.show()
369372
370373 return Evsym
371374
@@ -410,8 +413,9 @@ def build_symmetry_matrix_supports(form, printout=False):
410413 line += 1
411414 i += 1
412415 if printout :
413- plt .matshow (Asym )
414- plt .colorbar ()
415- plt .show ()
416+ raise NotImplementedError
417+ # plt.matshow(Asym)
418+ # plt.colorbar()
419+ # plt.show()
416420
417421 return Asym
You can’t perform that action at this time.
0 commit comments