Skip to content

Commit efb46a2

Browse files
committed
fix: add methods to fold rotation angle feature
1 parent 2ee38ac commit efb46a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

LoopStructural/modelling/features/fold/_fold_rotation_angle_feature.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ def evaluate_value(self, location):
4242
s1 = self.fold_frame.features[0].evaluate_value(location)
4343
r = self.rotation(s1)
4444
return r
45+
def copy(self, name = None):
46+
raise NotImplementedError("FoldRotationAngleFeature cannot be copied directly, copy the fold frame and rotation function separately")
47+
def evaluate_gradient(self, pos, ignore_regions=False):
48+
raise NotImplementedError("FoldRotationAngleFeature does not have a gradient")
49+
def get_data(self, value_map = None):
50+
raise NotImplementedError("FoldRotationAngleFeature does not have data associated with it directly, get data from the fold frame and rotation function separately")

0 commit comments

Comments
 (0)