Shubham Chauhan | 6 Jul 23:53 2015
Picon

OGV: Color in models

I have dropped mails regarding this earlier. 
As a part of my very crucial milestone, I need to fix this issue.
I need to extract the color attributes of the .g model file, convert them into obj files (with other bunch of attributes as well, which I am getting already) and render it on the geometry viewer.
This requires knowledge of the BRL-CAD mged and g-obj tools and command line knowledge of the same.
I have looked into the manuals but have got no satisfactory results.
Please help me out on this one.


-- 
Regards
Shubham Chauhan
2013099
B.Tech CSE
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Brad Hollister | 3 Jul 20:11 2015

GSoC 2015 Midterm Summary

Hi,

You can find a midterm summary and other relevant info here:

http://brlcad.org/wiki/User:Bhollister/MidtermSummary2015

Regards,
Brad

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Kalpit Thakkar | 2 Jul 22:56 2015
Picon

Project Update

Hello everyone,
Sorry for being so late with the project update. Without any further delay, here it goes:

After the coding period started, I made two major contributions :
1. Submitted a patch[1][2] that fixed compilation of RT^3 according to the changes in BRL-CAD at the time. It was successfully merged by Daniel.
2. Submitted[3] and tested[4] the Right Hyperbolic Cylinder patch. After some minor changes, this was too successfully merged by Daniel.

After this was over, I started focusing on understanding the commands "gqa" and "rtweight" and their implementation. With the help of Daniel and Sean, I was successfully able to understand what exactly was happening behind the hood in these commands and hence got the difference between the two. 
The plan was to have a public API in libanalyze that has the best of the two commands, so that it could be brought to production use and we could get rid of "rtweight", because it's kind of nasty. 

After talking to Daniel, I finally started implementing the first version of generic volume function and successfully completed that before the mid term[5]. The other two features -- centroid and surface area, should be trivial to implement once I get the idea about how the final implementation of volume should look like. Work towards it is going on right now. 
The project has been surely going at a pace slower than I wanted it to go at. But that's about to change.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Clifford Yapp | 2 Jul 13:31 2015
Picon

Website development questions?

Hitesh,

Since we're not having much luck on IRC, can you describe via email
what input you are looking for?

CY

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Christopher Sean Morrison | 1 Jul 05:27 2015
Picon

GSoC midterm evaluations


GSoC participants,

We’re almost at the halfway point!  Nearly everyone has been doing a fantastic job keeping their dev logs
updated and, of course, making progress and working hard.  Thanks to many of you that have already provided
a status update.  If you haven’t yet, please take a minute to summarize your activity in just a paragraph,
maybe include an image or diagram of your work that will be interesting to others.  You should also be
prepared to demo your work, wherever it is at.  Nothing formal, just be prepared to let others run your code
(with simple instructions).

I’m glad to see that you have all filled out your student evaluations on time!  Your dev logs count as daily
interaction, but point is noted that some of you may need more interaction.  If that is your case, please do
pose specific questions so we can help you make progress faster.  (Asking for feedback is not specific,
asking what something means is usually specific…)  If anyone has specific or personal concerns that
you’d not like to raise publicly, you’re always welcome to e-mail me directly so we can discuss. 
There’s never enough or too much communication.

In all, thanks again to all for your efforts. Be sure to thank your mentor(s) for their efforts tracking your
progress, reading your dev logs, looking at your work, and talking with you too.  Keep up the great work,
embrace open source, and happy coding!

Cheers!
Sean

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Shubham Chauhan | 30 Jun 17:07 2015
Picon

OGV: Backend Progress Update

First of all, really sorry for missing the meeting on IRC the other day.
This mail is regarding my progress on working with backend on OGV.

1). Login:
I made an account on gmail by the name ogv.mailer <at> gmail.com for configuring omniAuth and mailgun accounts. I worked on email Verification and reset/forget password mails (using mailgun). 
I also added omni-Auth functionality for google and github (left facebook due to account issues). The backend code for omniAuth is ready and working, but needs to be configured by brlcad accounts (after deployment).

2).Feedback
Made a separate feedback page. Implemented mailing to the developer directly using formspree.io.  There are some issues in formspree validations in safari browser, so maybe I'll have to change the working, remove formspree, and use default forms, and mailgun back end.

