Questions tagged [csv]

A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. It stores tabular data (numbers and text) in plain text. Ask questions about using and manipulating CSV files in Blender.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

Adding Date via Python from csv - works fine in Viewport but can't be rendered - what's wrong?

I try to add the Date from a .csv file as text in Blender 2.91 via Python. It creates for each row a new Text and works fine in Viewport (one date per frame) but when I try to render this code as ...
0
votes
0answers
17 views

How to create one object per frame from csv file?

I recently started Data visualization with Blender and Python, so my current situation is that I can create Objects (cubes and spheres) with a x,y,z Position and a certain Size from my Data. What I ...
2
votes
0answers
49 views

how to make a cylinder with several segments, from a csv file

I'm new to Blender, even more so in the scripts. I'm trying to make a cylinder (x,y,z variables) that contains several segments, these are controlled by a .csv file, where I get the depth. These ...
0
votes
2answers
33 views

“Animated vector” multiple object moves from CSV with animation nodes

Newby question for the Anination Nodes experts if I may... Trying to visualise time-sequence data for a series of objects that move in X & Y. I have used some of the great answers here to get ...
3
votes
0answers
26 views

How can I create a 3D model of the CIELAB color space? [duplicate]

My professor and I are trying to create and print a 3D model of the CIELAB color space for one of my Master's studies. He has provided me with a CSV of the color space's data points (which you can ...
0
votes
1answer
73 views

How to create mesh surface using csv datapoints?

I have a csv data which contains x, y, z columns. I want to visualize this data as a surface mesh. From the csv file, I can load the data via csv mesh Importer add-on in Blender 2.5 and Statistical ...
0
votes
1answer
37 views

import series of csv files as keyframe using handler

I try to import a series of csv files (name_0.csv,name_1.csv,name_2.csv ....) but reading only one file which is the current frame of the scene, if we are at frame 2 thus displaying only the name_2....
0
votes
0answers
8 views

how to import csv file and assign the data to a list of mesh?

I am working on a project, basically many cylinder objects with different height, is there any way to import a csv file and assign the height data to the individual object? Thanks
0
votes
1answer
54 views

Data Visualization - Iterate through a Collection of objects and set Z scale to a value from a specific csv file column index

Summary: Scale height of 77 mesh objects, by a csv file column with 77 float values. *iterate through csv column drop head and save row value to list. *iterate through objects in collection and apply ...
1
vote
1answer
61 views

Import csv to Python syntax eludes me, what did I miss?

I'm trying to import a list from a csv to create a series of circles. I've created a few scripts that move and rotate objects with help of csv data, I used that csv routine as a template. This time I ...
1
vote
0answers
27 views

Is there any way to use Cycles for 3D data visualization?

I have a CSV file containing coordinates for stars in a galaxy and I want to plot them through volumetric data inside a cube. I have tried the voxel data type in blender 2.79 with blender render (it ...
0
votes
1answer
20 views

Read csv file (converted from excel) and set variables x,y,z etc as the cell values [duplicate]

How to set cell values as x,y,z,l,m,n,p,q,r variables in python without using pandas (ignore second set of coordinates) So x=5000, y=300, z=2700, l=0.2, m=-1, n=0.1, p=0, q=0, r=0
1
vote
3answers
421 views

How to read excel file and use as coordinates in python code? [duplicate]

Currently this is the excel file: How do I use python to import the file and get it to read it so that it effectively reads it as: x, y, z, l, m, n, p, q, r = 5000, 300, 2700, 0.2, -1, 0.1, 0, 0, 0 ...
1
vote
0answers
61 views

I'm trying to export the dimensions of a custom kitchen cabinet parts in cm!

I came up with this code by studying in StackExchange previous questions and answers, code: ...
1
vote
1answer
265 views

Animating a dynamic amount of objects from CSV data using Animation Nodes

Problem I was given some data from a simulation and am trying to animate said data. I've gone through several other posts where they accomplished this using Animation Nodes, which works for a fixed ...
0
votes
1answer
258 views

Exporting mesh as CSV file

I have been using this script to export my mesh to a CSV file. The problem is that every time I select a new object, the file is overwritten, so ideally when selecting a new object I need it to write ...
0
votes
0answers
42 views

how to do the earth position animation with auto camera tracking

let's say I have a .csv file with format as follow: I have created the earth: I want to do with Blender: a.the longitude and latitude show as a sphere's position b.the mag be as the sphere's ...
1
vote
1answer
808 views

Plot single vertices based on xy coordinates from CSV file

I'm aware there are numerous posts/questions already been raised on this, but upon reading the previous posts, I'm not quite able to find exactly what I'm looking for. So apologies if there's a ...
0
votes
1answer
414 views

Moving and rotating using CSV

I have used the script to move an object using CSV. Can it be modified to include rotation as well? Can this be done using one imported file, or is it best with two imported files. One for Location ...
0
votes
1answer
38 views

rotation values not set correctly with script that uses CSV [duplicate]

I'm just starting to discover the possibilitys of using csv to create an animation, but i have some trouble with getting the correct values from a CSV. My problem is that the RZ values all end up as ...
0
votes
1answer
124 views

How to use CSV values to drive object scale?

CONTEXT: I am trying to create a 3D Data-Viz project that will take values from a CSV file and use certain values to drive the Z-scale of simple cubes that will stretch vertically as a value gets ...
0
votes
0answers
28 views

how do i rotate an object in particular angle by importing the values from a csv file and animating at different frame time?

I want to rotate an object at different angles at different frame time by importing the values of angle from a csv file. the file contains a number of angles which i want to allocate as keyframes at ...
2
votes
1answer
221 views

Keyframing specified object location at frame from csv data

I've been trying animate a large amount of objects based on location and frame data from an excel sheet. So far I've read through a dozen different threads both here and other forums, but I'm just not ...
0
votes
0answers
318 views

Mesh from CSV data

I trying to create a mesh from GPS lat&long coordinates combined with WiFi RSSI data. When imported the data looks like this I've been playing around with different ways to create a solid mesh, ...
1
vote
0answers
67 views

Row Summing When Moving an Object

I am trying to move an object using coordinates from a CSV file. The file is written by one python script and then read by a script in blender. Below is the script written to read the file in blender ...
0
votes
2answers
458 views

How do I move an object using a csv file?

I am very new to blender and I am trying to move a cube in an environment. I have a csv file with a list of coordinates designated by columns, each column is the X, Y, or Z coordinates with n rows. ...
0
votes
1answer
576 views

csv file reading

I know this was already addressed in this post: How to read a csv file and use the values as x and y points in blender? but I don't have enough reputation yet to comment on it to keep the thread ...
0
votes
0answers
482 views

How do I import a CSV file of XYZ Cartesian coordinates with descriptions and point numbers into Blender?

I have a CSV file in the format "point number, X, Y, Z, point description" in meters. These are WGS84 Earth Centered Earth fixed coordinates where the mass center of the earth is the origin at 0,0,0 ...
0
votes
2answers
147 views

How to create an operator that exports location over time

I have a plane floating on an ocean. My script outputs a CSV file with the position of the plane's four corners. How can I use an operator to fill this CSV with the position of the points over time, ...
0
votes
1answer
396 views

How to select last imported object with console?

I'm writing a script for fast importing with CSV file. There's a lot of things, like location, scale and quaternion rotation. Problem with the location I've already solved, but scale and rotation are ...
1
vote
1answer
774 views

Massive import with CSV file [duplicate]

I have exported game archive with all objects. I also have CSV file with all their details, such as model name, location, rotation (XYZW). How do I import CSV file, and make blender read it and put ...
0
votes
2answers
162 views

Blender not accepting CSV file [duplicate]

CSV File Not Supported Error dealt with the error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 23: invalid continuation byte Now there ...
1
vote
3answers
211 views

CSV File Not Supported Error

Here is the code: ...
0
votes
1answer
192 views

Script for export vertex in CSV dont work

I'm quite new in the blender and many things I do not understand yet. I would like to extract the coordinates of each vertex in CSV Well... I'm trying to use this script, but I can not make it work, ...
5
votes
2answers
428 views

Earthquake visualization in blender?

I have csv catalogue(s) of earthquakes occurring in time and xyz space that can be individually represented as cubes or spheres of differing sizes depending on the earthquake magnitude. I have little ...
0
votes
2answers
1k views

CSV File Data Read

Please help, I have tried a Python forum and although I have had many suggestions none work. I need to import data from a csv file. Here is my code. ...
0
votes
0answers
142 views

animation of two object using csv file

i have two different mesh in blender and i want both of them move independently using different f-curve at same time and using different csv files but i am not able to do that. Is there any way to do ...
0
votes
1answer
2k views

How to create edges in existing mesh based on a list of vertex indices with Python

I parse 2 csvs, one with vertex coordinates id,x,y,z,r,g,b 0,0.30778491,0.12740749,0.04903458,174.0,84.0,118.0 1,0.3315943,0.0922608,0.08094925,174.0,84.0,118.0 ...
0
votes
1answer
657 views

trying to create a bmesh from csv coordinate list

Hello fellow Blender snakehandlers, I have a list of coordinates in a csv file and I would like to create a mesh with only vertices from it. When I run it, it throws the following error, which I can'...
1
vote
1answer
824 views

Import coordinates from CSV and create sphere at each position

I have a CSV containing x,y, and z coordinates. The CSV also has a fourth column containing information on sphere diameter. I need to create a sphere at each coordinate, having the corresponding ...
0
votes
1answer
62 views

How does this works? verts = [[float(i) for i in r[:3]] for r in rows]

I looked over here and found a csv reading script that creates curves, wich is exactly what I need, it´s cool, but I need to modify it because I need to read a differently formated csv, in fact I need ...
0
votes
0answers
179 views

Generate and edit csv-file to reimport and use it with blender

Case: I'm exporting a list of coordinates from vertices (x, y, z-Coordinates) to a csv. file. ...
3
votes
1answer
945 views

Keyframed animation from csv using animation nodes

I'm rather new to blender but would like to try to animate flows (in my case movements of animals between herds) using data in a csv file with the following structure: movement#,Start_time,Origin_x, ...
1
vote
0answers
305 views

How can I add vertices from a given csv-list with x-, y- and z-coordinates? [duplicate]

I have the following situation: I have a stl-file, I write every vertices-coordinates into a csv-file. Then I kind of "arrange" all the values, do some other math-stuff and as a result I get another ...
0
votes
0answers
315 views

Creating multiple curves from CSV

I have a CSV file that contains XYZ points for many separate curves. It is formatted like this x y z curve ID 1 2 3 aB12 7 8 9 aB13 8 10 40 aB12 1 3 6 aB13 I'm looking for ...
0
votes
1answer
553 views

how do i export face normals?

Is it possible to retrieve the vertices's of every face in a mesh? Also is it possible to get the normals of those faces? I want to store them in a csv file
9
votes
2answers
9k views

Create model from XYZ data points

I'm trying to create a 3D heat map model out of data that I have from a csv file. I have a few thousand data points with XYZ coordinates. I'm able to import the data into blender as a point cloud ...
1
vote
1answer
1k views

How to import a 3d object by csv file

I'm new to Blender and I'm trying to create a 3d scene starting from a csv file. I explain my problem: I have some 3d objects that I append in the scene with this function: ...
3
votes
2answers
8k views

How to read a csv file and use the values as x and y points in blender?

How can i use the value in column 'lon' and 'lat' as the position of my uv_sphere? For example,read the values from line 4, (116.4559081, 39.9139083), and make these 2 numbers as my uv_sphere x and y ...
0
votes
0answers
202 views

How to read the data in CSV file and create object accordingly by using python console in blender [duplicate]

i have a .csv file like the picture above i want to read the csv file and be able to pull out the information and make it like something below: |mode | lon | lat | name ...