Remove from structure

pho's picture

Hi,

I was testing benoitlahoz's CSV2Strucutre plugin with the data from Radiohead's House of Cards and I found a problem that I always managed to work around before. The problem is that the CSV file has 12302 lines with 4 columns (x,y,z cordinates and intensity) but the Mesh creator patch can only accept the first 3 columns. So, as I didn't find any software that could batch remove the last column from the csv files, I now need to find a way of removing it from the structure inside quartz composer.

PreviewAttachmentSize
csv test.zip185.12 KB

benoitlahoz's picture
Re: Remove from structure

Hi,

Can't you use excel to delete your column ? Or may be I don't understand well...

gtoledo3's picture
Re: Remove from structure

That doesn't sound right, I suspect your problem may be elsewhere.

The mesh create can, in fact, take a W value (eg. what you're describing as "intensity".) It should be a 1, if you want the thing to render at full scale.

Does your data work with kineme gl point structure?

pho's picture
Re: Remove from structure

Please find attached a new composition which is reading a csv file with the last column removed. I also attached the readme file from the data.

I tried it with GL point structure and it crashes quartz composer.

I can't remove the last column on every file because I got 1000 files and I don't know how to batch remove it.

Still, isn't there a way of removing the last component of each member in quartz composer?

That would be useful for many things.

PreviewAttachmentSize
README.txt831 bytes
csv test.zip361.92 KB

gtoledo3's picture
Re: Remove from structure

Your patch uses some kind of custom plugin, so it doesn't restore. Do you have a link to where that plugin is able to be downloaded from? You should probably try attaching an "unedited" file as well, because all of these have only 3 columns, so there's no possibility of showing how to make it work in QC without editing the file, if I'm following correctly.

You can remove the w value with javascript, an iterator, or maybe some custom plugin that I'm not thinking of at the moment.

pho's picture
Re: Remove from structure

The only plugin that isn't native is this one: http://kineme.net/files/CSV2Structure.zip

1.csv file has 4 columns and 1_0.csv has only 3.