Comments (2)
If you are in Visual Studio, there are two ways you can do this in your solution. The first is to bring the packing service project into your solution and then make a project reference to it in the project you want to use it in. From there you can instantiate the service directly. The other option is to build the service dll and reference that from your project. Similar concept. Does that help or would you like to see an example?
from 3dcontainerpacking.
Basically what you need to do is open a solution that has the ContainerPacking project and then build that project. That will create a dll for the service in the bin directory of that project folder (somewhere on your hard drive). Find that dll and copy it to a place that makes more sense for bundling it into your project. Then, with your project open in VS, right click on your project in solution explorer and choose Add Reference. From there you want to browse to the location of the dll and select it. The dll is now referenced in your project and you can use the classes in its namespace. The container packing dll will show up in the references list of your project. In the properties of that reference, be sure to set Copy Local to true so that the dll is copied to the output directory when you build your project. Hopefully all that makes sense. If anything is unclear, you could probably Google some of those terms to find a more comprehensive how-to online.
from 3dcontainerpacking.
Related Issues (20)
- How to run the app HOT 1
- Can you publish this lib as Nuget package HOT 2
- Bug + fix found in reference implementation HOT 3
- Restrict rotations of boxes and container
- Question: Find largest containers that fits inside volume HOT 2
- nuget update for fix HOT 1
- Pack all items - many available boxes HOT 1
- Algorithm not giving result HOT 2
- Container with already packed items HOT 1
- I would like to consult with you about the packing project
- Invalid layer index reference
- Run the algorithm on web
- Does putting heavy boxes first makes sense?
- Avoiding packing items at corners due to rounded corners of container
- How do you include padding? HOT 3
- How to modify the code so that items doesn't go above each other HOT 1
- When duplicating the cargo, 3x as many containers are created
- Dealing with floats.
- Bigger items first?
- Stackable / Unstackable settings
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 3dcontainerpacking.