![]() |
|
|
|
#1
|
|||
|
|||
|
I would suggest setting up the viewpoint in Inspector. It looks like the saved view from SketchUp may not be scaled and rotated correctly according to Vizard's coordinate system.
|
|
#2
|
|||
|
|||
|
It would be great if I could try to apply the view from SketchUp to the model in Vizard as I need the same viewpoint from which the model was exported. Also, it looks like the saved view is displayed in the right way in Inspector in my case. Can you provide the Vizard code for getting the camera's position and euler values from this node?
|
|
#3
|
|||
|
|||
|
First get a handle to the transform node and then you can get its position and orientation:
Code:
model = viz.addChild('model.dae')
viewNode = model.getTransform('skp_camera_Last_Saved_SketchUp_View')
pos = viewNode.getPosition(viz.ABS_GLOBAL)
ori = viewNode.getEuler(viz.ABS_GLOBAL)
|
|
#4
|
|||
|
|||
|
Thanks Jeff, that did the job for me!
|
![]() |
| Tags |
| powerwall, sketchup, viewpoint |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regarding Viconnect viewpoint | rajnishv | Precision Position Tracker (PPT) | 3 | 03-21-2017 12:03 AM |
| Regarding viewpoint with vizconfig,addFloatRangeItem&Storing viewpoint in PREFERENCES | rajnishv | Vizard | 0 | 06-27-2016 04:57 AM |
| moving at different speeds | Saz | Vizard | 8 | 06-07-2011 06:02 AM |
| Arrington - Ethernet ViewPoint Client | jaclyn.bill | Vizard | 3 | 10-23-2009 11:43 AM |