 |
|
 |
Dear Sharjith
The tool seems to be very interesting. I have built the application on MS VS2010 and tried to run the same. After running the viewer is seen only for a fraction of second and collapsing. Could you please suggest any possible solution for the same.
sidhu
|
|
|
|
 |
|
 |
Does it crash when you load some StL file? If so can you please set a break point at the StLReader methods and see what is happening? I am not sure what is happening. It was built using Visual Studio 6 long back and still works fine if it is built with it.
Regards
N. Sharjith
|
|
|
|
 |
|
|
 |
|
 |
Hi, my name is Ederson, i am from Brazil, is it possible to slice an STL file, i need to do this, i am building an 3d printer with a DLP projection.
|
|
|
|
 |
|
 |
Selection window on window 7 machine got distorted.
|
|
|
|
 |
|
 |
While resizing the main window on window 7 the flash screen will come.
|
|
|
|
 |
|
 |
Hi,Sharjith.
I convert your code to VC++ 2008.When I want to open a .stl file.An runtime error occur.The error is in your CStLReader::Read() in your source file "StLReader.cpp". How to fix?
|
|
|
|
 |
|
 |
Increase the size of array that reads the input.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
MR.Sharjith
Can I please hire you to produce a simple CGi code that outputs stl dimensions, volume etc from an uploaded stl file.
Chris
|
|
|
|
 |
|
 |
Hi Chris,
I am sorry, I didn't get what you mean by CGi. Secondly, you won't be able to get any dimensions of features from the StL model as you get in CAD models. StL models are just triangles so you cannot programatically find dimensions between features like faces, fillets, chamfers etc. Finding volume may be practically possible but relatively very difficult.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
MR.Sharjith sir, Thanks for your immediate response about all previous queries. Now when i compile your project it is fine. But when i try to open STL file it is just flick but stl file is not showing and also show the debug assertion failed error(read stl click) occur. can you send me some clue or code for how to open stl file in my view. I am using your whole code as it is and try to open stl file. Thanks Sangaramoorthy A
-- Modified Friday, September 24, 2010 2:11 AM
|
|
|
|
 |
|
 |
Can you please send me the debug traces?
Regards
N. Sharjith
|
|
|
|
 |
|
 |
Tell the correct path and also i have .dll and .h extension file the file which folder i can place ... C:\Program Files\Microsoft Visual Studio 9.0\VC
|
|
|
|
 |
|
 |
Locate the GL folder in your include folder of your compiler installation. If you are using VS2008, it should be probably in the Microsoft SDK folder includes.
For me it is:
C:\Program Files (x86)\Microsoft SDKs/Windows/v7.0A/Include/GL/
Paste the glut.h file into the above location.
C:\Program Files (x86)\Microsoft SDKs/Windows/v7.0A/Lib
Paste the glut32.lib file into the above location.
Note: your path may vary as per the installation of SDK versions. Best way is to search for the other OpenGL files like gl.h and glu.h and place glut.h in the same GL folder and then the glut32.lib file in the Lib folder 2 levels above.
Hope this helps.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
i paste the glut32.dll in system32 folder but the same following error occur again: fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory c:\users\lab-temp\desktop\stlviewer_src\stlviewer\stdafx.h
|
|
|
|
 |
|
 |
Error 1 fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory c:\users\lab-temp\desktop\stlviewer_src\stlviewer\stdafx.h 26 StLViewer
|
|
|
|
 |
|
 |
You need to install the glut library.
Find it here:
http://www.xmission.com/~nate/glut.html[^]
Unzip the binary package and copy the glut32.dll to c:\windows\system32 folder, glut32.lib to the libs folder and glut.h to the include\GL folder of your compiler.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
Hi,
In a STL file, there are many duplicated points. How can I remove them?
In order to remove duplicated points we need to search the entire point list. I think you are using linked list to store the points.In that case the searching time will be high. I tried using KD tree but still the time needed to load the stl file is high. "Meshlab" quickly loading stl meshs and removing duplicate points. How can I efficiently load a STL mesh?
|
|
|
|
 |
