New Creation Workshop RPi Host

User avatar
PacManFan
Site Admin
Posts: 633
Joined: Sun Dec 01, 2013 11:44 am
Location: Ahead of the curve
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

New Creation Workshop RPi Host

Postby PacManFan » Fri Nov 07, 2014 1:22 pm

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

AndersonTa
Posts: 189
Joined: Mon Dec 09, 2013 4:28 pm
Location: Houston, TX
Contact:

Re: New Creation Workshop RPi Host

Postby AndersonTa » Fri Nov 07, 2014 6:49 pm

Very nice! Will give this a try this weekend.
@AndersonHTa

User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby PomeroyB » Fri Nov 07, 2014 8:09 pm

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!

User avatar
PacManFan
Site Admin
Posts: 633
Joined: Sun Dec 01, 2013 11:44 am
Location: Ahead of the curve
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby PacManFan » Fri Nov 07, 2014 10:29 pm


hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby hp_ » Sun Nov 09, 2014 9:26 am

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

User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby PomeroyB » Mon Nov 10, 2014 7:14 am

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!

User avatar
cncbasher
Posts: 54
Joined: Sun Nov 02, 2014 10:09 am
Location: uk
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby cncbasher » Mon Nov 10, 2014 8:36 am

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

User avatar
PomeroyB
Posts: 168
Joined: Thu Mar 27, 2014 9:51 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby PomeroyB » Mon Nov 10, 2014 10:08 am


hp_
Posts: 301
Joined: Tue Dec 24, 2013 10:25 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby hp_ » Mon Nov 10, 2014 7:51 pm

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

ergobot
Posts: 6
Joined: Wed Jan 14, 2015 2:11 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: New Creation Workshop RPi Host

Postby ergobot » Wed Jan 14, 2015 2:25 pm

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-Host

It is a solid rewrite of the very alpha version that some have used here.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable