Commit 1932c52b authored by Guillaume Seguin's avatar Guillaume Seguin

Fix scad export

parent d79c8ff2
......@@ -316,9 +316,9 @@ class StlPlater(Plater):
sf.write("translate([%s, %s, %s])"
"rotate([0, 0, %s])"
"translate([%s, %s, %s])"
"import(\"%s\");\n" % (co[0], co[1], co[2],
"import(\"%s\");\n" % (o[0], o[1], o[2],
r,
o[0], o[1], o[2],
co[0], co[1], co[2],
model.filename))
if any(co):
model = model.translate(co)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment