[brlcad-devel] Error in Submodel

2014-06-09 Thread Raj Reddy
Hi all. I was trying to explore submodel. And get an error. for example I have two database abc.g and bot.g bot.g contains the following shapes (bot1, prism) Now I try to create another database by using the session given at [1] Apparently mged prompts an error [2] and stops. The bu-bomb log i

Re: [brlcad-devel] Wrapping bu_bitv a challenge!

2014-06-08 Thread Raj Reddy
Hi csaba, Thanks for your email. It was indeed a challenge because the kind of hack which was done in BRL-CAD c repository. Although I have solved it with another hack in python ;). To see the code visit [1] Cheers! Raj. [1] https://github.com/raj12lnm/python-brlcad/commit/ab57e62db457b18b283

[brlcad-devel] Wrapping bu_bitv a challenge!

2014-06-06 Thread Raj Reddy
Hi all, The brlcad bu_bitv is very intelligently implemented. But it turns out to be very difficult to wrap that in the python code which is required for BOT primitive Below, I explain the situation further. -> The bu_bitv has a vector "bits" which is a unsigned char type of data. (of size 2 as

Re: [brlcad-devel] Regarding Clarification for metaball arguments

2014-06-03 Thread Raj Reddy
Hi all. I have submitted two patches to resolve the above issue. Both the patches resolve this. Also, they are put in the same ticket. (I believe that is the right way of doing it) https://sourceforge.net/p/brlcad/patches/278/ So either of them can be chosen. Best, Raj

[brlcad-devel] Regarding Clarification for metaball arguments

2014-06-03 Thread Raj Reddy
hi all, The last argument in mk_metaball(..) defined in src/libwdb/wdb.c looks erroneous to me it reads fastf_t *verts[5] As per [1] this means verts is a 5 array of pointers of type floats. Instead i think this should be fastf_t (*verts)[5] which would mean verts is a pointer to 5 array of fas

[brlcad-devel] Fwd: Some clarifications and suggestions required

2014-05-29 Thread Raj Reddy
Hi csaba, Thanks for the drill last week, I hope you found the details in the pull request I sent to you. I am planning to create an extra branch now. so that it is easy and convenient to shift. I require some clarifications/suggestions regarding implementations of the following primitives a) Me

[brlcad-devel] mk_superell missing

2014-05-26 Thread Raj Reddy
hi devs. While implementing python wrapping for superell, I found that mk_superell is not available. This prompted me to search for how they are created using mged and it turns out that . superell_in is used to create superell which is in src/libged/typein.c and on looking further it just create

[brlcad-devel] Regarding modularizing BRLCAD libwdb

2014-05-26 Thread Raj Reddy
folks, While working on python wrapping of brlcad-libraries, I have found a lot of primitives mk_xx function are lying in the xx.c file whereas some are lying in wdb.c ? Is this a uniformity issue ? Or it is done with some logic ! Cheers! Raj

[brlcad-devel] Regarding ARS Geometry

2014-05-19 Thread Raj Reddy
Hi all.. I have implemented ARS wrapper today in my project. I am looking forward to understand the basic geometry behind ARS primitve. On looking on the web I found a simple example of ARS. http://brlcad.org/wiki/BRL-CAD_Primitives#ars Please suggest some reference so that I can document and

[brlcad-devel] Regarding BRL-CAD V24.0

2014-04-26 Thread Raj Reddy
Hi. I am setting up a CI build system for python-brlcad. I require to install a version of BRL-CAD in the bot. I found that brlcad v22 is availabe throw package manager in ubuntu.[1] But I failed to find the availability of the latest version of BRLCAD v24 through package manager. Please inform

[brlcad-devel] GSOC Python-BRLCAD, Continuous build integration.

2014-04-24 Thread Raj Reddy
Hii.. Thanks for selecting me as a GSOC student. I would like to setup continuous build system during the community bonding system. So that we could test the repo with different environments and versions of python. And resolve if there exists issues for windows or other enviroments. Also it is c

[brlcad-devel] BRLCAD on github

2014-04-10 Thread Raj Reddy
Hi all, There is a very extended debate about git and svn, and I wouldnot want to plung into that. But I see that there are lot of projects related to BRLCAD on github. [1] Is it a good idea to create a community named BRL-CAD on github and fork all the code-bases. Cheers! Raj [1] https://gi

[brlcad-devel] Updates regarding proposal

2014-04-05 Thread Raj Reddy
hi sean and Csaba I have updated my proposal. Please see on google melange at [1] Bests, Raj [1] http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/krajkreddy/5629499534213120 -- ___

Re: [brlcad-devel] GSOC Proposal Help

2014-03-21 Thread Raj Reddy
Hi Rishabh. Its good to ask questions on the list. :-) (my first learning in open source, Although I am new and novice.) Create a user account on brlcad.org Then, Say you wish to create a wiki page as follows http://brlcad.org/wiki/User:Krajkreddy/GSOC14/proposal/example Just open the page. Th

Re: [brlcad-devel] GSOC Proposal - URGENT

2014-03-21 Thread Raj Reddy
Hi rishabh. Not a official word (since I am a student also) But I would suggest you to put your proposal on brlcad wiki. Its convenient to read from there. Best, Raj. -- Learn Graph Databases - Download FREE O'Reilly Bo