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

refactor(): restructure #71

Closed kaosat-dev closed 6 years ago

kaosat-dev commented 6 years ago

WORK IN PROGRESS DO NOT MERGE this PR starts in depth restructuring of this library

z3dev commented 6 years ago

Matrix4x4

z3dev commented 6 years ago

Assuming that the Math classes can change...

Matrix4x4:

On second thought, how about moving these non-Matrix functions to matrixUtils.js? Then Matrix4x4 becomes "pure".

kaosat-dev commented 6 years ago

@z3dev not changing the api in this PR, will be in the next major one but good points all around , I keep them for the next 'breaking' one

z3dev commented 6 years ago

General comment about math classes....

z3dev commented 6 years ago

Lime2D and Lime3D...

z3dev commented 6 years ago

OrthoNormalBasis...

z3dev commented 6 years ago

Vertex2 and Vertex3...

z3dev commented 6 years ago

Vector2 and Vector3...

z3dev commented 6 years ago

Side...

z3dev commented 6 years ago

Polygon3...

z3dev commented 6 years ago

Path2D...

z3dev commented 6 years ago

Utils...

z3dev commented 6 years ago

utils.js ...

z3dev commented 6 years ago

CagValidation.js...

CsgProjections.js ...

FixTJuctions.js...

z3dev commented 6 years ago

General...

Maybe there are more but we should use the JavaScript standard. Whatever that is...

z3dev commented 6 years ago

CSG.js...

FYI.... done with core

z3dev commented 6 years ago

General...

z3dev commented 6 years ago

Properties...

z3dev commented 6 years ago

Connector...

ConnectorList...

z3dev commented 6 years ago

Mutators...

z3dev commented 6 years ago

Trees...

z3dev commented 6 years ago

General...

kaosat-dev commented 6 years ago

@z3dev I will be merging this today, and will add your very good remarks as issues :)

z3dev commented 6 years ago

Awesome! I’m looking forward to trying out the new structure.