List<Polygon> result2 = splitPolygons(
c2.getPolygons(), c1.getPolygons(),
c2.getBounds(), c1.getBounds());
List<Polygon> splitted = new ArrayList<>();
splitted.addAll(result1);
<BUG>splitted.addAll(result2);
Files.write(Paths.get("test-split1.stl"),</BUG>
CSG.fromPolygons(splitted).toStlString().getBytes());
List<Polygon> inC2 = new ArrayList<>();
List<Polygon> outC2 = new ArrayList<>();

List<Polygon> result2 = splitPolygons(
c2.getPolygons(), c1.getPolygons(),
c2.getBounds(), c1.getBounds());
List<Polygon> splitted = new ArrayList<>();
splitted.addAll(result1);
splitted.addAll(result2);
CSG.fromPolygons(splitted).toObj(100).toFiles(Paths.get("test-split1.obj"));
Files.write(Paths.get("test-split1.stl"),
CSG.fromPolygons(splitted).toStlString().getBytes());
List<Polygon> inC2 = new ArrayList<>();
List<Polygon> outC2 = new ArrayList<>();
