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
29 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
59 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
22 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
17 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
104 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
32 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: ...
0
votes
1answer
102 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
79 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
40 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 ...
0
votes
0answers
30 views

Import Points from CSV/ASC

I started with Blender and want to import some X,Y,Z - Points from a CSV. I read about scripts and so on but nothing seem to work as expected. How is the best method with the latest version of ...
1
vote
1answer
597 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
290 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
31 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
94 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
24 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
145 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
243 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
49 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
350 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
392 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
413 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
86 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
293 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
617 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
153 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
163 views

CSV File Not Supported Error

Here is the code: ...
0
votes
1answer
144 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
395 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
132 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
1k 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
548 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
707 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
59 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
160 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
782 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
267 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
291 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
474 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
6
votes
2answers
8k 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
7k 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
197 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 ...
0
votes
0answers
570 views

Export Track Markers to csv

I am trying to export markers from the Blender motion tracker and found the following script that will do exactly that: ...
7
votes
1answer
1k views

Import a csv animation path using animation nodes

In this question, the answer shows how to use a script to import a CSV file and setup an animation. Is there a way to do this same thing using animation nodes? For example, this is start on the ...
1
vote
0answers
93 views

Export bones' ends trajectory - xyz coordinates

I am new to Blender and python. In an effort to learn, I would like to write a small script that exports the root and head coordinates to a csv file for each frame. Can somebody help me with this ...
0
votes
1answer
851 views

How to animate a set of 2-D data points described in a csv file?

I have a set of say 20 data points whose x and y coordinates are available in a csv file at each frame . I have 1000 sets of this data with each set describing the location of 20 data points at a ...
3
votes
1answer
6k views

Exporting coordinates of vertices to CSV

I have a .3ds file which I import into Blender. Now what I'm trying to do is to export the coordinates of vertices into a .ply file. When I export these vertices into a .ply file they are not ...
1
vote
1answer
97 views

Is it possible to use a CSV file to assign to frames poses from a pose library?

Is it possible to use a CSV file to assign to frames poses from a pose library? For example: having a CSV file with the frame number where a musical note is played. The musical note been the pose ...
4
votes
1answer
2k views

Convert CSV Latitude longtitude to Blender coordinates

I have a table of Earthquake data in CSV, that includes Lat Long coordinates. CSV file download I want to convert them to Blender coordinates (on sphere or flat it doesn't matter as I can fit them to ...