Rakshika, If you understood you right polygonal_mesh is essentially a BRL-CAD BoT and OpenSCAD's PolySet can be considered as a subset of BoT. I.e. your approach could work.
> So, this way out conversion just lies in these two functions ... :))) everything lies in just one function: main() > I know we don't have much time left before i start coding it out, but just > thought i'd solidify my idea and let you know. > What do you think about this method? Or do you feel it'd be more robust > using the generic container and defining the conversion process separately > in the utility functions? If my above assumption is true then there wouldn't be a big difference. You plan to write functions for accesses to polygonal_mesh which is a similar effort than implementing an interface. You can choose the method which is more comfortable for you. > Also, i had another question. Since we won't be giving mode-specific > operations, will it give rise to any complications? For example, in vertex > contraction functionality, i had proposed that if the mode was plate/surf > the final vertex would be the midpoint of the two that are going to be > contracted. If it was a volume bot, then we'd take the midpoint of the line > formed by the intersection of the two tangential planes. How do we solve > this? Independently from having mode-specific operations or not: If you do the vertex contraction with the triangulated boundary of a plate mode BoT, how will this compare with the contraction of the vertices of the original BoT? > PS: For the conversion process, depending on the method we decide on, i'd > have to write the utility functions appropriately. I'll go through my entire > proposal once and make a list of all the functions i could possibly need. > Sure, we could add them later, but having something would complicate things > lesser, i feel. How about a week for all the base work relating to > conversions. ... Sounds like a plan :) Regards, Daniel ------------------------------------------------------------------------------ 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