Hi Jordan,<div>this is such a non-cycles question that I think you will have a better luck going to the blender forums</div><div>(e.g. <a href="http://www.blenderartists.org/forum">www.blenderartists.org/forum</a>) for more in python, the api, ...</div>

<div><br></div><div>Anyways, this is what I use to get a render that takes only half the width:</div><div><br></div><div>setRenderBorder(bpy.context.scene, 0, 0.5, 0, 1.0)</div><div><div><br></div><div>def setRenderBorder(scene, min_x, max_x, min_y, max_y):</div>

<div><span class="Apple-tab-span" style="white-space:pre">        </span>&quot;&quot;&quot;&quot;&quot;&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>render = scene.render</div><div><br></div><div>

<span class="Apple-tab-span" style="white-space:pre">        </span>render.use_border = True</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>render.use_crop_to_border = True</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span># set border<span class="Apple-tab-span" style="white-space:pre">        </span></div>

<div><span class="Apple-tab-span" style="white-space:pre">        </span>render.border_min_x = min_x</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>render.border_max_x = max_x</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>render.border_min_y = min_y</div>

<div><span class="Apple-tab-span" style="white-space:pre">        </span>render.border_max_y = max_y</div></div><div><br></div><div>--</div><div>Dalai</div><div><br></div><div><a href="http://www.dalaifelinto.com">www.dalaifelinto.com</a><br>

<br><div class="gmail_quote">2012/6/25 Jordan Miller <span dir="ltr">&lt;<a href="mailto:jrdnmlr@gmail.com" target="_blank">jrdnmlr@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Ok I guess that makes sense. But looking at a page like this:<br>
<a href="http://www.blender.org/documentation/blender_python_api_2_63_12/bpy.types.RenderSettings.html" target="_blank">http://www.blender.org/documentation/blender_python_api_2_63_12/bpy.types.RenderSettings.html</a><br>


<br>
How could you find how those variables can be called (by the various variables you specified)?<br>
<br>
Is there a way to figure out the complete list?<br>
<br>
It is very confusing for a n00b.<br>
<br>
thank you,<br>
jordan<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
On Jun 25, 2012, at 5:17 PM, Brecht Van Lommel wrote:<br>
<br>
&gt; It could be more helpful but this is also just the way python works.<br>
&gt; This page describes the data type, which is distinct from a particular<br>
&gt; instance of that data type. There are multiple ways to access a scene<br>
&gt; and its render settings: bpy.data.scenes[0] works but also<br>
&gt; bpy.context.scene, screen.scene, scene.background_set, ...<br>
&gt;<br>
&gt; Brecht.<br>
&gt;<br>
&gt; On Mon, Jun 25, 2012 at 7:27 PM, Jordan Miller &lt;<a href="mailto:jrdnmlr@gmail.com">jrdnmlr@gmail.com</a>&gt; wrote:<br>
&gt;&gt; ok thank you, this is great news. The doc said this is a feature that will NOT be implemented soon so I was trying to find my own way thorugh it.<br>
&gt;&gt;<br>
&gt;&gt; But how is one supposed to know that:<br>
&gt;&gt;<br>
&gt;&gt; bpy.types.RenderSettings.border_max_x cannot be called directly? instead it is set at:<br>
&gt;&gt;<br>
&gt;&gt; bpy.data.scenes[0].render.border_max_x<br>
&gt;&gt;<br>
&gt;&gt; and so on...?<br>
&gt;&gt;<br>
&gt;&gt; For example:<br>
&gt;&gt; The mouse-over tooltip for the Border checkbox incorrectly lists: RenderSetting.use_border when instead it should specify, I think, bpy.data.scenes[0].render.use_border.<br>
&gt;&gt;<br>
&gt;&gt; It took me a could hours digging around the internet along with a LOT of trial and error to figure this out (i had to control-space autocomplete each bpy.data variable to find the one I was looking for).<br>
&gt;&gt;<br>
&gt;&gt; This little bit from the docs is really unhelpful... it says the problem is obvious but doesn&#39;t explain all mappings from class to active variable:<br>
&gt;&gt; <a href="http://www.blender.org/documentation/blender_python_api_2_63_12/info_quickstart.html#data-creation-removal" target="_blank">http://www.blender.org/documentation/blender_python_api_2_63_12/info_quickstart.html#data-creation-removal</a><br>


&gt;&gt;<br>
&gt;&gt; Soooo confusing!<br>
&gt;&gt;<br>
&gt;&gt; jordan<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Jun 25, 2012, at 6:43 AM, Brecht Van Lommel wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here are the properties:<br>
&gt;&gt;&gt; <a href="http://www.blender.org/documentation/blender_python_api_2_63_12/bpy.types.RenderSettings.html#bpy.types.RenderSettings.border_max_x" target="_blank">http://www.blender.org/documentation/blender_python_api_2_63_12/bpy.types.RenderSettings.html#bpy.types.RenderSettings.border_max_x</a><br>


&gt;&gt;&gt;<br>
&gt;&gt;&gt; This will become a builtin Cycles feature soon though, to render tiled<br>
&gt;&gt;&gt; with less memory.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Brecht.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sun, Jun 24, 2012 at 4:36 PM, Jordan Miller &lt;<a href="mailto:jrdnmlr@gmail.com">jrdnmlr@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This works in Cycles!<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I am trying to scale-up my renders for printing poster-size. Obviously I run out of memory quickly with my video card. However, if we could break up the scene into chunks and render those then it would be a lot faster to use GPU since it could fit on the GPU memory.<br>


&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; My experiments here are true, the use border setting followed by shift-B to define the rendered area. A scene that barely does not fit on my video card DOES fit if I create 4 versions of the .blend file with a shift-B defined quadrant in each one for rendering.<br>


&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; How do I script the border size option? I found:<br>
&gt;&gt;&gt;&gt; RenderSettings.use_border<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But that is a boolean and does not have values for x,y.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; So if we can find the python definition for these then I could add a preference for rendering &quot;Tiles&quot; with cycles that the user could assemble afterwards.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This could allow crowd-sourcing of Mango rendering, for example, where even weak GPU cards could render pixels for the final movie.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; please help me find how to programmatically set the shift-B border size and position so that we can add this feature to Blender!<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; thanks,<br>
&gt;&gt;&gt;&gt; jordan<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Bf-cycles mailing list<br>
&gt;&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt;&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
&gt; _______________________________________________<br>
&gt; Bf-cycles mailing list<br>
&gt; <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div>