<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syurainu</author_name>
  <author_url>https://blog.hatena.ne.jp/syurainu/</author_url>
  <blog_title>すくらっぷ　あんど　びるどー（したい）</blog_title>
  <blog_url>https://syurainu.com/</blog_url>
  <categories>
    <anon>ShortNote</anon>
  </categories>
  <description>1. マテリアル（データ操作）の場合 mat = bpy.data.materials.new(...) # matには「マテリアル本体」が入る！ 2. オブジェクト（オペレーター）の場合 × こう書くと、objには {'FINISHED'} という文字列が入ってしまい、操作できません obj = bpy.ops.mesh.primitive_uv_sphere_add() 〇 正解：作った直後に「今作ったもの」を捕まえる bpy.ops.mesh.primitive_uv_sphere_add() obj = bpy.context.object # こっちが「本体」！</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyurainu.com%2Fentry%2F2026%2F03%2F20%2FBlender%25E3%2581%25AEPython%25E3%2581%25AE%25E6%258C%2599%25E5%258B%2595&quot; title=&quot;BlenderのPythonの挙動 - すくらっぷ　あんど　びるどー（したい）&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-20 23:04:41</published>
  <title>BlenderのPythonの挙動</title>
  <type>rich</type>
  <url>https://syurainu.com/entry/2026/03/20/Blender%E3%81%AEPython%E3%81%AE%E6%8C%99%E5%8B%95</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
