Skip to main content
F3D
Script Tạo Nhãn Tự Động (Hoặc Chữ Nhúng)! CSV -> STL Tự Độn… 1

1 image

DIY

Script Tạo Nhãn Tự Động (Hoặc Chữ Nhúng)! CSV -> STL Tự Động Hóa

By JonathanLevi

Downloads
498
Likes
201
Views
4,003

Files 3 4.4 KB

  • label_template_1767185544.scadSCAD · 3.3 KB
  • stllabels_1767185545.pyPY · 1,019 B
  • labels_1767185546.csvCSV · 120 B

Make a variant with AI

Build another version of this model.

Open Studio

Details

Model ID
#186410
Category
DIY
Published

Description

This script will allow you to use the Command Line on your computer + OpenScad to generate HUGE amounts of any OpenScad file (Labels, Personalized Designs, etc) using a simple CSV.

How To Use It:

  1. Populate the CSV File with everything you want in it
  2. Customize / Perfect the OpenScad file to suit your needs (change sizes, fonts, magnet holes, or just put an entirely different design in there! This script will work with ANY OpenScad File that uses the variable “textString”)
  3. Put everything in the same directory on your computer, and navigate into that folder in your Command Line
  4. Run this command python3 stllabels.py label_template.scad labels.csv
  5. Watch as a folder is populated with 1 STL and 1 SCAD file (in case you need to customize an individual label) for each line item in your CSV!

If it doesn't work, you might need to create a “symlink” to tell your computer where to get OpenScad:

sudo ln -s "/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD" /usr/local/bin/openscad

Thanks to Fiverr & Ali 

This script was created by Fiverr seller "Ali" as part of a collaboration with Fiverr. To check Ali out and hire him for your own tasks, you can click here. 

See it in action!

Read more Show less

Print spec

Formats
csvpyscad
Model files
3
Total size
4.4 KB
Largest file
3.3 KB

0 comments

See all