Skip to main content
1-Visitor
March 9, 2017
Solved

3D Model Viewer Extension

  • March 9, 2017
  • 4 replies
  • 6379 views

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

Best answer by Erik25

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

4 replies

5-Regular Member
March 10, 2017

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

-Durgesh

5-Regular Member
March 10, 2017

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

14-Alexandrite
April 7, 2017

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

5-Regular Member
May 15, 2017

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

1-Visitor
January 15, 2018

Hi Petrisor,

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

I see only images are allowed as MediaEntity.

Thanks

Sneha