R
runsun
Fri, Jul 8, 2016 7:19 PM
whenever you see :
WARNING: Ignoring unknown variable X
It could be one of the following two conditions :
-
A=X but X is not defined in any place prior to that line,
means the issue is on X;
-
A=X but A is already defined prior to that line, before
X is defined.
In case 1), the issue is on X, but in 2), A is the problem.
So besides checking if X is pre-defined, remember to also
check if A is pre-defined.
See details in :
http://forum.openscad.org/quot-Ignoring-unknown-variable-quot-issue-td13156i20.html#a13321
$ Runsun Pan, PhD $ libs: doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), synwrite ( 2 ); $ tips: hash ( 2 ), matrix ( 2 , 3 ), sweep ( 2 ), var ( 2 ), lerp , animation ( gif , prodVid , animlib ), precision ( 2 ), xl-control , type , rounded polygon , chfont , tailRecur ( 2, 3 ), isosphere ( 2 ), area , vol/center , RGB , CurvedImg ; $ Apps: rollApp , blockscad , openjscad , on AWS ( pdf )
View this message in context: http://forum.openscad.org/symbol-table-problem-tp17898p17899.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
This might help:
> whenever you see :
>
> WARNING: Ignoring unknown variable X
>
> It could be one of the following two conditions :
>
> 1) A=X but X is not defined in any place prior to that line,
> means the issue is on X;
>
> 2) A=X but A is already defined prior to that line, before
> X is defined.
>
> In case 1), the issue is on X, but in 2), A is the problem.
>
> So besides checking if X is pre-defined, remember to also
> check if A is pre-defined.
See details in :
http://forum.openscad.org/quot-Ignoring-unknown-variable-quot-issue-td13156i20.html#a13321
-----
$ Runsun Pan, PhD $ libs: doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), synwrite ( 2 ); $ tips: hash ( 2 ), matrix ( 2 , 3 ), sweep ( 2 ), var ( 2 ), lerp , animation ( gif , prodVid , animlib ), precision ( 2 ), xl-control , type , rounded polygon , chfont , tailRecur ( 2, 3 ), isosphere ( 2 ), area , vol/center , RGB , CurvedImg ; $ Apps: rollApp , blockscad , openjscad , on AWS ( pdf )
--
View this message in context: http://forum.openscad.org/symbol-table-problem-tp17898p17899.html
Sent from the OpenSCAD mailing list archive at Nabble.com.