Sean:
Thanks for your guidance,
> 1. cat src/conv/conv_lib/Makefile (create a conv_lib directory for the
project)
>> Note that we use the CMake build system, which you can read about
online. Instead of putting build logic into Makefiles, we put the logic
into CMakeLists.txt files and CMake gives us Makefiles, MS Studio Files,
XCode files, ninja files, etc.
will investigate CMake online, should not be too hard, will first try to
build all executables from source in Ubuntu 14.04, (I downloaded
brlcad-7.24.2.tar.gz). Can you point me the documentation of the build
process, such as : configure, make all, make install.
> 2. cat src/conv/conv_lib/common.h
>> See include/gcv.h and include/gcv/*.h for the interface files and
src/libgcv/ for the main sources.
Have investigated some of the source code, raytrace.h seems to be an
important file to get familiar with,
most of the data structure is similar to "union tree" which is like
base-class derived-class kind of approach in C.
The src/libgcv directory already have something called bot which seems to
be related to 4 file formats
OTYPE_DXF OTYPE_OBJ OTYPE_SAT OTYPE_STL
is the above 4 format done already? if not perhaps I can start with the one
that is not yet finished? or perhaps some other simpler format.
> I will study Combinatoric Constructive Solid Geometry in the weekend, and
look at some examples in src/conv
>>This is a surprisingly good presentation of many solid modeling concepts
including what things like BREP, CSG, manifold geometry, and representation
formats mean:
http://web.iitd.ac.in/~hegde/cad/lecture/L30_solidmod_basics.pdf
Thanks for the link above, I now have some basic understanding. Basically
in order for the computer to manipulate a 3D object in space, we need to
describe the object mathematically. (either from primitive object that
already have a math model, (CSG) or from small surfaces that bound the
object)
I also find the following link helpful
https://en.wikipedia.org/wiki/Category:CAD_file_formats
But I did not investigate those format in detail.
wonder if you can give me some hints of what is the best candidate format
for this project.
Thanks
Margaret
On Fri, Mar 4, 2016 at 11:27 AM, Christopher Sean Morrison <brl...@mac.com>
wrote:
>
> Hi Margaret,
>
> > Thanks for your input. I do development in the Linux environment
> (Ubuntu 14.04), so the software architecture (in the UNIX environment) I
> have in mind for the library consists of the 3 components
>
> It’s great that you’ve thought about it — now you can see where we’re
> actually at in the implementation by looking in the src/libgcv directory of
> an SVN checkout. We made a lot of progress in the last year, but there’s
> still a LOT more work to do that you could propose like pulling in
> additional converters and verifying they work as expected.
>
> > 1. cat src/conv/conv_lib/Makefile (create a conv_lib directory for the
> project)
>
> Note that we use the CMake build system, which you can read about online.
> Instead of putting build logic into Makefiles, we put the logic into
> CMakeLists.txt files and CMake gives us Makefiles, MS Studio Files, XCode
> files, ninja files, etc.
>
> > 2. cat src/conv/conv_lib/common.h
>
> See include/gcv.h and include/gcv/*.h for the interface files and
> src/libgcv/ for the main sources.
>
> > I will study Combinatoric Constructive Solid Geometry in the weekend,
> and look at some examples in src/conv
>
> This is a surprisingly good presentation of many solid modeling concepts
> including what things like BREP, CSG, manifold geometry, and representation
> formats mean:
> http://web.iitd.ac.in/~hegde/cad/lecture/L30_solidmod_basics.pdf
>
> Cheers!
> Sean
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel