discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Crash when using minkowski on my object

S
Scalpel78
Sat, Dec 20, 2014 8:38 PM

Hi, I made an object, and then wanted to see what happened if I did a
Minkowski sum of the object with a small sphere. Since Minkowski is like
black magic to me I just wanted to see what happened, hoping for the corners
of my object being rounded.

The result was crashing OpenSCAD most of the times, and the other times I
got lots of these errors:

CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion
violation!
Expr: G.mark(v1,0)==G.mark(v2,0)&& G.mark(v1,1)==G.mark(v2,1)
File:
/data/OpenSCAD/libraries-mingw64-master/mxe-w64/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_S2/SM_overlayer.h
Line: 287
CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion
violation!
Expr: itl != it->second.end()
File:
/data/OpenSCAD/libraries-mingw64-master/mxe-w64/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_3/SNC_external_structure.h
Line: 1102

The code used is:

depth=20;
height=43;
width=60;
outerhole=20;
innerhole=10;

minkowski() {
difference() {
cube([depth, width, height], center=true);
translate([0,0,height/10]) rotate([0,90, 0]) cylinder(d=outerhole,
h=depth*2, center=true);
translate([0, -width/2+(width/8.1), height/2.75]) cube([depth+1,
width/4, height/3], center=true);
translate([0, width/2-(width/8.1), height/2.75]) cube([depth+1,
width/4, height/3], center=true);
for (x = [-4,12])
for (y = [-22,22])
rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5,
h=depth+1, center=true);
translate([0,-width/2+8,0]) cylinder(d=6.6, h=height+1,
center=true);
mirror([0,1,0]) translate([0,-width/2+8,0]) cylinder(d=6.6,
h=height+1, center=true);
}
sphere(2);
}

Worth investigating? (Using 2014.12.18 on Win64 )

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I made an object, and then wanted to see what happened if I did a Minkowski sum of the object with a small sphere. Since Minkowski is like black magic to me I just wanted to see what happened, hoping for the corners of my object being rounded. The result was crashing OpenSCAD most of the times, and the other times I got lots of these errors: CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion violation! Expr: G.mark(v1,0)==G.mark(v2,0)&& G.mark(v1,1)==G.mark(v2,1) File: /data/OpenSCAD/libraries-mingw64-master/mxe-w64/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_S2/SM_overlayer.h Line: 287 CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion violation! Expr: itl != it->second.end() File: /data/OpenSCAD/libraries-mingw64-master/mxe-w64/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_3/SNC_external_structure.h Line: 1102 The code used is: depth=20; height=43; width=60; outerhole=20; innerhole=10; minkowski() { difference() { cube([depth, width, height], center=true); translate([0,0,height/10]) rotate([0,90, 0]) cylinder(d=outerhole, h=depth*2, center=true); translate([0, -width/2+(width/8.1), height/2.75]) cube([depth+1, width/4, height/3], center=true); translate([0, width/2-(width/8.1), height/2.75]) cube([depth+1, width/4, height/3], center=true); for (x = [-4,12]) for (y = [-22,22]) rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5, h=depth+1, center=true); translate([0,-width/2+8,0]) cylinder(d=6.6, h=height+1, center=true); mirror([0,1,0]) translate([0,-width/2+8,0]) cylinder(d=6.6, h=height+1, center=true); } sphere(2); } Worth investigating? (Using 2014.12.18 on Win64 ) -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sat, Dec 20, 2014 11:10 PM

You're lucky, it crashed OpenSCAD on my system. (OpenSCAD 2014.12.18, W7/64)


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10670.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

You're lucky, it crashed OpenSCAD on my system. (OpenSCAD 2014.12.18, W7/64) ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10670.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Sat, Dec 20, 2014 11:33 PM

When I do F5/F6 it just hangs. This is because minkowski is a really slow
module(). Setting $fn=3; gave me a result after a while.

version 2014.12.04 x64 windows

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10671.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

When I do F5/F6 it just hangs. This is because minkowski is a really slow module(). Setting $fn=3; gave me a result after a while. version 2014.12.04 x64 windows -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10671.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sat, Dec 20, 2014 11:55 PM

Probably same as  issue 947 https://github.com/openscad/openscad/issues/947


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10672.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Probably same as issue 947 <https://github.com/openscad/openscad/issues/947> ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10672.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sun, Dec 21, 2014 12:57 AM

Strike that.

I'm not sure if minkowski is designed for something with a hole in it.

depth=20;
height=43;
width=60;
outerhole=20;
innerhole=10;

difference() {
    minkowski() 
    {
    cube([depth-4, width-4, height-4], center=true);
    sphere(2);
    }   
    translate([0,0,height/10]) rotate([0,90, 0]) 
        cylinder(d=outerhole, h=depth*2, center=true);
    translate([0, -width/2+(width/8.1), height/2.75]) 
        cube([depth+1, width/4, height/3], center=true);
    translate([0, width/2-(width/8.1), height/2.75]) 
        cube([depth+1, width/4, height/3], center=true);
    for (x = [-4,12])
        for (y = [-22,22])
            rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5,

h=depth+1, center=true);

    translate([0,-width/2+8,-0.5]) cylinder(d=6.6, h=height+1,

center=true);

    mirror([0,1,0]) translate([0,-width/2+8,-0.5]) cylinder(d=6.6,

h=height+1, center=true);
}

Doesn't round the cut-outs tho.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10673.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Strike that. I'm not sure if minkowski is designed for something with a hole in it. depth=20; height=43; width=60; outerhole=20; innerhole=10; difference() { minkowski() { cube([depth-4, width-4, height-4], center=true); sphere(2); } translate([0,0,height/10]) rotate([0,90, 0]) cylinder(d=outerhole, h=depth*2, center=true); translate([0, -width/2+(width/8.1), height/2.75]) cube([depth+1, width/4, height/3], center=true); translate([0, width/2-(width/8.1), height/2.75]) cube([depth+1, width/4, height/3], center=true); for (x = [-4,12]) for (y = [-22,22]) rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5, h=depth+1, center=true); translate([0,-width/2+8,-0.5]) cylinder(d=6.6, h=height+1, center=true); mirror([0,1,0]) translate([0,-width/2+8,-0.5]) cylinder(d=6.6, h=height+1, center=true); } Doesn't round the cut-outs tho. ----- Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10673.html Sent from the OpenSCAD mailing list archive at Nabble.com.
LH
Les Hall
Sun, Dec 21, 2014 1:27 AM

I hope I do not cause offense when I make mention of this, but I’ll risk it anyway.

OpenSCAD is a tool.  As such it is intended to be used by someone with a reasonable amount of skill in the trade for which the tool is applied.  This means using the tool within normal limits or pushing those limits somewhat if only to understand what they are.

Lately I have been seeing a lot of posts on the topic of “I used my knife as a screwdriver and it broke” followed by “should we fix this issue?”.  The answer is “No, never use a knife as a screwdriver.”.

I hope you will pardon my attempt at humor and get my point which is:  I use the tool properly and have none of these issues.  You should too.

Les

On Dec 20, 2014, at 6:57 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

Strike that.

I'm not sure if minkowski is designed for something with a hole in it.

depth=20;
height=43;
width=60;
outerhole=20;
innerhole=10;

difference() {
    minkowski() 
    {
    cube([depth-4, width-4, height-4], center=true);
    sphere(2);
    }   
    translate([0,0,height/10]) rotate([0,90, 0]) 
        cylinder(d=outerhole, h=depth*2, center=true);
    translate([0, -width/2+(width/8.1), height/2.75]) 
        cube([depth+1, width/4, height/3], center=true);
    translate([0, width/2-(width/8.1), height/2.75]) 
        cube([depth+1, width/4, height/3], center=true);
    for (x = [-4,12])
        for (y = [-22,22])
            rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5,

h=depth+1, center=true);

    translate([0,-width/2+8,-0.5]) cylinder(d=6.6, h=height+1,

center=true);

    mirror([0,1,0]) translate([0,-width/2+8,-0.5]) cylinder(d=6.6,

h=height+1, center=true);
}

Doesn't round the cut-outs tho.


Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10673.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I hope I do not cause offense when I make mention of this, but I’ll risk it anyway. OpenSCAD is a tool. As such it is intended to be used by someone with a reasonable amount of skill in the trade for which the tool is applied. This means using the tool within normal limits or pushing those limits somewhat if only to understand what they are. Lately I have been seeing a lot of posts on the topic of “I used my knife as a screwdriver and it broke” followed by “should we fix this issue?”. The answer is “No, never use a knife as a screwdriver.”. I hope you will pardon my attempt at humor and get my point which is: I use the tool properly and have none of these issues. You should too. Les > On Dec 20, 2014, at 6:57 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > Strike that. > > I'm not sure if minkowski is designed for something with a hole in it. > > depth=20; > height=43; > width=60; > outerhole=20; > innerhole=10; > > difference() { > minkowski() > { > cube([depth-4, width-4, height-4], center=true); > sphere(2); > } > translate([0,0,height/10]) rotate([0,90, 0]) > cylinder(d=outerhole, h=depth*2, center=true); > translate([0, -width/2+(width/8.1), height/2.75]) > cube([depth+1, width/4, height/3], center=true); > translate([0, width/2-(width/8.1), height/2.75]) > cube([depth+1, width/4, height/3], center=true); > for (x = [-4,12]) > for (y = [-22,22]) > rotate([0,90,0]) translate([x,y,0]) cylinder(d=5.5, > h=depth+1, center=true); > > translate([0,-width/2+8,-0.5]) cylinder(d=6.6, h=height+1, > center=true); > > mirror([0,1,0]) translate([0,-width/2+8,-0.5]) cylinder(d=6.6, > h=height+1, center=true); > } > > Doesn't round the cut-outs tho. > > > > ----- > Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above. > > The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ > -- > View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10673.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
S
Scalpel78
Sun, Dec 21, 2014 10:52 AM

Les Hall wrote

I hope I do not cause offense when I make mention of this, but I’ll risk
it anyway.

OpenSCAD is a tool.  As such it is intended to be used by someone with a
reasonable amount of skill in the trade for which the tool is applied.
This means using the tool within normal limits or pushing those limits
somewhat if only to understand what they are.

Lately I have been seeing a lot of posts on the topic of “I used my knife
as a screwdriver and it broke” followed by “should we fix this issue?”.
The answer is “No, never use a knife as a screwdriver.”.

I hope you will pardon my attempt at humor and get my point which is:  I
use the tool properly and have none of these issues.  You should too.

Les

Les, no offense is taken :) I understand your point, but let me also make
mine.

Lets change your analagy a bit - OpenSCAD is a workshop. It has a workbench,
some powertools and some materials. I just picked up the minkowski-powertool
that I haven't really used before, used it on a block of wood, and suddenly
my entire workshop burned to the ground. I think we can all agree that
anything that causes the workshop to go up in flames deserves to be looked
at.

I would either have expected the result to look really weird, or perhaps
take a long time to compute, but certainly not kill the application.

Yes, I agree that I'm most likely misusing the tool. I also hinted at that
in the initial post. Your argument of "Just use the tool properly" assumes
that one knows how the tool works. A common way of figuring out how a
certain tool works is "lets just try it and see what happens". Trial and
error. I've read the documentation for minkowski(), and the definition of
the minkowski algorithm, but I will still need to just "take it for a spin"
before I see all the usecases where it is suitable to use.

I find OpenSCAD a very interresting application, with a good community
spirit. Marius and Torsten do a fantastic job of listening to the users, and
I've seen several examples where feedback from users have been implemented
by them within minutes. My thought when sharing the crash-situation was that
they might see an issue that should be fixed, even though I admittely did
write funky code.

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10677.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Les Hall wrote > I hope I do not cause offense when I make mention of this, but I’ll risk > it anyway. > > OpenSCAD is a tool. As such it is intended to be used by someone with a > reasonable amount of skill in the trade for which the tool is applied. > This means using the tool within normal limits or pushing those limits > somewhat if only to understand what they are. > > Lately I have been seeing a lot of posts on the topic of “I used my knife > as a screwdriver and it broke” followed by “should we fix this issue?”. > The answer is “No, never use a knife as a screwdriver.”. > > I hope you will pardon my attempt at humor and get my point which is: I > use the tool properly and have none of these issues. You should too. > > Les Les, no offense is taken :) I understand your point, but let me also make mine. Lets change your analagy a bit - OpenSCAD is a workshop. It has a workbench, some powertools and some materials. I just picked up the minkowski-powertool that I haven't really used before, used it on a block of wood, and suddenly my entire workshop burned to the ground. I think we can all agree that anything that causes the workshop to go up in flames deserves to be looked at. I would either have expected the result to look really weird, or perhaps take a long time to compute, but certainly not kill the application. Yes, I agree that I'm most likely misusing the tool. I also hinted at that in the initial post. Your argument of "Just use the tool properly" assumes that one knows how the tool works. A common way of figuring out how a certain tool works is "lets just try it and see what happens". Trial and error. I've read the documentation for minkowski(), and the definition of the minkowski algorithm, but I will still need to just "take it for a spin" before I see all the usecases where it is suitable to use. I find OpenSCAD a very interresting application, with a good community spirit. Marius and Torsten do a fantastic job of listening to the users, and I've seen several examples where feedback from users have been implemented by them within minutes. My thought when sharing the crash-situation was that they might see an issue that should be fixed, even though I admittely did write funky code. -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10677.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
Scalpel78
Sun, Dec 21, 2014 11:01 AM

MichaelAtOz wrote

I'm not sure if minkowski is designed for something with a hole in it.

Michael, here is a simple example that has a hole in it, and where I think
minkowski serves a purpose.

minkowski() {
difference() {
cube([20,20,2]);
translate([10,10,-1]) cylinder(h=30, r=5);
}
sphere(1);
}

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10678.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

MichaelAtOz wrote > I'm not sure if minkowski is designed for something with a hole in it. Michael, here is a simple example that has a hole in it, and where I think minkowski serves a purpose. minkowski() { difference() { cube([20,20,2]); translate([10,10,-1]) cylinder(h=30, r=5); } sphere(1); } -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10678.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
Bananapeel
Sun, Dec 21, 2014 11:39 AM

Software should never crash, regardless of misuse.

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10679.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Software should never crash, regardless of misuse. -- View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10679.html Sent from the OpenSCAD mailing list archive at Nabble.com.
LH
Les Hall
Sun, Dec 21, 2014 11:42 AM

I like your workshop analogy.  You got out a power tool and it hurt you.  There’s a saying “Power tools maim”, and it is a warning and a reminder that we must be very careful when using such tools.  You’re not being careful, you’ve got a circular saw in your hands and you cut the cord with it.  Of course it broke.  The shop didn’t burn down, you can run OpenSCAD again, it just quit working cause you used it improperly.

OK, silly analogies aside, I’ve noticed there are two kinds of computer users:  those who try to make software work and those who try to break it and then complain that it broke.  Which one are you?

Just my perspective…

Les

On Dec 21, 2014, at 4:52 AM, Scalpel78 frode@lillerud.no wrote:

Les Hall wrote

I hope I do not cause offense when I make mention of this, but I’ll risk
it anyway.

OpenSCAD is a tool.  As such it is intended to be used by someone with a
reasonable amount of skill in the trade for which the tool is applied.
This means using the tool within normal limits or pushing those limits
somewhat if only to understand what they are.

Lately I have been seeing a lot of posts on the topic of “I used my knife
as a screwdriver and it broke” followed by “should we fix this issue?”.
The answer is “No, never use a knife as a screwdriver.”.

