discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

MCAD standard library error: regular_shapes.scad module egg()

JD
Jerry Davis
Fri, Sep 18, 2015 11:09 PM

any ideas about this?

code:

use <MCAD/regular_shapes.scad>

egg(20, 20*1.39);

error:

Compiling design (CSG Tree generation)...

Compiling design (CSG Products generation)...

WARNING: Mixing 2D and 3D objects is not supported.

WARNING: Ignoring 3D child object for 2D operation

ERROR: all points for rotate_extrude() must have the same X coordinate sign
(range is -1.05 -> 10.00)

Geometries in cache: 80

Geometry cache size in bytes: 376992

CGAL Polyhedrons in cache: 0

CGAL cache size in bytes: 0

Compiling design (CSG Products normalization)...

Normalized CSG tree has 0 elements

Compile and preview finished.

Total rendering time: 0 hours, 0 minutes, 0 seconds

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

I
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous

If writing good code requires very little comments, then writing really
excellent code requires no comments at all!
- Ken Thompson

any ideas about this? code: use <MCAD/regular_shapes.scad> egg(20, 20*1.39); error: Compiling design (CSG Tree generation)... Compiling design (CSG Products generation)... WARNING: Mixing 2D and 3D objects is not supported. WARNING: Ignoring 3D child object for 2D operation ERROR: all points for rotate_extrude() must have the same X coordinate sign (range is -1.05 -> 10.00) Geometries in cache: 80 Geometry cache size in bytes: 376992 CGAL Polyhedrons in cache: 0 CGAL cache size in bytes: 0 Compiling design (CSG Products normalization)... Normalized CSG tree has 0 elements Compile and preview finished. Total rendering time: 0 hours, 0 minutes, 0 seconds -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Arduino developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov *I* *f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. *- Anonymous *If writing good code requires very little comments, then writing really excellent code requires no comments at all!*- Ken Thompson
M
MichaelAtOz
Sat, Sep 19, 2015 5:55 AM

There is a bug.

Edit the library, near the bottom in module egg() change the cube() to
square().

Also prob. good to comment out the test just below.


Newly minted 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/MCAD-standard-library-error-regular-shapes-scad-module-egg-tp13893p13895.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

There is a bug. Edit the library, near the bottom in module egg() change the cube() to square(). Also prob. good to comment out the test just below. ----- Newly minted 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/MCAD-standard-library-error-regular-shapes-scad-module-egg-tp13893p13895.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JD
Jerry Davis
Sat, Sep 19, 2015 1:27 PM

roger that. looks good now.

--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer

The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov

I
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous

If writing good code requires very little comments, then writing really
excellent code requires no comments at all!
- Ken Thompson

On Fri, Sep 18, 2015 at 10:55 PM, MichaelAtOz oz.at.michael@gmail.com
wrote:

There is a bug.

Edit the library, near the bottom in module egg() change the cube() to
square().

Also prob. good to comment out the test just below.


Newly minted 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/MCAD-standard-library-error-regular-shapes-scad-module-egg-tp13893p13895.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

roger that. looks good now. -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Arduino developer *The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov *I* *f you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime. *- Anonymous *If writing good code requires very little comments, then writing really excellent code requires no comments at all!*- Ken Thompson On Fri, Sep 18, 2015 at 10:55 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > There is a bug. > > Edit the library, near the bottom in module egg() change the cube() to > square(). > > Also prob. good to comment out the test just below. > > > > ----- > Newly minted 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/MCAD-standard-library-error-regular-shapes-scad-module-egg-tp13893p13895.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
CL
Chow Loong Jin
Sat, Sep 19, 2015 2:17 PM

On Fri, Sep 18, 2015 at 04:09:48PM -0700, Jerry Davis wrote:

[...]
use <MCAD/regular_shapes.scad>
egg(20, 20*1.39);
error:
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
WARNING: Mixing 2D and 3D objects is not supported.
WARNING: Ignoring 3D child object for 2D operation
ERROR: all points for rotate_extrude() must have the same X coordinate sign
(range is -1.05 -> 10.00)
Geometries in cache: 80
Geometry cache size in bytes: 376992
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized CSG tree has 0 elements
Compile and preview finished.
Total rendering time: 0 hours, 0 minutes, 0 seconds

Looks like two bugs in the egg module -- it uses cube instead of square.

--
Kind regards,
Loong Jin

On Fri, Sep 18, 2015 at 04:09:48PM -0700, Jerry Davis wrote: > [...] > use <MCAD/regular_shapes.scad> > egg(20, 20*1.39); > error: > Compiling design (CSG Tree generation)... > Compiling design (CSG Products generation)... > WARNING: Mixing 2D and 3D objects is not supported. > WARNING: Ignoring 3D child object for 2D operation > ERROR: all points for rotate_extrude() must have the same X coordinate sign > (range is -1.05 -> 10.00) > Geometries in cache: 80 > Geometry cache size in bytes: 376992 > CGAL Polyhedrons in cache: 0 > CGAL cache size in bytes: 0 > Compiling design (CSG Products normalization)... > Normalized CSG tree has 0 elements > Compile and preview finished. > Total rendering time: 0 hours, 0 minutes, 0 seconds Looks like two bugs in the egg module -- it uses cube instead of square. -- Kind regards, Loong Jin