IRC log for #brlcad on 20121120

00:14.43 brlcad waves to bhlegm
00:15.05 brlcad andrei: don't know for certain, but I'd think we can
00:17.10 andrei hm, 100 tasks of roughly two hours didn't seem much in two months time, that's why I asked.
00:34.58 brlcad heh, "Invalid user this-is-not-an-attack from ..."
00:35.36 brlcad andrei: yeah, we need to have about 200 prepared
00:35.47 brlcad some of the ones up there break up into more
00:36.07 brlcad some are way more complicated than two-hours and need to be simplified or broken up
00:40.21 andrei I'm not sure if I asked it before or if it already exists, if not, should I make a brief tutorial regarding how to compile on linux / how to compile a specific file from brl - cad and some other things that will be needed for sure ?
00:41.17 brlcad andrei: you could review and improve http://brlcad.org/wiki/Compiling
00:42.52 andrei they don't need to submit the tasks in svn format I assume
00:44.11 brlcad actually, it'd be great to have a page on how to submit a patch, http://brlcad.org/wiki/Patches
00:44.38 brlcad obtain latest sources, make change, run svn status, svn diff, submit to tracker, etc
00:45.48 andrei Hm, I ll make a sketch now, will be similar to "Compiling"
00:52.12 andrei the virtual machine is running ubuntu, right?
00:52.18 andrei nvm, I ll check later.
01:26.07 andrei I m done with the page :)
01:26.37 andrei http://brlcad.org/wiki/Patches
01:48.12 DarkCalf waves to brlcad
03:33.21 *** join/#brlcad jarray52 (~bigbear@unaffiliated/jarray52)
03:35.00 jarray52 Does BRLCad have support for threads in inches such as 6-32 and 10-32?
03:53.00 louipc jarray52: brl-cad doesn't really have a concept of threads as far as I know. You can model your own though.
03:54.36 jarray52 louipc: There's this http://brlcad.org/wiki/Hex for metric threads. I was wondering if there was an equivalent for inch based threads.
03:55.39 louipc ah pseudo thread... dunno
03:56.11 louipc I don't think it would be hard to modify that program to produce arbitrary size and pitch though
03:56.32 jarray52 louipc: I'll give that a shot.
03:56.53 jarray52 louipc: Is there an easy way to translate an object?
03:58.49 louipc jarray52: brlcad said the command is "tra"
03:59.10 jarray52 tra requires an object be selected
03:59.38 jarray52 I want to translate the object for the purpose of cutting the object out from another object.
04:00.11 jarray52 For example, I want to cutout multiple rings from a cylinder.
04:02.06 louipc not sure if there's a fancy way to do it
04:02.20 louipc I would copy, translate, subtract
04:02.36 jarray52 That's exactly what I'm trying to do.
04:02.52 jarray52 I was able to copy and subtract.
04:03.06 jarray52 The translation part has been the difficulty.
04:23.54 brlcad andrei: how about adding instructions for windows and mac too since they'll be really common for HS students
04:29.33 jarray52 brlcad: Is there a simple way to translate an object for the purpose of cutting it out from another object?
04:30.20 brlcad jarray52: yes
04:30.39 brlcad the "tra" command, preceeded by either sed (primitives) or oed (combinations)
04:31.02 brlcad the mged quick reference sheet lists a lot of the fundamental commands
04:31.19 jarray52 I tried the oed for combinations.
04:31.47 jarray52 The object was moved, but brlcad didn't recognize the object as moved for the purpose of subtracting.
04:32.39 jarray52 Also, the oed command doesn't seem to work in scripts, but it does work when the mged windows are open.
04:32.50 jarray52 Am I doing something wrong?
04:33.35 brlcad you're going to have to be a lot more specific since you can have matrix transformations at any node in a hierarchy on top of arbitrary primitive transformations
04:33.49 brlcad you are almost certainly doing something wrong :)
04:34.31 jarray52 brlcad: Thanks. That's helpful. Let me play with this a bit more.
04:35.00 brlcad if you want to move the primitive, sed+tra is what you want
04:38.34 brlcad or just create it in the place you want it when you run 'in'
04:43.38 jarray52 http://dpaste.com/833558/
04:44.19 jarray52 In this example, the cylinner.c is moved by sed+tra, but the subtraction does not take into account the translation.
04:45.18 jarray52 brlcad: Is there a way to ensure the subtraction used to define ring.s takes into account the translation?
04:45.40 jarray52 Sorry.. I reversed the '.s' and '.c'
04:51.44 brlcad jarray52: aha, you have to run "accept" after edit operations to terminate "sed" edit mode
04:54.36 jarray52 brlcad: many thanks. I was struggling with that one for a while.
07:05.47 brlcad jarray52: yeah, sorry for the delay -- I tried responding a couple times when you originally asked how to translate, but you'd left the channel
07:06.27 jarray52 brlcad: No worries. I'm the one that should apologize for leaving the channel.
07:06.45 jarray52 brlcad: Thanks for the advice.
07:06.55 jarray52 brlcad: It was appreciated.
07:12.23 jarray52 brlcad: Goodnight everyone.
07:12.42 jarray52 brlcad: See you all tomorrow. =)
07:12.49 *** part/#brlcad jarray52 (~bigbear@unaffiliated/jarray52)
08:29.29 *** join/#brlcad d_rossberg (~rossberg@BZ.BZFLAG.BZ)
11:38.28 Notify 03BRL-CAD:carlmoore * 53753 (brlcad/trunk/src/proc-db/wavy.c brlcad/trunk/src/rt/heatgraph.c and 4 others): fix spellings
11:38.31 Notify 03BRL-CAD:carlmoore * 53754 brlcad/trunk/src/tclscripts/lib/Command.tcl: fix spelling as just explained in an email
11:38.34 Notify 03BRL-CAD:carlmoore * 53755 (brlcad/trunk/src/tclscripts/lib/CellPlot.tcl brlcad/trunk/src/tclscripts/lib/Ged.tcl): fix spellings
11:38.37 Notify 03BRL-CAD:carlmoore * 53756 brlcad/trunk/src/tclscripts/mged/points.tcl: fix spellings (NOTICE INCLUSION OF pipe_number.pl)
11:38.40 Notify 03BRL-CAD:carlmoore * 53757 brlcad/trunk/src/tclscripts/mged/attr_edit.tcl: fix spelling and fix double negative (changing 'nor' to 'or')
11:38.43 Notify 03BRL-CAD:carlmoore * 53758 brlcad/trunk/src/tclscripts/mged/text.tcl: fix spellings (NOTICE search_char) and switch period & parenthesis)
11:38.46 Notify 03BRL-CAD:carlmoore * 53759 brlcad/trunk/src/tclscripts/mged/openw.tcl: fix spellings
11:38.49 Notify 03BRL-CAD:carlmoore * 53760 brlcad/trunk/src/tclscripts/mged/mgedrc.tcl: fix spellings
11:38.52 Notify 03BRL-CAD:carlmoore * 53761 brlcad/trunk/src/tclscripts/mged/pattern_gui.tcl: fix spelling
11:38.55 Notify 03BRL-CAD:brlcad * 53762 brlcad/trunk/src/librt/prep.c: this is why the bitv had stuff in it. rt_get_solidbitv() needs to clear the bitv that we're reusing before returning it.
11:38.58 Notify 03BRL-CAD:brlcad * 53763 (brlcad/trunk/src/librt/bundle.c brlcad/trunk/src/librt/shoot.c brlcad/trunk/src/librt/vshoot.c): no longer need to manually clear the bitv, rt_get_solidbitv() does it for us
11:39.01 Notify 03BRL-CAD:brlcad * 53764 brlcad/trunk/src/librt/prep.c: document the function and allow for a null resource pointer
11:39.04 Notify 03BRL-CAD:carlmoore * 53765 brlcad/trunk/src/tclscripts/mged/apply_mat.tcl: fix spelling
11:39.07 Notify 03BRL-CAD:carlmoore * 53766 brlcad/trunk/src/tclscripts/mged/xclone.tcl: add s and an apostrophe, and fix a spelling
11:39.10 Notify 03BRL-CAD:carlmoore * 53767 brlcad/trunk/src/tclscripts/mged/pattern.tcl: fix spellings
11:39.13 Notify 03BRL-CAD:brlcad * 53768 brlcad/trunk/src/libbu/bitv.c: manually initialize instead of relying on calloc. slightly faster alloc and probably slower albeit more explicit init.
11:39.16 Notify 03BRL-CAD:carlmoore * 53769 brlcad/trunk/src/tclscripts/mged/expand_comb.tcl: fix spelling
11:39.19 Notify 03BRL-CAD:carlmoore * 53770 brlcad/trunk/src/tclscripts/mged/shaders.tcl: fix spellings
11:39.22 Notify 03BRL-CAD:carlmoore * 53771 brlcad/trunk/src/tclscripts/mged/make_solid.tcl: fix spellings
11:39.25 Notify 03BRL-CAD:carlmoore * 53772 brlcad/trunk/src/tclscripts/mged/build_region.tcl: fix spellings
11:39.28 Notify 03BRL-CAD:carlmoore * 53773 brlcad/trunk/src/tclscripts/mged/overlap.tcl: fix spellings INCLUDING 'string compare' missing trailing e
11:39.31 Notify 03BRL-CAD:carlmoore * 53774 brlcad/trunk/src/tclscripts/mged/help.tcl: fix spelling
11:39.34 Notify 03BRL-CAD:r_weiss * 53775 brlcad/trunk/src/libbn/plane.c: Added two new functions to libbn in file "plane.c". Added "bn_distsq_pt3_lseg3_v2" which a test version of "bn_distsq_pt3_lseg3" and "bn_are_equal" which is a support function for this new test function. At some point this test function and the original will be consolidated.
11:39.37 Notify 03BRL-CAD:r_weiss * 53776 brlcad/trunk/include/bn.h: Updated "bn.h" adding function "bn_distsq_pt3_lseg3_v2" which is a test version of "bn_distsq_pt3_lseg3". At some point this test function and the original will be consolidated.
11:39.40 Notify 03BRL-CAD:n_reed * 53777 brlcad/trunk/src/librt/primitives/pipe/pipe.c: document draw_linear_seg routine and give it a more flexible implementation
11:39.43 Notify 03BRL-CAD:brlcad * 53778 brlcad/trunk/NEWS: fix an old interactive edit keypoint bug seen by most new users that go through the commercial brl-cad training, but that we couldn't ever seem to reproduce. turns out there was a bug related to interactive mouse translations/rotations if a keypoint was manually set. fixed in r53727 by parker. Revision Links: -------------- http://brlcad.svn.sourceforge.net/brlcad/?rev=53727&view=rev
12:49.56 Notify 03BRL-CAD:brlcad * 30347 (brlcad/trunk/src/util/pix-png.c brlcad/trunk/src/fb/png-fb.c and 674 others): categoric removal of the source, author, and function list sections in files, particularly the source file header sections. those are all sections of data that are more often incomplete or out-of-date than they are correct and are a maintenance burden that has no direct benefit. the 'source' section (i.e. the address) is mostly
12:49.59 Notify irrelevant with the open sourcing. the authorship is better comprehensively preserved through the SCM revision control system, and was the most common to be incomplete data (aside from the matter of not having clear criteria for knowing when someone could add their name to the list). the function lists were rarely ever updated, often listing non-existent functions or missing more than it documented. the header is meant to be a
12:50.02 Notify description of the file's purpose more than its content -- functions should have their own doxygen comment header. this commit modifies all files with a 21005 zip code. additionally, there is an interesting assertion by brian fitzpatrick and ben collins-sussman in their poisonous people talk regarding how having authors listed in source files is perceived by potential new contributors. namely that it can become a barrier to their...
12:50.30 ``Erik swank
12:54.13 ``Erik (defun split-for-irc (msg &optional (len +irc-line-length+)) (let ((m (substitute #\Space #\Newline msg))) (if (< (length m) len) (list m) (loop for i from len downto 0 until (eq (char m i) #\Space) finally (return (cons (subseq m 0 i) (split-for-irc (subseq m (+ i 1)))))))))
12:54.55 ``Erik (defun split-to-3-for-irc (msg &optional (len +irc-line-length+)) (let ((bits (split-for-irc msg len))) (if (<= (length bits) 3) bits (list (car bits) (cadr bits) (concatenate 'string (caddr bits) "...")))))
13:05.15 *** join/#brlcad DarkCalf (~DarkCalf@173.231.40.98)
15:15.14 *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com)
16:07.43 Notify 03BRL-CAD:n_reed * 53779 brlcad/trunk/src/librt/primitives/pipe/pipe.c: clean up draw loop to remove goto
16:35.55 starseeker brlcad: http://bzflag.bz/~starseeker/opennurbs-2012-10-24.tar.gz
16:58.29 Notify 03BRL-CAD:erikgreenwald * 53780 brlcad/trunk/src/libbn/ulp.c: Define isinf() and isnan() for msvc.
17:19.41 *** join/#brlcad elf` (~elf11_@p5.eregie.pub.ro)
17:55.15 Notify 03BRL-CAD:carlmoore * 53781 brlcad/trunk/src/tclscripts/swidgets/scripts/togglearrow.itk: fix 2 occurrences of 'Disabled___'
18:02.31 Notify 03BRL-CAD:carlmoore * 53782 (brlcad/trunk/src/tclscripts/rtwizard/lib/MGEDpage.itk brlcad/trunk/src/tclscripts/rtwizard/lib/Wizard.itk and 3 others): fix spellings
18:15.21 *** join/#brlcad andrei (~andrei@5-12-220-128.residential.rdsnet.ro)
18:47.46 brlcad wot's wrong wif ju, that MSC_VER crap don't belong in ulp.c
18:49.01 brlcad starseeker: got it
19:04.18 andrei why is implement parallel support for windows a 2 hour task ? :s
19:04.34 brlcad that needs to be broken up into two tasks
19:04.58 brlcad if someone knows how to create threads on windows, it's not that hard of a task at all
19:05.14 brlcad less than 50 lines in one file and same in another
19:05.33 brlcad but those two files should be broken into separate tasks
19:05.46 brlcad (create threads and acquire mutex/semaphore locks)
20:49.43 Notify 03BRL-CAD:erikgreenwald * 53783 (brlcad/trunk/include/config_win.h brlcad/trunk/include/config_win_cmake.h.in): add isinf() for msvc
20:50.08 Notify 03BRL-CAD:erikgreenwald * 53784 brlcad/trunk/src/libbn/ulp.c: use the isnan and isinf from config_win.h
21:38.25 Notify 03BRL-CAD:carlmoore * 53785 brlcad/trunk/src/libbn/plane.c: fix spelling and remove a trailing tab
21:41.15 Notify 03BRL-CAD:brlcad * 53786 brlcad/trunk/TODO: after talking with bowers, apparently some problem calling rt_dirbuild() multiple times (same db, different trees). begs investigating.

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