3637383940414243444546
s = s.replaceAll("POLYGON", "MULTIPOLYGON ("); } tf.data.set(i, s); } tf.data.add(")"); tf.save(filepathBlocks); } { TextFileOutput tf = new TextFileOutput(); for(CityBlock b:blocks){ if(b.lots != null){
575859606162636465
s = s.replaceAll("POLYGON", "MULTIPOLYGON ("); } tf.data.set(i, s); } tf.data.add(")"); tf.save(filepathLots); } } }
83848586878889909192
tf.data.add(b.toSTL()); } //end file tf.data.add("endsolid buildings\n"); tf.save("data/buildings.stl"); } } }