Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
672a1b77
Commit
672a1b77
authored
Sep 22, 2011
by
Kliment Yanev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kliment/Printrun
parents
094c6a1a
eb569521
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
plater.py
plater.py
+4
-2
pronterface.py
pronterface.py
+1
-1
No files found.
plater.py
View file @
672a1b77
...
...
@@ -131,10 +131,12 @@ class showstl(wx.Window):
t
=
time
.
time
()
#print name
if
name
.
lower
()
.
endswith
(
".stl"
):
newname
=
name
#Filter out the path, just show the STL filename.
newname
=
os
.
path
.
split
(
name
.
lower
())[
1
]
c
=
1
while
newname
in
self
.
models
:
newname
=
name
+
"(
%
d)"
%
c
newname
=
os
.
path
.
split
(
name
.
lower
())[
1
]
newname
=
newname
+
"(
%
d)"
%
c
c
+=
1
self
.
models
[
newname
]
=
stltool
.
stl
(
name
)
self
.
models
[
newname
]
.
offsets
=
[
0
,
0
,
0
]
...
...
pronterface.py
View file @
672a1b77
...
...
@@ -727,7 +727,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
n
=
button
.
custombutton
self
.
custombuttons
[
n
]
=
None
self
.
cbutton_save
(
n
,
None
)
while
self
.
custombuttons
[
-
1
]
is
None
:
while
len
(
self
.
custombuttons
)
and
self
.
custombuttons
[
-
1
]
is
None
:
del
self
.
custombuttons
[
-
1
]
self
.
cbuttons_reload
()
...
...
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