discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Benchmark, recommended .scad's

M
MichaelAtOz
Mon, Apr 27, 2015 11:44 PM

I'm getting close to cutting over to my new PC.

I just need to install the graphics card, but I am testing with the built-in
Intel graphics first.

It seems relatively fast ATM.

Does anyone have suggestions for challenging (not earth stopping) code which
could be considered for benchmark comparison across my current PC (core2
2.53 GHz 4GB SSD Ion Graphics), my new one (i7 quad 3.4-3.9 GHz 16GB RAID
SSD Intel Graphics), and ditto plus a medium range Graphics card (ASUS
GeForce GTX 750 Ti Strix 2GB).

Perhaps I could build a consistent set of performance test code for use
across versions. Code exploiting different aspects of OpenSCAD internals. ??

I'm not talking about many hours of rendering, but ~2 hours max could work
if it was recommended for a particular a reason.

I'm starting with some of the examples. (#24)


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/Benchmark-recommended-scad-s-tp12497.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I'm getting close to cutting over to my new PC. I just need to install the graphics card, but I am testing with the built-in Intel graphics first. It seems relatively fast ATM. Does anyone have suggestions for challenging (not earth stopping) code which could be considered for benchmark comparison across my current PC (core2 2.53 GHz 4GB SSD Ion Graphics), my new one (i7 quad 3.4-3.9 GHz 16GB RAID SSD Intel Graphics), and ditto plus a medium range Graphics card (ASUS GeForce GTX 750 Ti Strix 2GB). Perhaps I could build a consistent set of performance test code for use across versions. Code exploiting different aspects of OpenSCAD internals. ?? I'm not talking about many hours of rendering, but ~2 hours max could work if it was recommended for a particular a reason. I'm starting with some of the examples. (#24) ----- 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/Benchmark-recommended-scad-s-tp12497.html Sent from the OpenSCAD mailing list archive at Nabble.com.
CL
Chow Loong Jin
Tue, Apr 28, 2015 4:25 AM

On Mon, Apr 27, 2015 at 04:44:23PM -0700, MichaelAtOz wrote:

I'm getting close to cutting over to my new PC.

I just need to install the graphics card, but I am testing with the built-in
Intel graphics first.

It seems relatively fast ATM.

Does anyone have suggestions for challenging (not earth stopping) code which
could be considered for benchmark comparison across my current PC (core2
2.53 GHz 4GB SSD Ion Graphics), my new one (i7 quad 3.4-3.9 GHz 16GB RAID
SSD Intel Graphics), and ditto plus a medium range Graphics card (ASUS
GeForce GTX 750 Ti Strix 2GB).

Perhaps I could build a consistent set of performance test code for use
across versions. Code exploiting different aspects of OpenSCAD internals. ??

I'm not talking about many hours of rendering, but ~2 hours max could work
if it was recommended for a particular a reason.

I'm starting with some of the examples. (#24)

The projector plate in this project takes 20-30 minutes to render on my Ivy
Bridge i7 laptop: https://github.com/hyperair/projector-mount/

Lots of minkowskis and hulls from using Andrew's generalized fillet library.

--
Kind regards,
Loong Jin

On Mon, Apr 27, 2015 at 04:44:23PM -0700, MichaelAtOz wrote: > I'm getting close to cutting over to my new PC. > > I just need to install the graphics card, but I am testing with the built-in > Intel graphics first. > > It seems relatively fast ATM. > > Does anyone have suggestions for challenging (not earth stopping) code which > could be considered for benchmark comparison across my current PC (core2 > 2.53 GHz 4GB SSD Ion Graphics), my new one (i7 quad 3.4-3.9 GHz 16GB RAID > SSD Intel Graphics), and ditto plus a medium range Graphics card (ASUS > GeForce GTX 750 Ti Strix 2GB). > > Perhaps I could build a consistent set of performance test code for use > across versions. Code exploiting different aspects of OpenSCAD internals. ?? > > I'm not talking about many hours of rendering, but ~2 hours max could work > if it was recommended for a particular a reason. > > I'm starting with some of the examples. (#24) The projector plate in this project takes 20-30 minutes to render on my Ivy Bridge i7 laptop: https://github.com/hyperair/projector-mount/ Lots of minkowskis and hulls from using Andrew's generalized fillet library. -- Kind regards, Loong Jin
M
MichaelAtOz
Sat, May 2, 2015 5:40 AM

Hi, I suspect you are using a new MCAD.

I've managed to map most of it to the old MCAD, but I can't find the
'conv2D_polar2cartesian()' function.
Where can I find it?


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/Benchmark-recommended-scad-s-tp12497p12544.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I suspect you are using a new MCAD. I've managed to map most of it to the old MCAD, but I can't find the 'conv2D_polar2cartesian()' function. Where can I find it? ----- 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/Benchmark-recommended-scad-s-tp12497p12544.html Sent from the OpenSCAD mailing list archive at Nabble.com.
CL
Chow Loong Jin
Sun, May 3, 2015 10:23 PM

On Fri, May 01, 2015 at 10:40:58PM -0700, MichaelAtOz wrote:

Hi, I suspect you are using a new MCAD.

I've managed to map most of it to the old MCAD, but I can't find the
'conv2D_polar2cartesian()' function.
Where can I find it?

Hmm, it might not have been added yet. It looks like gears.scad has a
polar_to_cartesian() function that works the same though.

--
Kind regards,
Loong Jin

On Fri, May 01, 2015 at 10:40:58PM -0700, MichaelAtOz wrote: > Hi, I suspect you are using a new MCAD. > > I've managed to map most of it to the old MCAD, but I can't find the > 'conv2D_polar2cartesian()' function. > Where can I find it? Hmm, it might not have been added yet. It looks like gears.scad has a polar_to_cartesian() function that works the same though. -- Kind regards, Loong Jin
CL
Chow Loong Jin
Sun, May 3, 2015 10:24 PM

On Mon, May 04, 2015 at 06:23:00AM +0800, Chow Loong Jin wrote:

On Fri, May 01, 2015 at 10:40:58PM -0700, MichaelAtOz wrote:

Hi, I suspect you are using a new MCAD.

I've managed to map most of it to the old MCAD, but I can't find the
'conv2D_polar2cartesian()' function.
Where can I find it?

Hmm, it might not have been added yet. It looks like gears.scad has a
polar_to_cartesian() function that works the same though.

Otherwise you could just use this:

function conv2D_polar2cartesian(x) = [ x[0]*cos(x[1]) , x[0]*sin(x[1]) ];

--
Kind regards,
Loong Jin

On Mon, May 04, 2015 at 06:23:00AM +0800, Chow Loong Jin wrote: > On Fri, May 01, 2015 at 10:40:58PM -0700, MichaelAtOz wrote: > > Hi, I suspect you are using a new MCAD. > > > > I've managed to map most of it to the old MCAD, but I can't find the > > 'conv2D_polar2cartesian()' function. > > Where can I find it? > > Hmm, it might not have been added yet. It looks like gears.scad has a > polar_to_cartesian() function that works the same though. Otherwise you could just use this: function conv2D_polar2cartesian(x) = [ x[0]*cos(x[1]) , x[0]*sin(x[1]) ]; -- Kind regards, Loong Jin