IRC log for #brlcad on 20131227

00:00.01kanzureor, if it does, show it to me and i will fix
00:00.28ncsaba_well there's no actual code yet which could do that, but I guess you're right
00:00.58ncsaba_I'm kind of beginner with python, although I like it more and more :-)
00:01.29ncsaba_OK, it's late here and I will go now - do you have something for me to work on tomorrow ?
00:01.46ncsaba_my goal is to get closer to the python version of mged
00:01.52kanzureopen up ipython: import antigravity
00:02.11kanzurewell, i think that working on some basic models for pythonic cad would be useful, but it's a big task that i haven't tackled yet
00:02.37ncsaba_yes, it doesn't need to happen at once
00:03.01kanzureabout 4 years ago i did a similar thing for opencascade+python
00:03.02kanzurehttps://github.com/kanzure/skdb/blob/master/geom/geom.py
00:03.12kanzurebut the underlying models in opencascade are different of course
00:03.26ncsaba_I'll be happy to be able to open a .g db file, create some RPPs and ray-trace for starters
00:03.29kanzurebut the basic idea is that a cube or a sphere should be basically the same classes/subclasses with the same available operations
00:03.31kanzuresure
00:04.07kanzurea way to dump to a png for visualization might be nice
00:04.43ncsaba_I wonder if we couldn't actually reuse the TK display manager for starters
00:05.15ncsaba_and only replace the TCL shell part
00:05.51kanzureyou can embed python into the compiled project if you want
00:05.56kanzurebut that is outside the scope of python-brlcad
00:05.59ncsaba_it is fairly complex what mged does there, I had a short reading of mged.h and friends
00:06.12kanzurepython-brlcad could provide its own tk gui (i think a few tk modules are distributed by default with python)
00:06.33ncsaba_no, I don't want to embed python in brlcad
00:06.35kanzure(a python-based gui is not a high priority for me at the moment)
00:07.29ncsaba_but I think it is possible to start up the existing brlcad display managers from python/ctypes, and use it via python command line augmented with the ctypes bindings + convenience wrappers
00:08.06ncsaba_not sure if that is really possible, but might be
00:08.11*** join/#brlcad merzo (~merzo@222-49-132-95.pool.ukrtel.net)
00:08.59ncsaba_but if you have plans of simplifying the bindings code first, I will be happy to help out if you need any leg-work on that
00:10.15ncsaba_regarding the python code, I will want then to experiment with a slightly different modelling paradigm, based on total separation of structure and positioning
00:11.03ncsaba_what I mean by that is: when I want to create an RPP, I really don't care where I will place it at the end, I just want to give 3 edge sizes
00:11.48kanzurethat's right, i want some sort of declarative modeling where you can create arbitrary instances of a cube/shape/whatever definitions, and then use those to fuse/intersect/union with other objects
00:12.08ncsaba_then the positioning will be done by querying the RPP for one of it's edges/faces/corner points, and constrain that with respect to other objects of the model
00:14.12ncsaba_constraints can become arbitrarily complex, involving possibly multiple reference points on different objects, and different logic of how to relate those
00:14.36ncsaba_that's why I actually want to use python first - all this is really foggy now, and C is simply not a good prototyping language
00:16.10ncsaba_ok, so that's about what I aim for - small steps first :-)
00:16.37kanzurecool, thanks for being around btw
00:16.48kanzurei think you're the first person to try the library that i didn't directly contact
00:17.00kanzuree.g. you are not using it because i bugged you to :)
00:17.04ncsaba_:-)
00:17.12ncsaba_let's clean up the ctypes bindings code, and then will go further...
00:17.43ncsaba_but there I need you to tell me what aspects I should touch - tomorrow, it's late here now :-)
00:20.15ncsaba_BTW, I get lots of this: ERROR: /home/csaba/deploy/brlcad/dev-7.24.1/include/tclDecls.h:1662: Syntax error at 'va_list'
00:20.29ncsaba_and: ERROR: /usr/include/stdio.h:515: Syntax error at '__gnuc_va_list'
00:20.30kanzurectypesgen is using gcc to parse the files i think
00:20.44ncsaba_I was supposing those are just ignored
00:20.50kanzurei think they are
00:20.55ncsaba_ok
00:21.00kanzurebut it might also be fixable. i haven't investigated in ctypesgen completely yet.
00:21.13ncsaba_it is in TCL code - I'm not sure if it is interesting at all
00:21.44ncsaba_I would also try to understand the relation between libged and TCL, and try to factor it out altogether if possible
00:21.47kanzurectypesgen has a bunch of issues with parsing the brlcad macros
00:21.51ncsaba_aha
00:22.04kanzurei think it is still choking on a good number of macros from bu
00:22.48ncsaba_well I don't see any other errors
00:23.28kanzurei wonder if i enabled error suppression?
00:23.49ncsaba_I see lots of those "va_list" related errors, and that's all
00:24.57ncsaba_you have this: options.include_macros = False
00:25.07ncsaba_probably macros are skipped altogether ?
00:25.47kanzurehmm i can't remember if that was intentional
00:25.49ncsaba_and: options.show_all_errors = debug
00:26.00ncsaba_I guess it will show all errors
00:27.24ncsaba_ok, I will really have to go now, it's 2AM here :-)
00:27.32ncsaba_almost
00:28.11ncsaba_will keep in touch, most likely via mail, due to time zones :-)
00:28.18ncsaba_bye !
00:28.37kanzurelemme know what you think about https://github.com/kanzure/python-brlcad/pull/10 whenever
00:30.34ncsaba_I'm not picky anymore about small things like that, got over the age when I was :-)
00:31.35ncsaba_what could be more interesting is to get the library list, dependencies, and perhaps other configuration into a config file read by the post-install
00:32.01ncsaba_so you don't need to change code for changing the library list, and let the end user easily fix it too when needed
00:33.18ncsaba_ok, I will leave now really :-)
00:33.19ncsaba_bye
02:27.16Notify03BRL-CAD:tbrowder2 * 59179 brlcad/trunk/src/lgt/texture.c: convert K&R func format
02:43.20Notify03BRL-CAD:tbrowder2 * 59180 brlcad/trunk/src/conv/euclid/g-euclid1.c: ws, style
02:43.30Notify03BRL-CAD:tbrowder2 * 59181 brlcad/trunk/src/conv/euclid/g-euclid1.c: rename var 'class' which is a C++ keyword
02:46.06Notify03BRL-CAD:tbrowder2 * 59182 brlcad/trunk/src/conv/iges/add_face.c: convert K&R func format to ANSI
02:46.51Notify03BRL-CAD:tbrowder2 * 59183 brlcad/trunk/src/conv/iges/add_loop.c: convert K&R func format to ANSI
02:50.51Notify03BRL-CAD:tbrowder2 * 59184 brlcad/trunk/src/conv/iges/check_names.c: convert K&R func formats to ANSI
02:54.19Notify03BRL-CAD:tbrowder2 * 59185 brlcad/trunk/src/conv/iges/conv_drawings.c: convert K&R func formats to ANSI
02:55.24Notify03BRL-CAD:tbrowder2 * 59186 brlcad/trunk/src/conv/iges/cyl.c: convert K&R func format to ANSI
02:56.16Notify03BRL-CAD:tbrowder2 * 59187 brlcad/trunk/src/conv/iges/ell.c: convert K&R func format to ANSI
02:58.07Notify03BRL-CAD:tbrowder2 * 59188 brlcad/trunk/src/conv/iges/g-iges.c: convert K&R func format to ANSI
03:03.31*** join/#brlcad gcibot (~gcibot@elsalvador.media.mit.edu)
03:18.19Notify03BRL-CAD:tbrowder2 * 59189 (brlcad/trunk/src/conv/iges/get_vertex.c brlcad/trunk/src/conv/iges/iges.c and 7 others): convert K&R func formats to ANSI
03:19.14Notify03BRL-CAD:tbrowder2 * 59190 brlcad/trunk/src/conv/nmg/nmg-sgp.c: convert K&R func format to ANSI
03:19.43*** join/#brlcad gcibot (~gcibot@elsalvador.media.mit.edu)
03:26.06Notify03BRL-CAD:tbrowder2 * 59191 brlcad/trunk/src/conv/vdeck/vdeck.c: rename func 'delete' which is a C++ keyword
03:47.18Notify03BRL-CAD:tbrowder2 * 59192 brlcad/trunk/src/conv/iges/readcnv.c: get func arg types correct
04:38.19*** join/#brlcad Rishabh (~chatzilla@1.187.244.178)
05:13.38*** join/#brlcad bits038 (~chatzilla@1.187.244.178)
05:24.03*** join/#brlcad ankush92 (~ankush92@101.62.56.188)
05:46.27Notify03BRL-CAD:brlcad * 59193 brlcad/trunk/src/fb/fblabel.c: release memory allocated by vfont_get(), even if we're currently exiting
06:00.19*** join/#brlcad PrezKennedy (~DarkCalf@173.231.40.98)
06:13.35Notify03GCI:agkphysics * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: Task Claimed - I would like to work on this task.
06:42.38Notify03BRL-CAD:brlcad * 59194 (brlcad/trunk/src/adrt/librender/texture.h brlcad/trunk/src/adrt/librender/texture_blend.c and 9 others): apply modified gci patch http://www.google-melange.com/gci/task/view/google/gci2013/5788972609437696 from ?\208?\161?\209?\130?\208?\176?\208?\189?\208?\184?\209?\129?\208?\187?\208?\176?\208?\178 ?\208?\145?\208?\181?\209?\128?\208?\181?\208?\179?\208?\190?\208?\178 eliminating several
06:42.40Notifyunused init functions in adrt and a math funtion in the comgeom converter (which happens to be in libbn now too)
06:42.42gcibotIdentify and eliminate dead code (100+ lines)
06:42.42gcibotStatus: NeedsReview (25 hours, 54 minutes left)
06:42.42gcibotMentor(s): Kesha Shah
06:43.32Notify03GCI:Marie Gita * 6447773884874752 Design a front cover of Doc Camp Book #2: Ready for review - The work on this task is ready to be reviewed.
06:45.02Notify03GCI:Marie Gita * 6447773884874752 Design a front cover of Doc Camp Book #2: designs -  hi,  I tried two different designs and uploaded them as brlcadcoverI and brlcadcoverII  thank you
06:46.52Notify03GCI:Sean * 5788972609437696 Identify and eliminate dead code (100+ lines): applied -  Your patch needed modification, but was applied in r59194 -- thank you for your efforts! You have been...
06:50.45Notify03BRL-CAD:brlcad * 59195 brlcad/trunk/AUTHORS: credit ?\208?\161?\209?\130?\208?\176?\208?\189?\208?\184?\209?\129?\208?\187?\208?\176?\208?\178 ?\208?\145?\208?\181?\209?\128?\208?\181?\208?\179?\208?\190?\208?\178 for his gci patch that eliminated several unused functions from adrt and one from comgeom
06:50.51Notify03GCI:Sean * 5788972609437696 Identify and eliminate dead code (100+ lines): Task Closed - Congratulations, this task has been completed successfully.
06:50.52Notify03GCI:Sean * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: Task Assigned - This task has been assigned to agkphysics. You have 72 hours to complete this task, good...
07:12.21*** join/#brlcad PrezKennedy (~DarkCalf@173.231.40.98)
07:28.05*** join/#brlcad ankush92 (~ankush92@101.62.56.188)
07:33.07Notify03GCI:agkphysics * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: Ready for review - The work on this task is ready to be reviewed.
07:36.45*** join/#brlcad bits038_ (~chatzilla@49.14.153.68)
07:40.44Notify03GCI:agkphysics * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: None -  I have written tests for 16 more bn_mat functions, but there are some questions I would like...
07:49.00Notify03GCI:Melange * 6447773884874752 Design a front cover of Doc Camp Book #2: No more Work can be submitted - Melange has detected that the deadline has passed and no more work can be submitted. The...
07:51.00Notify03GCI:Sean * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: Task Closed - Congratulations, this task has been completed successfully.
07:55.00Notify03GCI:Sean * 5812790350577664 Create unit tests for our numerics math library (LIBBN) #3: good questions -  It's all about code coverage. Every public function should be tested, no matter how...
07:57.21Notify03GCI:Sean * 6447773884874752 Design a front cover of Doc Camp Book #2: Task Needs More Work - One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task...
08:05.43*** join/#brlcad 18WAFFQZC (~ankush92@115.250.165.113)
08:06.09*** join/#brlcad justin_ (7c376cb2@gateway/web/freenode/ip.124.55.108.178)
08:08.09Notify03GCI:Sean * 6447773884874752 Design a front cover of Doc Camp Book #2: Deadline extended - The deadline of the task has been extended with 2 days and 0 hours.
08:08.28Notify03GCI:Sean * 6447773884874752 Design a front cover of Doc Camp Book #2: source -  Marie,  This is a nice design but I have a few questions and suggestions. First and foremost, where is the image of...
08:08.33*** join/#brlcad kesha (~kesha@49.202.238.128)
08:31.09Notify03BRL-CAD:agkphysics * 59196 (brlcad/trunk/src/libbn/tests/CMakeLists.txt brlcad/trunk/src/libbn/tests/bn_mat.c): Added 16 more bn_mat test functions.The two tests for bn_vec_ae() fail for some reason.It might be a bug in the function itself because it consistentlyreturns the same z vector component irrespective of input.
08:51.39*** join/#brlcad ASARE_je_ (~ASARE_je@41-218-197-78-adsl-dyn.4u.com.gh)
08:52.08ASARE_je_Hello..
09:12.06*** join/#brlcad kesha (~kesha@49.202.238.128)
09:35.08*** join/#brlcad chick_ (c318d114@gateway/web/freenode/ip.195.24.209.20)
09:46.15*** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
09:49.46*** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
10:08.48*** join/#brlcad chick__ (c318d115@gateway/web/freenode/ip.195.24.209.21)
10:47.48Notify03GCI:Sharan Narayan * 4673576447770624 Reproduce any 5 unconfirmed open bug reports: Ready for review - The work on this task is ready to be reviewed.
10:53.26*** join/#brlcad FreezingCold (~FreezingC@135.0.41.14)
11:00.06*** join/#brlcad kesha (~kesha@49.249.17.210)
11:09.35*** join/#brlcad kesha_ (~kesha@49.202.238.29)
11:22.51Notify03GCI:Sharan Narayan * 5832530557140992 Fix image formatting in BRL-CAD's Docbook Documentation (any one large document or 4 smaller documents) #4: What to do -  I somehow managed to find XML files...
11:24.33*** join/#brlcad kesha_ (~kesha@49.202.238.184)
11:43.14*** join/#brlcad ankush92 (~ankush92@115.250.165.113)
11:52.44*** join/#brlcad KimK (~Kim__@ip24-255-223-153.ks.ks.cox.net)
12:05.44*** join/#brlcad ankush92 (~ankush92@115.253.125.188)
12:24.47*** join/#brlcad ankush92 (~ankush92@115.253.125.188)
13:06.51FreezingColdmged> in btn2.s e111 8 33 36 4 0 0 2
13:06.51FreezingColdError: in: e111 is not a known primitive
13:08.31FreezingColdnever mind, figured out it was ell1
13:08.39FreezingColdThe font in the basic lessons is horrible btw lol
13:33.49*** join/#brlcad r038 (~chatzilla@106.67.101.208)
13:47.57Notify03GCI:Deep Inder Singh * 5893967379955712 Design a front cover of Doc Camp Book #4: Claim Removed - The claim on this task has been removed, someone else can claim it now.
14:41.38*** join/#brlcad ankush92 (~ankush92@115.253.125.188)
15:37.41Notify03BRL-CAD Wiki:Gerardollanes * 0 /wiki/User:Gerardollanes:
15:55.11*** join/#brlcad ankush92 (~ankush92@115.253.100.2)
16:27.25*** join/#brlcad kesha (~kesha@49.249.191.96)
16:39.08*** join/#brlcad gcibot (~gcibot@elsalvador.media.mit.edu)
16:46.15Notify03BRL-CAD:tbrowder2 * 59197 (brlcad/trunk/src/adrt/load_g.c brlcad/trunk/src/conv/asc/g2asc.c and 45 others): correct and explict casts for C++ compilation
16:47.32Notify03BRL-CAD:tbrowder2 * 59198 brlcad/trunk/src/adrt/librender/camera.c: correct var types; use explicit casts for C++
16:49.50Notify03BRL-CAD:tbrowder2 * 59199 brlcad/trunk/src/conv/dxf/dxf-g.c: a bit of a hack to get correct types for now; probably need to fix the affected function and its signature
16:49.57*** join/#brlcad kesha (~kesha@49.249.0.80)
16:59.33*** join/#brlcad kesha (~kesha@49.249.8.160)
17:04.00Notify03BRL-CAD:tbrowder2 * 59200 brlcad/trunk/src/gtools/g_transfer.c: ws, style
17:04.12Notify03BRL-CAD:tbrowder2 * 59201 brlcad/trunk/src/gtools/g_transfer.c: make correct casts from void* for C++
17:14.55Notify03BRL-CAD:tbrowder2 * 59202 (brlcad/trunk/include/fbio.h brlcad/trunk/include/orle.h): add FIXME comment ref identical structs
17:19.16*** join/#brlcad kesha (~kesha@49.249.17.36)
17:27.45*** join/#brlcad kesha (~kesha@49.249.17.36)
17:30.40Notify03BRL-CAD:tbrowder2 * 59203 brlcad/trunk/src/conv/comgeom/solid.c: reorder var init to avoid C++ error of goto skipping ove var init
17:31.02Notify03BRL-CAD:tbrowder2 * 59204 (brlcad/trunk/src/librt/db_lookup.c brlcad/trunk/src/librt/prep.c brlcad/trunk/src/librt/primitives/ars/ars.c): avoid const char errors for C++
17:31.47Notify03BRL-CAD:tbrowder2 * 59205 (brlcad/trunk/src/adrt/adrt.h brlcad/trunk/src/adrt/isst_tcltk.c): casts to correct types for C++
17:33.55brlcadFreezingCold: e111 ?
17:34.10brlcadah, glad to see you figured it out
17:34.47Notify03BRL-CAD:tbrowder2 * 59206 brlcad/trunk/src/fb/polar-fb.c: define func pointer correctly for C++
17:34.48brlcadfeel free to share a better free font suggestion
17:37.50*** join/#brlcad kesha (~kesha@49.249.17.36)
17:38.42Notify03BRL-CAD:tbrowder2 * 59207 brlcad/trunk/src/fb/polar-fb.c: add braces to while statement for clarity; ws, style
18:02.03*** join/#brlcad kesha_ (~kesha@49.249.17.36)
18:10.31*** join/#brlcad jschulte (~androirc@tmo-096-94.customers.d1-online.com)
18:17.01jschulteUnder this task ( http://www.google-melange.com/gci/task/view/google/gci2013/5314763659673600), we talked about some follow-on tasks. Have they already been created, because I can't find them in the task browser?
18:33.39FreezingColdbrlcad: I actually love Google's Lato :)
18:34.10FreezingColdLate light to be precise
18:34.15FreezingCold*Lato light
18:50.26FreezingColdhttp://www.google.com/fonts/specimen/Lato#charset
18:55.51*** join/#brlcad kesha__ (~kesha@49.249.16.170)
19:12.53maths22brlcad: my docbook task was supposed to be broken up into several (it took me a while to add all the tags and images to each chapter)
19:13.19maths22I discussed it with starseeker, and he said he had added some tasks that just needed to be approved
19:13.25maths22Would you be able to do that?
19:29.58*** join/#brlcad guest1234 (50bb605e@gateway/web/freenode/ip.80.187.96.94)
19:57.34*** join/#brlcad ankush92 (~ankush92@101.59.186.18)
20:05.01Notify03GCI:Sean * 4673576447770624 Reproduce any 5 unconfirmed open bug reports: question -  Sharan, nice work but one question regarding your comment on the last one,...
20:05.06Notify03GCI:Sean * 4673576447770624 Reproduce any 5 unconfirmed open bug reports: Task Closed - Congratulations, this task has been completed successfully.
20:08.32Notify03GCI:Sharan Narayan * 4673576447770624 Reproduce any 5 unconfirmed open bug reports: Reply -  I closed the MGED by pressing the cross or x button of the graphics window and command window  But...
20:26.21Notify03GCI:Sharan Narayan * 5832530557140992 Fix image formatting in BRL-CAD's Docbook Documentation (any one large document or 4 smaller documents) #4: Task Claimed - I would like to work on this task.
20:29.57Notify03GCI:Mandeep Kaur * 5832530557140992 Fix image formatting in BRL-CAD's Docbook Documentation (any one large document or 4 smaller documents) #4: Task Assigned - This task has been assigned to...
21:10.29Notify03GCI:PCK-45 * 5893967379955712 Design a front cover of Doc Camp Book #4: Task Claimed - I would like to work on this task.
21:20.23Notify03GCI:Mandeep Kaur * 5893967379955712 Design a front cover of Doc Camp Book #4: Task Assigned - This task has been assigned to PCK-45. You have 72 hours to complete this task, good luck!
21:51.08*** join/#brlcad kesha (~kesha@49.249.16.170)
21:51.48brlcadkesha: when you have a moment, I'd like to talk with you about the community manager role
22:25.02*** join/#brlcad kesha (~kesha@49.249.16.170)
23:00.49keshabrlcad: ping
23:01.31keshawaves to brlcad
23:54.29Notify03BRL-CAD:n_reed * 59208 (brlcad/trunk/src/libged/analyze.c brlcad/trunk/src/librt/primitives/vol/vol.c): uninitialized variables
23:54.43*** join/#brlcad jschulte (50bb605e@gateway/web/freenode/ip.80.187.96.94)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.