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
7ed86c5c
Commit
7ed86c5c
authored
Oct 26, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly specify gcodeplater file wildcards
parent
e44a1e46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcodeplater.py
gcodeplater.py
+2
-2
No files found.
gcodeplater.py
View file @
7ed86c5c
...
@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors
...
@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors
class
GcodePlater
(
Plater
):
class
GcodePlater
(
Plater
):
load_wildcard
=
_
(
"GCODE files (*.gcode;*.GCODE;*.g)"
)
load_wildcard
=
_
(
"GCODE files (*.gcode;*.GCODE;*.g)"
)
+
"|*.gcode;*.gco;*.g"
save_wildcard
=
_
(
"GCODE files (*.gcode;*.GCODE;*.g)"
)
save_wildcard
=
_
(
"GCODE files (*.gcode;*.GCODE;*.g)"
)
+
"|*.gcode;*.gco;*.g"
def
__init__
(
self
,
filenames
=
[],
size
=
(
800
,
580
),
callback
=
None
,
parent
=
None
,
build_dimensions
=
None
):
def
__init__
(
self
,
filenames
=
[],
size
=
(
800
,
580
),
callback
=
None
,
parent
=
None
,
build_dimensions
=
None
):
super
(
GcodePlater
,
self
)
.
__init__
(
filenames
,
size
,
callback
,
parent
,
build_dimensions
)
super
(
GcodePlater
,
self
)
.
__init__
(
filenames
,
size
,
callback
,
parent
,
build_dimensions
)
...
...
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