# HOOPS view cube and triad aren't configured correctly

**URL:** <https://forum.techsoft3d.com/t/hoops-view-cube-and-triad-arent-configured-correctly/5039>\
**Category:** HOOPS Visualize Desktop\
**Created:** [January 4, 2026, 6:01am UTC](https://forum.techsoft3d.com/t/hoops-view-cube-and-triad-arent-configured-correctly/5039 "2026-01-04T06:01:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaan.makhani](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@amaan.makhani](https://forum.techsoft3d.com/u/amaan.makhani)\
**Post date:** [January 4, 2026, 6:01am UTC](https://forum.techsoft3d.com/t/hoops-view-cube-and-triad-arent-configured-correctly/5039/1 "2026-01-04T06:01:24Z")

</div>

Hey all,

Hoping to get some help here. I am making use of the view cube, but I am finding what the view cube thinks is top view is not what I am expecting.

In this picture below, you can see when the cube is changed to top view the axis triad on the bottom shows X up, Z to the right and Y out towards us. Which messes up how we insert symbols.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/d/d107ffcb213347d9daaf7fb98f60018734283fa0.png)

I am expecting something like CAD does which is Y up, X to the right, and Z towards us.

To add the view cube and the triad, I am doing this.

```cpp
  m_canvas.GetFrontView()
          .GetNavigationCubeControl()
          .SetVisibility( true )
          .SetLocation( HPS::NavigationCubeControl::Location::TopRight )
          .SetInteractivity( true )
          .SetSize( 0.25f );

  m_canvas.GetFrontView()
          .GetAxisTriadControl()
          .SetVisibility( true );

```

It seems like I must be missing a configuration step for all the pieces of the puzzle to fall in place. Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [January 4, 2026, 11:51am UTC](https://forum.techsoft3d.com/t/hoops-view-cube-and-triad-arent-configured-correctly/5039/2 "2026-01-04T11:51:08Z")

</div>

Hello @amaan.makhani,

I believe the function you need is [SetOrientation](https://docs.techsoft3d.com/hoops/visualize-desktop/api_ref/cs/class_h_p_s_1_1_model.html#function-HPS.Model.SetOrientation) — which is discussed in this other forum post:

> [@How to: Change orientation of Model/Navigation Cube](https://forum.techsoft3d.com/t/how-to-change-orientation-of-model-navigation-cube/1405):
>
> You can customize the orientation by specifying a front and an up vector for the model using HPS::Model::SetOrientation. The navigation cube orients along the model orientation. [https://docs.techsoft3d.com/hps/latest/api\_ref/cs/class\_h\_p\_s\_1\_1\_model.html#function-HPS.Model.SetOrientation](https://docs.techsoft3d.com/hps/latest/api_ref/cs/class_h_p_s_1_1_model.html#function-HPS.Model.SetOrientation) When just opening the model in sandbox: When setting the orientation as below: HPS::Vector up(0, 0, 1); HPS::Vector front(1, 0, 0); GetCanvas().GetFrontView().GetAttachedModel().Set…

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![amaan.makhani](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@amaan.makhani](https://forum.techsoft3d.com/u/amaan.makhani)\
**Post date:** [January 5, 2026, 10:26pm UTC](https://forum.techsoft3d.com/t/hoops-view-cube-and-triad-arent-configured-correctly/5039/3 "2026-01-05T22:26:27Z")

</div>

Thanks that worked great!
