cancel
Showing results for 
Search instead for 
Did you mean: 

geom simple example in JTopen 8.5

Genius
Genius

I'm new to the JTOpen format and I am working with the Geom_simple example in the JTOpen toolkit 8.5 and I am using MS Visual Studio 2013.

 

How can I view the .obj files that are outputted? No JT files were outputted when I compiled the code. I tried to use Meshlab but it stated that "No vertex" was found

 

Below are my steps and attached is the log file

 

1. Opened the project file "geometry_VS2013.vcxproj" with MS Visual Studio 2013

2. Right-clicked on the geometry project file and clicked "Build". Note: I had to grant administrator rights to my JTOpen folder for some reason.

 

3. There were two .obj files that were outputted. "geom.obj" and "main.obj". I tried to use MeshLab to open them but I got the error message "No vertex" was found.

 

My user environment variables are below

 

 

JTTK_DEV_PATH=C:\Program Files (x86)\Siemens\JTOpenToolkit\8_5\dev
JTTK_DEV_PLATFORM= 64_VS2013
JTUTILITIES_PLATFORM= 64_VS2013

 

 

Out of curiousity, has anyone worked with the JTopen toolkit on a Mac? I was thinking of using CLion. https://www.jetbrains.com/clion/?fromMenu

 

Note: For each example's "main.cpp", insert the <Sold_To_ID>:

 

JtkEntityFactory::registerCustomer( <Sold_To_ID> );

 

 https://docs.plm.automation.siemens.com/tdoc/jt2go/11.2.2/help/#uid:index_jt2go

 

1 REPLY

Re: geom simple example in JTopen 8.5

Genius
Genius

Thanks to @AmyWebster, I was able to resolve the issue

 

1. In the "License" example, uncomment the following line. Note: Use your sold-to ID (not your JT toolkit license key) and take off the zeros at the beginning! So if your sold-to ID is 0001234567, take off those 3 zeros at the beginning like so.

 

JtkEntityFactory::registerCustomer(1234567);

2. Build your solution

3. Open up the project file for your example. For the "Geometry Simple" example, it would be "geometry_VS2013.vcxproj"

 

4. In "main.cpp" for the "Geometry simple" example, uncomment the following line

JtkEntityFactory::registerCustomer(1234567);

5. Build your solution. Note: Click on properties and make sure you are configured for the x64 platform

 

 

 

6. If there are no errors in your code, then an executable (.exe) should now be there. 

7. Run the .exe and your JT file should be generated!

What is JT?

JT is the World’s Most Widely Used 3D File Format for PLM

JT is the common language of PLM and is the world’s most widely used 3D format. JT is the first ISO International Standard ( IS 14306-1) for 3D visualization and collaboration. Compact and accurate, JT is used throughout the product development lifecycle in all major industries to communicate the critical design information typically locked up inside a CAD file.

Siemens PLM Software customers rely on JT to be the most robust 3D visualization format available.

JT Open Factsheet
JT Open Member Resources
JT Open Documentation Technology
JT Open File Format Technology
JT Open Toolkit

Downloadable viewers for Windows Desktop, Windows 10 Universal App, Android and iOS.


Download JT2Go for your platform today Download JT2Go Desktop 64 Bit all languages
Download JT2Go Desktop 32 Bit for English
Windows 10 JT2Go Universal App
Android JT2Go
iOS JT2Go