﻿<?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%2FManual%2FExtensions%2FPython%2FGeometry</id>
	<title>Doc:2.6/Manual/Extensions/Python/Geometry - 版の履歴</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%2FManual%2FExtensions%2FPython%2FGeometry"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Geometry&amp;action=history"/>
	<updated>2026-06-02T03:16:13Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Geometry&amp;diff=94181&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/Manual/Extensions/Python/Geometry&amp;diff=94181&amp;oldid=prev"/>
		<updated>2018-06-28T18:45:55Z</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:45時点における版&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/Manual/Extensions/Python/Geometry&amp;diff=94180&amp;oldid=prev</id>
		<title>wiki&gt;Twirlysocrates: /* Geometry */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Doc:2.6/Manual/Extensions/Python/Geometry&amp;diff=94180&amp;oldid=prev"/>
		<updated>2013-11-18T16:30:41Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Geometry&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page/Header||}}&lt;br /&gt;
&lt;br /&gt;
== Geometry ==&lt;br /&gt;
here we will cover creating geometry.&lt;br /&gt;
for now, here's some example code:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import bpy&lt;br /&gt;
 &lt;br /&gt;
# Define the coordinates of the vertices. Each vertex is defined by a tuple of 3 floats.&lt;br /&gt;
coords=[(-1.0, -1.0, -1.0), (1.0, -1.0, -1.0), (1.0, 1.0 ,-1.0), \&lt;br /&gt;
(-1.0, 1.0,-1.0), (0.0, 0.0, 1.0)]&lt;br /&gt;
 &lt;br /&gt;
# Define the faces by index numbers of its vertices. Each face is defined by a tuple of 3 or more integers.&lt;br /&gt;
# N-gons would require a tuple of size N.&lt;br /&gt;
faces=[ (2,1,0,3), (0,1,4), (1,2,4), (2,3,4), (3,0,4)]&lt;br /&gt;
 &lt;br /&gt;
me = bpy.data.meshes.new(&amp;quot;PyramidMesh&amp;quot;)   # create a new mesh  &lt;br /&gt;
&lt;br /&gt;
ob = bpy.data.objects.new(&amp;quot;Pyramid&amp;quot;, me)          # create an object with that mesh&lt;br /&gt;
ob.location = bpy.context.scene.cursor_location   # position object at 3d-cursor&lt;br /&gt;
bpy.context.scene.objects.link(ob)                # Link object to scene&lt;br /&gt;
&lt;br /&gt;
# Fill the mesh with verts, edges, faces &lt;br /&gt;
me.from_pydata(coords,[],faces)   # edges or faces should be [], or you ask for problems&lt;br /&gt;
me.update(calc_edges=True)    # Update mesh with new data&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source: [[http://www.pasteall.org/11056/python|PasteAll]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Twirlysocrates</name></author>
		
	</entry>
</feed>