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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

jdawgaz
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

If 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


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

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

MichaelAtOz
Administrator
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.
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

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!
Reply | Threaded
Open this post in threaded view
|

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

jdawgaz
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

If 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 <[hidden email]> 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
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

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

Chow Loong Jin
In reply to this post by jdawgaz
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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

signature.asc (836 bytes) Download Attachment