discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] making vases, perhaps with InkScape

N
NateTG
Thu, Feb 22, 2018 2:28 PM

Gadgetmind wrote

Might being able to force the triangulation save rendering time?

...

I'm not sure you can force a particular triangulation since CGAL does its
own thing.

My triangulator is also very slow and may misbehave unpredictably with bad
input.  If the native OpenSCAD version works for you, I would recommend
using that.

Gadgetmind wrote

...
I'd much prefer that this be in the guts of OpenSCAD rather than in "user
land".
...

Native solutions are typically better, but there's something to be said for
being able to solve stuff in "user land" so that people aren't so reliant on
the OpenSCAD devs.

--
Sent from: http://forum.openscad.org/

Gadgetmind wrote > Might being able to force the triangulation save rendering time? > > ... I'm not sure you can force a particular triangulation since CGAL does its own thing. My triangulator is also very slow and may misbehave unpredictably with bad input. If the native OpenSCAD version works for you, I would recommend using that. Gadgetmind wrote > ... > I'd much prefer that this be in the guts of OpenSCAD rather than in "user > land". > ... Native solutions are typically better, but there's something to be said for being able to solve stuff in "user land" so that people aren't so reliant on the OpenSCAD devs. -- Sent from: http://forum.openscad.org/
G
Gadgetmind
Thu, Feb 22, 2018 5:00 PM

On 22/02/18 14:28, NateTG wrote:

I'm not sure you can force a particular triangulation since CGAL does its
own thing.

The logic seems to be there but only used if/when cgal eventually barfs.
If I know it'll barf, then why not provide this information?

Native solutions are typically better, but there's something to be said for
being able to solve stuff in "user land" so that people aren't so reliant on
the OpenSCAD devs.

Agreed, and I currently triangulate myself, but with a solution that
only work for concave.

Maybe I'll open a feature request. And perhaps also suggest some code ...

Ian

On 22/02/18 14:28, NateTG wrote: > I'm not sure you can force a particular triangulation since CGAL does its > own thing. The logic seems to be there but only used if/when cgal eventually barfs. If I know it'll barf, then why not provide this information? > Native solutions are typically better, but there's something to be said for > being able to solve stuff in "user land" so that people aren't so reliant on > the OpenSCAD devs. Agreed, and I currently triangulate myself, but with a solution that only work for concave. Maybe I'll open a feature request. And perhaps also suggest some code ... Ian
MK
Marius Kintel
Sat, Feb 24, 2018 2:44 AM

On Feb 22, 2018, at 7:30 AM, Gadgetmind lists@foxhill.co.uk wrote:

On 22/02/18 10:08, nop head wrote:

Polyhedron does triangulate faces with more than three sides. It gives a warning first though and a few recent versions have a bug that makes it an error.

Ah, OK. I've seen the retry warning due to non-planar but, as you say, it's usually followed by an error. Has the bug been fixed?

I don’t think I’m aware of this bug. Has this been reported on the github issue tracker?

-Marius

> On Feb 22, 2018, at 7:30 AM, Gadgetmind <lists@foxhill.co.uk> wrote: > > On 22/02/18 10:08, nop head wrote: >> Polyhedron does triangulate faces with more than three sides. It gives a warning first though and a few recent versions have a bug that makes it an error. > Ah, OK. I've seen the retry warning due to non-planar but, as you say, it's usually followed by an error. Has the bug been fixed? > I don’t think I’m aware of this bug. Has this been reported on the github issue tracker? -Marius
RP
Ronaldo Persiano
Sat, Feb 24, 2018 9:51 PM

On Feb 22, 2018, at 7:30 AM, Gadgetmind lists@foxhill.co.uk wrote:

On 22/02/18 10:08, nop head wrote:

Polyhedron does triangulate faces with more than three sides. It gives

a warning first though and a few recent versions have a bug that makes it
an error.

Ah, OK. I've seen the retry warning due to non-planar but, as you say,

it's usually followed by an error. Has the bug been fixed?

I don’t think I’m aware of this bug. Has this been reported on the github
issue tracker?

-Marius


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

I guess Parkinbot refers to the issue #2246. See: http://forum.openscad.org/Alternate-triangulation-bug-td22938.html <http://forum.openscad.org/Alternate-triangulation-bug-td22938.html> 2018-02-23 23:44 GMT-03:00 Marius Kintel <marius@kintel.net>: > > On Feb 22, 2018, at 7:30 AM, Gadgetmind <lists@foxhill.co.uk> wrote: > > > > On 22/02/18 10:08, nop head wrote: > >> Polyhedron does triangulate faces with more than three sides. It gives > a warning first though and a few recent versions have a bug that makes it > an error. > > Ah, OK. I've seen the retry warning due to non-planar but, as you say, > it's usually followed by an error. Has the bug been fixed? > > > I don’t think I’m aware of this bug. Has this been reported on the github > issue tracker? > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >