Hmmm.
Ones like this are always going to be a bit of a pain.
To be honest. I have tried to make this more Hype compliant by getting what seem to be the main files into hype.
Now although this works (so far ) this may not actually be conducive to what you need or want to do.
But here it is anyway..
My steps,
I removed the widget. My advise id do not use a widget to place an iframe into. You effectively get two nested iframes.
Normally I would say use a rect and place your iframe into that but again I did not go that route.
1, I add a rectangle and gave it the id of v3d-container
2, I added these files to the Hype resources.

NOTE:
The environment.hdr is an image. You MUST uncheck Automatically Optimise when exporting
3, I then Added this in Hype function
window.hyperes = "${resourcesFolderName}/"
via a On Prepare For Display JS action.

4, I then edited the Test6.js
Changing the lines from
var PUZZLES_DIR = '/puzzles/';
var logicURL = params.logic ? params.logic : '__LOGIC__visual_logic.js'.replace('__LOGIC__', '');
var sceneURL = params.load ? params.load : '__URL__Test6.gltf'.replace('__URL__', '';
to
var PUZZLES_DIR = '/puzzles/';
var hpyePath =window.hyperes
var logicURL = params.logic ? params.logic : '__LOGIC__visual_logic.js'.replace('__LOGIC__', hpyePath );
var sceneURL = params.load ? params.load : '__URL__Test6.gltf'.replace('__URL__', hpyePath);
The prep() function will run before all the other js is loaded.
This will put the hype resource folder name into the windows global scope.
When the Test6.js loads it will be able to use this to be able to use the correct path to the files.
This not only allows things ( again hopefully ) work after export and placed on a server( or locally with cross origin restrictions of in the browser or via Whisk.app or other local server app) but will also work during Hype preview.
Thats it.
The button you have have the correct ids already that the eventListners set up in the visual_logic.js
will respond to them being clicked without any other setup.
Now as I say this works as is and I did not use any of your other files which means this setup may not be what you really need.
3d.hype.zip (912.4 KB)
Also note I suggest to start from scratch.
If you convert you project you may get an error.
Not sure why this isstill being generated still but I only get it in your original file ( actually a copy of it, the original one I must have done something and I forget what I did that stops it.
But a new project does not have this? )