﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Community%3AScience%2FRobotics%2FBlender25Panels</id>
	<title>Community:Science/Robotics/Blender25Panels - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Community%3AScience%2FRobotics%2FBlender25Panels"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Community:Science/Robotics/Blender25Panels&amp;action=history"/>
	<updated>2026-06-08T10:06:55Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Community:Science/Robotics/Blender25Panels&amp;diff=90249&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Community:Science/Robotics/Blender25Panels&amp;diff=90249&amp;oldid=prev"/>
		<updated>2018-06-28T18:43:03Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 18:43時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Community:Science/Robotics/Blender25Panels&amp;diff=90248&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Robotics/Blender25Panels to Community:Science/Robotics/Blender25Panels: moving under Community:Science (&quot;Community&quot; being a new namespace)</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Community:Science/Robotics/Blender25Panels&amp;diff=90248&amp;oldid=prev"/>
		<updated>2011-11-02T19:51:46Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Robotics/Blender25Panels&quot; class=&quot;mw-redirect&quot; title=&quot;Robotics/Blender25Panels&quot;&gt;Robotics/Blender25Panels&lt;/a&gt; to &lt;a href=&quot;/Community:Science/Robotics/Blender25Panels&quot; title=&quot;Community:Science/Robotics/Blender25Panels&quot;&gt;Community:Science/Robotics/Blender25Panels&lt;/a&gt;: moving under Community:Science (&amp;quot;Community&amp;quot; being a new namespace)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Panels in Blender 2.5 ==&lt;br /&gt;
Blender 2.5 allows to customize the UI through Python scripting. This means that without changes to the code base, one can introduce custom panels.&lt;br /&gt;
&lt;br /&gt;
A ''panel'', in Blender jargon, is an area as shown below:&lt;br /&gt;
[[Image:Robotics - Blender 2.5 Panel.png|none]]&lt;br /&gt;
You can add your desired features/scripts to such a Blender panel, in order to make them accessible with one click.&lt;br /&gt;
&lt;br /&gt;
We should choose a location for our panel. Currently Buttons-&amp;gt;Scene but maybe Buttons-&amp;gt;armature or Buttons-&amp;gt;Bone might be interesting as well.&lt;br /&gt;
To add a function button you have to edit /.blender/ui/buttons_scene.py&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
add &amp;lt;row/column&amp;gt;.itemO(&amp;quot;&amp;lt;yourOperator&amp;gt;&amp;quot;, text=&amp;quot;&amp;lt;the text shown in gui&amp;quot;, icon='&amp;lt;youricon, can be left empty&amp;gt;'))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
to the wanted panel. Now you have to add your script. Make a new Python file which should be like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
  import bpy&lt;br /&gt;
  class YourOperator(bpy.types.Operator):&lt;br /&gt;
       '''docstring'''&lt;br /&gt;
       __idname__ = &amp;quot;some.path.to.operator&amp;quot; # like &amp;quot;myops.myop&amp;quot;&lt;br /&gt;
       __label__ = &amp;quot;The string you see ie. in command search (ctrl+space)&amp;quot; &lt;br /&gt;
                    # like &amp;quot;My Operator&amp;quot;&lt;br /&gt;
       __props__ = [] # list of props used, see release/io/export_ply.py for example&lt;br /&gt;
       def poll(self, context):&lt;br /&gt;
               # checks to ensure your operator has what it needs&lt;br /&gt;
               return True # or False if context is not correct, ie no selected objects&lt;br /&gt;
       def execute(self, context):&lt;br /&gt;
               # your main part of the script should come in execute&lt;br /&gt;
               return ('FINISHED', ) # or 'CANCELLED' or any of the others,&lt;br /&gt;
                depending on what you need. &lt;br /&gt;
  bpy.ops.add(YourOperator)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To ensure that your own operator actually gets registered to the operator&lt;br /&gt;
system, you have to add the last line!&lt;br /&gt;
&lt;br /&gt;
For now, however, the scripting capabilities of 2.5 don't seem to be sufficiently extended, for example, a bpy.data.scene.active cannot be called.&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>