Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
TabbedBoxMaker
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
machinery
TabbedBoxMaker
Commits
4247c8d3
Commit
4247c8d3
authored
Aug 15, 2016
by
paulh-rnd
Committed by
GitHub
Aug 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9 from indigoid/windows-logging-fix
Windows logging fix - looks good to me, thanks John
parents
9ee07d73
fd952380
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
boxmaker.py
boxmaker.py
+4
-3
No files found.
boxmaker.py
View file @
4247c8d3
...
@@ -31,14 +31,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -31,14 +31,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
'''
'''
__version__
=
"0.86"
### please report bugs, suggestions etc to bugs@twot.eu ###
__version__
=
"0.86"
### please report bugs, suggestions etc to bugs@twot.eu ###
import
sys
,
inkex
,
simplestyle
,
gettext
,
math
import
os
,
sys
,
inkex
,
simplestyle
,
gettext
,
math
_
=
gettext
.
gettext
_
=
gettext
.
gettext
def
log
(
text
):
def
log
(
text
):
if
1
:
if
'SCHROFF_LOG'
in
os
.
environ
:
f
=
open
(
'/tmp/boxmaker.log'
,
'a'
)
f
=
open
(
os
.
environ
.
get
(
'SCHROFF_LOG'
)
,
'a'
)
f
.
write
(
text
+
"
\n
"
)
f
.
write
(
text
+
"
\n
"
)
def
drawS
(
XYstring
):
# Draw lines from a list
def
drawS
(
XYstring
):
# Draw lines from a list
name
=
'part'
name
=
'part'
style
=
{
'stroke'
:
'#000000'
,
'fill'
:
'none'
}
style
=
{
'stroke'
:
'#000000'
,
'fill'
:
'none'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment