Page 1 of 4
New Creation Workshop RPi Host
Posted: Fri Nov 07, 2014 1:22 pm
by PacManFan
Many thanks go to Sean O'Bryan for starting a new lightweight Rpi Host controller for Creation Workshop:
This program can take a CWS file that has been sliced on Creation Workshop and run the SLA/DLP printer.
More details are coming soon.
We're still looking for Java Developers who can help contribute, but the project is already in a working stage. Review the readme's for setup and installation, there is a jar distro coming soon.
-Steve
Re: New Creation Workshop RPi Host
Posted: Fri Nov 07, 2014 6:49 pm
by AndersonTa
Very nice! Will give this a try this weekend.
Re: New Creation Workshop RPi Host
Posted: Fri Nov 07, 2014 8:09 pm
by PomeroyB
OooooOOOoOo, I like it!
It's been years since I played around in Java, but I've got an extra Pi laying around, so I may have to pick it back up!
Re: New Creation Workshop RPi Host
Posted: Fri Nov 07, 2014 10:29 pm
by PacManFan
Re: New Creation Workshop RPi Host
Posted: Sun Nov 09, 2014 9:26 am
by hp_
Hi,
i've been trying to compile the code but getting the following errors when compiling in Eclipse.
Caused by: java.lang.ClassNotFoundException: net.resinprinter.host.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:285)
i have added the correct line to the goals: exec:java
and VM parameters
-Djava.library.path=/usr/lib/jni -cp /usr/share/java/RXTXcomm.jar
does anyone know why i am seeing this?
btw i'm also planning to share my VMware image once i've got the code compiling.
cheers,
hp
Re: New Creation Workshop RPi Host
Posted: Mon Nov 10, 2014 7:14 am
by PomeroyB
I'm not sure if I got mine working... I'm on a Windows machine, and it looks like the developerReadme is for a linux machine.
I successfully compile, and get a white screen when it runs. Still trying to get it running on a Pi, but I think I'm halfway there!
Re: New Creation Workshop RPi Host
Posted: Mon Nov 10, 2014 8:36 am
by cncbasher
as this is meant fro a Pi then the underlying code is Linux . so probably would take some refactoring to run on windows etc
is everyone using windows . and a Pi , seems to be a few options floating around , whats needed ? , where's the gap that needs filling etc
Re: New Creation Workshop RPi Host
Posted: Mon Nov 10, 2014 10:08 am
by PomeroyB
Re: New Creation Workshop RPi Host
Posted: Mon Nov 10, 2014 7:51 pm
by hp_
i've got it working now.. from command line
I had to install java 8 also..
mvn eclipse:eclipse
mvn package
mvn clean compile assembly:single
but i also had to add 2 things to the pom file
the rxtx
<dependency>
<groupId>org.rxtx</groupId>
<artifactId>rxtx</artifactId>
<version>2.1.7</version>
</dependency>
and the maven-assembly-plugin..
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>net.resinprinter.host.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
here is the size of my jar file now... is it comparable with you guys?
12032308 Nov 10 18:40 ResinPrinterHost-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Re: New Creation Workshop RPi Host
Posted: Wed Jan 14, 2015 2:25 pm
by ergobot
Yes, actively working on a rpi controller.
Getting it stable this week (exciting stuff!).
Will make a thread when ready.
For those interested taking a look:
https://github.com/area515/Creation-Workshop-HostIt is a solid rewrite of the very alpha version that some have used here.