Rakshika,

2016-03-30 19:35 GMT+02:00 Rakshika Bagavathy <rakshika.bagava...@gmail.com>:
> Hello Sean and Daniel,
>
> After reading your inputs on the task, i have a few questions:
>
> 1. Daniel mentioned that some additional features of bots that might be lost
> in conversion. I'm unable to understand what those are. Also, all the
> algorithms i mentioned in the proposal use just the basic vertices and faces
> (with indexed vertices) as the input. So, what are those extra features that
> we don't want to lose? either way, while returning a healed polygonal mesh
> structure we can just change the vertices, faces, and normals (if required).

Please have a look at struct rt_bot_internal in include/rt/geom.h.
Did you understand all entries of this struct?  How about OpenSCAD?  I
know nothing about its internal structures, but I'm pretty sure that
e.g. the polygonal mesh (how many do they have?) isn't trivial.

> 2. Sean mentioned that there will be topology changes, but as far as i
> think, it won't matter much because we are going to be healing them after
> those changes, right?

Changes the topology doesn't necessarily mean that a mesh is broken.
Think at a perfect mesh.  "Healing" it should change nothing, but
applying conversions to it could perhaps change the order of triangles
or the order of vertices in a triangle.  Could this cause problems?

> So, would it be fine to go forward with an STL like format which can be
> inter-converted to both BRL-CAD and OpenSCAD's primitives?

It depends.  Can you write converters which don't damage the mesh?
How much time would you need to do it?

Did you understand the alternatives?

> Or, we could first solve all topological defects and then use the half-edge
> data structure (as non-manifold meshes are the only ones that cannot be
> represented by a half-edge data structure, am i missing anything?) to
> correct all the other defects. Whichever one is the most optimal would be
> fine.

This sounds like doing the second step before the first one: Solve
defects, but with which structure?


Regards,
    Daniel

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to