discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Surface() renders but adding any other object doesn't.

M
MichaelAtOz
Thu, Jul 21, 2016 2:53 AM

Can you share the .png and the value of the above variables?

From my experience surface() uses a lot of resources (memory & hence cpu)

and larger input size can quickly get out of hand.


Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously 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/  time is running out!

View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17949.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Can you share the .png and the value of the above variables? >From my experience surface() uses a lot of resources (memory & hence cpu) and larger input size can quickly get out of hand. ----- Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously 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/ time is running out! -- View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17949.html Sent from the OpenSCAD mailing list archive at Nabble.com.
S
souan
Thu, Jul 21, 2016 10:00 PM

Here's the image, and the variables are as follows
height = 0.02; base_depth = 1.0; width = 62; length = 78.8;
I know it's quite large at 620x788 but the thing that puzzled me is the
huge increase in processing time by the addition of a simple cube. I tried
running this on a couple of different computers and had the same problem.

--
View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17950.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Here's the image, and the variables are as follows height = 0.02; base_depth = 1.0; width = 62; length = 78.8; I know it's quite large at 620x788 but the thing that puzzled me is the huge increase in processing time by the addition of a simple cube. I tried running this on a couple of different computers and had the same problem. -- View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17950.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Jul 22, 2016 1:57 AM

Looks like a bug. As soon as CGAL gets involved.

Even this crashes eventually, consumes all memory;

surface("smiley.png",invert=false,center=true); // smiley.png from the wiki
of surface()
cube(1);


Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously 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/  time is running out!

View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17951.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Looks like a bug. As soon as CGAL gets involved. Even this crashes eventually, consumes all memory; surface("smiley.png",invert=false,center=true); // smiley.png from the wiki of surface() cube(1); ----- Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously 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/ time is running out! -- View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17951.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Jul 22, 2016 2:06 AM

Github  issue https://github.com/openscad/openscad/issues/1746  raised.


Admin - PM me if you need anything, or if I've done something stupid...

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. Obviously 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/  time is running out!

View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17952.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Github issue <https://github.com/openscad/openscad/issues/1746> raised. ----- Admin - PM me if you need anything, or if I've done something stupid... 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. Obviously 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/ time is running out! -- View this message in context: http://forum.openscad.org/Surface-renders-but-adding-any-other-object-doesn-t-tp17948p17952.html Sent from the OpenSCAD mailing list archive at Nabble.com.