Converts a 3D vector to a string usable by the add-on Parameters: vec3: a 3d vector Returns: (str): string representation of the vector
(vec3)
| 85 | return f"({vec2[0]}, {vec2[1]})" |
| 86 | |
| 87 | def vec3_to_py_str(vec3) -> str: |
| 88 | """ |
| 89 | Converts a 3D vector to a string usable by the add-on |
| 90 | |
| 91 | Parameters: |
| 92 | vec3: a 3d vector |
| 93 | |
| 94 | Returns: |
| 95 | (str): string representation of the vector |
| 96 | """ |
| 97 | return f"({vec3[0]}, {vec3[1]}, {vec3[2]})" |
| 98 | |
| 99 | def version_to_manifest_str(version) -> str: |
| 100 | return f"\"{version[0]}.{version[1]}.{version[2]}\"" |
no outgoing calls
no test coverage detected