[Bf-python] Text Editor Project and BPyTextPlugin

Chris McCormick chris at mccormick.cx
Wed Jul 23 06:47:24 CEST 2008


Vaguely on topic, I recently discovered that I can just do a "from
myproject import mymethod" and then "mymethod()" inside my script
controllers in Blender. That means that I can write all my code in
external files with my normal editor and just have those two lines
inside the Blender script.

Best,

Chris.

On Wed, Jul 23, 2008 at 12:40:12PM +0900, Dietrich Bollmann wrote:
> Hi Ian,
> 
> [admitting that I only saw the video and never tried your tools myself]:
> Your editing functionality looks very impressive and helpful!  
> 
> Thank you very much!
> 
> As somebody completely accustomed to do everything with emacs I only
> wonder why every tool needs its own editor nowadays (see for example
> processing, grace, ...).  
> 
> I find it kind of annoying to have to learn another editor for every
> language / system I am dealing with and rather accept to do without some
> very specialised functionality than to renounce my good old emacs
> functionality I am used to.  Of course I don't want to say that
> everybody should only use emacs :) the same is valid (for other people
> used to those tools) for vi, eclipse, ... 
> 
> So here a question:  Do your scripts depend tightly on Blender - or
> could it be possible to integrate them easily into another editor
> (python / blender mode) also?
> 
> Thanks :)
> 
> And good luck :)
> 
> Dietrich
> 
> 
> On Tue, 2008-07-22 at 10:18 +0100, Ian Thompson wrote:
> > Hi,
> > 
> > I am working on the text editor in Blender and have produced a system
> > of scripts to ease python development in Blender. The system works
> > around a BPy module, namely BPyTextPlugin. If possible I would like to
> > get some feedback on the implementation of this module.
> > 
> > A topic of concern was that it caches results inside the module.
> > However, I was careful not to include pointers to any Blender objects
> > (which may become invalid). The only external pointers are to modules
> > imported by the system. If you have any questions, please reply here
> > or email, or catch me on IRC (I'm "quorn").
> > 
> > The BPyTextPlugin module can be found here:
> > https://svn.blender.org/svnroot/bf-blender/branches/soc-2008-quorn/release/scripts/bpymodules/BPyTextPlugin.py
> > 
> > With example scripts (starting "textplugin_") found here:
> > https://svn.blender.org/svnroot/bf-blender/branches/soc-2008-quorn/release/scripts/
> > 
> > Note that to run these scripts you will need a recent build of my
> > soc-2008-quorn branch. Alternatively there is a video of the features
> > available here (and a little more information):
> > http://wiki.blender.org/index.php/User:Quorn/SummerOfCode2008
> > 
> > I look forward to hearing your opinion.
> > 
> > Ian
> > _______________________________________________
> > Bf-python mailing list
> > Bf-python at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-python
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
-------------------
http://mccormick.cx



More information about the Bf-python mailing list