I hope you will pardon my attempt at humor and get my point which is:  I
use the tool properly and have none of these issues.  You should too.

Les

Les, no offense is taken :) I understand your point, but let me also make
mine.

Lets change your analagy a bit - OpenSCAD is a workshop. It has a workbench,
some powertools and some materials. I just picked up the minkowski-powertool
that I haven't really used before, used it on a block of wood, and suddenly
my entire workshop burned to the ground. I think we can all agree that
anything that causes the workshop to go up in flames deserves to be looked
at.

I would either have expected the result to look really weird, or perhaps
take a long time to compute, but certainly not kill the application.

Yes, I agree that I'm most likely misusing the tool. I also hinted at that
in the initial post. Your argument of "Just use the tool properly" assumes
that one knows how the tool works. A common way of figuring out how a
certain tool works is "lets just try it and see what happens". Trial and
error. I've read the documentation for minkowski(), and the definition of
the minkowski algorithm, but I will still need to just "take it for a spin"
before I see all the usecases where it is suitable to use.

I find OpenSCAD a very interresting application, with a good community
spirit. Marius and Torsten do a fantastic job of listening to the users, and
I've seen several examples where feedback from users have been implemented
by them within minutes. My thought when sharing the crash-situation was that
they might see an issue that should be fixed, even though I admittely did
write funky code.

--
View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10677.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I like your workshop analogy. You got out a power tool and it hurt you. There’s a saying “Power tools maim”, and it is a warning and a reminder that we must be very careful when using such tools. You’re not being careful, you’ve got a circular saw in your hands and you cut the cord with it. Of course it broke. The shop didn’t burn down, you can run OpenSCAD again, it just quit working cause you used it improperly. OK, silly analogies aside, I’ve noticed there are two kinds of computer users: those who try to make software work and those who try to break it and then complain that it broke. Which one are you? Just my perspective… Les > On Dec 21, 2014, at 4:52 AM, Scalpel78 <frode@lillerud.no> wrote: > > Les Hall wrote >> I hope I do not cause offense when I make mention of this, but I’ll risk >> it anyway. >> >> OpenSCAD is a tool. As such it is intended to be used by someone with a >> reasonable amount of skill in the trade for which the tool is applied. >> This means using the tool within normal limits or pushing those limits >> somewhat if only to understand what they are. >> >> Lately I have been seeing a lot of posts on the topic of “I used my knife >> as a screwdriver and it broke” followed by “should we fix this issue?”. >> The answer is “No, never use a knife as a screwdriver.”. >> >> I hope you will pardon my attempt at humor and get my point which is: I >> use the tool properly and have none of these issues. You should too. >> >> Les > > Les, no offense is taken :) I understand your point, but let me also make > mine. > > Lets change your analagy a bit - OpenSCAD is a workshop. It has a workbench, > some powertools and some materials. I just picked up the minkowski-powertool > that I haven't really used before, used it on a block of wood, and suddenly > my entire workshop burned to the ground. I think we can all agree that > anything that causes the workshop to go up in flames deserves to be looked > at. > > I would either have expected the result to look really weird, or perhaps > take a long time to compute, but certainly not kill the application. > > Yes, I agree that I'm most likely misusing the tool. I also hinted at that > in the initial post. Your argument of "Just use the tool properly" assumes > that one knows how the tool works. A common way of figuring out how a > certain tool works is "lets just try it and see what happens". Trial and > error. I've read the documentation for minkowski(), and the definition of > the minkowski algorithm, but I will still need to just "take it for a spin" > before I see all the usecases where it is suitable to use. > > I find OpenSCAD a very interresting application, with a good community > spirit. Marius and Torsten do a fantastic job of listening to the users, and > I've seen several examples where feedback from users have been implemented > by them within minutes. My thought when sharing the crash-situation was that > they might see an issue that should be fixed, even though I admittely did > write funky code. > > > > -- > View this message in context: http://forum.openscad.org/Crash-when-using-minkowski-on-my-object-tp10668p10677.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org