sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Closed Thread
 
Thread Tools
theeth's Avatar
theeth theeth is offline
Administrator
 
Join Date: Oct 2001
Location: Montreal, Canada
Posts: 11,079
http://www.clubinfo.bdeb.qc.ca/~theeth/Render.py

the script now works both in Blender 2.25 and Blender 2.23.

It will pop up a simple GUI. Press Anim to render the last saved file. Always remember to save before rendering that way, to "apply" all the last change to the blend file.

I hope it's useful for some of you.

Martin
............................................
Life is what happens to you when you're busy making other plans.
- John Lennon
#1   Old 13-Nov-02, 14:51   


mthoenes's Avatar
mthoenes mthoenes is offline
Member
 
Join Date: Mar 2002
Posts: 403
Many thanks,
It would probably be more useful to me if I had dual processors. My Blender interface slowed down to a point where it was not very useful. I presume however that this will result in faster render times in 225 because it is like command line rendering.(Right)

I had to comment out the first line to get the script to run. I kept getting a syntax error.
What's up?
............................................
BlendOn!
mthoenes

My Drawing Site: How to Draw and Paint Smart
My Blender Site: JumboSmart Blender Tutorials
#2   Old 13-Nov-02, 16:28   
BaDbOyHeRe BaDbOyHeRe is offline
 
Join Date: Jun 2002
Posts: 60
thank you. this will be very helpful when using my laptop.
............................................
:g/$ /s///g
Just removing all the blank endings ;-)
#3   Old 13-Nov-02, 21:09   
theeth's Avatar
theeth theeth is offline
Administrator
 
Join Date: Oct 2001
Location: Montreal, Canada
Posts: 11,079
there was a small redundant line in that version, so I thought I might as well update it.

Code:
import os, sys import Blender def gui(): Blender.BGL.glClearColor(0.6, 0.6, 0.6, 0.0) Blender.BGL.glClear(Blender.BGL.GL_COLOR_BUFFER_BIT) Blender.Draw.Button("ANIMN", 1, 10, 10, 80, 20) def event(evt, mode): if evt == Blender.Draw.ESCKEY: Blender.Draw.Exit() def bevent(evt): if evt == 1: os.spawnl(1, sys.executable," -b " + Blender.Get("filename"), "-a") Blender.Draw.Register(gui,event,bevent)
Martin
............................................
Life is what happens to you when you're busy making other plans.
- John Lennon
#4   Old 22-Dec-02, 23:21   
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:50.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists