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
b8abd1f3
Commit
b8abd1f3
authored
Apr 05, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 => True
I'm ashamed of commiting so small things, but I can't stand boolean 1s
parent
0cae044e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
stltool.py
printrun/stltool.py
+1
-1
No files found.
printrun/stltool.py
View file @
b8abd1f3
...
...
@@ -43,7 +43,7 @@ def homogeneous(v, w = 1):
def
applymatrix
(
facet
,
matrix
=
I
):
return
genfacet
(
map
(
lambda
x
:
matrix
.
dot
(
homogeneous
(
x
))[:
3
],
facet
[
1
]))
def
emitstl
(
filename
,
facets
=
[],
objname
=
"stltool_export"
,
binary
=
1
):
def
emitstl
(
filename
,
facets
=
[],
objname
=
"stltool_export"
,
binary
=
True
):
if
filename
is
None
:
return
if
binary
:
...
...
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