Editing Community Publication Portal

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 52: Line 52:
 
Geometry Viewer-
 
Geometry Viewer-
  
<b>What is a geometry viewer?</b>
+
What is a geometry viewer?
  
 
It’s a service which allows users to manage all there geometry files. It can upload and view BRL-CAD geometry files in a different format so that others can edit it. But it’s currently under construction.
 
It’s a service which allows users to manage all there geometry files. It can upload and view BRL-CAD geometry files in a different format so that others can edit it. But it’s currently under construction.
  
<b>It’s the equivalent to?</b>
+
==It’s the equivalent to?==
  
 
It’s like a Facebook for files where you can share other files with the public and then they can edit, change or fix the application to make it smother.
 
It’s like a Facebook for files where you can share other files with the public and then they can edit, change or fix the application to make it smother.
  
<b>Why is it used?</b>
+
 
 +
==Why is it used?==
  
 
It’s used to allow the user to become more organised and make the user interface easier to follow and understand.
 
It’s used to allow the user to become more organised and make the user interface easier to follow and understand.
  
<b>What is needed to access this service?</b>
+
 
 +
==What is needed to access this service?==
  
 
All you need on your computer with a Web GL supported browser, BRL-CAD, three.js and a Linux Apache MySQL PHP (LAMP).
 
All you need on your computer with a Web GL supported browser, BRL-CAD, three.js and a Linux Apache MySQL PHP (LAMP).
  
<b>How it works?</b>
+
 
 +
==How it works?==
  
 
Using BRL-CAD it changes the format to OBJ and loads it through the three.js all in all it converts then loads.
 
Using BRL-CAD it changes the format to OBJ and loads it through the three.js all in all it converts then loads.
  
  
<b>Advantages</b>
+
==Advantages==
  
 
•Easier for the user to manage
 
•Easier for the user to manage
Line 185: Line 188:
  
 
Pl: Would you continue to contribute to BRL-CAD?
 
Pl: Would you continue to contribute to BRL-CAD?
An: Of course ! I continued to contribute even after Google Summer of Code. Even if my contributions aren't as numerous as I would like because of my crowded academic schedule, I am trying t
+
An: Of course ! I continued to contribute even after Google Summer of Code. Even if my contributions aren't as numerous as I would like because of my crowded academic schedule, I am trying to contribute for as much as possible. Contributing to BRL-CAD helps me improve knowledge as well as providing code that is actually useful for a large number of people.
 +
 
 +
 
 +
====Google Summer of Code: Jianbang Wu====
 +
by: John
 +
 
 +
This article is based on some questions I asked Jianbang and in his profile page.
 +
 
 +
Jianbang Wu (also known as Phoenix) participated in BRL-CAD development during Google Summer of Code 2012. His work was "to convert implicit Constructive Solid Geometry (CGS) primitives to boundary representations (BREPs)". He is a sophomore student in Peking University, China.
 +
His skills involve C/C++, Object Oriented Programming, data structures, algorithms, math, and image processing.
 +
 
 +
Jianbang chose to apply to BRL-CAD because "The mentors of BRL-CAD are really nice. :)" and because he loves computer graphics and math.
 +
He started working without any Computer Aided Design (CAD) software experience, which he learned during the summer.
 +
He worked on two projects:
 +
 
 +
First, he followed Cliff's suggestion: "Implicit to NURBS conversion". This consisted in the conversion from implicit primitives to Non Uniform Rational Basis Spline (NURBS) primitives. In this project he also modified some unfinished conventions and added some new primitives.
 +
Since he finished this task before the mid-term evaluation, he decided to make a follow-up: "NURBS surface-surface intersection".
 +
 
 +
Finally, he suggests future Google Summer of Code students to "Follow your interest, choose the project you like, and you will find Google Summer of Code really an excellent experience".
 +
 
 +
You can check out some images related with his work here:
 +
 
 +
http://brlcad.org/wiki/User:Phoenix/GSoc2012/Reports#Test_Results
 +
 
 +
Related with his first work:
 +
* m35.g: component (left: implicit + csg, right: brep + csg)
 +
[[Image:M35.implicit.png]]      [[Image:M35.brep.png]]
 +
 
 +
Related with his second work:
 +
* The intersection curves (green) of a tgc (red) and an epa (blue). (Two segments)
 +
[[Image:Tgc epa.png]]
 +
 
 +
John is a Google Code-In student living in Portugal. He's favourite language is Python although he's considering to widen his knowledge to C.
 +
 
 +
==== Linux Release Packaging Process: A mission for Jordi Sayol ====
 +
By: John
 +
 
 +
Jordi Sayol is the man behind the automation of the BRL-CAD Linux release packaging process, which he recently finished. His work continues the one made previously by Manuel A. Fernandez Montecelo in .dbm packages.
 +
 
 +
This article is based on some questions I asked him and on an interview made to Jordi by Gala, a Google Code-in student.
 +
 
 +
Jordi has been working with BRL-CAD since January 2011,with his Linux experience (as advanced user) as his only companion. By that time, he started to collaborate on-line with other BRL-CAD team members.
 +
 
 +
With such a massive project, which has millions of lines of code, he decided to take as his responsability the building of binary packages for Linux systems, since he's not a programmer.
 +
 
 +
In both interviews, he explains quite accurately the process of making those. He has made two scripts that automate the whole work. What the scripts do is to handle all the pre-building proccess and then create the packages. "In fact the building job is done by debhelper to create deb packages, and the rpmbuild command to create rpm packages. The scripts tries to ensures that all dependencies needed by these commands are available, copy Linux specific files, create configuration files, etc. before building the packages".
 +
The scripts allow anyone to easily create their own deb/rpm packages as needed", since they "create deb/rpm packages for the host architecture where they are executed".
 +
