Hello,
> BRL-CAD's rt_bot_internal structure contains attributes such as vertices,
> faces, normals, etc. explicitly, while the
>
> > OpenSCAD Polyset class contains a vector of vector of 3D vectors as a
> set of polygons.
>
> Heh, they have a what??? :)
Sean, i apologise for the trivial language. What i meant was that their
'Polygons' structure is represented as a list if individual polygons. Each
of those are in turn represented as a list of 3D vectors.
> They can which is why the decision needed is whether to (A) use a
> generic container of vertices, faces, and normals that directly converts to
> BRL-CAD and trivially converts to OpenSCAD or (B) a general polyset
> structure that directly converts to OpenSCAD and trivially converts to
> BRL-CAD or (C) a more advanced container that will preserve topological
> structure and probably be easily convertible to BRL-CAD and OpenSCAD.
I'm in favor for using generic programming techniques which means to
> not invent a new container structure and avoids struggle with
> conversion issues. This should be an adequate approach for writing a
> generic mesh healing algorithm.
I thought so too, i had suggested it in my first mail. So we could go with
option (A) that Sean has suggested - where we convert to BRL-CAD directly
and OpenSCAD trivially. I think this might be better because it will be
easier and more understandable while making the geometry processing
structure as well.
What i'm not sure about is the geometry processing data structure. I get
that we are going from a 'bad' state to a 'good' one, but for example: say
we have a singular edge - with three incident faces. How would we represent
it as a half-edge data structure? Do we just ignore one of the faces? Won't
we lose data that way? Is there something i am missing?
Regards,
Rakshika.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel