diff --git a/LoopStructural/datatypes/_bounding_box.py b/LoopStructural/datatypes/_bounding_box.py index a28081ee..6ba36d8d 100644 --- a/LoopStructural/datatypes/_bounding_box.py +++ b/LoopStructural/datatypes/_bounding_box.py @@ -316,7 +316,7 @@ def regular_grid( y = np.linspace(self.origin[1], self.maximum[1], nsteps[1]) z = np.linspace(self.origin[2], self.maximum[2], nsteps[2]) if not local: - + x = np.linspace(self.global_origin[0], self.global_maximum[0], nsteps[0]) y = np.linspace(self.global_origin[1], self.global_maximum[1], nsteps[1]) z = np.linspace(self.global_origin[2], self.global_maximum[2], nsteps[2])