Bug 116

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

Bug 116

Christian Siefkes
Hi all,

I recently ran into Bug 116
<https://github.com/openscad/openscad/issues/116> -- Too aggressive
recursion check on module instantiations. I define some commands which I
find easier to use than always having to specify a full vector to translate:

// Move (translate) along the X/Y/Z axis
module mx(distance) {
    translate([distance,0,0]) child();
}
module my(distance) {
    translate([0,distance,0]) child();
}
module mz(distance) {
    translate([0,0,distance]) child();
}

Sadly, I cannot use them as hopes, since a combination such as
        mx(5) mz (10) ...
triggers the "Ignoring recursive module instantiation of 'translate'"
warning and the second command is simply ignored :-(

Any chance that the bug will be fixed in the near future?

Thanks and best regards
        Christian

--
|------- Dr. Christian Siefkes ------- [hidden email] -------
| Homepage: http://www.siefkes.net/ | Blog: http://www.keimform.de/
|    Peer Production Everywhere:       http://peerconomy.org/wiki/
|---------------------------------- OpenPGP Key ID: 0x346452D8 --
Disobedience, in the eyes of anyone who has read history, is man's
original virtue. It is through disobedience and rebellion that progress
has been made.
        -- Oscar Wilde


signature.asc (262 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Bug 116

kintel
Administrator
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jun 1, 2012, at 19:09 PM, Christian Siefkes wrote:

> Any chance that the bug will be fixed in the near future?
>
It's not trivial to fix this, so it might take a while..

 -Marius

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk/MYuIACgkQF4TaqdSZNKRJSwCg9X0BFD9eNxhVXwFcT+JoHMyE
RYkAnj3e5a8+4CKRVgiRqnkoaGoW0b5q
=o+Wh
-----END PGP SIGNATURE-----