Stream: Google Code-in

Topic: error lesson 10 tutorial


view this post on Zulip Lucas Prieels (Jan 03 2018 at 21:00):

Hey! I think I found an error in page 79 of the tutorial (http://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf) says:
Enter X, Y, Z, of vector C: .6 0 0<ENTER>
Enter radius of revolution, r: 1.45<ENTER>
but when I tried to run it, it asked me the radius of revolution first and then the X, Y, Z of vector C

view this post on Zulip Lucas Prieels (Jan 04 2018 at 10:48):

Also, in page 100, it says that the tree of candle1.c is
candle1.c/
u base1.r/R
u eto1.s
u rcc1.s
u eto2.s
- rcc2.s
u candle1.r/R
u rcc2.s
u flame1.r/R
u part1.s
but since we typed "r base1.r u eto1.s u rcc1.s u eto2.s", eto2.s is not supposed to be part of rcc1.s, right?
Similarly, in page 109 it says that eto2.s is part of sph8.r

view this post on Zulip Sean (Jan 04 2018 at 15:24):

@Lucas Prieels those count as bug reports -- if you claim the bug report task, I'll approve it

view this post on Zulip Lucas Prieels (Jan 04 2018 at 15:32):

I’ve already found the annot bug

@Lucas Prieels those count as bug reports -- if you claim the bug report task, I'll approve it

view this post on Zulip Lucas Prieels (Jan 04 2018 at 15:33):

It would be great if we could submit several bugs ;)

view this post on Zulip Sean (Jan 04 2018 at 15:37):

added: Find and report any bug #2

view this post on Zulip Lucas Prieels (Jan 04 2018 at 15:38):

added: Find and report any bug #2

Thanks!

view this post on Zulip Sean (Jan 04 2018 at 15:39):

there's also a #3

view this post on Zulip Sean (Jan 04 2018 at 15:59):

@Lucas Prieels I'm not understanding your second commend about eto2.s not supposed to be part of rcc1.s ...

view this post on Zulip Sean (Jan 04 2018 at 16:01):

oh, I see -- the indentation isn't right in the pdf

view this post on Zulip Sean (Jan 04 2018 at 16:02):

both cases... the color coding is right, it's just displaying the indentation wrong

view this post on Zulip Mitesh (Jan 04 2018 at 16:09):

in oed docuementation it says : "oed / object1.c/sphere.s"
but the usage has been change...now instead of slashes on "space" should be there...is it a bug?

view this post on Zulip Jeff Sieu (Jan 04 2018 at 16:11):

If I'm not wrong, I think there's supposed to be two arguments after oed

view this post on Zulip Jeff Sieu (Jan 04 2018 at 16:14):

Namely, a left path and a right path, with left_path being a combination or region that contains right_path, and right_path pointing to a primitive.
Reference: https://brlcad.org/wiki/MGED_CMD_oed

view this post on Zulip Jeff Sieu (Jan 04 2018 at 16:15):

So I think in your command oed / object1.c/sphere.s, the / here is left_path, while object1.c/sphere.s is the right_path

view this post on Zulip Mitesh (Jan 04 2018 at 16:24):

okk... i thought that object1.c is the left path and sphere.s is the right path

view this post on Zulip Lucas Prieels (Jan 04 2018 at 16:28):

there's also a #3

Cool! I'll search for another one then :) I'll submit the second bug as soon as my current submission is approved. I've also finished the 404 modelling task

view this post on Zulip Mitesh (Jan 04 2018 at 16:29):

okk i got it....there should be space between fisrt slash and object.c... I was wrong... sorry

view this post on Zulip Sean (Jan 04 2018 at 17:21):

@Lucas Prieels even better than documentation bugs are bugs that you also fix ;)

view this post on Zulip Sean (Jan 04 2018 at 17:24):

@Mitesh yeah, @Jeff Sieu is right -- oed's usage is a little quirky in that it requires a left and a right and in that particular example "/" is the left followed by a space followed by "object1.c/sphere.s"

view this post on Zulip Sean (Jan 04 2018 at 17:24):

i.e., the doc is right

view this post on Zulip Sean (Jan 04 2018 at 17:27):

if anyone finds a documentation bug, you'll want to check the official sources in doc/docbook

view this post on Zulip Sean (Jan 04 2018 at 17:28):

for example, that oed guide is in doc/docbook/articles/en/oed.xml and the mged tutorials are in doc/docbook/lessons/en

view this post on Zulip Lucas Prieels (Jan 07 2018 at 10:41):

I think I found another error in page 107, it says
for {set i 1} {i <= 1000} {incr i} {<ENTER>
r sph$i.r u sph$i.s <ENTER>
}
but BRL-CAD give me an error
And when I run
for {set i 1} {$i <= 1000} {incr i} {<ENTER>
r sph$i.r u sph$i.s <ENTER>
}
(with the dollar), it works

view this post on Zulip Jeff Sieu (Jan 07 2018 at 12:12):

This is totally unrelated, but you can enclose your code in ` to make it more legible.

For example \`this\` gives this
and

\`\`\`
some function() {
}
\`\`\`

gives

some function() {
}

view this post on Zulip Jeff Sieu (Jan 07 2018 at 12:15):

... can't really get it to display properly but each "\`" stands for a `

view this post on Zulip Lucas Prieels (Jan 07 2018 at 15:15):

Too late to modify it now, but thanks!


Last updated: Oct 09 2024 at 00:44 UTC