Search found 894 matches

by CoDEmanX
Thu Oct 10, 2013 8:10 pm
Forum: Blender Conference 2013
Topic: Video recording quality of conference sessions
Replies: 1
Views: 23817

if better live quality isn't feasible, provide high quality captures after the conference perhaps?
by CoDEmanX
Tue Oct 08, 2013 11:23 pm
Forum: Interface & Tools
Topic: Feature Request: An embedded Notes tab or window
Replies: 2
Views: 5363

well there's the text editor, you could split your view3d and open a new text block next to it. Then type your notes in there. Of course, this isn't as convenient as "floating" notes in 3d view directly. If you're fine with handwriting, you can use the grease pencil tool. I looked a bit into grease ...
by CoDEmanX
Sat Oct 05, 2013 2:53 pm
Forum: Interface & Tools
Topic: Maximum Count of Objects?
Replies: 2
Views: 1632

A bug with the outliner caused blender to run slow with many objects, that might constribute to your problem: https://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58855 Try the 2.69 testbuild 1, it has the fix applied (2.68a does not!). The overall viewport performance is cu...
by CoDEmanX
Sat Oct 05, 2013 6:24 am
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

So, if I didn't use ExportHelper, it wouldn't invoke the file selector? Yes, but it wouldn't export either, as execute() would never be called (remember: operators in menus are invoked be default, not executed). ExportHelper is just a convenience class, it calls bpy.context.window_manager.fileselec...
by CoDEmanX
Sat Oct 05, 2013 4:11 am
Forum: Interface & Tools
Topic: Maya layout for Blender
Replies: 3
Views: 1911

by CoDEmanX
Sat Oct 05, 2013 12:02 am
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

your exporter is actually part of a modal operator. It has invoke() and execute(), the modal() part is derived from the ExportHelper (i assume you use it?). In the export helper code, a file selector is added when operator invoked(!). The file selector is a modal operator. When target is chosen, mod...
by CoDEmanX
Fri Oct 04, 2013 6:26 am
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

enumerate is a built-in function, better not call your own functions like that!
by CoDEmanX
Fri Oct 04, 2013 5:29 am
Forum: News & Chat
Topic: More engineering function?
Replies: 6
Views: 15973

I'm sorry, I misread that! Well, if you really wanna stay with Blender, you might find some addons to facilitate your modelling. Check this out: http://blendermama.com/precision-work-in-blender.html http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/3D_interaction/Precise_Align http://blend...
by CoDEmanX
Thu Oct 03, 2013 5:12 pm
Forum: News & Chat
Topic: More engineering function?
Replies: 6
Views: 15973

Blender is really not a CAD-application, and probably never will. If you wasted time on learning blender, you shoud have read about it before: http://opensourceecology.org/wiki/CAD_tools It's a DCC software, not to be used for engineering (it uses single precision for floating point operations all o...
by CoDEmanX
Thu Oct 03, 2013 5:07 pm
Forum: User Questions that really belong on blenderartists.org
Topic: Background image size
Replies: 7
Views: 9555

can you post a screen, or even better the problematic blend?

upload it here: http://www.pasteall.org/blend/
by CoDEmanX
Thu Oct 03, 2013 5:06 pm
Forum: Python
Topic: Efficient way of adding large meshes through the Python API
Replies: 6
Views: 7276

you can't keep the data in numpy arrays either way, but sure, it would be more efficient to convert it directly to blender's data structures. Not sure about unpack_face_list, never really used my own script. I believe I used a former version of this script to generate it: import bpy ob = bpy.context...
by CoDEmanX
Thu Oct 03, 2013 3:21 am
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

well you could actually use my code as it is, just change the main() parameter from context to scene, or even objects (but you'll have to use bpy.context.scene in the from_object() call). That way, you get a nice, standalone function to validate (e.g. import it into another script which does the exp...
by CoDEmanX
Thu Oct 03, 2013 12:27 am
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

Hm no, you should make it an operator and call like seen in the last line: import bpy, bmesh def main(context): count_good = 0 count_bad = 0 for ob in context.scene.objects: if ob.type != 'MESH': continue bm = bmesh.new() # Note: only use from_object if you wanna test # the mesh with modifiers etc. ...
by CoDEmanX
Wed Oct 02, 2013 8:57 pm
Forum: User Questions that really belong on blenderartists.org
Topic: Background image size
Replies: 7
Views: 9555

I wrote this script a while back to scale background imags to a pixel-per-unit ratio. Not sure if that helps. bl_info = { "name": "Background Image Rescale", "author": "CoDEmanX", "version": (1, 0), "blender": (2, 65, 0), "location": "View3D > Properties (N) > Background Images", "description": "Sca...
by CoDEmanX
Wed Oct 02, 2013 6:51 pm
Forum: Python
Topic: Check if a poly is a face
Replies: 29
Views: 14100

it is easily overlooked, yet simple:

bpy.data.filepath

As long as you work with an unsaved blend, it will be a blank string