GSOC 14 Summary
This week I am scheduled to implement the following
- I implemented ARS.
- Also implemented Ctypes Adapter to handle 2D Array
- Initiated witting test for ARS.
- Stuck in errors.
- Tried with different approaches to handle the array but with little success.
- Took a break off from ARS and implemented HALF runs properly. (tests also compile).
- Relooked at ARS, dug the C code, found some error and the way ars data should be sent.
- But the error still persists. although corrected my approach for sending data to mk_as
- Corrected the error after a call with Csaba, The error was related to freeing the memory from brlcad-C code and also python code. Hopefully this experience helps me solve future problems
This week's plan is to come in sync with the time line.
- Implemented superell.
- Also made two patches in accordance with the brlcad C repository(main).
- Sent a pull request for the code to be merged.
- Also worked on metaball. Metaball has some internal functions which are to be modified. thus figuring out a way to do it.
- Looked a Pipe primitive of brlcad and its implementation in python. Metaball has similar traits but there are further challenges. The data in metaball doesn't have number of points. Therefore this is tricky.
- Implemented Metaball.
- Though there was an issue with the fastf_t *verts, and I keep getting a very funny error :: expected LP_c_double_Array_5 instance instead of LP_c_double_Array_5
- Therefore for now my implementation works with fastf_t **verts.
- Started working on EBM.
- Learned brlcad image-processing tools. (They are quite good :-))
- Also getting this strange error "test framework quit unexpectedly"
- Some strange behavior with my set-up.
- Re-set up everything.
- finally it turned out that all my executables in the brlcad C repo where 0 sized.
- Created EBM primitve.
- Used Ychar image given in the example.
- works well
- Found a tricky error in BRLCAD C repository. The last argument in mk_metaball()
- Submitted patches #278 on the sf site to correct that.
- Also corrected the metaball implementation and found a better way to terminate the list argument.
- Was away most of the day.
- Accommodated changes suggested by Csaba.
- Implemented Grip.
- Explored Bot and Constraint,
- Constraint need not be implemented for now because its api is not mature.
- Bot is an interesting primitive. Chalked out a way for it.
- Spent my time figuring out issue with bot.
- Added bot primitive.
- The current version only creates a bot with plate mode.
- Started working on a new primitive.
- Apparently found an error in submodel primitive.
- Reported it to the core developers team
- Worked on modularizing the bot primitive.
- Contd. working on BOT.
- Tried different approaches.
- Modularizing a complex primitive as BOT has turned out to be tricky.
- Finally created a module wherein facility of adding faces in a bot is different
- Also each method has a different stub altogether.
- Cleaned the Bot code.
- Wrote few tests cases of different methods. This will also serve as examples
- Also finished working on submodel primitive.
- Created a different file in the resource directory for the tests.
June 12,13,14, 15
- Traveling (informed Csaba)
- Corrected ARS api to make it python friendly. The changed api only requires curve information.
- Modified ctypes array2d to make it more robust.