jaanga / jaanga.github.io

Home page for jaanga.github.io - your 3D happy place. Explore ways of demonstrating STEM topics with beginner level code. Provide many simple cookbook examples. Written in plain JavaScript. Three.js is the only dependency.

Home Page:http://jaanga.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2016-06-05 ~ Fillet Line Array R2

theo-armour opened this issue · comments

image

Fillet Line Array R2

Given an array of points that form a polygon and fillet radii for each point, extrude a 3D shape.

Allow for both convex and concave curves / inside and outside fillets.

Handles the angles incorrectly when adjacent fillets are of different radii.

WIP...

How do I edit points and radii on the fly?

@paulmasson

The mission is to help the peeps at OpenDesk transfer data fron their SketchUp files over to Three,js.

Currently they are creating humongous Three.js JSON files using Python.

See: http://jaanga.github.io/demo/hk/#readme.md hk table r1

The concept here is

Given a .CSV file or Google Spreadsheet or parametric data is some format that contains points, create Three.js path.

In this case there seems - as yet - no real need for real-time updating.

For real-time editing, for example, see

http://jaanga.github.io/cookbook-threejs/examples/geometry/edit-mesh/r1/edit-mesh-r2.html