[Bf-committers] OFF export/import, and N-Gones/B-Mesh
leif.a.andersen at gmail.com
Sat Mar 13 23:16:48 CET 2010
Okay, after a few unforeseen projects that required immediate attention, I
have now gotten to spend several hours on this project again. However, I
have run into a major problem with the API. The 2.5 API introduction claims
that the way to get data into and out of blender, is from bpy.data, in the
APi, it says that bpi.data is subject to change, however, it doesn't even
list the current working API for bpy.data. (I'm looking at the API here,
looked up and down through the API and cannot find it, I've also looked at
several of the other importers/exporters that are already in 2.5, which has
helped very little (other than showing that bpy.data does actually exist).
Am I expected to just look through the source code to see what functions are
currently stored in bpy.data, or am I just missing something?
On Mon, Mar 8, 2010 at 08:24, Campbell Barton <ideasman42 at gmail.com> wrote:
> Triangulating ngons for importers if fine for now, just keep in mind
> it may need to be changed at some point.
> You could do a simple fan fill or use pythons Geometry.PolyFill(),
> which uses the same code as lasso select & text filling.
> On Mon, Mar 8, 2010 at 4:12 PM, Leif Andersen <leif.a.andersen at gmail.com>
> > Okay, so I should keep the hack in there, but be ready to pop it out the
> > moment blender support n-gons, does that sound like a good plan?
> > ~Leif Andersen
> > ----------
> > So Much to Learn, Such Little Time
> > http://leifandersen.net/2010/02/03/so-much-to-learn-such-little-time/
> > On Sun, Mar 7, 2010 at 22:34, Tom M <letterrip at gmail.com> wrote:
> >> On Sun, Mar 7, 2010 at 7:45 PM, Leif Andersen <
> leif.a.andersen at gmail.com>
> >> wrote:
> >> >However, looking at the current
> >> > version of blender, I don't see n-gon support anywhere. Am I missing
> >> > something, or is it just not put in there yet (only available as an
> >> external
> >> > module at the moment, or something like that)?
> >> Ngon support will come when the bmesh branch is merged into Blender,
> >> which is anticipated in the next month or so.
> >> LetterRip
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at blender.org
> >> http://lists.blender.org/mailman/listinfo/bf-committers
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> - Campbell
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers