Bar-Graph-O-Matic / piechart help please


Please to meet you, i’m working the Graphics Generator script

now this support scale and a simple animation, at the moment :eyebrowlift:.
oficial.blend (1.3 MB)

HI, indeed, a nice idea to animate the pie’s … will look thursday INTO your example … (tomorrow is grandpa day, to look after my sweet granddaughter :wink: )

Has anyone checked out the render from oficial.blend output?

It looks quite unusable.

Will the script eventually produce usable output?


With my version (but do not yet understand where the violet color comes from???)


sorry, thats a last minute bug, now i think thats is fixed, dont hope too much, the really oficial version is in the sourceforge repository :eyebrowlift:

the violet images is for some nodes in the composite.

you may be patient with me, im a newbee blender coder. :eyebrowlift2:


oficial2.blend (1.36 MB)

Here is some feedback on your oficial2.blend. You actually have two versions of the script in two different text documents. It is hard to tell which one I should use? So I used the one that was displayed on my screen when I opened the file.

As a coder it is nice to protect against errors so the script does not quit working for new users. For instance I get this error

Traceback (most recent call last):
  File "C:\Documents and Settings\Developer\Desktop\25_pie_chart_oficial2.blend\Text", line 75, in getCSV
IOError: [Errno 2] No such file or directory: '/home/sms-md/Escritorio/data.csv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Documents and Settings\Developer\Desktop\25_pie_chart_oficial2.blend\Text", line 122, in draw
  File "C:\Documents and Settings\Developer\Desktop\25_pie_chart_oficial2.blend\Text", line 90, in getCSV
NameError: global name 'self' is not defined

location:<unknown location>:-1

Hard coding a path to a CSV file does not make much sense. If you want to supply a default so new users can get some joy out of this script you may want to consider checking if the file exists before you try to operate upon it. Also if the file does not exist, why not scan the text document area for default data?



Do not agree totally, both Versions are more or less the same, and from the official site says the Readme, that you need
an absolute address to an *.csv file to use …

Nice work: see

hi atom, thanks for feedback and test it, you are right, i wish that the code will be better in the future.:yes:

No matter, while people are working to correct the collect of bugs, at the moment
we could use this one.

Any support is always welcome

a videopost for explain the entire process here:

I add a useful option more for comparative multiple lines like above

sorry about my english :S

i hope you like!, enjoy :eek:

tutorial (spanish)

code here too:


analytics_generator.blend (547 KB)