Search found 3 matches

by bam93
Thu Jan 29, 2009 9:12 pm
Forum: Python
Topic: Mesh.getFromObject() loses materials
Replies: 2
Views: 3998

Re: Mesh.getFromObject() loses materials

In Blender 2.46, running the following session in the interactive Python console (and also in a script, where I encountered the problem in the first place) o = bpy.data.scenes.active.objects[0] o.getData(mesh=True).materials m = Mesh.New() m.getFromObject(o) m.materials gives me different results f...
by bam93
Thu Jan 29, 2009 9:10 pm
Forum: Python
Topic: boolean operations within python scripts
Replies: 9
Views: 16179

Re: Boolean union operation example script -- but: colors lo

I still have a problem with the script: it loses color information! Which is not the case if I use a boolean union via the GUI. Easy to test: create two IcoSpheres of different color and check for yourself. Any help greatly appreciated. Adding to my own question, actually this seems to be a known p...
by bam93
Thu Jan 29, 2009 1:41 am
Forum: Python
Topic: boolean operations within python scripts
Replies: 9
Views: 16179

Boolean union operation example script -- but: colors lost!!

Can someone tell me whether the other boolean operations (union, difference) are also working and how to code it. Hi, below you find a script that does a union operation . This is defined via Modifier.Settings.OPERATION I still have a problem with the script: it loses color information! Which is no...