Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
Solved! Go to Solution.
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
Keijo Buss - Is it possible for you to share the .obj file and confirm which Thingworx version you are using.
-Durgesh
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
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
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
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