ytyng / solidpython-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solidpython-tutorial

Description

SolidPython tutorial for generating OpenSCAD code from Python code.

By generating an STL file from OpenSCAD, you can output it with a 3D printer.

Finally in this repository we get the contribution graph from GitHub, Convert it to a 3D object (STL) and output it with a 3D printer.

Generated Github contribution calendar 3D object

Python コードから OpenSCAD のコードを生成する SolidPython のチュートリアル。

OpenSCAD から STL ファイルを生成することで、3Dプリンタで出力することができる。

最終的にこのリポジトリでは、Github から コントリビューショングラフを取得し、 それを 3Dオブジェクト(STL)に変換し、3Dプリンタでの出力を行います。

Setup

brew install --cask openscad
pipenv install

Tutorials

Create only cube object.

Convert to STL file from OpenSCAD code.

Generated STL 3D object file

Create pill style object. (Cylinder with rounded edges)

Generated STL 3D object file

Get the contribution calendar from Github and convert it to a 3D object (STL).

Generated Github contribution calendar STL 3D object file

Included utilities

Utility for executing commands to generate STL files using OpenSCAD applications.

OpenSCAD アプリケーションを使って、STL ファイルを生成するコマンドを実行するためのユーティリティ。

Get the Github user page, parse the HTML (SVG) of the contribution graph content, A utility that retrieves contribution graph data.

You don't need an access token because you're just looking at an HTML page.

Github のユーザーページを取得し、コントリビューショングラフの内容のHTML(SVG)をパースし、 コントリビューショングラフのデータを取得するユーティリティ。

HTML ページを見るだけなのでアクセストークンは必要ありません。

About


Languages

Language:OpenSCAD 86.4%Language:Python 13.6%