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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Control 3D Model position and scale dynamically

Velkumar
18-Opal

Control 3D Model position and scale dynamically

Hello all,

 

I'm using spatial Target to load model dynamically. When I select some model, position and scale of the model varying dynamically.

 

Can any one help me to control this.

 

PFA for reference.

 

In PNG 1, 3D Model is loaded on top of target. When I select another like in PNG 2, it is placed somewhere else.

 

1 REPLY 1

Check the scaling and position (coordinate system) of your original CAD models. Vuforia will use that information to display the models, so, for example, if your CAD model is positioned at (100,100,0), then Vuforia will position it in that location.

 

There are ways to fix this in Creo Illustrate, but it can be tricky with complex assemblies. Maybe the engineers on here have suggestions for easy ways to adjust the coordinate system of a model--I've definitely struggled with it for certain models.

 

It might be easiest to have a set of values that adjusts the position and location of each model when it is dynamically loaded. For each model, find the location and scale that works best, and when you load the model, set those values on the widget to position and scale it correctly.

Announcements

Top Tags