brlcad@irc.freenode.net: testing
woot
brlcad@irc.freenode.net: cad_zulip: ping
brlcad@irc.freenode.net: testing2
TheJollyRoger@irc.freenode.net: Ahoy!
TheJollyRoger@irc.freenode.net: brlcad/Sean, I can see your pings and testing posts, what's up there?
Hi TheJollyRoger! I'm working on setting up a bridge to our Zulip chat.
TheJollyRoger@irc.freenode.net: Ahoy! :D
TheJollyRoger@irc.freenode.net: Woah, wow! A bridge to another chat, that's awesome!
brlcad@irc.freenode.net: TheJollyRoger: that way, messages are bidirectional
TheJollyRoger@irc.freenode.net: That'll be great to reach out and meet more people, I'm looking forward to it ^_^!
TheJollyRoger@irc.freenode.net: Ooh. They can see us, and we can see them?
brlcad@irc.freenode.net: a tiny bit clunky with the way it has to relay nick names, but looks like it's working well.
TheJollyRoger@irc.freenode.net: Woohoo!
brlcad@irc.freenode.net: think they can only see people that talk
TheJollyRoger@irc.freenode.net: Got it, and us, likewise? We only see them if they say something?
brlcad@irc.freenode.net: yes
TheJollyRoger@irc.freenode.net: Got it.
TheJollyRoger@irc.freenode.net: Sometime when I have more time I'm going to dig into the BRL CAD documentation. I'll have a ton of questions, I just want to make sure I get up to date on the knowledge base so I can ask the right ones.
brlcad@irc.freenode.net: Sure thing, ask away.
TheJollyRoger@irc.freenode.net: THanks ^_^. I don't have any particular questions at this moment, I've just been fooling around with MGED so far and wondering if there's anything like a graphical frontend to it, since I'm used to doing sketching and extrusion and sweep operations in Creo and NX.
TheJollyRoger@irc.freenode.net: Heh, okay, I guess that is a question XP.
brlcad@irc.freenode.net: BRL-CAD also focuses on 3d solid modeling techniques, and sketching comes from the 2d drafting realm. That said, you can check out the Sketch Editor on the menu for basic editing. They can be extruded with an "extrude" object, revolved with a "revolv" object.
TheJollyRoger@irc.freenode.net: Oh perfect.
brlcad@irc.freenode.net: *revolve
brlcad@irc.freenode.net: this is a non-GUI overview of sketch: pip install -r zulip/integrations/bridge_with_irc/requirements.txt
brlcad@irc.freenode.net: Configure the bridge
brlcad@irc.freenode.net: oop, this link: https://brlcad.org/wiki/Sketch
brlcad@irc.freenode.net: and extrude: https://brlcad.org/wiki/Extrude
TheJollyRoger@irc.freenode.net: MGED almost reminds me a little of using APT for tool paths.
TheJollyRoger@irc.freenode.net: Almost. Kinda. A little bit maybe.
brlcad@irc.freenode.net: yeah, that's a very low-level overview. There's a graphical tutorial somewhere where you don't hit the command line, but I don't have it handy.
TheJollyRoger@irc.freenode.net: Got it. I'll search around then!
brlcad@irc.freenode.net: the "ebm" extruded bitmap primitive is a distant cousin. it's definitely covered in the Principles of Effective Modeling at https://brlcad.org/wiki/Documentation
TheJollyRoger@irc.freenode.net: Whew. I'll have to study this, then!
TheJollyRoger@irc.freenode.net: Ehehe. I'm kinda nervous.
TheJollyRoger@irc.freenode.net: Not gonna lie, the tools and UI do look kinda intimidating. I generally use the commandline for most of my day-to-day tasks on the OS but trying to fly blind is a little... I dunno, it's gonna mean I'll have to really think the design through up front instead of just throwing down a sketch and then adjusting it to size later.
brlcad@irc.freenode.net: Yes, it's conceptually quite a different method altogether.
TheJollyRoger@irc.freenode.net: Yeah.
brlcad@irc.freenode.net: Expert modelers tell me they're just as proficient if not more proficient as they are in other CAD, but the learning curve is definitely steep and the methods are different, often incompatible.
brlcad@irc.freenode.net: We're working on usability and core features that affect it, but it's going to be a process and it takes time to implement every (seemingly little) feature.
Testing from #general
brlcad@irc.freenode.net: Testing
brlcad@irc.freenode.net: all done testing, this looks like a usable bridge even if it is limited to individual streams. added one on the gci channel just in case since chatter on that will be kicking up real soon.
TheJollyRoger@irc.freenode.net: Woohoo!
Freso@irc.freenode.net: brlcad: Alright. I probably won’t touch the script again before January now though, so we’ll see. :p
brlcad@irc.freenode.net: Freso: that's a really cool patch; didn't even occur to me to use it for the inverse
Freso@irc.freenode.net: brlcad: :)
@starseeker: https://docs.hunter.sh/en/latest/#
cmake package management
brlcad@irc.freenode.net: hm, squirrely -- hopefully you still got a highlight
@starseeker also related to the earlier mention about shape construction from video, this is the other project that came to mind with some of the latest progress: https://www.cs.cmu.edu/~reconstruction/colmap.html
starseeker@irc.freenode.net: brlcad: if you mean highlighted in the sense of bolding the line or some such, not really - just the prepended names
starseeker@irc.freenode.net: still, nifty
brlcad@irc.freenode.net: starseeker: did you get an IRC "alert" because your nam was mentiond. in irssi, for example, it colors the sender's name orange instead of my terminal color (green)
I was a Student Developer in the Google Summer of Code 2019 and would like to mentor projects in the Google Code in 2019.
Please guide me on what is the process to apply.
Thank you!
Hi @jaideep seth, welcome and thank you for your interest! What brings you to BRL-CAD?
For what it's worth, to be an effective mentor, you'll need to be an active contributor. You’re more than welcome to be a mentor, but you’ll need to demonstrate you can be a capable contributor over the next couple weeks by submitting work, show you can be independently productive, show you’re familiar with the code, show you are or will be effective at giving advice to others, etc.
If you have a reference to your GSoC work (who was your mentor), that would be good to know.
TheJollyRoger@irc.freenode.net: Yay, the bridge seems to be working ^_^
:)
TheJollyRoger@irc.freenode.net: Ahoy Cap'n! ^_^
greetings! happy friday!
TheJollyRoger@irc.freenode.net: Yarr!
TheJollyRoger@irc.freenode.net: I gotta fix up some stuff but I should be around more later today!
brlcad@irc.freenode.net: sounds good
teepee_@irc.freenode.net: brlcad is there someone who would look at the DXF code? I can help, but I don't think I can manage the time to be actual mentor
teepee_@irc.freenode.net: I just saw it mentioned somewhere (on the mailing list I think?)
brlcad@irc.freenode.net: teepee_: absolutely -- that's one I already have a task chain started for since it's more of a priority
brlcad@irc.freenode.net: would xuwei be interested in mentoring it?
teepee_@irc.freenode.net: at some point he said he'd like to continue working on it but I have not heard back
teepee_@irc.freenode.net: I can try to catch him via mail
brlcad@irc.freenode.net: if not mentor it, at least maybe help define a list of the things it needs next
brlcad@irc.freenode.net: he would get a free t-shirt out of it ;)
teepee_@irc.freenode.net: an overview is in https://github.com/openscad/openscad/issues/3044 but I guess it's too high level to directly map to gci tasks
brlcad@irc.freenode.net: it's better than nothing, but yeah. gci also isn't good for architecture or design (figuring things out), which is a lot of what's in the "What's left" section.
teepee_@irc.freenode.net: if there's someone with some basic c++ knowledge there could be tasks to move more c style code to c++ style
brlcad@irc.freenode.net: what it would be great for is things like creating test data, unit tests, implementing a spline fitting function, creating a summary table of what entities are supported on import/export, etc :)
teepee_@irc.freenode.net: nothing done for export yet
brlcad@irc.freenode.net: so that's an easy table to fill out ;)
teepee_@irc.freenode.net: is the list of tasks already online somewhere?
brlcad@irc.freenode.net: not yet, but this was the starter list from last time and several of them are keepers: https://brlcad.org/wiki/Google_Code_In/2017/Tasks
If you have a reference to your GSoC work (who was your mentor), that would be good to know.
Project 16.1 of INCF in GSoC 19 https://summerofcode.withgoogle.com/projects/#5177840062955520
I will strive to contribute to the code base of BRL-CAD over the next 2 weeks.
Please consider the tasks I submit for potential GCI 2019 one (is there a spread sheet or something equivalent being circulated, could u tell me where?)
Thank you!
brlcad@irc.freenode.net: teepee_: how possible would it be to extract either .scad or .csg as a (non-gpl) library?
teepee_@irc.freenode.net: just the parser should be reasonable
brlcad@irc.freenode.net: @jaideep seth: can you ask your mentor to send me an e-mail or send me their e-mail/irc so I can talk with them?
teepee_@irc.freenode.net: including also the processing step to generate actual geometry is probably a big pile of work
brlcad@irc.freenode.net: no geometry generation, it can stay in expression/implicit form
brlcad@irc.freenode.net: don't want triangles ;)
teepee_@irc.freenode.net: you'll get minkowski then :P
brlcad@irc.freenode.net: it's harkening back to what we talked about a couple years ago
teepee_@irc.freenode.net: but yes, that would basically stop at the AST
brlcad@irc.freenode.net: possibility of full round trip mapping between (or outright replacement) of .g to .csg
teepee_@irc.freenode.net: which I would like to split out better too, even for just internal use
brlcad@irc.freenode.net: minkowski would become a new object type in brl-cad's taxonomy, either than or an editing command that evaluates (which is how hull is implemented)
teepee_@irc.freenode.net: right now the AST nodes know how to evaluate themselves but it would be much cleaner to use handle that via visitors
brlcad@irc.freenode.net: s/than/that/
brlcad@irc.freenode.net: can you send me a source code link? I can take a look and see if it's at all something GCI students could start to tackle
brlcad@irc.freenode.net: they can't do the architecture, but they could take care of a lot of other details and make serious progress
teepee_@irc.freenode.net: entry point is the bison parser : https://github.com/openscad/openscad/blob/master/src/parser.y
brlcad@irc.freenode.net: oh no.. yaaaacc
brlcad@irc.freenode.net: :)
brlcad@irc.freenode.net: how do you manage than on windows? bison for windows?
teepee_@irc.freenode.net: MXE as build environment - that's running on Linux
teepee_@irc.freenode.net: there's a mostly working VS build though using vcpkg - that is getting some bison implementation from somewhere else
teepee_@irc.freenode.net: command line call is : https://github.com/openscad/openscad/blob/master/src/openscad.cc#L337 which puts the AST into 'root_module'
teepee_@irc.freenode.net: and evaluation should be then : https://github.com/openscad/openscad/blob/master/src/openscad.cc#L362
brlcad@irc.freenode.net: if it were extracted, what license do you think you'd use? able to do a permissive?
teepee_@irc.freenode.net: I suppose that would be possible, there was some discussion about that already - we'd need to check with kintel about the details though
teepee_@irc.freenode.net: I know he would not have a problem with making it MIT but I don't know who else has worked on that part and would have a say in that
kintel@irc.freenode.net: I started working on extracting the file I/O and AST into a library a while ago
brlcad@irc.freenode.net: jaideep seth: can you ask your mentor to send me an e-mail or send me their e-mail/irc so I can talk with them?
My main mentor was Mark Watts, Ph.D student with University of Texas at Dallas.
Contact Details:
watts.mark2015@gmail.com
mark@openworm.org
There are many tasks ( 100s with many instances ) for each org in GCI 2019, I can help with making some ( while I try to get a commit in the BRL-CAD codbase)
kintel@irc.freenode.net: And the intent was a BSD-style interop library
kintel@irc.freenode.net: https://github.com/openscad/openscad/pull/1743
kintel@irc.freenode.net: There's a bit of architecture and refactoring work needed. Not quite student material right now
teepee_@irc.freenode.net: Ah, right, that's what I remembered :)
kintel@irc.freenode.net: Once we can preserve use/include as AST nodes, that would greatly simplify the next steps
teepee_@irc.freenode.net: maybe some tasks for moving into the direction and re-architecture later?
We converted all of our flex and bison in just a few days to a compatible system that is cross platform
kintel@irc.freenode.net: The coupling is still a bit high to just separate I think, but it's easier to discover if taking a stab at it :)
teepee_@irc.freenode.net: on my list would be some cleanup anyway - like getting all the code out of the parser.y
kintel@irc.freenode.net: But yeah, reorganizing files and build systems could prob. be done separately
kintel@irc.freenode.net: Perhaps motivation get the coding style update merged first :)
teepee_@irc.freenode.net: right, I guess that's probably a very good point now anyway
teepee_@irc.freenode.net: getting out a patch release is pretty much prepared in the branch already
teepee_@irc.freenode.net: I think there's only 2 small patches I need to cherry pick
teepee_@irc.freenode.net: so otherwise we are up for next release but not very soon realistically :D
Yeah I think there’s probably a few things GCI could do here
teepee_@irc.freenode.net: I agree with kintel we should not try to go for full separation just yet
teepee_@irc.freenode.net: but preparing the move into that direction should still be able to produce a number of smaller topics that could fit gci
teepee_@irc.freenode.net: those are supposed to be like 2-4h or something like that?
More like 1-2 hours for a core dev, someone fully experienced and set up. Target is for it to be something an average student could do in less than a day even if not set up, ideally in the 1-4 hr timeframe depending on their experience.
So if they’re really good, it’s still at least an hour of work, and if they’re not, it can still figure it out without getting frustrated or being impossible
brlcad@irc.freenode.net: welp, first official restart of the irc bridge...
yukonbob@irc.freenode.net: hello #brlcad ;)
yukonbob@irc.freenode.net: hello #brlcad
brlcad@irc.freenode.net: howdy!
yukonbob@irc.freenode.net: hey brlcad ;)
yukonbob@irc.freenode.net: hello #brlcad
yukonbob@irc.freenode.net: hello #brlcad
mfarberbrodsky@irc.freenode.net: Hello there! I'm a 16 year old student, interested in joining Google Code-In this year (first time), perhaps with BRLCAD.
hello mfarberbrodsky!
dev__@irc.freenode.net: Hello! I am new here can anyone tell me to how to start with?
dev__@irc.freenode.net: Thank you
Hi guys,
I am Adithya from India. I am new to BRL-CAD and am looking for ways to start contributing to the same. I am a GCI -18 and 17 participant and have experience with python , Django and JavaScript. Looking forward to working with BRL-CAD
TheJollyRoger@irc.freenode.net: Ahoy Adithya Anilkumar! ^_^
Welcome @Adithya Anilkumar !
Is there anything i could help with?
in what regard? of course, always ;)
In regards tp beginer Friendly issues
brlcad@irc.freenode.net: @Adithya Anilkumar: yes, there are many listed in the TODO file. for example, you could add support for multiple files to the dbconcat command
brlcad@irc.freenode.net: that's just a simple loop
Hi, I'm participating in GCI 2019 (as Jebbly). At the moment, I am most interested in the Appleseed integration tasks as well as the 3D modelling tasks.
hi @Jeffrey Liu and welcome! your name is super familiar... have you ben involved already?
Hi! Yes, a little bit - I planned on participating in Google Code-in and noticed that BRL-CAD was one of the organizations, so I wanted to develop a better understanding of BRL-CAD beforehand because I have an interest in computer graphics. I had some issues compiling on Debian which I asked about over here, but it worked fine on Windows.
ah, that's outstanding then
Hey I just started the introduction to 3d modeling task; would this screenshot be enough for the command line? lesson01_cli.png.jpg
that looks good, but I believe the intent is to show the rt usage statement
since you already have geometry drawn, it rendered it. try running "Z" then "rt".
/me writes up a checker's modeling task next
Sorry I might be misunderstanding something, but isn't the rt usage statement for the compiling from source task?
you're right, I thought that's the one you were referring to
ah right, so yeah, that'd work for the screenshot for the first one
note you can combine them, "Alternatively, run "rt" after "ae 45 45" and include the rt window in a full screenshot. "
so your screenshot has the command window with your name and the rt window showing the render in the same image
Oh ok, that makes things easier. Thank you!
starseeker@irc.freenode.net: brlcad: getting a unit test failure for the redblack implementation on latest ubuntu
starseeker, any details? that seems random..
starseeker@irc.freenode.net: brlcad: https://paste.ubuntu.com/p/rP64PJbmJn/
starseeker@irc.freenode.net: actually, the line numbers won't match - let me revert and rerun
starseeker@irc.freenode.net: https://paste.ubuntu.com/p/fTK88qMPzb/
starseeker@irc.freenode.net: we make almost no use of it
brlcad@irc.freenode.net: try updating it to r70981 ... pre-bu_list elimination, possibly gone awry
starseeker@irc.freenode.net: 71372 has it - that's right before the bu_list removal commit...
brlcad@irc.freenode.net: has it as in still crashes?
starseeker@irc.freenode.net: yep
brlcad@irc.freenode.net: rather, still reports memory issue
starseeker@irc.freenode.net: it'll crash outside of valgrind
starseeker@irc.freenode.net: ditto 70981
brlcad@irc.freenode.net: debugging
brlcad@irc.freenode.net: at a glance, I think the problem is just sillyness in bu_rb_delete()
brlcad@irc.freenode.net: deletes notes, then deletes the container that was holding the nodes, but it didn't take the pointers to them out of the container
brlcad@irc.freenode.net: looking to confirm it directly
brlcad@irc.freenode.net: quick test-- can you comment out line 595 in libbu/redblack.c and see if it still barks. not the proper fix, but would help confirm the locality..
starseeker@irc.freenode.net: still segfaults with that commented out
starseeker@irc.freenode.net: brlcad: we've had a lot of problems with this code over the years - would it be worth it to consider replacing the guts with something like https://github.com/openbsd/src/tree/master/usr.sbin/nsd ?
starseeker@irc.freenode.net: https://github.com/openbsd/src/blob/master/usr.sbin/nsd/rbtree.c rather
starseeker@irc.freenode.net: couple others floating around... netbsd has one, looks like...
starseeker@irc.freenode.net: as near as I can tell, we have two uses of libbu's redblack in our code - glint and pixcount
brlcad@irc.freenode.net: I would rather eliminate it outright for an STL container (std::map and std::set use redblack under the hood, iirc)
brlcad@irc.freenode.net: pixcount needs nothing of the sort
brlcad@irc.freenode.net: glint could be adapted
starseeker@irc.freenode.net: As an experiment I switched those two to C++ files - no trouble
starseeker@irc.freenode.net: Do we need to eliminate those uses before we list it as deprecated?
brlcad@irc.freenode.net: no
brlcad@irc.freenode.net: it's poor form in general, but not a rule or anything. deprecation is an independent announcement to everone else, so it just looks fishy when we'r still using it
starseeker@irc.freenode.net: I think it's worth doing in this case - I want to get it into CHANGES for the release, but I don't have time to disassemble glint right now...
starseeker@irc.freenode.net: if I do that I'll start looking at consolidating it with the MGED lint command
brlcad@irc.freenode.net: pixcount is just using it as an RGB color hash, that directly translates to a std::map<>
brlcad@irc.freenode.net: heck, probably a simple std::map<int32_t> with RGBA as the key would work perfectly
brlcad@irc.freenode.net: created a GCI task to re-implement it. it's perfectly scoped for gci.
hello guys
:)
ping @Jeffrey Liu
Hello!
do you know where to find a sample geometry file ?
hello :)
btw where are you from ?
Hm, sorry I didn't do that task so I'm not quite sure; have you looked at the db directory from the source files though?
I'm from the United States, how about you?
I am from India
okay I will continue searching on
btw do you have any idea of it's extension ?
looks like MGED extension
hello @Panda (Gauravjeet Singh) where I can find a sample geometry file ?
I am currently working on Compile and Install BRL-CAD from source code
but I can't find a geometry file
Did you already install BRL-CAD?
yes
The db directory has some asc (ASCII databases) that I was able to import
Then, look at the share/db directory in your installation. There, you should find a lot of *.g files.
yeah got it
btw I got raytrace aborted while using rt @Sahibpreet Kaur
what does that mean ?
Screenshot?
This can happen, if you close the ray-trace window by clicking on the "x" (i.e. the usual way). Try to close it with a right mouse click inside the window.
what if I closed with Ctrl+C in terminal ? @Daniel Rossberg
Ah, okay. Type tops
in mged and then draw
with one of the displayed objects, which looks best.
what if I closed with Ctrl+C in terminal ? Daniel Rossberg
Try it :wink:
what if I closed with Ctrl+C in terminal ? Daniel Rossberg
Try it :wink:
It closes two windows simultaneously
i also tried with other .g and same ray trace abort happen
Did you select a group for drawing?
nah
just one .g file
when I run bin/mged, it gives me two windows
Okay, I see. For this task (compile and install), wee need to see this error message. This is intended there!
Your first screen shot is what's needed to complete the task.
However, if you want to see something, you have to select an object for displaying first. (with the procedure I described here)
btw @Daniel Rossberg I tried with bin/archer and same ray trace abort
However, if you want to see something, you have to select an object for displaying first. (with the procedure I described here)
yeah okay
As I said: Thats okay if no object for displaying was selected.
himanshu@asus:~/brlcad-code/brlcad-build
$ bin/archer
Raytrace aborted.
@Daniel Rossberg so should I submit the task ?
Yes, the error message is the thing we want to see. Type your name in the mged command prompt, make a screen shot, and submit it.
done
:/
hey @Erik :)
I am on the task: Learn basic 3D modeling using BRL-CAD, part #1 of 2
I am not able to understand what all lessons to do
Have you installed BRL-CAD on your system?
Yes , I have installed
Actually there are a lot of topics and under the introduction the mged, There are 16 lessons
Here is the link to the MGED tutorial: http://brlcad.org/VolumeII-Introduction_to_MGED.pdf
Yes, but the task states to complete lesson 1 to 8. What didn't you understand?
Lesson 1 to 8 in http://brlcad.org/VolumeII-Introduction_to_MGED.pdf
Yes
And what is ae 45 45
It is the view you can from VIEW option in the menu bar.
ae 45 45 is azimuth and elevation value for the current view.
Thank you
under the VIEW option you can see a bunch of views you can display your design in. Also, it has been explained in the tutorial.
Yes, I just tried to save a PNG image by running "rt -o lesson01.png" in the command window , but it didn't work
It was given in the task description
Can anyone tell me how to change the color of the text in LibreCAD
@Mayank Goyal Yeah, it comes after you have drawn a design that comes after following the tutorial. So, basically you have to draw the designs given in each lesson and then use the command given in the task to save the image.
Make sure to name the images based on the lessons you did.
OK , thank you so much
Also noted in the task description, you can alternatively just run "rt" and make sure all the windows are in your screenshot
Hello everyone!
I have installed brlcad, but there is no bin folder in the build folder. Can anyone help me?
Could you send a screenshot of the files that you see?
Have you compiled the project already?
If you have, the bin directory should be located in either Debug or Release
I have just opened those folders, but there is no file named mged or archer. How can I run them?
pasted image
Have you compiled the VS Solution yet?
How can I do that?
So if you go back to the brlcad-build directory, you'll see a file called BRLCAD.sln. Open that and compile it (this should take a while), and I believe that depending on what you set (Debug or Release), one of the folders should have the correct files.
Let me know if it works.
@Jeffrey Liu , It has just finished compiling. Here is what the bin folder looks like now.
pasted image
Hm... I don't think there should be so many dll files (I think most of them should just be exe files), but I'm not really sure what happened. How did you compile it?
Sorry I didn't mean that those dll files shouldn't be there, I meant that I believe there should be more exe files than dll files there.
Just need some clarification on this task https://codein.withgoogle.com/tasks/5649945713967104/?sp-organization=4884012200361984&sp-categories=1&sp-search=c~2Fc%2B%2B
Is this pointing to struct bu_rb_tree *palette; /* Pixel palette */
Tasks says not to use bu_rb interference
any clarification ?
as per my thinking, this task wants to replace red-black tree algorithm into std::map as std::map has all the functionalities like insert(), erase(), clear() etc
Stragus@irc.freenode.net: There are many storage structures that can insert/delete items, the choice of red-black trees or whatever depends on the operations you have to do
Stragus@irc.freenode.net: A red-black tree has very different properties from a hash table like std::map, but I don't know the requirements for that particular case
This is something like hash table or something
as per my thinking, this task wants to replace red-black tree algorithm into std::map as std::map has all the functionalities like insert(), erase(), clear() etc
You are saying it here: Replace bu_rb_tree by std::map - with an int32_t as key.
What's the value type?
@Minh Duc Le Did the compilation finished without errors?
@Daniel Rossberg I will look into that as no. 3. For now I had chosen another debugging task
Did you already compiled the experimental features?
currently working on Test and fix single precision compilation
changing double to float and checking if any errors or warnings
Did you already compiled the experimental features?
nah
btw I never used visual studio
using vim
is visual studio better?
okay I will have a look into it
There are easy programming tasks in the "experimental features", where you can learn how to change code, recompile it, and generate a patch file.
There are easy programming tasks in the "experimental features", where you can learn how to change code, recompile it, and generate a patch file.
okay I will go though it
is visual studio better?
It depends on which OS you work.
There are easy programming tasks in the "experimental features", where you can learn how to change code, recompile it, and generate a patch file.
okay I will go though it
There is an own task for compiling the experimental features.
thanks for info @Daniel Rossberg :)
And then, you can do the "Remove throw statements" tasks.
looks like it goes through this
Compile BRL-CAD's experimental features
and then onward remove throw statements
btw what's the difference between default build and release build mentioned in http://brlcad.org/wiki/Building_from_SVN#Configure_the_build_system_with_CMake ?
hey Erik :)
Hi, is there something I can help with?
default build has some optimizations turned off and some debugging turned on, release is "for performance", do a default build
CMake usually detects already existing libraries on you system and uses them instead of their versions provided with the BRL-CAD source code (usually in the src/other directory). DBRLCAD_BUNDLED_LIBS=ON demands to use always the version which comes with the BRL-CAD source code.
There are usually two main build types: Debug and Release. Debug contains additional code/data to match it with the source code. I.e., it can be said which code part belongs to which source code line and what the variables' values are.
The release build is a usually speed optimized build with no debug information and variables often often don't have a memory address, because they live in processor registers only (if possible).
(Easy bugs in debug builds can very easily become difficult bugs in release mode due to compiler optimization methods, all ya'll should be avoiding release unless you know what you're doing)
thanks for info @Erik @Daniel Rossberg
Hey, I just SVN Updated to the latest revision (r74417) and tried to remake/recompile the source, but for some reason there's a couple issues now; it says that 124 projects failed and my bin directory ends up missing a lot of executables. Has anyone else encountered this?
Reading through the build log, one of the first errors that occurs is error C2039: 'map': is not a member of 'std' in debug2c.cxx
The release build is a usually speed optimized build with no debug information and variables often often don't have a memory address, because they live in processor registers only (if possible).
We actually break convention there as RELEASE build retains debug symbols, but it is also highly optimized (so -O3 plus other flags). In testing, keeping debug symbols has typically been found to have a negligible impact on performance, but having the symbols for debugging has been invaluable.
any clarification ?
@Himanshu Sekhar Nayak not sure what you're asking beyond what's written in the task. The goal is simply to not use the bu_rb calls like that bu_rb_tree struct. You can otherwise implement the tool however you want and use whatever you want so long as it outputs correctly.
ezzieygu1wuf@irc.freenode.net: I literally just copied the svn trunk and compiled today
ezzieygu1wuf@irc.freenode.net: only issue was tcl/tk mismatch, switched from 'system' to 'bundled' and it compiled fine
excellent
Reading through the build log, one of the first errors that occurs is error C2039: 'map': is not a member of 'std' in debug2c.cxx
@Jeffrey Liu yeah, that was recent change. I have a fix I'm about to commit. Basically, there's a #include <map> missing from a couple files that didn't exhibit as an error for the dev that did some commits recently.
I manually included the statements in the two files where it was missing and I'm currently compiling, which seems to be working at the moment.
But thanks for letting me know that it wasn't just something wrong with just my setup, I was really confused.
You code long enough with others and cross-platform issues like that start to become very obvious. ;)
yukonbob@irc.freenode.net: hello #brlcad
how's going @Jeffrey Liu ?
I'm good, how about you?
yeah me too I saw you are gonna work on count pix
sounds great
:)
Yep, I think I'm close to finishing it. What are you working on?
I am working on Compile BRL-CAD's experimental features
a source dir rt^3
I see, how's it going for you?
Hi
Hey
@Jeffrey Liu got the build environment ready but I can't find coreinterface, printTitle, embeddedlua, and hellobrlcad targets
I think after compilation they should be present in bin
dir but I can't find them.
Hm, unfortunately I probably can't offer much assistance because I haven't done that task yet, but were there any compilation errors?
many compilation errors but I resolved them and got the build environment ready
but can't find those files yet
Looking at the task, I believe the targets are referring to the build targets and not executables.
btw bin
dir contains all the executables right ? @Jeffrey Liu
Afaik, it should.
Hi. I wanted to know about converting model from one extension to another.
@Chiranjiv Singh Malhi BRL-CAD only converts to-from it's native .g format, there are many binaries for conversion, g-stl exports an STL file, stl-g imports stl, ... many other formats with similar names (g-obj, g-step, ...)
The src/conv/ directories has the source code for all the converters
@Erik alright got it , thanks .
starseeker@irc.freenode.net: brlcad: a quick experiment makes me think the C++ build will be less trivial than I'd hoped - should I just generate a list of the char * const assignments? Those are probably the lowest hanging fruit
@starseeker we can certainly try. I agree that just having them tackle the random errors that are going to result is probably not going to be effective. when I saw your e-mail, I noticed right away that the proper fix was probably to propagate const, but doing that to routines gets really hairy really fast. the functions that take static strings are almost certainly already ones that can be made const, but they often call other functions that may or may not be constified, and your average gci isn't going to have a recipe to know when to dup and free.
otherwise, best option for a task would have been what you already just did -- turn it on and submit a build report of all the errors.
yukonbob@irc.freenode.net: hello #brlcad
howdy!
Hello all
@Sean I was just wondering what is the purpose of BU_BITTEST ? To check bit list ?
@Chiranjiv Singh Malhi I believe that within the command, your next argument must specify which primitives/combinations within the database you want to convert.
@scorp08 it returns truthfully whether a given bit in a bitset is set
epileg@irc.freenode.net: hello everyone. Is there a date for a major release?
I was on the task where I had to convert .g file to .bj file
*.obj file
I tried this code (g-wave [options] input.g object(s)) but it didn't work.
@Mayank Goyal try the code
g-obj -o output.obj input.obj object_name
I will surely try
thanks
It is showing invalid command
Sorry typing error instead of input.obj it should be input.g
And
You don't convert in mged
(deleted)
(deleted)
Read this doc , it will help you
okay :+1:
(deleted)
g-obj.PNG can this be used
Thank you for the response @Sean ! I went with a 1001x1001 grid. Sorry to bother you again, but I had one more question for the task (hopefully the last one): seeing that I am only printing a black for miss and a white for hit, could I simply just have the hit/miss callbacks return a certain value without doing anything else?
starseeker@irc.freenode.net: epileg: define "major" release
starseeker@irc.freenode.net: epileg: we just tagged a patch release, and a minor release (incrementing the middle version number) will come when some combination of features and improvements warrants it
starseeker@irc.freenode.net: a "major" release (updating from 7.x to 8.x) isn't in the works anytime soon
epileg@irc.freenode.net: sorry, minor release
starseeker@irc.freenode.net: Probably safe to predict one within the next six months - there are a couple features in the works that would warrant it - but can't pin down more closely than that right now
I can't find LibreCAD version 3 for claim the tasks of LibreCAD version 3. Where I can find LibreCAD version 3 to download?
epileg@irc.freenode.net: ok, thank starseeker. I just asked this because there is a minor release every year, that's all
@Mohtashim Monowar There should be a task relating to building LibreCAD. It is probably the beginning of the LibreCAD task set, so I would recommend doing that first before moving on to other related tasks.
I can't find LibreCAD version 3 for claim the tasks of LibreCAD version 3. Where I can find LibreCAD version 3 to download?
You can visit this website https://github.com/LibreCAD/LibreCAD_3
Thank you for the response Sean ! I went with a 1001x1001 grid. Sorry to bother you again, but I had one more question for the task (hopefully the last one): seeing that I am only printing a black for miss and a white for hit, could I simply just have the hit/miss callbacks return a certain value without doing anything else?
Questions are never a bother. :) Absolutely you can do whatever you want in a callback. Depending on what you need to do, you may need some book-keeping method to keep track of results, but the callback return value itself will be in the a_return field of the application struct.
I tried this code (g-wave [options] input.g object(s)) but it didn't work.
@Mayank Goyal Where did you learn about g-wave? That converter was renamed in 2005..... You may have installed an ancient version. (and yes, you run the converters outside of mged).
Thank you for your response :) I just figured that the printing was causing a huge bottleneck problem because the program was taking much longer with them included. In this case, it seems like the default int return type worked fine - I just needed to adjust the return values to indicate a hit or a miss.
Hi @Mohtashim Monowar Thanks for showing interest.
This is the initial task you should try: https://codein.withgoogle.com/dashboard/tasks/5076591336488960/
Once you are done with it , you can do all tasks related to LibreCAD V3. It would be exciting
And i suggest you to join Zulip channel of LibreCAD: https://librecad.zulipchat.com/login/
I tried this code (g-wave [options] input.g object(s)) but it didn't work.
Mayank Goyal Where did you learn about g-wave? That converter was renamed in 2005..... You may have installed an ancient version. (and yes, you run the converters outside of mged).
So, basically what should I do now?
My ubuntu just crashed on me
Any mentor available to review "github pull request task" i submitted
Any mentor available to review "github pull request task" i submitted
looks like mentors are in other timeline. Btw you are welcome to the organization :)
Welcome
Thanks
@Sumagna Das can we continue where we left off yesterday?
starseeker@irc.freenode.net: O.o https://github.com/Microsoft/Terminal
hello everyone,
Should i use the sites css or can i personalize the UI?
https://codein.withgoogle.com/tasks/5731508619313152/?sp-organization=4884012200361984&sp-search=html
over here...
@jesse junior you can customize but yours should work with the existing if and when it can.
Hello, I'm participating in Google Code-In. I'm very excited to see the variety of tasks offered by Fedora Project, BRL-CAD and Appleseed!
Hello everyone ..
I am new to this organization...
Can someone please guide me on how to get started?
Hi @anshu khare are you here for google code-in? If that's the case, I recommend you get started with the beginner tasks offered by BRLCAD. Compiling/installing BRLCAD from source might be a good place to start.
Hello sir..
Yes, I am participating in google code-in.
Please tell me where I can find the source?
This task should guide you through it: https://codein.withgoogle.com/tasks/4935361470398464/?sp-is_beginner=True
i am going to print the application development.pdf of brlcad for my ease of the (appleseed task series).
what task are you working on now?
anyone knows how to build rtexample.c in src/rt
i want to see what it does
anyone knows how to build rtexample.c in src/rt
and compile it
hey @Ngadou Yopa can you tell me how to build and compile rtexample.c
hey Ngadou Yopa can you tell me how to build and compile rtexample.c
Hey @Sumagna Das give me a sec
nope
sorry for the delay
Sumagna did you do the Appleseed#1 task?
yea
i am going for the second task
i have submitted it for review
Can you explain me how to do it?
if you have a problem, just tell it
you cant ask someone to just kind of tell you how to do the whole thing
How do you convert the geometry file to a obj file
anyways, how to do it is written in the task page
go to terminal or command prompt(in case of windows), type g-obj -o (the name you want to give).obj (your .g filename).g sph(if you ran make sph sph)
"terminal" means?
you have windows?
YES
then open command prompt
In Sri Lanka about 90% of people use windows.
ok
Is there is something wrong with this, Sumagna?
Change the directory to where the g-obj.exe is there and write the full name of the file
right
sorry for the delay
i am setting up ssh
IT means show the path for g-obj file
Chiranjiv can you kindly tell me how to change the directory?
search for environment variables
@Thusal Ranawaka
Sumagna-Das.url Okay. I somehow manage to convert the geometry file to a .obj file and the other problem is after converting the file you have to open Appleseed studio.
ok
you have appleseed installed?
Then select 'New Project' option am i correct?
yes
Then you have to import object on the object option or in another option?
yes
you have a computer with great amount of ram?
When you import the object in your PC is the object showed up on the window.
4GB RAM
When I import the object it is not showing up.
Hello
pink screen?
NO In the middle
is it PINK?
no
Black
press F5
Then
it should now be pink, right?
Wait a minute
F5 means 'Start interactive rendering'
yes
But when i click it doesn t turn into pink
does it turn pink? yes or no
no
even when you press F5
no i didn t press F5 i just click on the start interactive rendering
ok
can you send me a screenshot?
i have sent the screenshot
can you scroll down the tree and send me the screenshot after opening the "Object instances" group
nothing happen when i open it
just send me
hey himanshu, whats up?
you havent imported the obj file
import it first
hey himanshu, whats up?
yeah I am fine. Just busy in some assignments. btw how's going ?
i imported it but nothing happens
where did u import from?
from the BRL CAD file
what?
you have to import from the obj file
YEs as a obj file but it doesnt work
but i convert geometry file to a .obj format from the internet
right click on the objects
groups and click on import objects...
option
the command prompt thing is not working
i do it but nothing happens
go to the command prompt
you know where brlcad is installed?
change to that directory in command prompt
Hey @Daniel Rossberg If I have to bind function in lua so is it also compulsory to implement function of nested class too ?
thusal, you did what i said?
wait
do you know how to change directories
no
What is wrong with this?
cd "path to your brlcad installation"
run cd the way i told
and send the screenshot
Okay I did it
now run the command
It doesn t working
cd bin
then, run g-obj.exe
Succeeded.
now import it using Import Objects ....
I thanking you from my heart to your waste of time.
no problem
i am doing my work side by side( setting up Github in Atom editor)
@Himanshu Sekhar Nayak , do you use atom?
okay now it s pink
Then
Himanshu Sekhar Nayak , do you use atom?
yeah but I use vim more than atom
press Ctrl
and, at the same time, press right click and drag downwards inside the render area
Himanshu Sekhar Nayak , do you use atom?
yeah but I use vim more than atom
i cant use vim efficiently so i use atom
in BRLCAD rendering means ray trace?
yea
i think so
when pressing ctrl and dragging downwards what happens
it zooms out
but it will take some time
do it for some time and you will see the sphere n pink color
you need to assign a material to the front side but do it afterwards
In assign material option what should i type on the filter
you have to make a material
first create a color
in assembly group
and type material1 on the filter
you have a material created?
i have select create generic material option
there change the value of color which is 0 0 0
change it to 0 1 2
or something but dont change the first zero
hey thusal, done?
yes
50%
when i assign a material and render the pink goes to black colour
you have to add a light now
which should be directional light
then
press F5
again
okay i got a white sphere now i sending it for review
ok
thanks for your help again
i have sent it for review but still not reviewed
Sumagna can you send a screenshot or the URL of your dashboard
Bye guys
@Sean Is it a bad idea to leave semaphores in shootrays_parallel and directly feed rt_shootray to bu_parallel ?
@Sean how to build and compile rtexample.c?
in the same way, i will also build and compile the c++ program for appleseed #2
You need to set-up your build environment such that it finds BRL-CAD's header files and libraries. You can do this by cloning a project which is doing this, for example from the brlcad or rt^3 repository.
Or, you do it by yourself and set the paths and libraries in your CMakeLists.txt, for exmple.
ok but i csnt do it still
Then, what are you doing?
Remember, I can't see, hear, smell, etc., what you are doing. All I have is this chat. I've no idea what you've tried, typed, etc..
i changed the cmakelists.txt inside src/rt folder of brlcad (not rt^3)
and it gave me errors so i did a clean download again
How? (post a patch file with your changes)
i am gonna try it again
i deleted it(sorry)
Be as precise as possible. I could write "you did it wrong, if you would do it correctly it would work". This would be totally correct, but also absolutely not helpful.
Therefore, provide as much information as possible such that I can point you into the right direction.
ok
my internet is not working that well
so the download is very slow
(Now idea why you have to download the sources again.)
I deleted the whole thing
:neutral:
All of it? You are working with subversion. There you can revert your changes and restore the original sources.
I forgot in the hustle and bustle around me
daniel i got this error while make-ing brlcad
this is is the error
i did nothing
it was a clean download
hello lord
How does Unit.cpp look? Damaged?
It's now building all right
I think
It haven't got to unit.cpp.o yet
It's right now at 'p' files
It's so late
It's okay to make a break an go to sleep.
It's okay and building right
Thinking about letting it happen during the night
Sean Is it a bad idea to leave semaphores in shootrays_parallel and directly feed rt_shootray to bu_parallel ?
as with most performance-related questions like that, the answer is a huge "it depends"
in general, i wouldn't leave them in and try to create an impl that doesn't rely on synchronization, but then you also won't likely see any performance implication with most use cases that come to mind.
I was unable to find this any config.example.json but found a config file in the .git folder and it states:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/BRL-CAD/OGV-meteor.git
fetch = +refs/heads/:refs/remotes/origin/
[branch "development"]
remote = origin
merge = refs/heads/development
How can I edit it? Also I found this in the readme!
Move config.example.json to config.json and write admin password there.
please someone review my task
Can anyone sort out the task of download and install BRL CAD from the source I can't find it.
(deleted)
@Sean Are you there?
Can anyone review my task?
give them some time
they can be in another timezone
so wait
a few more hours
is your appleseed task approved
yea
it got approved yesterday night
no it shows some of the mentors active just now
they have kept zulip open but are sleeping
press on the arrow beside their name
their local time will be shown
how many tasks have you done
helloo
9?
please send a screenshot or the url of your dashboard
i have done only 5
ok
i didn t have time to do
ok
hello
Hello Sumagna
@Thusal Ranawaka : there are 9 tasks ahead of you in the review queue and the mentors are doing this in spare time, I believe most if not all have jobs and families and such. Please have some patience, we'll get to you
Hey @Erik k how's it going?
Hello Sumagna
:smirk:
:expressionless: :sob: :sob:
Hey Erik
In Appleseed#2 task shows that there is a task for downloading and install BRL CAD from source but I searched that task but I cannot find it.
Hello
:persevere: :persevere: :exhausted:
Hey chiranjiv
What task are u working on now?
Hey @Daniel Rossberg How I can determine the value of return
statement ?
here is an example like this
template<_GetObject getObject> static int Name
(
lua_State* luaState
) {
BRLCAD::Object& object = (*getObject)(luaState, 1);
lua_pushstring(luaState, object.Name());
return 1;
}
Here it is returning 1
btw I got a reference manual to bind it http://www.lua.org/manual/5.1/manual.html#3
Hey Himanshu
What series of tasks are you working on?
btw I found a class here class BRLCAD_COREINTERFACE_EXPORT AttributeIterator
is that what you are pointing to ?
@Daniel Rossberg If I am correct than I have to only do the work on Object atrributes methods
?
Hey Himanshu
hi
5487973370429440_1576487376_iges.png
Hey can anyone help me whenever I convert from iges to g I never get any geometry
5487973370429440_1576550320_g.png
I used this command
Hey Daniel Rossberg How I can determine the value of
return
statement ?
The function returns the number of return values. The values are put on the stack. In your example, it returns one string. lua_pushstring()
pushes the value on top of the stack and return 1;
signals that the function put one value as a function return on the stack.
Hey Daniel how's it going?
Daniel Rossberg If I am correct than I have to only do the work on
Object atrributes methods
?
No, all but the attribute methods. I.e., only the simple ones.
Hey can anyone help me whenever I convert from iges to g I never get any geometry
It looks like the iges geometry doesn't contain any solid (3D element).
Which task are you on @Chiranjiv Singh Malhi ?
Importing from freecad
Ok
Screenshot-from-2019-12-18-09-35-59.png
I am stuck here..someone please help
Someone please tell that why does it fail to register?
in BRLCAD rendering means ray trace?
yes, rendering typically means ray tracing
Sean Is it a bad idea to leave semaphores in shootrays_parallel and directly feed rt_shootray to bu_parallel ?
@scorp08 as with most things "it depends". In general, it's not a terrible idea if done right.. It just might slow things down a little bit. However, what your'e suggesting is essentially what rt_shootrays() is doing (without a need for additional semaphores)
Sean how to build and compile rtexample.c?
See the wiki page on it for an example, but the answer very much depends on your operating system. It is already part of the BRL-CAD build, though. It's just not installed (see path/to/build/src/rt/rtexample)
In Appleseed#2 task it shows that there is a task for download and install BRL CAD from source but I cannot find that task.
@Thusal Ranawaka there is a task to compile brl-cad from source
how are you searching for it?
I think so
I think so
what? I asked how are you searching for it. what method or search terms are you using?
starseeker@irc.freenode.net: The MSVC Windows build should be fixed now - at least, it is now working for me
starseeker@irc.freenode.net: (trunk)
utsav_sachdeva@irc.freenode.net: Hi everyone i am utsav sachdaveva participating in google code in for the 2nd time this year. I am new to 3d modelling and designing and i hope to learn new stuff from you all.
utsav_sachdeva@irc.freenode.net: And my favourite task would be to model the geometric dice as snap fit puzzle because it involves killer imagination and puzzle!
@utsav sachdeva welcome and glad to hear you're a GCI veteran! looking forward to seeing what you can come up with for the dice puzzle. if it works, I just might be able to get it 3d printed.
utsav_sachdeva@irc.freenode.net: thanks, i hope not to dissapoint you :)
Hi everyone! I'm participating in GCI - it's my first time and I'm really excited! I think the "Make a 3D keychain with the P.E.R.A. logo" task sounds really interesting.
I'm not familiar with that task...
@D.Phaneesh Link to the task? I'm not familiar with that one.
ah, @D.Phaneesh that is a liquid galaxy project, not a brl-cad project (but you're more than welcome to create the design in brl-cad)
Last updated: Jan 09 2025 at 00:46 UTC