Comments (12)
@fel88 : Here is my version of Nesting that currently am developing.
https://github.com/dharani811/NestingCShaprt
from deepnestport.
Dear @fel88
I uploaded Rhino implementation and posted the link of your repository in my github page since the code is made by you and I just implemented it in Rhino:
https://github.com/petrasvestartas/OpenNest
I would like to ask if there any way to nest not to rectangle shape but arbitrary polyline?
And is there a possibility to nest objects with holes?
from deepnestport.
I just installed fresh copy of DeepNestPort library another computer, on my own it works perfectly, but on another that has totally the same architecture and produces an error:
Solution exception:An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
I believe it simply cannot find minkowski.dll
What can cause this problem?
Would it work on computers that has no boost and no visual studio installed (I assume all functions of boost are placed within minkowski.dll)?
from deepnestport.
@dharani811 , try to simplify compile command and then recompile dll
cl /Ox -I <boost_1.62_path> /LD minkowski.cc
from deepnestport.
Would it work on computers that has no boost and no visual studio installed (I assume all functions of boost are placed within minkowski.dll)?
Yes, it would work. Boost and Visual studio are not required (.NET 4.0 only or higher).
Did you switch platrofrm target of all (DeepNestPort, MinkowskiWrapper, DeepNestLib) visual studio projects to x64?
from deepnestport.
Yes it is all x64, the only thing that is different is the .net framework which is 4.5, I will try to lower it to 4.0
from deepnestport.
Actually, I think you don't need to downgrade the .net framework.
Can you give me zip archive with your files (where exception appear)?
from deepnestport.
Solved it. It was not minkowski.dll and not even the library as console application was running well on three computers. There was a stupid option marked on Rhino Software that does not allow to load unsafe native code. Now it runs perfectly. I will upload the project to GitHub so it would be easier to communicate and post direct link to this repository. This library is so good... Thank you.
from deepnestport.
Ok, glad to help.
from deepnestport.
@dharani811 , try to simplify compile command and then recompile dll
cl /Ox -I <boost_1.62_path> /LD minkowski.cc
@fel88 : It worked, Though there are few bugs but compared to my project this is awesome.Anyhow i will share my work here once i upload to github. Once again thank you and much appreciated.
from deepnestport.
Thank @Jack000 for his great project. My code is just line-by-line translation :)
from deepnestport.
I would like to ask if there any way to nest not to rectangle shape but arbitrary polyline?
Yes, it is possible (but there are some bugs now). Just add not rectangle part and then choose 'move to sheets'
And is there a possibility to nest objects with holes?
Yes. But my svg files are without holes.
I'll add svg samples with holes and fix bugs about not rectangle shapes soon.
from deepnestport.
Related Issues (20)
- Accepting DXF as input HOT 11
- 'minkowski.cc': No such file or directory HOT 4
- Random gaps between items HOT 19
- System.badimageformatexception in minkowski DLL HOT 3
- Instructions on running / building DeepNestPort HOT 3
- Support of path elements HOT 1
- Stuffing _7.dxf with _12.dxf HOT 7
- Export to SVG flipped the paths, polygons, etc. Is there a reason? HOT 2
- Need to know steps to run this project HOT 7
- Exception from HRESULT: 0x8007000B HOT 4
- Save / load nest HOT 5
- Correct usage? HOT 2
- Problem nesting different shapes HOT 12
- Add a hole in NFP HOT 15
- Random with constant seed so that results stays the same HOT 12
- Best fitness result NaN HOT 6
- What work is still remaining? HOT 5
- Conversion of mergedLength to C# HOT 3
- Compiling boost for Mac HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepnestport.