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
38ecd0ec
Commit
38ecd0ec
authored
Mar 28, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use prepare_command in pronterface slicing
parent
4888a5af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
pronterface.py
printrun/pronterface.py
+4
-3
No files found.
printrun/pronterface.py
View file @
38ecd0ec
...
...
@@ -36,7 +36,8 @@ from . import printcore
from
.utils
import
install_locale
,
setup_logging
,
\
iconfile
,
configfile
,
format_time
,
format_duration
,
\
hexcolor_to_float
,
parse_temperature_report
hexcolor_to_float
,
parse_temperature_report
,
\
prepare_command
install_locale
(
'pronterface'
)
try
:
...
...
@@ -1223,9 +1224,9 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
def
skein_func
(
self
):
try
:
param
=
self
.
expandcommand
(
self
.
settings
.
slicecommand
)
output_filename
=
self
.
model_to_gcode_filename
(
self
.
filename
)
pararray
=
[
i
.
replace
(
"$s"
,
self
.
filename
)
.
replace
(
"$o"
,
output_filename
)
for
i
in
shlex
.
split
(
param
.
replace
(
"
\\
"
,
"
\\\\
"
))]
pararray
=
prepare_command
(
self
.
settings
.
slicecommand
,
{
"$s"
:
self
.
filename
,
"$o"
:
output_filename
})
if
self
.
settings
.
slic3rintegration
:
for
cat
,
config
in
self
.
slic3r_configs
.
items
():
if
config
:
...
...
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