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
76860fb6
Commit
76860fb6
authored
Jul 25, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix erroneous initialization
parent
ab76f94d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
plater.py
plater.py
+2
-3
No files found.
plater.py
View file @
76860fb6
...
@@ -301,11 +301,10 @@ class StlPlater(Plater):
...
@@ -301,11 +301,10 @@ class StlPlater(Plater):
def
load_stl_into_model
(
self
,
path
,
name
,
offset
=
[
0
,
0
,
0
],
rotation
=
0
,
scale
=
[
1.0
,
1.0
,
1.0
]):
def
load_stl_into_model
(
self
,
path
,
name
,
offset
=
[
0
,
0
,
0
],
rotation
=
0
,
scale
=
[
1.0
,
1.0
,
1.0
]):
model
=
stltool
.
stl
(
path
)
model
=
stltool
.
stl
(
path
)
model
.
offsets
=
offset
model
.
offsets
=
list
(
offset
)
model
.
rot
=
rotation
model
.
rot
=
rotation
model
.
scale
=
scale
model
.
scale
=
list
(
scale
)
model
.
filename
=
name
model
.
filename
=
name
minx
,
miny
,
minz
,
maxx
,
maxy
,
maxz
=
(
10000
,
10000
,
10000
,
0
,
0
,
0
)
minx
=
float
(
"inf"
)
minx
=
float
(
"inf"
)
miny
=
float
(
"inf"
)
miny
=
float
(
"inf"
)
minz
=
float
(
"inf"
)
minz
=
float
(
"inf"
)
...
...
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