[Blender Export] Moved the Z position of auto-camera

- 10% to avoid going too close for small PCBs
This commit is contained in:
Salvador E. Tropea 2023-01-18 20:18:29 -03:00
parent 02608daed8
commit 2ba55ba817
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ def apply_scene(file):
if auto_camera:
print('- Changing camera to focus the board')
bpy.ops.view3d.camera_to_view_selected()
cam_ob.location = (cam_ob.location[0], cam_ob.location[1], cam_ob.location[2]*1.1)
# Add lights
lights = jscene.get('lights')