14 zero. |
14 zero. |
15 ''' |
15 ''' |
16 yield from ( |
16 yield from ( |
17 report_problem('zero-determinant', bad_object = subfile_reference) |
17 report_problem('zero-determinant', bad_object = subfile_reference) |
18 for subfile_reference in model.subfile_references |
18 for subfile_reference in model.subfile_references |
19 if abs(subfile_reference.matrix.determinant() - 0) < 1e-15 |
19 if abs(subfile_reference.matrix.determinant() - 0) < 1e-5 |
20 ) |
20 ) |
21 |
21 |
22 def scaling_description(scaling, axes = 'xyz'): |
22 def scaling_description(scaling, axes = 'xyz'): |
23 ''' |
23 ''' |
24 Returns a pretty description of a scaling vector. The axes parameter |
24 Returns a pretty description of a scaling vector. The axes parameter |