3).Edit info of Model
Added a field for "category" (pre-defined categories) in the form, which will be stored in the model-document as an array.
Earlier user was unable to update any information regarding the model, which has been enabled.
The user can now delete uploaded models as well. On deletion, previous thumbnails also gets deleted. Same goes for when you update a thumbnail. 
This particular part had many other bugs regarding file-storing (thumbnails being stored repeatedly), and routing problems, which have been resolved.

4).Model Viewer
Added dat.GUI library enabling the user to view his models with different attributes being changed and seeing its effects in real-time. These attributes include shininess, transparency, opacity, ambient, emissive, wireframe+model, only wireframe and wireframe line width.
Need to work on changing background color through dat.GUI.

5).Follower/following format for users
I have made user profile pages, that show info about the user and his uploaded models (with decent front-end). A working FOLLOW & UN-FOLLOW button that pushes/pulls user Id's in/from an array inside the user document. The user only sees the model-uploads made by the user he is following. The user can see popular models as well. Need to make an intelligent newsfeed.
A basic model for a social platform has been setup.

A few bugs have been resolved, while there are a few new ones that need to be taken care of.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Milinda Fernando | 28 Jun 09:46 2015
Picon

Re: [scl-dev] Re: [GSOC2015][STEPViewer Project Progress]

Hello Charlie,

>>Milinda, did you get this email?

Yes I got this email. But I haven't enable the daily updates from the stepcode dev group. (Now I have enabled it). So I didn't see the email until now. Really sorry about that. 

>> Please post the STEP files you are using, and inspect them to see what kind of geometry they contain
Sure I will post the step files that I am using. I have pushed the step files that I am using to my code repository[1]

Let me summarize you on what I am currently doing. Currently I am using step2g converter to convert the .step file to .g file. Then I read the .g file using db_open which returns the db_i* structure. Then I convert this db_i* to rt_brep_internal* structure which can be used to get ON_Brep* structure which means the boundary representation of the geometry. What you see in the photos that I sent you is, I iterate each edge in the ON_Brep* structure and draw each edge in the OpenGL viewer. Currently I am modifying the step2g code in order to make a statically linked library and I want to stop the conversion from .step to .g file. Instead of that I want to convert . step file to binary file which resides in the memory. Currently I have studies the STEPWrapper::convert method and I think we can stop it from ON_Brep* structure. The only problem is when I compile the edited step2g converter it mentions that SCHEMA_NAMESPACE is not defined. I don't know where it is defined. Can you please help me with this? 

>> Constructing solid geometry from wireframe geometry is something that I think is outside the scope of a STEP viewer.
Okay. Then can you please explain me how we are going to get the solid which can be rendered in OpenGL viewer (without libdm) from the ON_Brep structure. ? 


Thank You. 


2015-06-28 12:46 GMT+05:30 Charlie Stirk <charlie-5wIXP0UFYXXSUeElwK9/Pw@public.gmane.org>:
Milinda, did you get this email?   Regards, Charlie

---------- Forwarded message ----------
From: Charlie Stirk <charlie <at> costvision.com>
Date: Tue, Jun 23, 2015 at 12:03 PM
Subject: Re: [scl-dev] Re: [GSOC2015][STEPViewer Project Progress]
To: Scl Dev <scl-dev <at> googlegroups.com>


Hi Milinda,

These screenshots look like wireframe geometry.   STEP files can contain different shape representations for geometry, with or without topology, like wireframes or surfaces.   STEP files can also contain advanced or faceted b-rep.   
There is also a newer lightweight tesselated representation in STEP.   

Please post the STEP files you are using, and inspect them to see what kind of geometry they contain.   Here is a good library of different STEP files with different types of geometry.   

Constructing solid geometry from wireframe geometry is something that I think is outside the scope of a STEP viewer.   

Regards, Charlie

On Tue, Jun 23, 2015 at 8:53 AM, Milinda Fernando <milindasf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hello Charlie,

