herbieherb Posted September 4, 2019 Share Posted September 4, 2019 (edited) Use this python script to perform an automatet vertical tilt correction on the current view. Or use it this way to correct the view of a viewport: Right click at the viewport. Edit camera Run the script exit edit mode xAngleR, yAngleR, zAngleR, offsetPt = vs.GetView() vs.SetView(-90, yAngleR, 0, offsetPt[0], offsetPt[1], offsetPt[2]) Don't forget to set the script-language to python in the script editor. Edited September 4, 2019 by herbieherb 1 1 Quote Link to comment
MarcelP102 Posted July 28, 2022 Share Posted July 28, 2022 (edited) Hi @herbieherb, thanks for the script. Do you know if it is possible to change the script, or use another function of VW, to change the horizon to be at around 1/3 of the screen height while keeping the two-point perspective? In SketchUp I can activate the two point view and pan the view up. When I do the same in VW the eye height change.. Only way I found is to first put the viewport on a sheet and than resize the crop. But what if I don't want to put it on a sheet first? I want my saved views to look like this: Edited July 28, 2022 by MarcelP102 Quote Link to comment
herbieherb Posted August 8, 2022 Author Share Posted August 8, 2022 If you take a photo without vertical tilt and without special lenses (tilt-shift lens), the horizon (i.e. the two vanishing points) is always in the center of the image. If you want the horizon to be further down, you have to crop the image afterwards. Vectorworks does not have a tilt-shift function for the camera, so the only option is to crop the image using the viewport crop function. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.