Daniel,
So i'm just outlining everything here so that we're on the same page.
We have a class polygonal_mesh which is the intermediate mesh structure. It
has vertex and face attributes in an indexed format. I don't see how we can
just use the virtual methods' implementation to access the native
structure, each time we need something, if we need to accommodate
OpenSCAD's non-indexed format.
Now, say we look at:
BRL-CAD's side of operation:
First the user enters the mged command. Now this as you said will be a TCL
command which will link to the mesh conversion file specific to BRL-CAD. We
now store the elements (vertex and face info) from the rt_bot_internal type
object in the intermediate type - polygonal_mesh.
OpenSCAD side:
We invoke the heal function from the GUI. This links up to the mesh
conversion file for OpenSCAD. Implementing the virtual methods here is not
trivial, since the PolySet class is not an indexed structure. So we cache
the data in the PolySet class in the intermediate polygonal_mesh class. The
data will include the vertices and faces information.
Now, for each of the heal functions, we pass the polygonal_mesh object and
first create a doubly-connected edge list. This will aid us in all the
healing operations. Now, do we create and delete the DCEL for each of the
heal functionalities (gaps, overlaps, T-joints, holes)? Or will it just be
done once? Can you tell me where exactly we draw the line between the two?
Is what i have outlined fine?
I'm lacking clarity on the matter, so I want to perfectly understand the
process before i code it out.
Regards,
Rakshika.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel