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
0answers
15 views

Using CSV cell result as variable

I have a CSV I'm parsing from. In say B2, I have an entry called "Cookie". I have a variable in Blender called Cookie that I'm trying to use the data from when I call B2. ...
0
votes
0answers
18 views

How to add faces from sequential vertices data

I'm trying to generate a bmesh from csv files. I know there are a few related questions around, and from the answers I have managed to put together a script that can import all the vertices from the ...
-4
votes
1answer
33 views

Create a lot of spheres with xyz coordinates and radius [duplicate]

How can I create a lot of spheres? I have a csv file with x,y,z,r (radius) coordinates. I saw some topics but nothing worked to me. I tried ask a question, but this was classified as "Your post ...
0
votes
0answers
10 views

Coordinates problems in the bones of a character imported from Daz

I'm using the Daz-Blender bridge addon and i'm having issues importing characters in Blender from Daz. This is the condition in which I find the character when I import into Blender: In the folder ...
0
votes
0answers
14 views

Spheres with csv file [duplicate]

Is it hard to do a script where I can create a lot of spheres? I have a csv file with x,y,z,r (radius) coordinates. I saw some topics but nothing worked to me.
0
votes
0answers
9 views

moving 3D object using csv file [duplicate]

I am new to blender and I'm trying to move the cube using XYZ csv file. How can I merge the file with the object and make it moving using that file. Can someone help me. Thank you
1
vote
0answers
38 views

csv>python>blender>movie ; a little more help to achieve my script

I'd need a little more help to watch and "finish" my script the aim is to use a csv file (OK) as coordinates (Done) use it to create text (OK) and make an animation (Done) I'm lost in ...
0
votes
1answer
35 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
39 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 ...
1
vote
0answers
60 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
53 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
39 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
233 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
50 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
13 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
165 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
72 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
30 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
43 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
884 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
90 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
458 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
545 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
1k 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
582 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
47 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
142 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
43 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
315 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
373 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
82 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
581 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
765 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
583 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
196 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
500 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
863 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
178 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
268 views

CSV File Not Supported Error

Here is the code: ...
0
votes
1answer
232 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
451 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
146 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
749 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
931 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
68 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
195 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
997 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, ...