<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>Blender</anon>
    <anon>Python</anon>
  </categories>
  <description>Blender アドオン作るときの小ネタ。 例えば、 Python では性能上厳しかったり、何らかの理由で Python から触れない何かを触りたい場合、 C++ で Blender のアドオンを書きたいケースがあります。 そういったことをやりたいときの方法をメモしておきます。 といっても、通常のアドオンと同様、 Python で記述して、そこから DLL の関数を呼び出す、といった感じになります。 import ctypes dll: ctypes.CDLL def register(): global dll dll = ctypes.cdll.LoadLibrary(&quot;/path/to/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2022%2F12%2F20%2Fload-and-unload-dynamic-link-library-in-blender&quot; title=&quot;Blender アドオンで C++ で記述した DLL をロード・アンロードしたい - なつねこメモ&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>2022-12-19 15:00:00</published>
  <title>Blender アドオンで C++ で記述した DLL をロード・アンロードしたい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2022/12/20/load-and-unload-dynamic-link-library-in-blender</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
