[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run? #1

Open
vikingee opened this issue May 1, 2019 · 5 comments
Open

How to run? #1

vikingee opened this issue May 1, 2019 · 5 comments

Comments

@vikingee
Copy link
vikingee commented May 1, 2019

How to run this application?
Could you give an example?

@whitegreen
Copy link
Owner

Hi, vikingee

There is TestMultiSheets1b.java as an example. It uses an external library core.jar (https://processing.org) for displaying the 3D shapes.

You can replace the data in
double[][][] randompolys; //the input polygons
with the data of the polygons that you want to pack.

best
Hua

@whitegreen
Copy link
Owner

To input cad drawing, you may use https://github.com/whitegreen/Import-DXF

@Cfouria
Copy link
Cfouria commented Apr 29, 2020

I cant get it to run
javac -cp '.:processing.core.jar:pack.core.jar' TestMultiSheets1b.java

TestMultiSheets1b.java:9: error: package processing.core does not exist
import processing.core.PApplet;
[ @ Dalsoo-Bin-Packing]$ ls *
dalsoo.jar  LICENSE  multiple.png  README.md  single.png  TestMultiSheets1b.java

pack:
Convex.java  core.jar  M.java  Pack.java  Strip.java

processing:
core.jar

@whitegreen
Copy link
Owner

Dear friend, I suppose you need core.jar (a third part library for visualization) to run the example. I uploaded core.jar today.

@Cfouria
Copy link
Cfouria commented May 12, 2020

thank you! The core.jar I found seems to be different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants