This fork was created to Add Dxf import and export support from the commandline.
Now using IXMilia Dxf Under (Apache License 2.0)
DeepNest C# Port (https://github.com/Jack000/Deepnest)
Project progress: 80%
- Replace <boost_1.62_path> with your real BOOST (1.62) path in compile.bat
Example:
cl /Ox ..... -I "C:\boost_1_62_0" /LD minkowski.cc
- Run compile.bat using Developer Command Prompt for Visual Studio
- Copy minkowski.dll to DeepNestPort.exe folder
- Upgrade all projects to .NET 5 to support cross platform compilation (Tested in Windows and Linux). The GUI project can only be used in Windows.
- Added Cmake to easily compile Minkowski on different platforms
- Support importing/exporting DXF files directly from the command line (imported dxf geometry is overly simplified at the moment)
- Install .NET 5 SDK
- Install Cmake
- Install Boost, preferably use
sudo apt install libboost-all-dev
cd DeepNestPort
dotnet build ./DeepNestConsole/DeepNestConsole.csproj --runtime ubuntu.20.04-x64 --configuration Release
Replace ubuntu.20.04-x64 with the specific linux distribution.cmake .
make
cp Minkowski/libMinkowski.so DeepNestConsole/bin/Release/net5.0/ubuntu.20.04-x64/libMinkowski.so