Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 STL Deserializer #466

Merged
merged 21 commits into from
Dec 17, 2019
Merged

V2 STL Deserializer #466

merged 21 commits into from
Dec 17, 2019

Conversation

z3dev
Copy link
Member

@z3dev z3dev commented Sep 4, 2019

This pull request updates the STL deserializer to use CSG V2 API, as well as translate to CSG V2 API. The goals of this pull request are:

  • Update to use CSG V2 API
  • Update code up to JSCAD coding standards
  • Add test suites to complete coverage, 93.63%

New Features:

  • support for colors

Fixes jscad/io#8
Fixes jscad/io#53

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Does your submission pass tests?

@z3dev
Copy link
Member Author

z3dev commented Dec 7, 2019

BIG NOTE: ensureManaifoldness() is broken.

Do we want this to work? If so then an additional export of retessellate() is required as part of the modeling/booleans.

@z3dev z3dev requested a review from kaosat-dev December 7, 2019 02:06
Copy link
Contributor

@kaosat-dev kaosat-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice !
Just a few things that I think are worth tweaking, but 99% all good !

packages/io/stl-deserializer/index.js Show resolved Hide resolved
packages/io/stl-deserializer/index.js Outdated Show resolved Hide resolved
packages/io/stl-deserializer/index.js Show resolved Hide resolved
packages/io/stl-deserializer/index.js Outdated Show resolved Hide resolved
packages/io/stl-deserializer/test/test.js Outdated Show resolved Hide resolved
packages/io/stl-deserializer/README.md Show resolved Hide resolved
packages/io/stl-deserializer/index.js Show resolved Hide resolved
packages/io/stl-deserializer/package.json Show resolved Hide resolved
packages/io/stl-deserializer/package.json Outdated Show resolved Hide resolved
packages/io/stl-deserializer/tests/instantiate.test.js Outdated Show resolved Hide resolved
@z3dev
Copy link
Member Author

z3dev commented Dec 17, 2019

@kaosat-dev please merge

@kaosat-dev kaosat-dev merged commit 6cd6be1 into V2 Dec 17, 2019
@kaosat-dev kaosat-dev deleted the v2-stl-deserializer branch January 7, 2020 08:14
@kaosat-dev kaosat-dev mentioned this pull request Feb 10, 2020
58 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants