﻿<?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=Doc%3A2.6%2FTutorials%2FExtensions%2FPython%2FBSoD%2FHello_World</id>
	<title>Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello World - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Doc%3A2.6%2FTutorials%2FExtensions%2FPython%2FBSoD%2FHello_World"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello_World&amp;action=history"/>
	<updated>2026-07-29T04:51:56Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello_World&amp;diff=146087&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello_World&amp;diff=146087&amp;oldid=prev"/>
		<updated>2018-06-28T21:07:11Z</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日 (木) 21:07時点における版&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=Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello_World&amp;diff=146086&amp;oldid=prev</id>
		<title>wiki&gt;Radivarig: Created a scripting &quot;Hello World&quot; tutorial for blender 2.6x (since there were API changes and page did not exist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Tutorials/Extensions/Python/BSoD/Hello_World&amp;diff=146086&amp;oldid=prev"/>
		<updated>2014-02-09T20:50:18Z</updated>

		<summary type="html">&lt;p&gt;Created a scripting &amp;quot;Hello World&amp;quot; tutorial for blender 2.6x (since there were API changes and page did not exist)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is an example of simple &amp;quot;Hello World&amp;quot; script for blender 2.6x.&lt;br /&gt;
&lt;br /&gt;
First a little introduction to some important features that could be confusing at start. &lt;br /&gt;
When using keyboard shortcuts it matters a lot where your mouse cursor is positioned, more precisely, above what [[Doc:2.6/Manual/Interface/Window_types|Window\Editor Type]] you place it.&lt;br /&gt;
&lt;br /&gt;
* With mouse hovering anywhere inside &amp;quot;3d View&amp;quot; press {{shortcut|ctrl|N}} and confirm to open up a fresh new file (or click {{Menu|File|New}}).&lt;br /&gt;
*Let's change the [[Doc:2.6/Manual/Interface/Screens|Screen lay-out]] to scripting.&lt;br /&gt;
*By hovering over the Text Editor Window we create a new text data block with {{shortcut|ctrl|N}} (or by clicking the {{Button|New}} button).&lt;br /&gt;
&lt;br /&gt;
[[File:New-text-data-block-button.jpg‎]]&lt;br /&gt;
&lt;br /&gt;
As we write anything inside the Text Editor, again, it is important that the cursor is somewhere inside it, or else you will be either typing in a wrong editor or not typing at all but instead calling some random keyboard shortcuts (test it by typing and moving cursor from Text Editor to anywhere else. I won't mention this anymore from now on).&lt;br /&gt;
&lt;br /&gt;
Finally, let's get to the code.&lt;br /&gt;
&lt;br /&gt;
*In the Text Editor retype:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt; print &amp;quot;Hello World&amp;quot;&amp;lt;/source&amp;gt;&lt;br /&gt;
*press {{shortcut|alt|P}} to run our script (or click the {{Button|Run Script}} button). &lt;br /&gt;
&lt;br /&gt;
[[File:Run-script-button.png‎‎]]&lt;br /&gt;
&lt;br /&gt;
Congratulations! Nothing happened. Well maybe not what we can see yet. In the Info Editor you will see this message:&lt;br /&gt;
&lt;br /&gt;
[[File:Info-run-script.png‎]]&lt;br /&gt;
&lt;br /&gt;
and to see the actual string &amp;quot;Hello World&amp;quot; printed out we have to open up the Blender System Console &lt;br /&gt;
*by clicking {{Menu|Window|Toggle System Console}}&lt;br /&gt;
&lt;br /&gt;
[[File:Toggle-system-console.png]]&lt;br /&gt;
&lt;br /&gt;
**Don't close System Console by clicking on X because the whole Blender will close!&lt;br /&gt;
**This is where you will see your error info as well.&lt;br /&gt;
&lt;br /&gt;
You would get the same result in the System Console if you typed print(&amp;quot;Hello World&amp;quot;) directly into Python Console, but then we wouldn't have a script and would have to paste or type it inside Python Console every time.&lt;br /&gt;
&lt;br /&gt;
Let's look up one more thing, how to save our script. If you go to {{Menu|Text|Save}} you will see that you cannot save&lt;br /&gt;
&lt;br /&gt;
[[File:Grayed-out-save-text.png‎]]&lt;br /&gt;
&lt;br /&gt;
and that the save shortcut {{shortcut|alt|S}} is not working. So what is happening here? New text data blocks we create are all text files saved internally into current blender file, so if we were to open a new file they would disappear. That's why we have to save it outside blender file first&lt;br /&gt;
*by clicking {{Menu|Text|Save As}} to make it independent &lt;br /&gt;
**Don't forget to put &amp;quot;.py&amp;quot; at the end so that blender knows that it is a python script when you want to open it. However if you don't put the extension you can still open the file by disabling filtering of files:&lt;br /&gt;
&lt;br /&gt;
[[File:Enable-filtering-of-files.png]]&lt;br /&gt;
&lt;br /&gt;
Notice that the {{Menu|Text|Save}} is no longer grayed out.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Radivarig</name></author>
		
	</entry>
</feed>