Talk:PCB Milling

From RepRap
Revision as of 18:01, 29 August 2013 by Traumflug (talk | contribs) (PCB->G-code, new tool)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

visolate install

Unfortunately, I (Traumflug) couldn't get this to work:

> java -jar visolate-2.1.6.jar 
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/WakeupCriterion
Visolate requires libraries from the java3d project in order to work properly. Precompiled jars, installers and source code are available from - Xsainnz 12:31, 23 October 2010

Thanks a lot, Xsainnz. Could you elaborate on which libraries are needed. And also, how to do this without installers, because on packaging-based Linux's using installers is a bit a no-no. Traumflug 16:21, 23 October 2010 (UTC)

Not to forget: java-3d is installed here, so this is probably an incompatibility with 64-bit Linux/Ubuntu. Traumflug 16:25, 23 October 2010 (UTC)

There are installers and zip binaries for multiple system on the downloads page have you tried the one for your system?
How do you know java-3d is installed and working? - Xsainnz 07:57, 24 October 2010 (UTC)

I assume java-3d is working, because I've installed it via the (hopefully) appropriate Ubuntu package and RepRap host works as well. Traumflug 09:54, 24 October 2010 (UTC)

I borrowed a friends 64bit laptop, so I've been able to get visolate to work on Ubuntu 10.10 (64bit).
I have also been able to replicate the error you reported.
The error message you posted indicates that java cannot find the j3d libs.
The easiest method was to installing j3d with the synaptic package manager (libjava3d-java, libjava3d-jni & libvecmath-java)
Alternately you can manually download "" from Java 3D Downloads
Extract the zip to somewhere convenient, then extract the contained zip (
We will assume (for now) that java can find the shared object (".so") file/s as you have said you have the Reprap host installed and working
inside the "lib/ext" folder you just extracted should be three jars (j3dcore.jar j3dutils.jar & vecmath.jar)
Copy the three jars to the JRE external library folder, on the 64bit system this was "/usr/lib/jvm/java-6-openjdk/jre/lib/ext" the 32bit Ubuntu jvm was sun java so the path was slightly different
Try running the visolate jar again. Any luck? --Xsainnz 13:57, 27 October 2010 (UTC)

Thanks a lot for the help, Xsainnz. I hope I can find the time to try this soon - it's not forgotten. Traumflug 07:30, 29 October 2010 (UTC)

OK, so I finally found the time to try again:

sudo apt-get install --no-install-recommends libjava3d-java libjava3d-jni libvecmath-java
sudo update-java-alternatives -s java-6-sun
sudo ln -s /usr/share/java/j3dcore.jar /usr/lib/jvm/java-6-sun/jre/lib/ext
sudo ln -s /usr/share/java/j3dutils.jar /usr/lib/jvm/java-6-sun/jre/lib/ext
sudo ln -s /usr/share/java/vecmath.jar /usr/lib/jvm/java-6-sun/jre/lib/ext
sudo ln -s /usr/lib/jni/ /usr/lib/jvm/java-6-sun/jre/lib/ext/
java -jar visolate-2.1.6.jar

as well as:

sudo apt-get install --no-install-recommends libjava3d-java libjava3d-jni libvecmath-java
sudo update-java-alternatives -s java-6-openjdk
sudo ln -s /usr/share/java/j3dcore.jar /usr/lib/jvm/java-6-openjdk/jre/lib/ext
sudo ln -s /usr/share/java/j3dutils.jar /usr/lib/jvm/java-6-openjdk/jre/lib/ext
sudo ln -s /usr/share/java/vecmath.jar /usr/lib/jvm/java-6-openjdk/jre/lib/ext
java -jar visolate-2.1.6.jar

the error is both times the same:

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007f4da985d12e, pid=17619, tid=139971522557696
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.1-b03 mixed mode linux-amd64 )
# Problematic frame:
# C  []  XF86DRIQueryVersion+0xae
# ...

Java is really a nightmare *sigh* Thanks anyways, Xsainnz, at least I got beyond the NoClass error. Traumflug 21:10, 3 December 2010 (UTC)

BTW:, currently neither visolate nor Blender, Meshlab or RepRap Host run. All with the same libGL error. Traumflug 20:43, 4 December 2010 (UTC)

Got it to work, finally. EMC2 had installed fglrx (nVidia graphics drivers) as a dependency and this is incompatible with Intel graphics drivers. Updated the main page. Traumflug 00:32, 5 December 2010 (UTC)

PCB->G-code, new tool

Hi! I apologize if this is not the right place, and please just delete this if it isn't. Could you add http:/ / to the list of tools for PCB to G-code generation?

Best regards, Paul

I could, but I won't. You can edit this yourself :-) --Traumflug 21:52, 29 August 2013 (UTC)
BTW., this tool looks nice, but where's the source? --Traumflug 22:01, 29 August 2013 (UTC)