2023-04-15から1日間の記事一覧
chatgpt111blender2023.blogspot.com chatgpt111blender2023.blogspot.com chatgpt111blender2023.blogspot.com
chatgpt111blender2023.blogspot.com
import bpy # コレクションを作成 collection_name = "SphereCollection" if collection_name not in bpy.data.collections: sphere_collection = bpy.data.collections.new(collection_name) bpy.context.scene.collection.children.link(sphere_collection…
コードの大部分は正しいですが、ファイルパスの指定方法に問題があります。Pythonでは、バックスラッシュ \ はエスケープ文字として扱われるため、パスの区切りに使うことができません。代わりに、スラッシュ / もしくはダブルバックスラッシュ \\ を使用す…