Comments (9)
@nabsul please instruct me how did you hardcoded it so it started working !
@samchon please change the "npm install -g 3d-bin-packing" installation back to version 2.0.7 until 2.0.8 is stable !
I'm in urgent need of optimal solution for my dataset. Please help me figure out a way to run this mindblowing packer within next 30 hours :(
from packer.
I have resigned from the betterwaysystems
who ordered me to develop the 3d-bin-packing
. So I can't help you officially by updating this repository.
So I checked Well, the latest version of samchon
is 2.0.9-d. I can't understand the reason why the old version (2.0.9) is installed. To help you, I will change the version number from 2.0.9
to 2.0.10
.
from packer.
Thank You @samchon you're the best ! I could install "3d-bin-packing" but when i execute it there's a new problem... for executing... I took help from the instructions you gave to deadeye636 in issues...
What should I do ?
from packer.
Well, there's no problem for me. It seems your domain problem.
Below code ran correctly.:
https://gist.github.com/samchon/6de8ce3780de171fe399c05f472a5012
from packer.
It is again showing same error Sir, @samchon . If it's not working in Nodejs maybe with Visual Studio it will...
I'm sorry for all the trouble I'm causing to you Sir, but I'm extremely helpless right now and you are the only person who can help me.
Please post a step by step procedure for me assuming i have nothing installed on my system, not even your framework. That'll help me figure out problem faster and if everything goes well I might solve my problem before my last 19 hours run out !!
This is what I read at http://betterwaysystems.github.io/packer/api/ts/
However, if you want to install the C++ mode, you've to install Visual C++ Redistributable for Visual >Studio 2015. After the installation, execute release/cpp/Packer.exe. Then a cloud server deducting >packer solution will be opened. After running the cloud server, open release/ts/index.html.
You also can separate cloud server(C++) and clients(Web), let users to connect remote Packer server, >by editing ip address in release/ts/server.xml
https://www.microsoft.com/en-US/download/details.aspx?id=48145
release/cpp/Packer.exe
release/ts/index.html
release/ts/server.xml
But after installing Visual C++ Redistributable for Visual >Studio 2015, I'm stuck...
Where to find Packer.exe and other files ? I searched whole PC but it wasn't there...neither it is in your git zip file.
Where to place the cpp code file which they gave as sample?
How to compile and execute that file ?
Thank you once again.
from packer.
This is not a commercial solution that listening your all customization requirements. You'd better to learn the NodeJs or C++ first. Try the below method and if you want more customization option, then you must do it by yourself
Method
Create an empty folder and type below commands:
npm init
npm install --save 3d-bin-packing
After the npm initialization, make a index.js
file such below:
var fs = require("fs");
var samchon = require("samchon");
var library = samchon.library;
var pack = require("3d-bin-packing");
function main(inputPath, outputPath)
{
var input_str = fs.readFileSync(inputPath, "utf8");
var input_xml = new library.XML(input_str);
var packer = new pack.PackerForm();
packer.construct(input_xml);
var result = packer.optimize();
var output_str = result.toXML().toString();
fs.writeFileSync(outputPath, output_str, "utf8");
}
main(process.argv[2], process.argv[3]);
After the creation of the index.js
, type such command on the command line
node index input.xml output.xml
from packer.
@nabsul please instruct me how did you hardcoded it so it started working !
@sstajinder1 Sorry I didn't see your question till now, I must have missed the notification. I checked out the packer lib and edited package.json
.
Please help me figure out a way to run this mindblowing packer within next 30 hours :(
Oops :-(
from packer.
I don't know what happened to my posting. @sstajinder1 If your still looking for a solution let me know. @nabsul Thanks for tracking me down on twitter I responded there. If anybody else is interested I am going to be re-implementing this project as a normal Node.js module along with a bunch of other fixes. Let me know if thats something you would be interested in. I am happy to take just input on the project even if you don't feel you can help.
from packer.
If someone see TypeError: library.XML is not a constructor
, trying to run an example from samchon above, add __export(require("./library/XML"));
into ./node_modules/samchon/library.js. It helped me.
from packer.
Related Issues (17)
- Cant get it to work
- it.equal_to is not a function - NodeJS HOT 2
- Your API Have Bug HOT 1
- Invalid Estimate Price Logic
- Can we add weight parameter? HOT 1
- Can we add a "KeepFlat" parameter to items? HOT 2
- Where is release/browser/index.html?
- Hello.I cat not find release/cpp/Packer.exe.
- Packer crashes if an instance is larger than the largest wrapper HOT 8
- Weight consideration of each box HOT 2
- Can't get it to work HOT 5
- Standalone Boxologic project using Cmake HOT 8
- Compile TS- / JS Part HOT 5
- Get wrapper products in JSON format HOT 3
- Strange Result for same Data HOT 1
- Negativ Position in packing result HOT 1
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 packer.