JT Reader is requested

Something missing?
Post Reply
fatbird
Posts: 3
Joined: Sun 8. Nov 2015, 15:06

JT Reader is requested

Post by fatbird » Sun 8. Nov 2015, 15:12

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

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: JT Reader is requested

Post by Andre » Wed 25. Nov 2015, 12:54

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

fatbird
Posts: 3
Joined: Sun 8. Nov 2015, 15:06

Re: JT Reader is requested

Post by fatbird » Mon 14. Dec 2015, 11:06

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

fatbird
Posts: 3
Joined: Sun 8. Nov 2015, 15:06

Re: JT Reader is requested

Post by fatbird » Fri 22. Jan 2016, 01:37

last time I have uploaded JT file, do you have any further steps? Thanks

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: JT Reader is requested

Post by Andre » Tue 8. Mar 2016, 18:07

I hope I will find some time next week for implementing a jt-reader.

best
Andre

Post Reply