> I have a question with regards to the primitive support being added to Core
> C++ Interfaces by Daniel Rossberg. How much time does it typically take to
> add support for a primitive ?
Tanmay,
It depends on the primitive but you should estimate at least 3 days.
This estimation is based on the time needed by a colleague of mine to
implement the ellipsoid primitive. The main tasks he had to do were
exploring the primitive (including all its specializations etc.),
finding the valid parameter sets and put this all in a simple easy to
understand class in a way that people are thinking "I could have this
done in some hours too" ;)
But I do not want to discourage you. Quite the opposite I want to
share my thoughts about the object oriented interfaces to BRL-CAD with
you. That way you can think about them and enrich your proposal with
your conclusions.
As you have already noticed there are 3 major attempts for such
interfaces: the core interface, Geometry Engine and Geometry Service.
The core interface consists of a set of already operational sources
but no class diagram. The other two projects have an architecture
diagram but no operational content.
The reason is that the core interface is mainly a rewording of the
existing BRL-CAD C object structure to C++. This can be done very
closely on top of the core libraries (librt, ...). The Geometry
Engine attempt is guided by considerations of how a C++ interface to a
CAD should ideally look like.
The result of these two projects are of course not the same. However
the ideal interface should be build on top of the core interface. You
could use this in your proposal and say
- How you want to examine the core libraries and extend the core
C++ interface and
- How should a competitive C++ interface look like (e.g.from your
experience with SolidWorks).
There is quite a lot left o say about it. On the other had I would
like to read your thoughts and ideas about this in your proposal.
E.g. where do you see the difficulties etc. pp. ...
Regards,
Daniel
------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel