Hi IT expert,
I want to load JT file and export 3D PDF file. Since JReality doesn't support any JT format, I have tried this library
https://code.google.com/p/jt-java/downl ... -0.7.1.zip
public static void main(String[] args) throws Exception {
// register the reader class for the JT-format
Readers.registerReader("JT", JTReader.class);
// register the file ending .jt for files containing JT-format data
Readers.registerFileEndings("JT", "jt");
String inputFile = "C:\\TCBackup\\Test_Data\\JT\\others\\bnc.jt";
String outputFile = inputFile + ".pdf";
URL fileUrl = new File(inputFile).toURI().toURL();
SceneGraphComponent content = Readers.read(new File(inputFile));
(new WriterPDF()).writeScene(new JrScene(content), new FileOutputStream(outputFile));
stream2.close();
}
This program is working only for some JT format and there are many bugs, it seems like the library is stopped to be developed in 2012.
My request is, can JReality provide a stable JT Reader?
Thank you very much!
Paul
JT Reader is requested
Re: JT Reader is requested
There are now plans yet, but I see, that catia and siemensnx CAD-Software are using this Geometry-format. If I find time for it I start working on it. Can you provide any geometry-examples (jt-files) which I can test.
best
Andre
best
Andre
Re: JT Reader is requested
Hi Andre,
sorry for the late reply, because I didn't get any notification that my post is answered. You are right, JT is a neutral 3D format for industry and it is very popular nowadays. So many companies are using it.
The JT files can be viewed in JT2GO software:
http://www.plm.automation.siemens.com/d ... ion/jt2go/
JT files can be downloaded here
http://www.plm.automation.siemens.com/j ... case.shtml
sorry for the late reply, because I didn't get any notification that my post is answered. You are right, JT is a neutral 3D format for industry and it is very popular nowadays. So many companies are using it.
The JT files can be viewed in JT2GO software:
http://www.plm.automation.siemens.com/d ... ion/jt2go/
JT files can be downloaded here
http://www.plm.automation.siemens.com/j ... case.shtml
Re: JT Reader is requested
last time I have uploaded JT file, do you have any further steps? Thanks
Re: JT Reader is requested
I hope I will find some time next week for implementing a jt-reader.
best
Andre
best
Andre