engine_components icon indicating copy to clipboard operation
engine_components copied to clipboard

ViewCube

Open RobberPip opened this issue 1 year ago • 3 comments

Description 📝

Hi, I would like to see examples of how to use ViewCube. I never managed to connect it. https://docs.thatopen.com/api/@thatopen/ui-obc/classes/ViewCube

Suggested solution 💡

No response

Alternative ⛕

No response

Additional context ☝️

No response

Validations ✅

  • [X] Read the docs.
  • [X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

RobberPip avatar Dec 12 '24 20:12 RobberPip

Hi, I believe you can find an example here:

https://github.com/ThatOpen/engine_ui-components/blob/c0b73e0a346b1cacbd75b8d5a21cd735bbc12dec/packages/obc/src/core/ViewCube/example.ts

I quickly tried it with a solution started with: npm create bim-app@latest

Next lines of code were enough for it to appear and render properly:

Image

dimitrovakulenko avatar Jan 22 '25 17:01 dimitrovakulenko

Thanks for the help @dimitrovakulenko! Does this help, @RobberPip?

HoyosJuan avatar Feb 27 '25 19:02 HoyosJuan

No thanks for the help.

RobberPip avatar Mar 01 '25 09:03 RobberPip