dilsc version with corrected 3D limits

This commit is contained in:
2023-02-15 14:31:29 +01:00
parent 9636dc9cea
commit 04755c5173
3 changed files with 18 additions and 3 deletions

View File

@ -31,7 +31,7 @@ INCREASE = 2
class VectorField(HasStates, Vector, Drivable):
sphere_radius = Parameter('max. spehere', datatype=FloatRange(0, 0.7, unit='T'), readonly=True, default=0.6)
sphere_radius = Parameter('max. sphere', datatype=FloatRange(0, 0.7, unit='T'), readonly=True, default=0.6)
cylinders = Parameter('allowed cylinders (list of radius and height)',
datatype=ArrayOf(TupleOf(FloatRange(0, 0.6, unit='T'), FloatRange(0, 5.2, unit='T')), 1, 9),
readonly=True, default=((0.23, 5.2), (0.45, 0.8)))