'''
Copyright (C) 2009 Aurelio A. Heckert <aurium (a) gmail dot com>
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
'''
from math import *
import simpletransform
help="The Box Width - in the X dimension")
help="The Box Height - in the Y dimension")
help="The Box Depth - in the Z dimension")
help="The unit of the box dimensions")
help="Paper Thickness - sometimes that is important")
help="Inner tab propotion for upper tab")
help="Add guide lines to help the drawing limits")
line_style = simplestyle.formatStyle({ 'stroke': '#000000', 'fill': 'none', 'stroke-width': str(self.unittouu('1px')) })
#self.createGuide( 0, docH, 0 );
# Inner Close Tab
line_path = [
[ 'Z', [] ]
]
left_pos = 0
#self.createGuide( 0, docH-tabH, 0 );
# Upper Close Tab
line_path = [
[ 'Z', [] ]
]
# Upper Right Tab
line_path = [
[ 'Z', [] ]
]
# Upper Left Tab
line_path = [
[ 'Z', [] ]
]
left_pos = 0
#self.createGuide( 0, docH-tabH-boxD, 0 );
# Right Tab
line_path = [
[ 'Z', [] ]
]
# Front
line_path = [
[ 'Z', [] ]
]
# Right
line_path = [
[ 'Z', [] ]
]
# Back
line_path = [
[ 'Z', [] ]
]
# Left
line_path = [
[ 'Z', [] ]
]
left_pos = 0
# Bottom Front Tab
line_path = [
[ 'Z', [] ]
]
# Bottom Right Tab
line_path = [
[ 'Z', [] ]
]
# Bottom Back Tab
line_path = [
[ 'Z', [] ]
]
# Bottom Left Tab
line_path = [
[ 'Z', [] ]
]
# compensate preserved transforms of parent layer
e = FoldableBox()
e.affect()
# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99