mirror of https://github.com/vitalif/openscad
Clifford Wolf:
Added solid name to STL export git-svn-id: http://svn.clifford.at/openscad/trunk@452 b57f626f-c46c-0410-a088-ec61d464b74cstl_dim
parent
f3d16e23b9
commit
01992ecae2
|
@ -90,7 +90,7 @@ void export_stl(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *
|
|||
MainWindow::current_win = NULL;
|
||||
return;
|
||||
}
|
||||
fprintf(f, "solid\n");
|
||||
fprintf(f, "solid OpenSCAD_Model\n");
|
||||
|
||||
int facet_count = 0;
|
||||
for (FCI fi = P.facets_begin(); fi != P.facets_end(); ++fi) {
|
||||
|
@ -137,7 +137,7 @@ void export_stl(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *
|
|||
}
|
||||
}
|
||||
|
||||
fprintf(f, "endsolid\n");
|
||||
fprintf(f, "endsolid OpenSCAD_Model\n");
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue