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

NP-310 wasm bindings #21

Merged
merged 52 commits into from
Aug 14, 2024
Merged

NP-310 wasm bindings #21

merged 52 commits into from
Aug 14, 2024

Conversation

sedwards2009
Copy link
Contributor

No description provided.

jellespijker and others added 4 commits February 24, 2024 18:05
A new feature has been added to provide JavaScript bindings using Emscripten.
This includes changes in the Conan package settings and CMake settings, along with the creation of jsDulcificum.cpp file for the actual bindings. Extra precautions have been taken to only use threads when not targeting Emscripten.
The package settings were also updated to handle situations when python bindings are required. Files necessary for Emscripten are copied appropriately during the build process.

Contributes to NP-76
Changed the TypeScript definition file name from "dulcificum.d.ts" to "jsdulcificum.d.ts" in the CMakeLists. This update will ensure that naming conventions are consistent across the project.

Contributes to NP-76
Removed the standalone CMakeList for jsDulcificum and incorporated it into the main CMakeLists file, streamlining the build process
 Also updated the binding of the gcode_2_miracle_jtp function in jsDulcificum.cpp to ensure the correct function is called.

 Contributes to NP-76
Copy link
Member

@jellespijker jellespijker left a comment

Choose a reason for hiding this comment

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

It looks good overall, some remarks about naming. I think we should keep the naming scheme consistent and use the same scheme as CuraSettingsJS CuraEngineJS etc

jsDulcificum/cpp/jsDulcificum.cpp Outdated Show resolved Hide resolved
jsDulcificum/package.json Outdated Show resolved Hide resolved
saumyaj3 added 14 commits August 1, 2024 17:09
Updated workflow files and CMakeLists.txt to reflect the new naming convention.

NP-76
Updated package.json scripts and imports in index.ts to use the new file name. Added a new CMakeLists.txt for DulcificumJS and reorganized the main CMakeLists.txt accordingly.

NP-76
Adjusted `copy:js` script to use `mkdir` and `cp` instead of Windows-specific commands. Updated Conan package reference in GitHub workflow to the correct repository.

NP-76
NP-76
@saumyaj3 saumyaj3 marked this pull request as ready for review August 12, 2024 13:14
@saumyaj3 saumyaj3 marked this pull request as draft August 13, 2024 07:44
@saumyaj3 saumyaj3 marked this pull request as ready for review August 13, 2024 11:33
DulcificumJS/package.json Outdated Show resolved Hide resolved
@HellAholic HellAholic merged commit 3894fea into main Aug 14, 2024
7 checks passed
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.

5 participants