IRC log for #brlcad on 20120830

00:13.07 elf_ In wdb_obj.c there are 2 tables where commands are registered why is that? Also I think I should add the joint command to the second table, right? the "static struct bu_cmdtab wdb_cmds[]" one.
00:15.00 elf_ Also in the src/mged/cmd.c there's a function int mged_cmd() that verifies if the number of arguments for a command are right and then passes the control to that function, is there something similar in the libged files?
01:20.33 CIA-69 BRL-CAD: 03starseeker * r52278 10/brlcad/trunk/src/librt/test_botpatches.cpp: simplify some code a bit using mk_edge
01:33.52 starseeker ``Erik: http://projects.blender.org/tracker/?func=detail&atid=127&aid=4345&group_id=9
02:55.06 *** join/#brlcad elf_ (~elf@109.97.159.5)
03:47.29 brlcad <PROTECTED>
03:47.50 brlcad next to get them to hook into librt for all geometry ;)
03:52.35 brlcad elf_: you can ignore wdb_obj.c for the most part
03:57.11 brlcad but to answer your question, yes some are *also* registered there but that's because it's a completely different command "object" interface different from the one used when you type a commands into mged
03:59.05 brlcad there are two tables because one is for the newer libged functions and the other is for the older previous functions
03:59.31 brlcad you'll see that similar setup in mged too, which is where you'll be paying attention to the old and new style
03:59.56 brlcad f_joint() is old, ged_joint() will be new .. so you're changing the setup.c table
04:57.51 elf_ Ah, now it does make sense, I have to modify the setup.c table and to make that ged_joint() function so that it can be added in the table as {"joint", cmd_somekindofwrapper, ged_joint}
06:47.35 *** join/#brlcad ibot (~ibot@rikers.org)
06:47.35 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
06:51.08 *** join/#brlcad ibot (~ibot@rikers.org)
06:51.08 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
06:55.20 *** join/#brlcad ibot (~ibot@rikers.org)
06:55.20 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
06:56.51 *** join/#brlcad merzo (~merzo@64-118-132-95.pool.ukrtel.net)
07:01.42 *** join/#brlcad ibot (~ibot@rikers.org)
07:01.42 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
07:05.22 *** join/#brlcad ibot (~ibot@rikers.org)
07:05.22 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
07:08.41 *** join/#brlcad ibot (~ibot@rikers.org)
07:08.41 *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || Congratulations to our 11 accepted GSoC students!!
08:30.52 *** join/#brlcad cristina (~quassel@188.24.44.191)
09:11.12 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
10:35.06 *** join/#brlcad merzo (~merzo@64-118-132-95.pool.ukrtel.net)
10:38.47 *** join/#brlcad crdueck (~cdk@d173-238-127-19.home4.cgocable.net)
11:28.38 starseeker brlcad: unfortunately, it was back in 2006 and I think I saw a post indicating it didn't perform well in blender :-/
11:53.36 *** join/#brlcad Yoshi47 (~jan@64.235.102.210)
13:12.43 elf_ Okay, so I followed some of the commands in the /mged/setup.c table, the ones that are lowered on the libged, and I tried to do the same for the joint command.
13:16.35 elf_ Here's what I did so far: http://paste.ubuntu.com/1175850/
13:17.00 elf_ When I run compile I get those errors http://paste.ubuntu.com/1175838/
13:17.34 elf_ and I can't figure out why :(
13:23.14 CIA-69 BRL-CAD: 03starseeker * r52279 10/brlcad/trunk/src/librt/test_botpatches.cpp: just use ON_3dPoint - no point in custom point type here.
13:43.59 *** join/#brlcad elf__ (~elf@92.80.34.163)
13:52.46 *** join/#brlcad elf (~elf@92.80.38.108)
13:53.45 *** join/#brlcad elf_ (~elf@92.80.38.108)
13:53.54 CIA-69 BRL-CAD: 03starseeker * r52280 10/brlcad/trunk/src/librt/test_botpatches.cpp: cleanup, simplify (slightly)
14:15.56 brlcad starseeker: hm, I thought it looked familiar
14:17.36 *** join/#brlcad cristina (~quassel@188.24.44.191)
14:34.33 CIA-69 BRL-CAD: 03Elf11 07http://brlcad.org * r4378 10/wiki/User:Elf11: /* Log */
14:48.00 *** join/#brlcad elf (~elf@109.97.138.82)
14:51.20 *** join/#brlcad elf_ (~elf@109.97.138.82)
15:40.33 *** join/#brlcad crdueck (~cdk@d173-238-127-19.home4.cgocable.net)
15:40.33 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
15:41.04 *** join/#brlcad kanzure (~kanzure@131.252.130.248)
16:36.13 *** join/#brlcad Al_Da_Best (~Al_Da_Bes@5e0e1434.bb.sky.com)
19:40.49 CIA-69 BRL-CAD: 03carlmoore * r52281 10/brlcad/trunk/misc/Doxyfile: fix 2 spellings
19:42.49 CIA-69 BRL-CAD: 03carlmoore * r52282 10/brlcad/trunk/misc/Doxyfile.in: fix 1 spelling
19:49.35 CIA-69 BRL-CAD: 03carlmoore * r52283 10/brlcad/trunk/misc/fortran_example.f: fix 1 spelling
19:57.49 CIA-69 BRL-CAD: 03carlmoore * r52284 10/brlcad/trunk/autogen.sh: fix spellings in 3 places
20:12.18 CIA-69 BRL-CAD: 03carlmoore * r52285 10/brlcad/trunk/TODO: fix 1 spelling
20:12.51 CIA-69 BRL-CAD: 03carlmoore * r52286 10/brlcad/trunk/NEWS: fix 1 spelling
20:21.10 CIA-69 BRL-CAD: 03carlmoore * r52287 10/brlcad/trunk/src/conv/fast4-g.c: fix 1 spelling
20:21.53 CIA-69 BRL-CAD: 03carlmoore * r52288 10/brlcad/trunk/src/conv/fast4-g.c: and fix another spelling
20:24.24 CIA-69 BRL-CAD: 03carlmoore * r52289 10/brlcad/trunk/src/conv/g-shell-rect.1: fix 2 spellings
20:32.34 CIA-69 BRL-CAD: 03carlmoore * r52290 10/brlcad/trunk/misc/CMake/FindTCL.cmake: fix spelling of a variable as advised
20:35.08 CIA-69 BRL-CAD: 03carlmoore * r52291 10/brlcad/trunk/misc/NIST_DENSITIES: as advised, fix spelling of 'Dichlorobenzene'
20:41.12 CIA-69 BRL-CAD: 03carlmoore * r52292 10/brlcad/trunk/src/lgt/reflect.c: fix 5 spellings
20:43.04 CIA-69 BRL-CAD: 03carlmoore * r52293 10/brlcad/trunk/src/lgt/char.c: fix spelling
20:44.59 CIA-69 BRL-CAD: 03carlmoore * r52294 10/brlcad/trunk/src/lgt/grid_rotate.c: fix 1 spelling
20:46.48 CIA-69 BRL-CAD: 03carlmoore * r52295 10/brlcad/trunk/src/lgt/hmenu.c: fix 1 spelling
20:48.45 CIA-69 BRL-CAD: 03carlmoore * r52296 10/brlcad/trunk/src/lgt/error.c: fix 1 spelling
20:50.15 CIA-69 BRL-CAD: 03carlmoore * r52297 10/brlcad/trunk/src/lgt/prnt.c: fix 1 spelling
20:51.23 CIA-69 BRL-CAD: 03carlmoore * r52298 10/brlcad/trunk/src/lgt/trie.c: fix 1 spelling
20:53.16 CIA-69 BRL-CAD: 03carlmoore * r52299 10/brlcad/trunk/src/lgt/glob.c: fix 1 spelling
20:55.07 CIA-69 BRL-CAD: 03carlmoore * r52300 10/brlcad/trunk/src/conv/poly-bot.c: fix misspelling in error message
20:57.30 CIA-69 BRL-CAD: 03carlmoore * r52301 10/brlcad/trunk/src/lgt/cursors.h: fix 1 spelling
21:00.08 CIA-69 BRL-CAD: 03carlmoore * r52302 10/brlcad/trunk/src/lgt/lgt.1: fix 2 spellings
21:02.02 CIA-69 BRL-CAD: 03carlmoore * r52303 10/brlcad/trunk/src/canon/canonize.1: fix 1 spelling
21:05.34 CIA-69 BRL-CAD: 03carlmoore * r52304 10/brlcad/trunk/src/fbed/fb_ik.h: fix 1 spelling
21:07.46 CIA-69 BRL-CAD: 03carlmoore * r52305 10/brlcad/trunk/src/brlman/brlman.sh.in: fix 1 spelling
21:11.32 CIA-69 BRL-CAD: 03carlmoore * r52306 10/brlcad/trunk/src/anim/anim_script.1: fix 7 spellings
21:12.55 CIA-69 BRL-CAD: 03carlmoore * r52307 10/brlcad/trunk/src/anim/chan_mult.1: fix 2 spellings
21:15.26 CIA-69 BRL-CAD: 03carlmoore * r52308 10/brlcad/trunk/src/anim/anim_track.1: fix spellings
21:17.27 CIA-69 BRL-CAD: 03carlmoore * r52309 10/brlcad/trunk/src/anim/anim_turn.1: fix 2 spellings
21:25.25 CIA-69 BRL-CAD: 03carlmoore * r52310 10/brlcad/trunk/src/anim/anim_sort.1: fix 2 spellings
21:27.01 CIA-69 BRL-CAD: 03carlmoore * r52311 10/brlcad/trunk/src/anim/anim_hardtrack.c: fix 1 spelling
21:30.52 CIA-69 BRL-CAD: 03carlmoore * r52312 10/brlcad/trunk/src/burst/Hm.h: fix 3 spellings
21:32.40 CIA-69 BRL-CAD: 03carlmoore * r52313 10/brlcad/trunk/src/burst/prnt.c: fix spelling
21:34.13 CIA-69 BRL-CAD: 03carlmoore * r52314 10/brlcad/trunk/src/burst/trie.c: fix 1 spelling
21:36.08 CIA-69 BRL-CAD: 03carlmoore * r52315 10/brlcad/trunk/src/burst/grid.c: fix spelling
21:42.46 CIA-69 BRL-CAD: 03carlmoore * r52316 10/brlcad/trunk/src/external/ProEngineer/proe-brl.c: fix spelling in 4 places
21:46.31 CIA-69 BRL-CAD: 03carlmoore * r52317 10/brlcad/trunk/src/anim/Makefile.am: per Sean Morrison, fix a 'hardtrack' spelling
22:03.40 CIA-69 BRL-CAD: 03carlmoore * r52318 10/brlcad/trunk/src/util/wavelet.1: fix spelling
22:05.22 CIA-69 BRL-CAD: 03carlmoore * r52319 10/brlcad/trunk/src/util/pixbackgnd.c: fix 2 spellings
22:10.09 CIA-69 BRL-CAD: 03r_weiss * r52320 10/brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c: Update to function "nmg_loop_plane_area2" in file "nmg_misc.c". This is a work in progress. These changes are to correct floating point problems computing the plane of very small polygons.
22:13.53 *** join/#brlcad merzo (~merzo@30-113-133-95.pool.ukrtel.net)
22:45.49 CIA-69 BRL-CAD: 03starseeker * r52321 10/brlcad/trunk/src/librt/test_botpatches.cpp: Make edge set building code more compact.

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