I recently upgraded my OpenSCAD (Windows) install to the newest release and
immediately I was seeing crashes in STL export on some of my quadcopter
frame files that have previously never had issues. The file renders okay,
validates okay, crashes the app when trying to "Export as STL" (crash
happens soon after choosing a file path). Export to other file formats
works fine.
I binary searched through released versions between newest and the previous
one I had and found the crashes for this design started between 01.13
(works) and 01.16 (crashes, as does every release tried since this one,
including latest). Both 32 and 64 bit versions crash from 01.16 up.
Here's a minimal example of the file that causes the crash on export (the
way it is structured with repeat hole cutting makes a bit more sense in the
full version, but I was trying to cut this down to the smallest thing I
could still get to crash on export):
mainPlateHeight = 4;
difference() {
cylinder(d = 230, h = mainPlateHeight);
for (rot = [0, 90, 180, 270]) {
rotate([0, 0, rot]) {
translate([0, 160, 0]) {
cylinder(d = 214, h = mainPlateHeight);
}
}
}
}
translate([0, 0, -6]) {
difference() {
cylinder(d = 230, h = mainPlateHeight + 6);
for (rot = [0, 90, 180, 270]) {
rotate([0, 0, rot]) {
translate([0, 160, 0]) {
cylinder(d = 214, h = mainPlateHeight + 6);
}
}
}
translate([0, 0, -130]) {
sphere(r = 150);
}
}
}
--
View this message in context: http://forum.openscad.org/Crash-on-STL-Export-Windows-tp12015.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
This is probably obvious but where I said "released versions", I meant
snapshots. Snapshot 01.13 is the latest one which will export this file to
STL post-render without crashing.
--
View this message in context: http://forum.openscad.org/Crash-on-STL-Export-Windows-tp12015p12016.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi,
This is a duplicate of #1258 which is fixed in master:
https://github.com/openscad/openscad/issues/1258
We’ll release an update to 2015.03 to address various critical bugs in a week or two.
-Marius
I modiefied the code a bit to improve the difference. This will cure the
display with f5 and I guess it will cure your stl export problems too:
mainPlateHeight = 4;
difference() {
cylinder(d = 230, h = mainPlateHeight);
for (rot = [0, 90, 180, 270]) {
rotate([0, 0, rot]) {
translate([0, 160, -1]) {
cylinder(d = 214, h = mainPlateHeight+2);
}
}
}
}
translate([0, 0, -6]) {
difference() {
cylinder(d = 230, h = mainPlateHeight + 6);
for (rot = [0, 90, 180, 270]) {
rotate([0, 0, rot]) {
translate([0, 160, -1]) {
cylinder(d = 214, h = mainPlateHeight + 6+2);
}
}
}
translate([0, 0, -130]) {
sphere(r = 150);
}
}
}
2015-03-15 0:57 GMT+01:00 Marius Kintel marius@kintel.net:
Hi,
This is a duplicate of #1258 which is fixed in master:
https://github.com/openscad/openscad/issues/1258
We’ll release an update to 2015.03 to address various critical bugs in a
week or two.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
stempeldergeschichte@googlemail.com karsten@rohrbach.de
P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.
P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.
Enjoy!
On 03/15/2015 11:42 AM, Peter Falke wrote:
mainPlateHeight = 4;
(snippage)
translate([0, 0, -130]) {
sphere(r = 150);
}
}
}
i installed the 2015.03.14 nightly build, rendered (F6) this in two
seconds (!), and i love the new "measurement" stuff in the "view object"
window!
thanks!
yvette