Giter VIP home page Giter VIP logo

words_to_bricks's Introduction

lego-word-3d-modeller

Create a 3D printable Lego style model from a given word or sentence

Example nameplate for my daughter, Katie

Name represented as bits in a pandas dataset

The pandas dataset is searched horizontally then vertically to combine adjacent single bricks. Nameplate Pandas representation

3D model in Openjscad

Nameplate 3D model

Printed nameplate base

Nameplate before

Nameplate with bricks

Nameplate with bricks

Setup

Create list of bricks from text

  • Install Anaconda so you have a full Jupyter notebook environment.
  • Open 'Anaconda Navigator' and run JupyterLab.
  • Open TextToBricks.ipynb in JupyterLab.
  • Execute all code blocks in TextToBricks to set up necessary helper functions
  • Change text of last command to the text you want rendered
GetBricksFromText("Katie")
  • jsonified list of bricks + brick_maker.js -> bricks_openjscad.js

Render list of bricks into 3D printable .stl

  • In a browser, open Openjscad.
  • Drag your bricks_openjscad.js file into the bottom file load section of the openjscad web page.
  • After your 3D model renders, click the "Generate stl" button then download the stl and print it.

words_to_bricks's People

Contributors

hwswfun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.