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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

3D Model Viewer Extension

kbuss
10-Marble

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

ACCEPTED SOLUTION

Accepted Solutions
Erik25
12-Amethyst
(To:emmanuel001)

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
12-Amethyst
(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
14-Alexandrite
(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

Erik25
12-Amethyst
(To:emmanuel001)

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

Announcements


Top Tags