discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

ERROR: Recursion detected calling function 'pow'

JJ
Johan Jonker
Fri, Feb 26, 2016 8:16 AM

What does the error above mean?
It appears when I add the following line:

chzt = [for (zz= [ze: 1: zb]) zz];       

kind regards
Johan Jonker

--
View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

What does the error above mean? It appears when I add the following line: chzt = [for (zz= [ze: 1: zb]) zz]; kind regards Johan Jonker -- View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Feb 26, 2016 8:34 AM

ink we neeed to know what ze & zb are.


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/ERROR-Recursion-detected-calling-function-pow-tp16252p16253.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

ink we neeed to know what ze & zb are. ----- 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/ERROR-Recursion-detected-calling-function-pow-tp16252p16253.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JJ
Johan Jonker
Sat, Feb 27, 2016 12:24 PM

I think nothing special:

xa  = h_table(l_base)+ chamber_backwards;
dxa = (sin(p_beak_out_c)/sin(p_beak_outside))h_tip;
za  = l_base;
//color("orange")show_marker_line(xa,0,za, 90,0,0);
xb  = xa + l_tip_rail
tan(p_tip_c);
zb  = l_base-l_tip_rail+chamber_upwards;
//color("red")show_marker_line(xb,0,zb, 90,0,0);
xc  = xb-l_baffletan(p_baffle_c);
zc  = zb-l_baffle;
//color("white")show_marker_line(xc,0,zc, 90,0,0);
xf  = xc+tan(p_beak_in_c)
(za-zc);
zf  = za;
//color("yellow")show_marker_line(xf,0,zf, 90,0,0);
xd  = xf-tan(p_beak_in_c)l_window_r;
zd  = za-l_window_r;
//color("green")show_marker_line(xd,0,zd, 90,0,0);
xh  = xa+dxa;
zh  = l_base + dxa/sin(p_beak_out_c);
//color("blue")show_marker_line(xh,0,zh, 90,0,0);
xg  = xh+(zh - l_base + l_window_r)tan(p_table);
zg  = l_base-l_window_r;
//color("purple")show_marker_line(xg,0,zg, 90,0,0);
h  = cos(p_beak_in_c)
abs(xd-xg);
xe  = xg - h
cos(p_beak_in_c);
ze  = zg + hsin(p_beak_in_c);
//color("yellow")show_marker_line(xe,0,ze, 90,0,0);
echo(h=h);
r_bt = 100;
echo ("W", w_chamber_bore +
(ze-ze)/(zb-ze)
(w_window_tip-w_chamber_bore));
echo ("W", w_chamber_bore +
(zb-ze)/(zb-ze)*(w_window_tip-w_chamber_bore));
chxt = [ for (zz=[ze:1:zb]) ip3(zz,ze,zc,zb,xe,xc,xb)];
(zz= [ze: 1: zb]) 60];                      // percentage van de z ten
bate van curved side
echo (chzt);

--
View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252p16260.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I think nothing special: xa = h_table(l_base)+ chamber_backwards; dxa = (sin(p_beak_out_c)/sin(p_beak_outside))*h_tip; za = l_base; //color("orange")show_marker_line(xa,0,za, 90,0,0); xb = xa + l_tip_rail*tan(p_tip_c); zb = l_base-l_tip_rail+chamber_upwards; //color("red")show_marker_line(xb,0,zb, 90,0,0); xc = xb-l_baffle*tan(p_baffle_c); zc = zb-l_baffle; //color("white")show_marker_line(xc,0,zc, 90,0,0); xf = xc+tan(p_beak_in_c)*(za-zc); zf = za; //color("yellow")show_marker_line(xf,0,zf, 90,0,0); xd = xf-tan(p_beak_in_c)*l_window_r; zd = za-l_window_r; //color("green")show_marker_line(xd,0,zd, 90,0,0); xh = xa+dxa; zh = l_base + dxa/sin(p_beak_out_c); //color("blue")show_marker_line(xh,0,zh, 90,0,0); xg = xh+(zh - l_base + l_window_r)*tan(p_table); zg = l_base-l_window_r; //color("purple")show_marker_line(xg,0,zg, 90,0,0); h = cos(p_beak_in_c)* abs(xd-xg); xe = xg - h* cos(p_beak_in_c); ze = zg + h*sin(p_beak_in_c); //color("yellow")show_marker_line(xe,0,ze, 90,0,0); echo(h=h); r_bt = 100; echo ("W", w_chamber_bore + (ze-ze)/(zb-ze)*(w_window_tip-w_chamber_bore)); echo ("W", w_chamber_bore + (zb-ze)/(zb-ze)*(w_window_tip-w_chamber_bore)); chxt = [ for (zz=[ze:1:zb]) ip3(zz,ze,zc,zb,xe,xc,xb)]; (zz= [ze: 1: zb]) 60]; // percentage van de z ten bate van curved side echo (chzt); -- View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252p16260.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JJ
Johan Jonker
Sat, Feb 27, 2016 12:39 PM

Found it:

I tried to add new items in a wrong way:

chzt = [for (zz= [ze: 1: zb]) zz];
chzt = [for (zz= [zb: 1: zd]) zz*2];

Sorry for distrubing with this question.

--
View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252p16261.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Found it: I tried to add new items in a wrong way: chzt = [for (zz= [ze: 1: zb]) zz]; chzt = [for (zz= [zb: 1: zd]) zz*2]; Sorry for distrubing with this question. -- View this message in context: http://forum.openscad.org/ERROR-Recursion-detected-calling-function-pow-tp16252p16261.html Sent from the OpenSCAD mailing list archive at Nabble.com.