From 7397e49b2b578ed1a7c61451574ca5411ad9e43b Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 14 Mar 2021 17:08:10 +0100 Subject: [PATCH] TrayLayout: Add description text Resolves: #295 --- boxes/generators/traylayout.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boxes/generators/traylayout.py b/boxes/generators/traylayout.py index 8b683ad..5fb1032 100644 --- a/boxes/generators/traylayout.py +++ b/boxes/generators/traylayout.py @@ -25,6 +25,9 @@ class TrayLayout(Boxes): # This class generates the skeleton text file that can then be edited # to describe the actual box + description = """This is a two step process. The layout is based on a grid +of sizes in x and y direction. Choose how many distances you need in both directions. The actual sizes and all other settings can be entered in the second step.""" + webinterface = True ui_group = "Tray" @@ -86,6 +89,12 @@ class TrayLayout2(TrayLayout): webinterface = True + description = """Edit the layout text graphics to adjust your tray. +Put in the sizes for each column and row. You can replace the hyphens and +vertial bars representing the walls with a space character to remove the walls. +You can replace the space characters representing the floor by a "X" to remove the floor for this compartment. +""" + def __init__(self, input=None, webargs=False): Boxes.__init__(self) self.addSettingsArgs(boxes.edges.FingerJointSettings)