diff options
author | Stephen Leger <stephen@3dservices.ch> | 2017-08-03 16:59:40 +0300 |
---|---|---|
committer | Stephen Leger <stephen@3dservices.ch> | 2017-08-08 16:17:51 +0300 |
commit | 80914c55924995493f6e1bcb92a2bcb8e241d200 (patch) | |
tree | 069fc210b813fdfc93be6a54e8e269b6724a24a8 /archipack/archipack_slab.py | |
parent | 253a936d60bf944b303bd899d9edbbc543af989b (diff) |
archipack: improve labels to support i18n, fix regression in boolean, division by 0 error in roof
Diffstat (limited to 'archipack/archipack_slab.py')
-rw-r--r-- | archipack/archipack_slab.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/archipack/archipack_slab.py b/archipack/archipack_slab.py index 0326a9f0..9f8a2947 100644 --- a/archipack/archipack_slab.py +++ b/archipack/archipack_slab.py @@ -435,19 +435,19 @@ class ArchipackSegment(): update=update_type ) length = FloatProperty( - name="length", + name="Length", min=0.01, default=2.0, update=update ) radius = FloatProperty( - name="radius", + name="Radius", min=0.5, default=0.7, update=update ) da = FloatProperty( - name="angle", + name="Angle", min=-pi, max=pi, default=pi / 2, @@ -455,7 +455,7 @@ class ArchipackSegment(): update=update ) a0 = FloatProperty( - name="start angle", + name="Start angle", min=-2 * pi, max=2 * pi, default=0, @@ -538,7 +538,7 @@ class archipack_slab_part(ArchipackSegment, PropertyGroup): class archipack_slab(ArchipackObject, Manipulable, PropertyGroup): # boundary n_parts = IntProperty( - name="parts", + name="Parts", min=1, default=1, update=update_manipulators ) @@ -556,20 +556,20 @@ class archipack_slab(ArchipackObject, Manipulable, PropertyGroup): ) x_offset = FloatProperty( - name="x offset", + name="Offset", min=-1000, max=1000, default=0.0, precision=2, step=1, unit='LENGTH', subtype='DISTANCE', update=update ) z = FloatProperty( - name="z", + name="Thickness", default=0.3, precision=2, step=1, unit='LENGTH', subtype='DISTANCE', update=update ) auto_synch = BoolProperty( - name="AutoSynch", + name="Auto-Synch", description="Keep wall in synch when editing", default=True, update=update_manipulators |