discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: mistake

JB
Jordan Brown
Thu, Oct 28, 2021 4:41 PM

On 10/28/2021 9:40 AM, Jordan Brown wrote:

The transparent segments are a rendering glitch associated with convexity.

Although convexity is best known as an issue for linear_extrude,
render, and STL import, it affects any case where CGAL gets involved
in the rendering and can return a concave object.  In this case,
minkowski() is the culprit.  Although the convexity parameter is not
documented for minkowski(), it is implemented.  Changing the
minkowski() invocation to set convexity - I used 5, but that's
probably overkill - makes the glitch go away.

And as I was sending that, I was thinking "it's trivial, but I should
still show explicitly what to do"...

minkowski (convexity=5)
    {   
...
On 10/28/2021 9:40 AM, Jordan Brown wrote: > The transparent segments are a rendering glitch associated with convexity. > > Although convexity is best known as an issue for linear_extrude, > render, and STL import, it affects any case where CGAL gets involved > in the rendering and can return a concave object.  In this case, > minkowski() is the culprit.  Although the convexity parameter is not > documented for minkowski(), it *is* implemented.  Changing the > minkowski() invocation to set convexity - I used 5, but that's > probably overkill - makes the glitch go away. > And as I was sending that, I was thinking "it's trivial, but I should still show explicitly what to do"... minkowski (convexity=5) { ...
KT
Kevin Toppenberg
Thu, Oct 28, 2021 5:01 PM

How did you all get it to compile?  When I compile it, I get these errors

WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line
55 <55,/Users/kdt0p/Desktop/test_bug_fix.scad>

WARNING: Ignoring unknown module 'ContreAlesage' in file test_bug_fix.scad,
line 61 <61,/Users/kdt0p/Desktop/test_bug_fix.scad>

WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line
62 <62,/Users/kdt0p/Desktop/test_bug_fix.scad>

WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line
73 <73,/Users/kdt0p/Desktop/test_bug_fix.scad>

WARNING: Ignoring unknown module 'ContreAlesage' in file test_bug_fix.scad,
line 79 <79,/Users/kdt0p/Desktop/test_bug_fix.scad>

WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line
80 <80,/Users/kdt0p/Desktop/test_bug_fix.scad>

Compiling design (CSG Products generation)...

I had to comment out the line "    //$fn=120;" or it made my system hang or
at least go slow enough that I gave up, with an F5.

Kevin

On Thu, Oct 28, 2021 at 12:42 PM Jordan Brown openscad@jordan.maileater.net
wrote:

On 10/28/2021 9:40 AM, Jordan Brown wrote:

The transparent segments are a rendering glitch associated with convexity.

Although convexity is best known as an issue for linear_extrude, render,
and STL import, it affects any case where CGAL gets involved in the
rendering and can return a concave object.  In this case, minkowski() is
the culprit.  Although the convexity parameter is not documented for
minkowski(), it is implemented.  Changing the minkowski() invocation to
set convexity - I used 5, but that's probably overkill - makes the glitch
go away.

And as I was sending that, I was thinking "it's trivial, but I should
still show explicitly what to do"...

minkowski (convexity=5)
{
...


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

How did you all get it to compile? When I compile it, I get these errors WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line 55 <55,/Users/kdt0p/Desktop/test_bug_fix.scad> WARNING: Ignoring unknown module 'ContreAlesage' in file test_bug_fix.scad, line 61 <61,/Users/kdt0p/Desktop/test_bug_fix.scad> WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line 62 <62,/Users/kdt0p/Desktop/test_bug_fix.scad> WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line 73 <73,/Users/kdt0p/Desktop/test_bug_fix.scad> WARNING: Ignoring unknown module 'ContreAlesage' in file test_bug_fix.scad, line 79 <79,/Users/kdt0p/Desktop/test_bug_fix.scad> WARNING: Ignoring unknown module 'alesage' in file test_bug_fix.scad, line 80 <80,/Users/kdt0p/Desktop/test_bug_fix.scad> Compiling design (CSG Products generation)... I had to comment out the line " //$fn=120;" or it made my system hang or at least go slow enough that I gave up, with an F5. Kevin On Thu, Oct 28, 2021 at 12:42 PM Jordan Brown <openscad@jordan.maileater.net> wrote: > On 10/28/2021 9:40 AM, Jordan Brown wrote: > > The transparent segments are a rendering glitch associated with convexity. > > Although convexity is best known as an issue for linear_extrude, render, > and STL import, it affects any case where CGAL gets involved in the > rendering and can return a concave object. In this case, minkowski() is > the culprit. Although the convexity parameter is not documented for > minkowski(), it *is* implemented. Changing the minkowski() invocation to > set convexity - I used 5, but that's probably overkill - makes the glitch > go away. > > > And as I was sending that, I was thinking "it's trivial, but I should > still show explicitly what to do"... > > minkowski (convexity=5) > { > ... > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
AL
André Lefranc
Sat, Nov 6, 2021 10:29 AM

Thanks, It Works welle, it's fine !

minkowski (convexity=5) 😁

!!!

Le 28/10/2021 à 18:41, Jordan Brown a écrit :

On 10/28/2021 9:40 AM, Jordan Brown wrote:

The transparent segments are a rendering glitch associated with
convexity.

Although convexity is best known as an issue for linear_extrude,
render, and STL import, it affects any case where CGAL gets involved
in the rendering and can return a concave object.  In this case,
minkowski() is the culprit.  Although the convexity parameter is not
documented for minkowski(), it is implemented.  Changing the
minkowski() invocation to set convexity - I used 5, but that's
probably overkill - makes the glitch go away.

And as I was sending that, I was thinking "it's trivial, but I should
still show explicitly what to do"...

 minkowski (convexity=5)
      {
 ...

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

Thanks, It Works welle, it's fine ! minkowski (convexity=5) 😁 !!! Le 28/10/2021 à 18:41, Jordan Brown a écrit : > On 10/28/2021 9:40 AM, Jordan Brown wrote: >> The transparent segments are a rendering glitch associated with >> convexity. >> >> Although convexity is best known as an issue for linear_extrude, >> render, and STL import, it affects any case where CGAL gets involved >> in the rendering and can return a concave object.  In this case, >> minkowski() is the culprit.  Although the convexity parameter is not >> documented for minkowski(), it *is* implemented.  Changing the >> minkowski() invocation to set convexity - I used 5, but that's >> probably overkill - makes the glitch go away. >> > > And as I was sending that, I was thinking "it's trivial, but I should > still show explicitly what to do"... > > minkowski (convexity=5) > { > ... > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org