Quantcast
Channel: NX Design Forum topics
Viewing all articles
Browse latest Browse all 5175

PLM Vis Web: Not able to rotate geometry object

$
0
0

Hello,

 

I have just implemented the PLM Vis Web viewer in one of my pages. I have followed the beginners guide (GettingStarted.pdf) and the viewer is working as supposed, except of the ability to rotate my geometry object.

Ironically zomming works fine.

 

Does anyone has a solution or an idea to this problem?

 

WebViewerTest.html

<!DOCTYPE html> <html><head><title>Example</title><script src="three.min.js"></script> <script src="TrackballControls.js"></script> <script src="html2canvas.min.js"></script> <script src="plmvisweb.min.js"></script> <script src="plmvisweb.worker.min.js" useWebWorker="true"></script> </head><body><div id="host" style="width: 500px; height: 500px; border: 1px black solid; background: slategray;"></div><script> 
			var controlManager = new PLMVisWeb.Control({ 
				host: document.getElementById("host"), 
				width: 500, 
				height: 500 
			}); 
			var viewerManager = controlManager.getExtensionManager(PLMVisWeb.Viewer); 
			viewerManager.open("path to .bod and .json", function (success, modelRootPsId) { 
				if (success) { 
					viewerManager.setVisibilityByPsId(modelRootPsId, true); 
				} 
			}); </script> </body></html>

Viewing all articles
Browse latest Browse all 5175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>