This allows BRL-CAD to be distributed Debian-like and Fedora-like systems, which means a great variety of platforms where BRL-CAD will be able to work. Unfortunately, since Fedora and OpenSUSE don't share the same nomenclature, their rpm packages must be separate ones.
 +
The scripts can be found at the "sh" folder when you download the BRL-CAD sources.
 +
 
 +
Since he is not a programmer (only an advanced Linux user), he won't develop other parts of the code, but I think all the BRL-CAD community can be grateful for what he has done.
 +
 
 +
by John.
 +
 
 +
John is a Google Code-In student living in Portugal. He's favourite language is Python although he's considering to widen his knowledge to C.
 +
 
 +
Gala Taylor is a 2012 Google Code-In participant. Although she has used various Free and Open Source Software (FOSS) products over the years, and has contributed example files and tutorials to several projects, this is the first time she has actively participated in the development of FOSS code. Gala is currently in 9th grade, and her favorite computer language is Java.
 +
 
 +
==== Gala Taylor: New BRL-CAD Linux Release Packaging Process Automation ====
 +
By: Gala Taylor
 +
 
 +
BRL-CAD supports Debian, Ubuntu, Fedora, and openSUSE, and other Linux distributions. Jordi Sayol recently finished automating the BRL-CAD Linux release packaging process, and he took some time out to chat with Gala Taylor about it - and also answer some question about what it's like to work on the BRL-CAD project.
 +
 
 +
'''Gala Taylor (GT)''': How long have you been working on the BRL-CAD project?
 +
 
 +
'''Jordi Sayol (JS)''': I've been involved with the BRL-CAD project since January 2011.
 +
 
 +
'''GT''': How much education and experience were required to prepare you to contribute to the BRL-CAD project?
 +
 
 +
'''JS''': My experience is just as an advanced Linux user.
 +
 
 +
'''GT''': Do you need to physically meet with the other team members in order to contribute to the BRL-CAD project, or is it sufficient to work on-line?
 +
 
 +
'''JS''': All of my collaboration is done on-line.
 +
 
 +
'''GT''': The BRL-CAD project is a collection of over four hundred tools, utilities and applications, with over a million lines of source code. With such a massive and complex system, how do you decide what to work on? Is it necessary to understand all that code in order to contribute to the project?
 +
 
 +
'''JS''': My responsibility is focused on building binary packages of BRL-CAD for Linux systems.
 +
 
 +
'''GT''': Besides the release processing work which is described in the HACKING file, can you walk me through the process of actually transforming a developer’s checked-in source code into an .rpm or .deb that is ready to be downloaded and installed?
 +
 
 +
'''JS''': It's quite simple. I have created two bash scripts that automate this process. The "sh/make_deb.sh" script creates a deb package installable on Debian-like systems. This currently includes Debian, Ubuntu, Linux Mint, and other distributions. The "sh/make_rpm.sh" script creates an rpm package for Fedora-like systems. This includes Fedora, Centos, Redhat, and some other distributions, or OpenSUSE, depending on the system where it is built. There are separate rpm packages for Fedora and OpenSUSE because they do not share the same nomenclature on their packages. Note also that both scripts create deb/rpm packages for the host architecture where they are executed, and that the results are currently only tested on x86_32 and x86_64 hosts.
 +
 
 +
With these scripts, anyone can easily create their own deb/rpm packages as needed. This is especially useful if the user wants to install BRL-CAD on a very old system, maybe requiring special compilation for specific graphic cards drivers, etc.
 +
 
 +
'''GT''': Thank your for your time today and your contributions to BRL-CAD, Mr. Sayol!
 +
 
 +
'''JS''': It was a pleasure.
 +
 
 +
 
 +
Please visit the BRL-CAD project website for more information: http://brlcad.org
 +
 
 +
 
 +
'''Jordi Sayol''' is the maintainer of the BRL-CAD Linux release packaging process.
 +
 
 +
'''Gala Taylor''' is a 2012 Google Code-In participant. Although she has used various Free and Open Source Software (FOSS) products over the years, and has contributed example files and tutorials to several projects, this is the first time she has actively participated in the development of FOSS code. Gala is currently in 9th grade, and her favorite computer language is Java.
 +
 
 +
----
 +
 
 +
==== Kyle Bodt: Ronja ====
 +
 
 +
http://brlcad.org/wiki/Ronja
 +
 
 +
Ronja (Reasonable Optical Near Joint Access) is an innovative piece of equipment that utilizes reliable optical data links to create a current communication range of 1.4 km and a speed of 10Mbps full duplex that can be used as a general purpose wireless link for virtually any networking project. This is a very important project for Twibright Labs, a small group of computer science graduate students operating out of Charles University in Prague in the Czech Republic. The group specializes in the usage of Free Software and User Controlled Technology Development.
 +
 
 +
The primary output for the Ronja project is a design. The lab does not intend to manufacture and sell the hardware that is being designed but wants to engage in open source development of the technology. The philosophy surrounding User Controlled Technology is the ideal that the end-user is provided with unrestricted access to the intellectual property surrounding the technology, including the tools that are being used to create it. One tool playing an integral part in the development of the Ronja designs is BRL-CAD. All of the models that Twibright labs use to display the different variants of their Ronja concept were created with the help of BRL-CAD. BRL-CAD has allowed the members of Twibright labs to create instructional diagrams so that the users and builders of their open source technology will be able to have the latest information with regard to the proper construction of a Ronja unit. The interactive geometry editor and ray-tracers in BRL-CAD are an integral part in the communication of design plans for Twibright labs and enables them to connect with the users, who are the driving force behind the User Controlled Technology ideal.
 +
 
 +
----
  
 
== Initial Drafts ==
 
== Initial Drafts ==

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)