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

Node x3d support #212

Merged
merged 4 commits into from
Jan 13, 2017
Merged

Node x3d support #212

merged 4 commits into from
Jan 13, 2017

Conversation

kaosat-dev
Copy link
Contributor

@kaosat-dev kaosat-dev commented Jan 7, 2017

This PR adds node.js support to export to X3D (you should be happy about this one @mtippett :)

  • x3d export works in browser and node (tested)
  •  added unit test as part of src/module.test.js

IMPORTANT : please merge this PR after #211

- added dependency
- modified CSGToX3d module to work both in browser & node
- updated tests
@kaosat-dev kaosat-dev changed the base branch from master to dev January 7, 2017 08:08
@kaosat-dev kaosat-dev mentioned this pull request Jan 8, 2017
@kaosat-dev kaosat-dev force-pushed the node-x3d-support branch 2 times, most recently from 1f2a50d to 678cfa7 Compare January 9, 2017 12:58
@z3dev
Copy link
Member

z3dev commented Jan 11, 2017

Why DOM? Why not reuse the SAX library? Just wondering...

@kaosat-dev
Copy link
Contributor Author

SAX is just a parser , not a writer, and I used xmldom because it is the same api as in the browser ☺

@z3dev z3dev merged commit 3871b49 into jscad:dev Jan 13, 2017
kaosat-dev pushed a commit that referenced this pull request Mar 12, 2019
Enhancements for exporting X3D from NODEJS based scripts.
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