Skip to content

Commit 95d7e7c

Browse files
committed
updating the API to be file based
1 parent 587eee0 commit 95d7e7c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/neuronrobotics/bowlerstudio/scripting/ScriptingFileWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ private void convertResults(String fileType) throws Exception {
351351
}
352352
// do the conversion now
353353
if (fileType.toLowerCase().contains("stl")) {
354-
FileUtil.write(Paths.get(newFile.getAbsolutePath()), c.toStlString());
354+
c.toStl(Paths.get(newFile.getAbsolutePath()));
355355
}
356356
if (fileType.toLowerCase().contains("blend")) {
357357
BlenderLoader.toBlenderFile(CSGDatabase.getInstance(), c, newFile);

0 commit comments

Comments
 (0)