cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

3D Model Viewer Extension

kbuss
6-Contributor

3D Model Viewer Extension

Hi,

has anybody experience with the 3D Model Viewer Extension (Three Model Viewer Widget)?

I am trying to open and view a .obj file, but I am not sure how the ModelURL property has to be formatted and where the .obj file has to be located.

So nothing shows up but there is also no exception.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Hi there, 

better to point the url to a custom FileRepository like this. 

C:\ThingworxStorage\repository\FileRepository\<3DFilename.Format>

In 3D Model Viewer Widget
URL: http://localhost:8080/Thingworx/FileRepositories/FileRepository/<3DFilename>
ModelType: <Type> like pvz oder 3mf

Kind regards, 

Erik Schmidt / inray Industriesoftware

View solution in original post

8 REPLIES 8
dupatel
19-Tanzanite
(To:kbuss)

Keijo Buss​ - Is it possible for you to share the .obj file and confirm which Thingworx version you are using.

-Durgesh

liliu
8-Gravel
(To:kbuss)

Hi Keijo,

I used to try with 3D model viewer extension but failed, even the URL is right. One of my user tried and failed too. Seems the extension has some issue.

But this extension is from ThingWorx Lab, which is not supported by PTC. We cannot check about its source code.

I suggest to use WindChill extension. As far as I know, there is a widget named CreoView after you installed WindChill extension. And this widget can display 3D models.

Lily

AnnaAn
13-Aquamarine
(To:kbuss)

Dear Keijo,

Did you get your answer? Or do you get any hint from the answer ​ or Durgesh Patel provided? If yes please mark her answer as Correct or Mark it as Helpful.

Thank you,

Br,

Anna

placatus
5-Regular Member
(To:kbuss)

Hey Keijo,

I'm the original developer of the extension.

The extension is capable of opening various model files. The modelUrl property should point to the obj file that you want to view. For example, if your file is at http://example.com/myobjfile.obj, then you would write http://example.com/myobjfile.obj for that property.

Another way of doing it is to add your obj file as a MediaEntity. Then the link should look like this: /Thingworx/MediaEntities/MY_MEDIA_ENTITY.OBJ

Hi Petrisor,

How do you create a MediaEntity of type "obj" ?

I see only images are allowed as MediaEntity.

Thanks

Sneha

how to upload a file .obj in media entity if only accept image file

Hi there, 

better to point the url to a custom FileRepository like this. 

C:\ThingworxStorage\repository\FileRepository\<3DFilename.Format>

In 3D Model Viewer Widget
URL: http://localhost:8080/Thingworx/FileRepositories/FileRepository/<3DFilename>
ModelType: <Type> like pvz oder 3mf

Kind regards, 

Erik Schmidt / inray Industriesoftware

slangley
23-Emerald II
(To:Erik25)

Hi @kbuss.

 

If one of the previous responses to your post provided the solution, please mark it as the Accepted Solution for the benefit of others who may have the same question.

 

Regards.

 

--Sharon

Top Tags