diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_colonsegment1.py b/src/scaffoldmaker/meshtypes/meshtype_3d_colonsegment1.py index 6d6cfc4b..a269c0cd 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_colonsegment1.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_colonsegment1.py @@ -8,7 +8,7 @@ import copy import math -from cmlibs.maths.vectorops import normalize, set_magnitude, magnitude, dot +from cmlibs.maths.vectorops import normalize, set_magnitude, magnitude, dot, cross from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates from cmlibs.zinc.element import Element from cmlibs.zinc.field import Field diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_esophagus1.py b/src/scaffoldmaker/meshtypes/meshtype_3d_esophagus1.py index 7d9d4070..71628cad 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_esophagus1.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_esophagus1.py @@ -7,6 +7,7 @@ import copy import math +from cmlibs.maths.vectorops import magnitude, normalize from cmlibs.utils.zinc.field import findOrCreateFieldGroup, findOrCreateFieldStoredString, \ findOrCreateFieldStoredMeshLocation from cmlibs.zinc.element import Element diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_heartarterialvalve1.py b/src/scaffoldmaker/meshtypes/meshtype_3d_heartarterialvalve1.py index 711e3802..da505f15 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_heartarterialvalve1.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_heartarterialvalve1.py @@ -8,7 +8,7 @@ import math -from cmlibs.maths.vectorops import eulerToRotationMatrix3 +from cmlibs.maths.vectorops import eulerToRotationMatrix3, magnitude from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates from cmlibs.utils.zinc.general import ChangeManager from cmlibs.zinc.element import Element diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles1.py b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles1.py index 5554014b..39e87250 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles1.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles1.py @@ -7,6 +7,7 @@ import math +from cmlibs.maths.vectorops import magnitude, normalize, cross, set_magnitude from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates from cmlibs.zinc.element import Element, Elementbasis from cmlibs.zinc.field import Field diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles2.py b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles2.py index 1ceb9667..d465ab9c 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles2.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventricles2.py @@ -6,6 +6,7 @@ import math +from cmlibs.maths.vectorops import magnitude, normalize, cross from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates from cmlibs.zinc.element import Element, Elementbasis from cmlibs.zinc.field import Field diff --git a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventriclesbase2.py b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventriclesbase2.py index 0c58a117..a2ee053c 100644 --- a/src/scaffoldmaker/meshtypes/meshtype_3d_heartventriclesbase2.py +++ b/src/scaffoldmaker/meshtypes/meshtype_3d_heartventriclesbase2.py @@ -8,6 +8,7 @@ import math +from cmlibs.maths.vectorops import normalize, cross, magnitude from cmlibs.utils.zinc.field import findOrCreateFieldCoordinates from cmlibs.utils.zinc.finiteelement import getMaximumElementIdentifier, getMaximumNodeIdentifier from cmlibs.zinc.element import Element