﻿<?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=%E5%88%A9%E7%94%A8%E8%80%85%3AVitorbalbio%2FPythonModifier</id>
	<title>利用者:Vitorbalbio/PythonModifier - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AVitorbalbio%2FPythonModifier"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Vitorbalbio/PythonModifier&amp;action=history"/>
	<updated>2026-09-09T05:05:15Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Vitorbalbio/PythonModifier&amp;diff=147051&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Vitorbalbio/PythonModifier&amp;diff=147051&amp;oldid=prev"/>
		<updated>2018-06-28T21:08:26Z</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:08時点における版&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=%E5%88%A9%E7%94%A8%E8%80%85:Vitorbalbio/PythonModifier&amp;diff=147050&amp;oldid=prev</id>
		<title>wiki&gt;Vitorbalbio: Created page with &quot;=Overview=  This page describe my initial, incomplete proposal for add custom &quot;Python Modifiers&quot; support  =Justification=  Today we have a lot of flexibility writing tools for bl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Vitorbalbio/PythonModifier&amp;diff=147050&amp;oldid=prev"/>
		<updated>2014-06-07T23:50:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Overview=  This page describe my initial, incomplete proposal for add custom &amp;quot;Python Modifiers&amp;quot; support  =Justification=  Today we have a lot of flexibility writing tools for bl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Overview= &lt;br /&gt;
This page describe my initial, incomplete proposal for add custom &amp;quot;Python Modifiers&amp;quot; support&lt;br /&gt;
&lt;br /&gt;
=Justification= &lt;br /&gt;
Today we have a lot of flexibility writing tools for blender with the add-on API but many times we want a more interactive and non destructible way to make things in blender. For that goal i'm proposing add support for Custom Python Modifiers in Blender.&lt;br /&gt;
&lt;br /&gt;
=UI Mockup=&lt;br /&gt;
I propose to have a new modifier type named &amp;quot;Python&amp;quot; that will be contained in the Modifiers list.&lt;br /&gt;
[[Image:Python_Modifer_0.jpg|frame|center|'''Modifier API''']]&lt;br /&gt;
With that Modifier we can select a Text datablock that will be read.&lt;br /&gt;
Here's a example of how can be a custom python modifier script:&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 CustomWave_Modifier(bpy.types.Custom_Modifier):&lt;br /&gt;
    bl_idname = &amp;quot;md.custom_wave&amp;quot;&lt;br /&gt;
    bl_label = &amp;quot;Custom Wave Modifier&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    scale = IntProperty(0.1) &lt;br /&gt;
&lt;br /&gt;
    def execute(self, context, object):&lt;br /&gt;
        Mesh = object.data:&lt;br /&gt;
        for face in Mesh.polygons:&lt;br /&gt;
            for vert in face.vertices:&lt;br /&gt;
                vert.z = math.sin(scene.frame_current) + vert.x * scale&lt;br /&gt;
        return Mesh&lt;br /&gt;
     &lt;br /&gt;
    def Draw(self,context,object):&lt;br /&gt;
        self.layout.label(&amp;quot;Custom Wave&amp;quot;)&lt;br /&gt;
        self.layout.prop(self,&amp;quot;scale&amp;quot;)&lt;br /&gt;
        return {'FINISHED'}&lt;br /&gt;
&lt;br /&gt;
def register():&lt;br /&gt;
    bpy.ops.EnableModifier(CustomWave_Modifier)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Codding=&lt;br /&gt;
I Already added a new python Modifier and Python Modifier type data&lt;/div&gt;</summary>
		<author><name>wiki&gt;Vitorbalbio</name></author>
		
	</entry>
</feed>