A simple and fast CSV file importer.
Option 1: Drag and drop your CSV file directly into Blender’s viewport.
Option 2: Use the menu: File → Import → CSV
The imported data will be stored in a mesh.
The mesh consists of only vertices, with no faces and no edges.
All vertices are placed at the same point: the Origin (0,0,0).
Each vertex contains attributes from the imported data.
The data will appear in Blender’s Spreadsheet Editor.
Use Geometry Nodes and the Named Attribute feature to set new vertex positions based on the imported data.
Find additional documentation in the Github README.
Sample dataset download: data_california_housing_normalized.csv
If you see this message: "Extension bl_ext.blender_org.csv_importer is incompatible (This Python version (3.11) isn't compatible with (3.9)" , then update to Blender4.3 and it should work.
import polars as pl
import numpy as np
from csv_importer.parsers import polars_df_to_bob
df = pl.DataFrame({
"Star": [
[58.2, 91.8, 0.0],
[58.1, 92.2, 0.0]
],
"Is_Visible": [True, False],
"Intensity": [10, 20],
})
bob = polars_df_to_bob(df, name="Test")
update_obj_from_csv
and update_bob_from_polars_df
from csv_importer.csv import load_csv
from csv_importer.parsers import update_obj_from_csv
from pathlib import Path
csv_path1 = Path("/Users/jan-hendrik/projects/blender_csv_import/docs/sample_datasets/data_california_housing.csv")
csv_path2 = Path("/Users/jan-hendrik/projects/blender_csv_import/docs/sample_datasets/data_gemeran_cities.csv")
bob = load_csv(csv_path1)
print(bob.name)
# out: CSV_data_california_housing
# Make changes to the CSV file using a text editor.
# Important note: The name of the Blender object won't change, only the underlying data.
update_obj_from_csv(bob, csv_path2)
import polars as pl
from csv_importer.parsers import polars_df_to_bob, update_bob_from_polars_df
# Create initial DataFrame with star coordinates
df1 = pl.DataFrame({
"Star": [
[58.2, 91.8, 0.0],
[58.1, 92.2, 0.0]
]
})
# Convert DataFrame to 'bob' object
bob = polars_df_to_bob(df1, name="Test")
# Create a second DataFrame with new star coordinates
df2 = pl.DataFrame({
"Star": [
[1.2, 1.8, 0.0],
[1.1, 1.2, 0.0]
]
})
# Update 'bob' object with new data from df2
update_bob_from_polars_df(bob, df2)
This extension requests the following permission:
Importing data files from disk
hello even after updating to blender 4.3 (portable version) i still got the error message Extension bl_ext.blender_org.csv_importer is incompatible (This Python version (3.11) isn't compatible with (3.9)
hi @cgirolet, are you on Blender 4.3.0? If yes, try to upgrade to 4.3.1, as this issue got fixed in Blender 4.3.1: https://github.com/kolibril13/blender_csv_import/issues/1#issuecomment-2556657484 Let me know if that helped. If not, please let me know what system you're on.
Amazing add-on! very good for survey csv points and mixing it with gis data. I should try to make a topography using this but currently don't know how, anyone knows?