Skip to main content
1-Visitor
June 2, 2020
Question

.pvz Model is displayed without a tree structure

  • June 2, 2020
  • 3 replies
  • 6554 views
Hello everybody,

when I upload my models in Vuforia Studio, the tree structure is removed, so that theoretically I have to select all model elements individually with the model item widget.
Is there a possibility that the tree structure of the 3D model will be adopted directly?

Many thanks and best regards 
Marcel

3 replies

21-Topaz I
June 2, 2020

Hi @MJ3010 ,

regarding your questions, for me is not clear what of structure you  mean ans where you expect to see it.

Depending on source system you used for the model creation the model could be an assembly with structure /assembly, subassembly components in different levels/ but also it could be only the geometry or the geometry surfaces. Also it depends on the format what you  use to export and import in studio. It could or could not contain the format. The most format Creo native files, pvz (native studio -+Creo View and Illustrate) contains implosively the structure  but some format as STL could be geometry only.

Therefore we need to clarify – where you import the model / source authoring /cad system  and what is the format what you used to import it to studio

The next important point we need to clarify, how do you decided that there is no structure- what is the appearance where you think that the structure was lost.

Also, another question is what you expect to see?

For example one test you can do:

Start you experience in preview and  press Strg +Shift +I - Keys to go in crome debuging mode and simple move the cursor about the model and click different components. What is the printing then?

Here an example:

2020-06-02_16-50-27.jpg

So in the console we can see different occurance printing (means component Path Id)

MJ30101-VisitorAuthor
1-Visitor
June 4, 2020

Hi @RolandRaytchev ,

Thanks for the answer.

I would like to describe the starting situation with more detail. The models are created with Creo and saved in a .pvz file. These files are used to create AR Experience.

One idea is to make certain elements invisible or transparent. But that affects a lot of model elements. By uploading the .pvz file, the tree structure with components and sub-groups of the entire model unfortunately disappears, as you can see in the first photo. I only get a little structure if I select the indiviual model elements with the modelItem-widget (picture 2).

comunity.PNG

It is very tough to select the many model elements individually with the ModelItem-widget and so my question is whether there is a possibility that the components and substructures from Creo will be adopted.

Thank you very much

Best regards

Marcel

21-Topaz I
June 4, 2020

Hi @MJ3010 ,

my first point is to remember that Studio  is a different system / implemented in the Thingview plug in (Three.js) which has not direct relation to the Creo Product family (Creo View , Parametric Simulate).Therefore we can not find some things what we usually have in Creo. One thing is the model tree. So In Creo parametric but also in Creo view we have a model tree where we can select directly components in the structure and change property and their visibility.

…But because it is  compatible and the native format is  the pvz which is light parametric format – therefore we have all information but we need some code to perform such task.

Therefore could you explain based on Creo Parametric what are the step what you intent do.

What is you input:

Example

Table containing component path – this corresponds to the occurrence parameter in the modelitem widget.

Let say in modelTree of Creo paramedic you want to display a component  with id’s  12-3-14 which is an subassembly – in this case you could define a modelItem with the occurrence path  12/3/14 and simple display it . But this will work only if:

-you model was directly imported form Creo Parametric – it was not edited by Creo Illustrate -unfortunately Creo Illustrate will change the Creo Component path. In this case the occurrence path does not match the Creo Parametric component path

- there is no currently a sequence set / based on Illustrate figure– which override

Therefore again what is you input – will be good to provide some data / it could be simple / to show the general approach – where you can explain on this structure what you want to blank , show  - how you will describe this in Creo parametric  based on the Creo assembly  (for example list id’s or etc.)

-

1-Visitor
January 18, 2021

here we need to understand the creo and vuforia studio platform these two software work differently. Tree structure in creo parametric (parts and subassembly) can not be viewd in vuforia studio as of now. you can only add model items to separte the parts from assembly in studio

21-Topaz I
January 18, 2021

Yes and NO.

Yes - agree that they are different and could not be compared directly. The one is design tool and Vuforia help us for the  visualization of the assembly in the reals word.

no - means in the meantime we have information about the component structure as json file to the pvz file when we imported the data with the option including metadata. This means we can request information about the component and parameters and we can move and rotate the components via setting of properties and javaScript. The movements used the same reference as they are design in the Creo Parametric assembly.

Here in this case so far understood the requirement of the original question the data is coming directly form Creo Parametric means the data is converted to PVZ and is not changed by Creo Illustrate.

In this case we have absolutely the same model Tree when we consider the component Paths and we will have additional information part names and Creo Parameters.. Ok we have not a tool which could display the Creo Parametric Element tree but with some programing work we can implement et least some UI to display the list in similar manner as in Creo parametric

14-Alexandrite
January 19, 2021

An UI showing the structure would be a very helpful feature.

 

+1 

15-Moonstone
May 2, 2022

Have you figured this out, yet? Cause I have a solution that I don't mind sharing

14-Alexandrite
May 3, 2022

It would b great and very helpful for other users, if you share your example.

 

Thanks in advance!

 

Marco