![deepnest next](https://private-user-images.githubusercontent.com/1674289/396223055-0f24f4c9-d1af-4db5-9570-37c89b42cdfa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjA0MDMsIm5iZiI6MTczOTMyMDEwMywicGF0aCI6Ii8xNjc0Mjg5LzM5NjIyMzA1NS0wZjI0ZjRjOS1kMWFmLTRkYjUtOTU3MC0zN2M4OWI0MmNkZmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDAyODIzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGY4NTMwYjE2NTE4NDJkNzM1MTIzODg2NmEyNmQwMzJiMWVlOWY2ZjVkNTkxNWM1MDNiMmM1ZDU2M2U3YjhlOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IKASi19UNWUjl6mI1FS7qJ-gbcxRvA7w7_IyhLBKvbs)
A fast nesting tool for laser cutters and other CNC tools
deepnest is a desktop application originally based on SVGNest
- New nesting engine with speed critical code written in C
- Merges common lines for laser cuts
- Support for DXF files (via conversion)
- New path approximation feature for highly complex parts
The primary goal has been to get deepnest buildable again, which has been achieved. Now I'm going to fix the bugs, that are reported origin to deepnest-io/Deepnest and other forks.
- Node 20+: Node.js. You can use the Node Version Manager (nvm):
- nvm-windows to download Node and change versions.
- Python 3.7.9 and up You can use the Python Version Manager (pyenv):
- pyenv-win to download and change versions.
- Visual Studio with Desktop Development with C++ extension
- Install VS2022 from https://visualstudio.microsoft.com/vs/features/cplusplus/
- or, as an administrator via
npm install --global windows-build-tools
(older VS version)
For ubuntu (or when you're not sure how to build) look at the build workflow:
https://github.com/deepnest-next/deepnest/blob/main/.github/workflows/build.yml#L28
- On Windows 10 1905 or newer, you might need to disable the built-in Python launcher via
- Start > "Manage App Execution Aliases" and turning off the "App Installer" aliases for Python"
- close-and-open all command shells and your IDE to activate the latest setup
git clone https://github.com/deepnest-next/deepnest
cd deepnest
npm install
npm run build
npm run start
# If you change the electron-related files (web files, javascript), a build with
npm run build
# If you change the the Minkowski files (the `.cc` or `.h` files):
npm run build-all
npm run start
npm run clean && npm run build
# full clean, incl. `node_modules`
npm run clean-all && npm install && npm run build
npm run dist
# During development, you can combine `clean-all, build-all and dist` via:
npm run dist-all
The resulting files will be located in .\deepnest-<version>-win32-x64
.
Create a zip file of this folder for a simple distribution.
If the environment variable "deepnest_debug" has a value of "1", deepnest will open the browser dev tools (debugger/inspector).
The main license is the MIT.
Further Licenses:
- https://github.com/Jack000/SVGnest (Academic Work References)
- https://github.com/Jack000/Deepnest