|
Hi,
I am running the code in VC++ and obtain the following error:
LINK : fatal error LNK1561: entry point must be defined
I have no idea how to fix this problem. Any help is much appreciated.
Thanks,
David
|
|
|
|
|
HI ,
The software is great and I am finding it useful. I actually want to simulate a mass spectrometer using and want to use your software to display the 3D from .stl files.
But I am not able to open other .stl files from your software. It opens fine for the sample files you have given. Please help me as soon as possible.
It would also help if you could tell me where is the code to access the co-ordinates in the display.
Waiting for your reply,
Thanks,
Vikas
|
|
|
|
|
HI ,
The software is great and I am finding it useful. I actually want to simulate a mass spectrometer using and want to use your software to display the 3D from .stl files.
But I am not able to open other .stl files from your software. It opens fine for the sample files you have given. Please help me as soon as possible.
It would also help if you could tell me where is the code to access the co-ordinates in the display.
Waiting for your reply,
Thanks,
Vikas
|
|
|
|
|
Maybe,this software just support ASCII files,you should change the binary files to ASCII files.
|
|
|
|
|
Is anyone else having trouble building the code? I'm getting a bunch of errors and they are all over my head. Does anyone still check this and will be able to help me?
-Me
|
|
|
|
|
Hello,at first thank you for your good viewer .I am a student and I am very interested in the topological relationship of triangles.Now,I can select one point of the triangles model,but I can't find its neighbor points.So we should rebuild topological structures .Would you have some good idea?
I am looking forward to good news .My e-mail:hyzhujc@163.com
-- modified at 2:50 Tuesday 5th December, 2006
-- modified at 2:54 Tuesday 5th December, 2006
I have a dream...
|
|
|
|
|
hi,
basically, in this application the triangles are read and directly displayed as opengl elements. for making use of topology, the triangles have to be stored in a topological data structure where the list of triangle nodes are to be stored with indexes and then edges and faces have to be constructed with the topological relations maintained. in the present case, if you notice, there is duplication of nodes of triangles sharing the same vertices, whereas when you use topology, the duplication has to be eliminated thus maintaining the rule of topology.
regds
n. sharjith
|
|
|
|
|
Good work Sharjith.
Can you please guide me how extend your work for writing CNC G&M codes or RP codes automatically. Have you done similar kind of work which generates G&M codes / RP codes from STL files..
Please also reply to harshalsawant@yahoo.com
Harshal Sawant
|
|
|
|
|
to generate nc path, i.e. G and M codes, it is not so simple. for RP first you have to calculate the intersection at different Z levels, extract the polygon contours and the work on them for the path. for regular NC code also depending on the mode of milling, you have to calculate the path after sorting the triangles for certain areas lying in the milling limits. there are so many complications involved. btw i have never tried to generate G and M Codes. however, i have developed a smulation application that reads g code files and shows the tool animation. i am also in search of sufficient theories that teach the toolpath computation.
regards
n. sharjith
|
|
|
|
|
Thank you for stl viewer.
I have STL file from Unigraphics ( Robotic 6 axis)
Need to show Graphic,Zoom,Pan,Rotate and Movement Robotic 6 axis by move mouse (Can Movement Each axis)
I Think so..
stl-> OpenGl -> vc++.net
Help Me Please...
Jaturon
|
|
|
|
|
Use the application I can only load the sample stl files which are provided in the project, but I can't load the other stl file? what is the reason? who can help me> any suggestion will be appreciated.
Qin H.X.
|
|
|
|
|
Hi, sharjith:
First , thank you for writing this goooood viewer.
Your ideas for designing the GLdisplay Class, but i am sorry to see
this programm is very slow when loading big stl files, i have tried
a stl file >80M , loading this file spends several minutes.... but under my stlviewer , it only costs 20 seconds on my computer with configuration PIII 800M, 256M SDR memory, and GeForce MX 440 video card.
Moreover, Selection should disabled out of the GLObject in the scene.
Hopeful to the Next version.
CG, OpenGL, MFC, STL
email me : lua.byhh@gmail.com
|
|
|
|
|
When an object is selected, a copy of it is added to the list. I think it's one reason that the program is too slow.
CCurve* CLine3D::Copy() const
{
CLine3D* L = new CLine3D(startPoint, endPoint);
return L;
}
|
|
|
|
|
While I tried to compile a code on VC++, it gives an error: stdafx.h(26) : fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory
Error executing cl.exe.
Someone please advise solution to it.
Tejas.
|
|
|
|
|
dear tejas,
all u have 2 do is download the opengl utility toolkit-- Glut -- and place the header, lib and dll files in your visual studio include, lib folders and windows system32 folder respectively.
|
|
|
|
|
you must be rebuild all
break ur leg
|
|
|
|
|
How to run 2 different(or same) OpenGL objects in one DialogBox?
IDC_STATIC1 is a first OpenGL objects Scene window.
IDC_STATIC2 is a second OpenGL objects Scene window.
IDC_STATIC1 and IDC_STATIC2 ,they are placed on IDD_DIALOG1.
code:
pclStatic = (CStatic *)GetDlgItem(IDC_OpenGL_Window);
pclGlView = new CGlView(pclStatic);
pclGlView->OnCreate();
pclGlView->InitGL();
pclGlView->DrawGLScene();
pclStatic1 = (CStatic *)GetDlgItem(IDC_OpenGL_Window);
pclGlView1 = new CGlView(pclStatic1);
pclGlView1->OnCreate();
pclGlView1->InitGL();
pclGlView1->DrawGLScene();
Will not involve both windows (IDC_STATIC2,IDC_STATIC1)
|
|
|
|
|
In your profile you say:
>Big dream to make own Cad/Cam software.
Have you looked at OpenCascase (www.opencascade.org) as a starting point. It is basically a kernel for a lot of the 3D ops you would neeed to do this.
Linas
|
|
|
|
|
Whoever wrote this code certainely had a very good look at OpenCascade. I suspect many of the concepts in this viewer (as well as in the CadSurf app) come directly from Cascade, but simplified (thanks for that!). Unfortunately, the app suffers from similar performance issues as the original OpenCascade library - possibly because it uses a similar approach of separating geometry from graphic objects as well as using the concept of display context on top of OpenGL context. If you can live with performance limitations this is a really nice way to create an application with very high end features similar to what you can find in OpenCascade, at a much lower investment of time and money (using OpenCascade is not as "free" as one would think). Thanks to the author for this contribution.
|
|
|
|
|
Can't not #include <GL/glut.h>
My problem is didn't have Glut3-7, isn't it? Could you tell me where I can download it?
|
|
|
|
|
|
I installed the viewer and glut32.dll, but am unable to display files to the screen. It's as if the files have no data inside. Everything about the viewer appears to be working. I would really like to get it operationl, since I plan to also build a CNC output module to go along with it for a specialized step controller.
Any suggestions?
Bill Redd, Denver
Bill Redd
|
|
|
|
|
Hi,
I dont know how do you actually try to open the data file. You have to read the stl file after pressing the button provided on the main tool bar (stl written on it) and not by the open file button or the file open menu. About the cnc code I did not get exactly what output you want to generate , is it rapid prototyping code for machine. Well if it is rapid prototyping code, you have to perform slicing of the model at different z levels and compute the 2d sections .... dont know exactly how. Please tell me your actual project in detail , I am anxious to know more, I will try my best to help you because I will also be learning more from that. Best Luck!
Regards
N. Sharjith
|
|
|
|
|
Sharjith,
Gotcha, it worked that way.thanks.
The referenced email address and link failed ... this is a forth generation copy of the original reply...
NOT rapid prototyping as it currently exists ... ( an X-Y plotter with a Z-axis ) Proto-typing in actual machine operation. (machinable surfaces only)
I am still struggling with attempting to actually purchase a "Miniature" 2000 series vertical end mill from SERLINE...check out their site. ( I am lucky to have 2 pennies to rub together after paying the bills every payday)
This mill has a manual 8 axis capability, with rotary table capability, which from what I can tell, can also be added to one of the 8 axis as an additional automated axis... otherwise it only has X, Y, and Z axis control for automation... ( the rotary table also has the capability) I should be able to convert 2 other rotations to automated using rotary tables. A very good friend of mine (Dr. Vern Bunch) has designs ( and is marketing these products) - for controllers and stepper motors that will fit directly on the
Serline Mini Mill already... he will give me 6 of them if I can get the mill for R&D. My plans are to create the software (initially for myself) that will integrate his controllers into a full CNC operation using the aforementioned axis. I AM at a disadvantage though, I am not the greatest with C++ ... which seems to be the only language that the STL format has been ported to ... I am fantastic with all forms of Basic, VB6, Fortran, Machine code, and a multitude of others. . . so I will have a learning curve
unless I can find source modules in VB6 ( or earlier). I understand the slicing problem ... and initially only plan to begin with X and Y axis ... slicing should not be necessary and interpolation for the Z axis will come only after a total debug of the 2D mode. I'm no spring chicken... on computers since the military in the 1960's ... used to be an analyst ... so my math is pretty good, and I have worked with Solid model CAD for more than 15 years. If I can convert the mill to 5 axis control from program, I have
interpolation routines available to achieve toolpath information directly from the coordinates within the STL file ...( the actual tool has to be considered for them to work) this will eliminating slicing by following a calculated toolpath calculated in polar coordinates in free space... I have studied the STL ASCII files and find them to be an over simplification of a DXF / IGES file ... though quite similar in nature. I have done some of these routines from DXF in the past to port the graphics to various CAD systems, so I believe that the STL will also be quite capable if the actual
SHAPE is re-calculated from it by using adjustable "Smoothing" routines ( as are used in IGES translations and in CAD systems. I'm not just spittin in the wind, I am registered at the HAGUE, Holland 5 times for World class inventions. ( Somebody else owns the rights, though ... I don't get any money... just recognition ) I was a control systems engineer for 20 years, and migrated into tooling design and machinery automation design over the years, have an excellent working knowledge of most machine automation. I
have been a professional designer for more than 30 years... and have been programming for almost 40 years... just not the right languages to get jobs any more.
I would like to stay in touch with you if possible ... if I can find a way to finance the mini mill ... I will be working on the program. Thanks for the program ...and tips.
Maybe in the near future I can work with you to expand on it's capabilities
for machine control....especially if everything has to be in "C".
Sincerely,
Bill Redd
Unlimited Design undesign@mindspring.com
http://www.mindspring.com/~undesign/main.html
Broomfield, Colorado.
|
|
|
|
|
I'd like to know how implement a code that contain the views XZ, XY and XY that when clicked dont bring the efects of a rotation for example.
|
|
|
|