|
 |
Removing duplicate elements in a list can be done by using the standard template library algorithms like using the unique method of the std::list class. For that you may also have to provide equality operator for the Point class for comparison. But once you remove the duplicates the individual triangle's self-contained vertex information would be lost. To keep account of that, you must store indexes to reference the vertex of each triangle, as each unique point will be vertex to more than one triangle. This will no longer be a simple data structure but a complicated topological data structure with vertex nodes and neighbouring triangle information etc. If you need to do any processing on the StL data, it is worth doing all this. However, the application shown here just builds the visualization data structure for the StL model.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
Hi Friends!!
my name is siva.i have few doubts.
1. HOW TO CALCULATE INTERIOR ANGLE OF A TRIANGLE? (I Have x,y,z coordinate points as vertices)
2. HOW TO CALCULATE ANGLE BETWEEN UNIT NORMALS OF TWO ADJUSTANT TRIANGLE? (I Have known normal value for each triangle)
3. HOW TO CALCULATE ANGLE BETWEEN UNIT NORMALS OF TWO ADJUSTANT TRIANGULAR FACETS? (I Have known normal value for each triangle in a surface)
Please if anybody knows regarding these question..
mail me.. atleast refer website links which having solved answer...
SIVABALAN
vigisiva@gmail.com
india.
|
|
|
|
 |
|
 |
1 HOW TO CALCULATE INTERIOR ANGLE OF A TRIANGLE? (I Have x,y,z coordinate points as vertices)
http://mathworld.wolfram.com/Triangle.html[^]
2. HOW TO CALCULATE ANGLE BETWEEN UNIT NORMALS OF TWO ADJUSTANT TRIANGLE? (I Have known normal value for each triangle)
Angle between any two vectors can be found by calculating the dot product and dividing it by the product of magnitudes of both vectors and then calculating the inverse cosine of the resulting value.
double CVector3D::Angle(const CVector3D& Other) const
{
double theta, a, b, dot;
CVector3D tempV = Other;
if(!this->IsNull() && !tempV.IsNull())
{
dot = this->Dot(Other);
a = this->Magnitude();
b = tempV.Magnitude();
theta = acos(dot/(a*b));
return theta;
}
else
return 0;
}
3. HOW TO CALCULATE ANGLE BETWEEN UNIT NORMALS OF TWO ADJUSTANT TRIANGULAR FACETS? (I Have known normal value for each triangle in a surface)
Looks like question 2 repeated
Hope this helps.
Regards
N. Sharjith
|
|
|
|
 |
|
 |
Hi Sirjith sir ji
I saw your application it is very good. But when i compile your project it is fine. But when i try to open STL file it is just flick and second document open but stl file is not showing. can you send me some clue or code for how to open stl file in my view. I am using your whole code as it is and try to open stl file.
i,e, i am unable to open second stl file.
Thanks
Osho
|
|
|
|
 |
|
 |
My Name is SIVABALAN
im doing M.E degree
i have few doubts on STL file:
can any one please answer
1.HOW TO EDIT THE STL FILE ?
2.WHICH SOFTWARES WILL DO EDITING OF STL FILES?
3.IS IT POSSIBLE TO EDIT ACII & BINARY CODING OF STL FILE ? i.e FACET XYZ CORDINATES VALUES.
4.HOW TO DO TRIANGULATION AND RE-TRIANGULATION?
my emailid:vigisiva@gmail.com
mobile:09791399265
Tamilnadu
|
|
|
|
 |
|
 |
I'm new in VC++ 2008.
i got a CAD file which is already convert into STL file.
how do i display it as a 3D image in MFC..
Wat knowledge should i must have to handle this task?
|
|
|
|
 |
|
 |
Hi,
I'm currently working on a web project that analyze stl and iges file's demension (x, y, z). Anyone in here know if there is a component (.net, java) out there that can do this. Please help.
|
|
|
|
 |