Giter Site home page Giter Site logo

Comments (12)

dharani811 avatar dharani811 commented on June 19, 2024 1

@fel88 : Here is my version of Nesting that currently am developing.

https://github.com/dharani811/NestingCShaprt

from deepnestport.

petrasvestartas avatar petrasvestartas commented on June 19, 2024 1

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.

petrasvestartas avatar petrasvestartas commented on June 19, 2024

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.

fel88 avatar fel88 commented on June 19, 2024

@dharani811 , try to simplify compile command and then recompile dll

cl /Ox -I <boost_1.62_path> /LD minkowski.cc

from deepnestport.

fel88 avatar fel88 commented on June 19, 2024

@petrasvestartas ,

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?

image

from deepnestport.

petrasvestartas avatar petrasvestartas commented on June 19, 2024

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.

fel88 avatar fel88 commented on June 19, 2024

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.

petrasvestartas avatar petrasvestartas commented on June 19, 2024

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.

fel88 avatar fel88 commented on June 19, 2024

Ok, glad to help.

from deepnestport.

dharani811 avatar dharani811 commented on June 19, 2024

@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.

fel88 avatar fel88 commented on June 19, 2024

Thank @Jack000 for his great project. My code is just line-by-line translation :)

from deepnestport.

fel88 avatar fel88 commented on June 19, 2024

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'
image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.