bpygram.us

blender, python, programming

  • colorwheel
  • mesh_select_neighbors.py (a.k.a. Topokit)
  • My Blender Setup for Windows 7

Remove all the panels!

Posted by scribe on May 1, 2012
Posted in: Uncategorized. Leave a Comment

list(map(bpy.utils.unregister_class,bpy.types.Panel.__subclasses__()))

Bmesh Tapu is Edge Neighbor Selection Operators

Posted by scribe on March 16, 2012
Posted in: Uncategorized. Leave a Comment

bmesh_tapu.py can be found here:

http://www.pasteall.org/30102/python

here is link to a tutorial vid (mp4 ~2mb):

bmtapu

Slouching towards blenderhem

Posted by scribe on January 27, 2012
Posted in: Uncategorized. Leave a Comment

have a bunch of crap that needs released…

working on it.

blender user

Posted by scribe on January 26, 2012
Posted in: post. Leave a Comment

blender_user

_vimrc

Posted by scribe on January 26, 2012
Posted in: post. Leave a Comment

colorscheme murphy
set gfn=consolas:h12:cANSI
set ruler
syntax on
set bs=indent,eol,start
set mousef
set expandtab
set sts=4
let g:vimpy=”c:\\Users\\blender\\vimpy.bat”
let g:vimbpy=”c:\\Users\\blender\\vimbpy.bat”
set nowrap
map :w:exec “!”.g:vimpy “%”
imap :w:exec “!”.g:vimpy “%”
map :w:exec “!”.g:vimbpy “%”
imap :w:exec “!”.g:vimbpy “%”
map :bN
map :bp

Programmer’s block I have absolutely no idea where…

Posted by scribe on December 2, 2011
Posted in: status. Leave a Comment

Programmer’s block. I have absolutely no idea where to start on this project, so I’m going to make some buttons. Urrh. I tried that. Pseudocode? What’s wrong with real code? Ahhh. It’s real cold. Maybe firewood will help. Yeah. Let’s try that, then.

~\ vimrc html In Search of a More…

Posted by scribe on November 30, 2011
Posted in: status. 1 comment

In Search of a More Suitable _vimrc [ windows 7,blender 2.5/2.6 ,gvim7.3]

Here’s my current _vimrc:


set gfn=consolas:h12:cANSI
set ruler
syntax on
set bs=indent,eol,start
set mousef
set expandtab
set sts=4
let g:activeb = 'Win7.x64-42256'
function! BlenderBG ()
  exec '!C:\Users\dust\blender\'.g:activeb.'\blender.exe -b -P %'
endfunction
function! Blender ()
  exec '!C:\Users\dust\blender\'.g:activeb.'\blender.exe -P %'
endfunction

map <F8> :w<CR>:call Blender ()<CR>
imap <F8> <ESC>:w<CR>:call Blender ()<CR>

map <F9> :w<CR>:call BlenderBG ()<CR>
imap <F9> <ESC>:w<CR>:call BlenderBG ()<CR>

imap <F19> <ESC>:w<CR>:!c:\Users\dust\desktop\test.bat<CR>
map <F19> :w<CR>:!c:\Users\dust\desktop\test.bat<CR>

Also, I keep a text file named edset.bat on the desktop with this line in it:

"C:\Program Files (x86)\Vim\vim73\gvim.exe" "c:\Users\userblahnameblah\_vimrc"

That way, editing the _vimrc is all set up to happen whenever necessary.

The thing that ties it all together is the windows 7 feature called ‘Libraries’.

Here is how:

  • I make a folder called ‘blenders’, obviously for keeping blenders inside of. I put it in my home folder, so that there are no spaces in the path.
  • Then I make a library, call it Blenders, and add said ‘blenders’ folder as the default save location.

Having it set up this way makes it easy to group together any additional folders (or Libraries) that pertain to the usage of blender, such as \Users\blahname\AppData\Roaming\Blender Foundation\Blender\2.60\.

Other possibilities include:

  • blender’s temp folder
  • the Render output folder
  • blender’s save directory ( blender scenes)
  • Texture Libraries ( yet another ‘Library’)
  • py, ( the Library for all the python snippets and random python crap)

Onto the py library, I add the folder with local pdf reference materials, so those two are grouped together.

This is just to give hopefully a few inspirations to people using blender on the windows 7 platform.

meta topokit a meta operation consists of which…

Posted by scribe on November 25, 2011
Posted in: status. Leave a Comment

meta-topokit

a meta operation consists of:
which objects to operate on
scanning the mesh topological data
loading transient states like selection
performing an operation which alters the state
putting the altered state back to the mesh
performing optional post-selection operations such as:
caching the topological data for reuse
preserving the current state for reuse
creating or assigning vertex groups to selection
duplicating selection at offset
duplicating selection to new mesh at offset
assigning material to face selection
changing vertex colors
altering edge sharpness
marking seams
logging,catalogueing,hashing,indexing state data (by generation,base object,history sequence of meta-ops)
repeating and checking states vs previous (all) in order to detect cyclical repition
combination/permutation layout of finite set of subgenerations
e.g., all children of base-mesh X and set of operations f1 and f2:
(X,f1)
(X,f2)
grandchildren:
(X,f1,f1)
(X,f1,f2)
(X,f2,f2)
(X,f2,f1)
or all children of base meshes X and Y with operation f1:
(X,f1)
(Y,f1)

topokit almost done except for the conway’s life…

Posted by scribe on November 22, 2011
Posted in: status. Leave a Comment

topokit almost done except for the conway’s life part

Programming 101 Hi class Where are your nail…

Posted by scribe on November 22, 2011
Posted in: status. Leave a Comment

Programming 101

Hi class! Where are your nail-clippers?

Guitarists and programmers need them. Where are they?

Posts navigation

← Older Entries
  • Getting Blender

    • Blender.org
    • Graphicall.org
  • Learning Blender

    • BlenderArtists
    • Blenderer 3D: Noob to Pro
  • My Places

    • amarant.us
    • on github
  • Other Nifty Things

    • djv
    • vim
  • Reference

    • Blender's Wiki Manual
Proudly powered by WordPress Theme: Parament by Automattic.