00:29.55 |
Twingy |
ok |
00:30.00 |
Twingy |
so what do I have to do to get mged
working |
00:32.47 |
brlcad |
well, I haven't tracked down (or encountered)
that specific problem yet |
00:32.56 |
brlcad |
working on a different issue |
00:33.03 |
brlcad |
but, that said.. yours should be
simple |
00:33.14 |
brlcad |
it can't find the tclscripts directory --
where is your tclscripts dir? |
00:33.24 |
brlcad |
should be /usr/brlcad/tclscripts |
00:38.42 |
Twingy |
hrm |
00:38.52 |
Twingy |
looking |
00:39.07 |
Twingy |
in /usr/local/tcpscripts |
00:39.12 |
Twingy |
in /usr/local/tclscripts |
00:39.21 |
Twingy |
prefix was set to /usr/local |
00:39.44 |
brlcad |
and you did a make install? |
00:40.18 |
Twingy |
yep |
00:41.34 |
brlcad |
grep BRLCAD_DATA
include/brlcad_config.h |
00:42.55 |
Twingy |
#define BRLCAD_DATA "/usr/local" |
00:43.10 |
brlcad |
hrm |
00:43.10 |
Twingy |
-rw-r--r-- 1 justin wheel 19073 Jul 10
20:32 brlcad_config.h |
00:43.10 |
Twingy |
[justin@borg:/usr/local/include/brlcad]$ |
00:43.41 |
brlcad |
BRLCAD_DATA=/usr/local/ mged |
00:43.51 |
brlcad |
try typing that verbatim 1-line |
00:44.53 |
Twingy |
mged works |
00:45.00 |
Twingy |
so what needs fixed? |
00:45.09 |
brlcad |
hrmm |
00:45.19 |
brlcad |
try this: |
00:45.22 |
brlcad |
BRLCAD_DATA=/usr/local mged |
00:45.43 |
Twingy |
I just did that |
00:45.50 |
Twingy |
oh |
00:45.52 |
Twingy |
without slash |
00:45.56 |
brlcad |
with or without the trailing slash? |
00:46.07 |
Twingy |
mged fails |
00:46.09 |
Twingy |
without trailing slash |
00:46.15 |
brlcad |
but works with it? |
00:46.18 |
Twingy |
yes |
00:46.22 |
brlcad |
okay |
00:46.36 |
brlcad |
an off-by-one mistake in
bu_brlcad_data |
00:46.42 |
Twingy |
k |
00:46.44 |
Twingy |
hard to fix? |
00:46.48 |
brlcad |
nah |
00:49.33 |
*** join/#brlcad DTRemenak_
(~DTRemenak@DHCP-170-143.caltech.edu) |
00:52.27 |
brlcad |
aha, oops |
00:52.33 |
brlcad |
i see what happened now |
00:53.28 |
brlcad |
it wasn't computing the path length before
testing whether it needed to append or trim a slash |
00:54.43 |
Twingy |
ah |
00:59.12 |
brlcad |
there update src/libbu and try that |
00:59.21 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/libbu/brlcad_path.c: compute the left-hand path length
_before_ using it so that it doesn't end up smushing together
something like /usr/brlcadtclscripts. also only need to match one
of two join cases since rhs is only one or the other. |
01:00.23 |
brlcad |
mged uses libbu dynamic, so should be able to
just make install and run mged again (without the env
var) |
01:01.57 |
Twingy |
interesting |
01:02.00 |
Twingy |
when I goto raytrace |
01:02.04 |
Twingy |
it goes /usr/local/rt |
01:02.08 |
Twingy |
instead of /usr/local/bin/rt |
01:02.15 |
brlcad |
hmm |
01:02.20 |
brlcad |
dagnabbit wabbit |
01:04.27 |
brlcad |
same base function but different caller ..
looking |
01:11.04 |
brlcad |
okay, try that |
01:11.31 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/libbu/brlcad_path.c: another off-by-one -- it should
be '/usr/brlcad/bin' not '/usr/brlcad/\0bin' |
01:12.02 |
brlcad |
now it might do /usr/local/binrt .. will
see |
01:13.42 |
brlcad |
ah, no -- it should do the right
thing |
01:13.44 |
Twingy |
will try in a bit |
01:13.50 |
Twingy |
modeling something |
01:15.24 |
Twingy |
hrm |
01:15.28 |
Twingy |
mged just pissed me off |
01:15.42 |
Twingy |
it's easy to type something |
01:15.46 |
Twingy |
and lose 5 minutes of setting
coordinates |
01:16.02 |
Twingy |
I'm going to write a script to do auto
backups |
01:21.30 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/NEWS: denote
justin's addition of the rise path-tracer and ivat triangle
ray-tracer via adrt. still needs a paragraph write-up |
01:23.06 |
Twingy |
what do you want on that? |
01:30.21 |
brlcad |
a mostly generic marketing announcement
paragraph of what's been added in layman's terms |
01:31.03 |
Twingy |
how do I translate? |
01:31.06 |
Twingy |
tra x y z ? |
01:31.13 |
brlcad |
yeah |
01:31.19 |
Twingy |
with something selected first? |
01:31.25 |
brlcad |
right |
01:31.32 |
brlcad |
have to be in an edit-mode |
01:32.37 |
Twingy |
and rotate is p? |
01:32.43 |
Twingy |
p 0 0 90 ? |
01:33.33 |
Twingy |
oh |
01:33.36 |
Twingy |
set function to rotate first |
01:43.11 |
Twingy |
if A,B,C,D are all the same for the
TGC |
01:43.18 |
Twingy |
am I setting the radius or the
diameter? |
01:44.10 |
Twingy |
radius |
02:02.33 |
brlcad |
rot |
02:02.37 |
brlcad |
rot 0 0 90 |
02:02.43 |
brlcad |
rot, tra, sca |
02:03.07 |
Twingy |
wtf |
02:03.16 |
Twingy |
I do primitive selection |
02:03.18 |
Twingy |
it's in white |
02:03.22 |
Twingy |
I pull up primitive editor |
02:03.24 |
Twingy |
make changes |
02:03.27 |
Twingy |
hit apply |
02:03.29 |
Twingy |
menu do apply |
02:03.32 |
Twingy |
menu do accept |
02:03.33 |
Twingy |
B |
02:03.37 |
Twingy |
draw the parts |
02:03.40 |
Twingy |
and no changes |
02:03.43 |
Twingy |
grrrr |
02:03.50 |
Twingy |
unintuitive piece of ... |
02:06.00 |
brlcad |
you never rtfm'd, was never meant for newbs
without training |
02:06.06 |
brlcad |
not that it couldn't be way way
better |
02:07.25 |
Twingy |
wee |
02:09.06 |
brlcad |
did you type the primitive's name in and hit
enter before editing values? |
02:09.16 |
brlcad |
on the primitive editor window |
02:09.47 |
Twingy |
yep |
02:09.53 |
Twingy |
it updates in the window |
02:10.06 |
Twingy |
and I redraw and it goes back to original
values |
02:10.25 |
Twingy |
somehow it worked on the other part |
02:10.28 |
Twingy |
and not on this one |
02:10.52 |
brlcad |
hmm |
02:11.03 |
brlcad |
i can reproduce it on a sphere |
02:11.11 |
brlcad |
looks like a bug |
02:12.26 |
brlcad |
it applies the edit to the in-memory
representation, but some reason doesn't safe it to disk when you
apply |
02:12.37 |
Twingy |
maybe I should RTFM |
02:12.55 |
Twingy |
o.O |
02:13.28 |
brlcad |
maybe I should |
02:14.50 |
brlcad |
what primitive type were you trying to
edit? |
02:16.44 |
Twingy |
tgc |
02:17.25 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/BUGS: mged
primitive editor doesn't accept/apply values to disk for certain
primitives (e.g. sph) |
02:18.53 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/TODO: make
tkCanvBezier modification to libtk be a convenience library if the
compiling user opts to use a system libtk |
02:22.29 |
*** join/#brlcad brlcad_
(~brlcad@bz.bzflag.bz) |
02:53.54 |
*** part/#brlcad phcoder
(~phcoder@pcp0011642003pcs.aberdn01.md.comcast.net) |
02:58.33 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/mged/ged.c: |
02:58.33 |
CIA-5 |
BRL-CAD: improve the parent/child startup
process even more. now the parent will wait up |
02:58.33 |
CIA-5 |
BRL-CAD: to 90 seconds for the window
initialization, but the child will also inform the |
02:58.33 |
CIA-5 |
BRL-CAD: parent even when aborting early due
to some error (like an unset DISPLAY). make |
02:58.33 |
CIA-5 |
BRL-CAD: a clear statement that mged has quit
if the client aborts. |
03:00.34 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/NEWS: improved
mged initialization failure reporting |
03:01.05 |
brlcad |
damn, it's almost time to give up on the
reoganiztion in order to make the release on schedule |
03:01.43 |
Twingy |
going to release a broken version of
mged? |
03:03.17 |
brlcad |
no, it works |
03:03.26 |
brlcad |
at least no new bugs |
03:03.51 |
brlcad |
only thing left to do is the new DATA dir
default |
03:05.54 |
Twingy |
well |
03:06.07 |
Twingy |
should I not use primitive editor? |
03:06.26 |
brlcad |
yeah |
03:06.42 |
Twingy |
what's the command line version |
03:06.48 |
brlcad |
either select the operation on the edit menu
and use the p command, or use sca/tra/rot + accept/apply |
03:07.01 |
Twingy |
what about editing individual values |
03:08.08 |
brlcad |
depends which values |
03:08.53 |
Twingy |
tgc |
03:09.01 |
Twingy |
just use p option |
03:09.07 |
Twingy |
and menu stuff |
03:09.08 |
Twingy |
got it |
03:10.39 |
Twingy |
hrm |
03:10.50 |
Twingy |
yah |
03:11.24 |
Twingy |
k, that'll do |
03:11.34 |
brlcad |
if it's a lot of value tweaking, you can 'db
get primname', 'kill primname', 'db put primname ...new
values...' |
03:12.11 |
brlcad |
dangerous to user-error (since it's raw), but
will work |
03:12.43 |
Twingy |
doing a cvs update |
03:12.49 |
brlcad |
i'm sure there's a way to edit the values by
their old names, but I don't know how |
03:13.04 |
Twingy |
going to run autogen and install
again |
03:13.19 |
Twingy |
see if that fixed all the path issues with
mged and rt |
03:19.28 |
brlcad |
k |
03:24.26 |
Twingy |
installingvb |
03:28.27 |
Twingy |
working |
03:29.30 |
brlcad |
yay for blind code-fixing |
03:31.27 |
Twingy |
heh |
03:52.09 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/configure.ac:
migration to BRLCAD_DATA complete, remove BRLCAD_DATA_DIR |
03:59.58 |
Twingy |
hrm |
04:00.19 |
Twingy |
do we have a tool for generating threads on a
screw? |
04:26.38 |
*** join/#brlcad bottlecap
(jburnett@c-67-163-1-62.hsd1.il.comcast.net) |
04:30.08 |
brlcad |
Twingy: curvature on curvature is usually
quite hard, the appropriate primitive doesn't exist yet |
04:30.23 |
brlcad |
though I bet I could implement it on the train
ride |
04:31.45 |
brlcad |
if it's a static cylindrical screw, you could
implement it relatively easily with three pipes |
04:32.44 |
brlcad |
but if it tapers, you're probably
sol |
04:37.18 |
Twingy |
just cylindrical |
04:38.18 |
*** part/#brlcad bottlecap
(jburnett@c-67-163-1-62.hsd1.il.comcast.net) |
04:41.44 |
brlcad |
if you make the path with a pipe, make two
copies and translate them down and up half the radius, then
subtract them, you'll should have a nice thread |
04:42.20 |
brlcad |
creating the pipe is covered in the advanced
modeling tutorial book |
05:08.27 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/tclscripts/mged/mged.tcl: dang fixed path .. use
bu_brlcad_data to find the root. these routines still need to check
for existence in order so users may need to edit/modify their
existing .mgedrc if they have one in the meantime. |
05:13.07 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/configure.ac: |
05:13.07 |
CIA-5 |
BRL-CAD: woot, default the BRLCAD_DATA to
$prefix/share/brlcad/VERSION. aside from |
05:13.07 |
CIA-5 |
BRL-CAD: library/binary name collisions, this
should now let brl-cad install into system |
05:13.07 |
CIA-5 |
BRL-CAD: paths such as /usr and /usr/local now
though more work will need to occur to |
05:13.07 |
CIA-5 |
BRL-CAD: isolate the libs and headers
better. |
05:16.20 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/doc/Makefile.am:
install these docs into the DATA/doc directory now |
05:16.57 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/doc/legal/Makefile.am: install the license headers into
the DATA/doc/legal directory now |
05:18.45 |
brlcad |
woo hoo.. that should do it |
05:19.00 |
brlcad |
I'd love to post it now, but I got that damn
8:30 meeting |
05:19.11 |
brlcad |
so maybe lunchtime |
05:19.28 |
brlcad |
working with the new directory structure
now |
05:23.35 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/BUGS: mged/bwish
doesn't work without the required resources being installed (i.e.
it won't run from a build directory without an installed version in
place) |
05:34.35 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/src/brlman/awf:
stupid quick-fix hack to make brlman work for the 7.4.0 release --
need to decouple machinetype.sh |
05:35.14 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/TODO: install
directories are now reorganized |
05:36.57 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/TODO: halt awf,
brlman, and other tool's usage of machinetype.sh. alas time to
retire the old script |
05:38.14 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/bwish/Makefile.am: might not work on some other
platforms, but ia64 seems to ignore libtk if it comes later in the
link list for some reason (doesn't cause a problem, per se -- no
linker errors, just U nm symbols). |
05:40.58 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/BUGS: brlman/awf
is hardwired for 7.4.0 (temp fix) |
05:40.59 |
brlcad |
that'll do for tonight |
06:40.28 |
*** join/#brlcad ChanServ
(ChanServ@services.) |
06:40.28 |
*** join/#brlcad DTRemenak
(~DTRemenak@DHCP-170-143.caltech.edu) [NETSPLIT
VICTIM] |
06:40.28 |
*** join/#brlcad frank__
(~frank@p54818F24.dip0.t-ipconnect.de) [NETSPLIT
VICTIM] |
06:40.28 |
*** join/#brlcad Twingy
(~justin@pcp0011647505pcs.aberdn01.md.comcast.net) [NETSPLIT
VICTIM] |
06:40.28 |
*** join/#brlcad archivist_
(~archivist@host217-35-76-52.in-addr.btopenworld.com) [NETSPLIT
VICTIM] |
06:40.28 |
*** join/#brlcad CIA-5
(~CIA@flapjack.navi.cx) [NETSPLIT VICTIM] |
06:40.28 |
*** mode/#brlcad [+o ChanServ]
by irc.freenode.net |
06:45.20 |
*** join/#brlcad PrezKennedy
(~MK@130.85.192.7) [NETSPLIT VICTIM] |
06:45.26 |
*** join/#brlcad learner
(~brlcad@pcp0011649376pcs.aberdn01.md.comcast.net) [NETSPLIT
VICTIM] |
06:45.26 |
*** mode/#brlcad [+o learner]
by ChanServ |
06:47.36 |
*** join/#brlcad tarzeau
(~tarzeau@80-219-78-73.dclient.hispeed.ch) [NETSPLIT
VICTIM] |
06:48.51 |
*** join/#brlcad EricWilhelm
(~ewilhelm@pool-71-111-56-148.ptldor.dsl-w.verizon.net) [NETSPLIT
VICTIM] |
06:51.14 |
*** join/#brlcad DTRemenak_
(~DTRemenak@DHCP-170-143.caltech.edu) |
06:52.06 |
*** join/#brlcad brlcad
(~brlcad@bz.bzflag.bz) [NETSPLIT VICTIM] |
06:52.16 |
*** join/#brlcad
TheLastSpartan (guu@myth.gibbscam.com) |
06:54.51 |
*** join/#brlcad tarzeau
(~tarzeau@80-219-78-73.dclient.hispeed.ch) [NETSPLIT
VICTIM] |
06:57.13 |
*** join/#brlcad PrezKennedy
(~MK@130.85.192.7) [NETSPLIT VICTIM] |
07:01.07 |
*** join/#brlcad frank__
(~frank@p54818F24.dip0.t-ipconnect.de) [NETSPLIT
VICTIM] |
07:05.05 |
*** join/#brlcad learner
(~brlcad@pcp0011649376pcs.aberdn01.md.comcast.net) |
07:05.05 |
*** join/#brlcad Twingy
(~justin@pcp0011647505pcs.aberdn01.md.comcast.net) [NETSPLIT
VICTIM] |
07:05.05 |
*** join/#brlcad archivist_
(~archivist@host217-35-76-52.in-addr.btopenworld.com) [NETSPLIT
VICTIM] |
07:09.32 |
*** join/#brlcad Twingy2
(~justin@pcp0011647505pcs.aberdn01.md.comcast.net) |
08:24.23 |
*** join/#brlcad archivist
(~archivist@host217-35-103-47.in-addr.btopenworld.com) |
08:28.38 |
*** join/#brlcad Maloeran
(~alexis@modemcable233.164-81-70.mc.videotron.ca) |
11:30.41 |
*** join/#brlcad d_rossberg
(~c28bf505@bz.bzflag.bz) |
13:04.25 |
*** join/#brlcad ChanServ
(ChanServ@services.) |
13:04.25 |
*** mode/#brlcad [+o ChanServ]
by irc.freenode.net |
13:49.32 |
*** join/#brlcad louipc
(~8ed6bb10@bz.bzflag.bz) |
14:13.32 |
*** join/#brlcad jrobey
(~jason@drs-15-90.psl.nmsu.edu) |
14:22.43 |
*** join/#brlcad louipc
(~8ed6bb10@bz.bzflag.bz) |
14:26.08 |
*** join/#brlcad louipc
(~8ed6bb10@bz.bzflag.bz) |
14:43.09 |
*** join/#brlcad louipc
(~8ed6bb10@bz.bzflag.bz) |
14:47.18 |
*** join/#brlcad cad906
(~8ed6bb10@bz.bzflag.bz) |
14:47.23 |
*** join/#brlcad knoppix
(~knoppix@cm166-12.liwest.at) |
14:47.30 |
knoppix |
hi |
14:47.35 |
knoppix |
anyone here ? |
14:53.09 |
*** join/#brlcad cad906
(~8ed6bb10@bz.bzflag.bz) |
15:26.37 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/configure.ac:
bah, BRLCAD_DATA_DIR is no more, BRLCAD_DATA is the
shizzle |
17:05.25 |
brlcad |
knoppix: hello |
17:06.16 |
brlcad |
if you ask whatever questions you have and
just idle, someone will eventually answer ;) |
17:18.47 |
CIA-5 |
BRL-CAD: 03twingy *
10brlcad/src/adrt/libcommon/ (pack.c unpack.c): char c to unsigned
char c to allow for strings 255 chars long, not 127. |
17:33.04 |
*** join/#brlcad Pimpi
(~frank@p5481AB54.dip0.t-ipconnect.de) |
19:15.18 |
*** join/#brlcad DTRemenak
(~DTRemenak@DHCP-170-143.caltech.edu) |
20:05.31 |
EricWilhelm |
but he did. He said "anyone here?"
:-) |
20:11.04 |
brlcad |
:) |
20:11.15 |
brlcad |
quite true |
20:12.20 |
*** mode/#brlcad [+o brlcad]
by ChanServ |
22:21.36 |
*** join/#brlcad DarkMaster
(~MK@130.85.192.7) |
22:34.18 |
CIA-5 |
BRL-CAD: 03brlcad *
10brlcad/src/adrt/libutil/camera.c: ws |
22:47.10 |
CIA-5 |
BRL-CAD: 03brlcad * 10brlcad/src/adrt/ (5
files in 5 dirs): build/link all of adrt static |