jscad / csg.js

DEPRECATED: CSG Library for JSCAD (See the link below)
https://github.com/jscad/OpenJSCAD.org/tree/master/packages/modeling
MIT License
218 stars 56 forks source link

V2: Split into Specialized Functions / Modules #154

Closed z3dev closed 5 years ago

z3dev commented 5 years ago

Split the current library into more specialised functions / modules with clean and simple interfaces. Each 'module' should be a useful building block in other forms of geometry, API interface, librariy, and/or application.

Split:

pentacular commented 5 years ago

Suggest major divisions as

algorithms (e.g., extrusion) (e.g., color-conversion) api v1 v2 math geometry

Given that color needs to survive union, and algorithmic processing, I think it needs to be a property of poly3 / vec3

Hopefully color conversions can be under algorithms.

pentacular commented 5 years ago

Ah, I failed at formatting.

I mean.

api/v1/... api/v1/path/... api/v2/... api/v2/extrusion-ops/... api/scad/...

etc.