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-11-12 ~ unlimbited-sleeve-r1

theo-armour opened this issue · comments

image

Unlimbited Sleeve R1

Concept

Mission

  • Can we help Team UnLimbited to convert an OpenSCAD app into a Three.js app?
  • Can we hand over models of 3D prosthetic devices that can be printed and fitted to peeps in need?

Links of Interest

2016-11-12 ~ R1

The model we are looking at is printed flat then bend around into shape. This format lends itself to constructive solid geometry (CSG ).

In Three.js there are multiple ways of carrying out CSG.

Today we considered two ways:

  • Chandler Prall's ThreeCSG
  • zz85/Joshua Koo's shape geometry in Three.js

For the ThreCSG example we created today see: csg-basic-r1

The ThreeCSG method follows closely the methods that Team UnLimbited currently use with OpenSCAD. We plan on building some UnLimbited demoes using ThreeCSG

Today, however, we started with the Boolean operations available on the Three.js shape.
This creates an arbitrary polygon with holes in it. A shape may be extruded into a 3D mesh.

The script created today is very preliminary.

  • A first pass at creating the forearm model
  • All geometry is parametric but not yet controlled by the UI
  • Dimensions are by guesswork
  • First commit
  • Add Read Me