As Sean has mentioned I have converted .step to .g and read the .g file iterated the edges of the .g file and visualized it in the OpenGL view. Now we have a wire frame like view in the OpenGL viewer[1][2][3]. (see the links for the images). In my point of view I think we have 2 main tasks.
  • To modify the STEP2G lib to stop at memory residing binary format (format 3)
  • To construct the solid model form the brep elements. Do we have some shortcut to his. ? Like we get brlcad solid and convert to OpenGL solid type. Any suggestions ? 
Any suggestions on what to proceed with ?



On Sunday, June 21, 2015 at 9:33:05 AM UTC+5:30, Milinda Fernando wrote:
Dear Charlie,

I am writing this to inform about my progress in the STEPViewer project. I have created a sample GUI for the STEPViewer and for the display manager I have tried my best to use BRLCAD libdm. But I could not initialize a proper libdm window. So I decided to go with OpenGL window embedded in a Qt main window. I have implemented the rotation and zooming functionality to the viewer. You can find the latest code for the project from [1]. My development blogs can be found in [2].

The most important part of the project is to visualize a STEP file in the OpenGL view (display manager window).  For that I have converted the .step file to .g file using STEP2G converter. The next task is to display the .g file in the OpenGL view. For that I need to extract triangle details from the .g file. I refereed to some librt code. What I found was if you can read the .g file to rt_brep_internal structure then you can browse the brep triangles which needs to visualize the model in OpenGL. Am I going in the right direction? How can I visualize .g file in openGL view. ? Any example codes that I should look at ? Any help regarding this is really appreciated. 

The plan (As Sean mentioned) is if this is working we can make the STEP2G conversion to stop at the serialized binary data so that the conversion is in the memory and then visualize it. 

--
You received this message because you are subscribed to the Google Groups "STEPcode - Developers Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scl-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to scl-dev-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/scl-dev/2bcc0e01-d964-469c-bce8-c668c15d0d4e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.





--
Milinda Fernando.
Undergraduate Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Milinda Fernando | 28 Jun 06:33 2015
Picon

[GSOC2015][STEPViewer][SCHEMA_NAMESPACE ]

Hi ,

I am working on the conversion of step files to binary files (resides in memory). When I compile the changed step to g conversion I get SCHEMA_NAMESPACE not defined. Where is this name space defined. Any help regarding this matter is highly appreciated. 

Thank You. 

--
Milinda Fernando.
Undergraduate Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Deepak Sharma | 25 Jun 15:01 2015
Picon

Re: [OGV] .g file conversion error message

On Tue, Jun 23, 2015 at 1:37 AM, Deepak Sharma
<deeky.sharma@...> wrote:
>  <at> Inderpreet  <at> Shubham

Reply awaited!

--

-- 
Cheers!

Deepak Kumar Sharma
Blog: http://deekysharma.wordpress.com

" Mistakes are proof that you are trying "

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
Milinda Fernando | 23 Jun 16:50 2015
Picon

[STEPViewer Project][Viewing edges in OGL view]

Hello Sean,

As you mentioned I have converted .step to .g and read the .g file iterated the edges of the .g file and visualized it in the OpenGL view. Now we have a wire frame like view in the OpenGL viewer[1][2][3]. (see the links for the images). In my point of view I think we have 2 main tasks.
  • To modify the STEP2G lib to stop at memory residing binary format (format 3)
  • To construct the solid model form the brep elements. Do we have some shortcut to his. ? Like we get brlcad solid and convert to OpenGL solid type. Any suggestions ?
So which task I should do ? What should I do next ? 

Thank You. 



--
Milinda Fernando.
Undergraduate Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Milinda Fernando | 23 Jun 16:45 2015
Picon

[StepViewer project progress]

Hello Sean,

As you mentioned I have converted .step to .g and read the .g file iterated the edges of the .g file and visualized it in the OpenGL view. Now we have a wire frame like view in the OpenGL viewer[1][2][3]. (see the links for the images). In my point of view I think we have 2 main tasks.
  • To modify the STEP2G lib to stop at memory residing binary format (format 3)
  • To construct the solid model form the brep elements. Do we have some shortcut to his. ? Like we get brlcad solid and convert to OpenGL solid type. Any suggestions ?
  •  





[3].https://bitbucket.org/milindasf/stepviewer/src/f888657ba24b0a1e7cfe9b6de27b6d356089ab22/images/step3.png?at=default

--
Milinda Fernando.
Undergraduate Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@...
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Gmane