2023年7月25日火曜日

カメラ位置 000へ 移動

 







import bpy


# Get the camera object

camera = bpy.data.objects.get("Camera")


# If the camera exists, set its location to (0, 0, 0)

if camera:

    camera.location = (0, 0, 0)


































This script will find the camera object in the scene (assuming it is named "Camera") and set its location to (0, 0, 0). If there is a camera in the scene, it will be moved to the specified position.











配布ファイル 20231005 遠近法モード 表示画面の大きさ

  今日の書き出し設定 項目メモ帳 2023: 20231005   立方体と 光線 https://2023na2022.blogspot.com/2023/10/20231005.html https://mokuji000zionad.hatenablog.com/