discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Adding a vertex process counter in cgal process?

U
ufomorace
Fri, Sep 11, 2015 12:01 AM

It would be cool if ever 5 seconds there was a print of the cgal processing
sequence... same as xvid display when it is encoding.

i.e. vertices processed 897654J
number of combined primitives - 236 ...

i.e. in a cgal loop which counts vertices into memory, if (i == 1000) echo
the number of vertices and processing stats.

--
View this message in context: http://forum.openscad.org/Adding-a-vertex-process-counter-in-cgal-process-tp13762.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

It would be cool if ever 5 seconds there was a print of the cgal processing sequence... same as xvid display when it is encoding. i.e. vertices processed 897654J number of combined primitives - 236 ... i.e. in a cgal loop which counts vertices into memory, if (i == 1000) echo the number of vertices and processing stats. -- View this message in context: http://forum.openscad.org/Adding-a-vertex-process-counter-in-cgal-process-tp13762.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Fri, Sep 11, 2015 8:01 AM

Von: ufomorace ant.stewart@yahoo.com

It would be cool if ever 5 seconds there was a print of the cgal processing
sequence... same as xvid display when it is encoding.

That would be nice to have.

However there seems to be no existing hook so it could be done by just
a user of CGAL. Implementing it in CGAL and sending a patch might work
(I don't know anything about their policy of accepting things).

As we don't recompile CGAL on all platforms for release, it could take
quite some time until that feature becomes available.

The plan? hope? wish? is to switch to some alternative library anyway.
Unfortunately that's not an easy topic either...

ciao,
Torsten.

Von: ufomorace <ant.stewart@yahoo.com> > It would be cool if ever 5 seconds there was a print of the cgal processing > sequence... same as xvid display when it is encoding. > That would be nice to have. However there seems to be no existing hook so it could be done by just a user of CGAL. Implementing it in CGAL and sending a patch might work (I don't know anything about their policy of accepting things). As we don't recompile CGAL on all platforms for release, it could take quite some time until that feature becomes available. The plan? hope? wish? is to switch to some alternative library anyway. Unfortunately that's not an easy topic either... ciao, Torsten.
U
ufomorace
Tue, Sep 15, 2015 3:30 PM

Hi Torsten, i have written a feature request on the CGAL web page, and two
CGAL programmers have already offered solutions in the same day, however the
precise nature of the request is not very clear to explain, perhaps you can
add some wisdom at some time because it is already quite a confusing topic,
check here: https://github.com/CGAL/cgal/issues/341#issuecomment-140415456

Cgal does seem very robust, perhaps that it's speed is also makes it's
strength because it doesnt miss any kinds of multi triangle intersections.
perhaps it's cgal that makes openscad strength, it is slow and very
reliable.

--
View this message in context: http://forum.openscad.org/Adding-a-vertex-process-counter-in-cgal-process-tp13762p13850.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi Torsten, i have written a feature request on the CGAL web page, and two CGAL programmers have already offered solutions in the same day, however the precise nature of the request is not very clear to explain, perhaps you can add some wisdom at some time because it is already quite a confusing topic, check here: https://github.com/CGAL/cgal/issues/341#issuecomment-140415456 Cgal does seem very robust, perhaps that it's speed is also makes it's strength because it doesnt miss any kinds of multi triangle intersections. perhaps it's cgal that makes openscad strength, it is slow and very reliable. -- View this message in context: http://forum.openscad.org/Adding-a-vertex-process-counter-in-cgal-process-tp13762p13850.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Tue, Sep 15, 2015 8:13 PM

On 09/15/2015 05:30 PM, ufomorace wrote:

Hi Torsten, i have written a feature request on the CGAL web page,
and two CGAL programmers have already offered solutions in the same
day, however the precise nature of the request is not very clear to
explain, perhaps you can add some wisdom at some time because it is
already quite a confusing topic, check here:
https://github.com/CGAL/cgal/issues/341#issuecomment-140415456

Ahh, nice. Look like Marius already commented on the issue. After
quite some battles with CGAL, he knows it much better than me, so
I guess the topic is in good hands. I've subscribed to the issue,
let's see what happens...

ciao,
Torsten.

On 09/15/2015 05:30 PM, ufomorace wrote: > Hi Torsten, i have written a feature request on the CGAL web page, > and two CGAL programmers have already offered solutions in the same > day, however the precise nature of the request is not very clear to > explain, perhaps you can add some wisdom at some time because it is > already quite a confusing topic, check here: > https://github.com/CGAL/cgal/issues/341#issuecomment-140415456 > Ahh, nice. Look like Marius already commented on the issue. After quite some battles with CGAL, he knows it much better than me, so I guess the topic is in good hands. I've subscribed to the issue, let's see what happens... ciao, Torsten.