Hello,
I developed an CNC milling program to generate outer and inner tool path out of a 2D dxf file. This works fine.
Now I try to visualize that path.
I use a GLCube as material block and try to cut out the tool path by GLCylinders and GLCubes - but I found no way to do that. I want to have it similar to the program "CAMotics".
What I did until now is to show the outer and the inner tool path in different colors in the matrial block. But this looks awsome.
Can anybody please give me a hint how to create a toolpath like the program "CAMotics" with Lazarus and GLScene - cutting the toolpath out of an GLCube?
Many thanks in advance
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I taked a look at http://www.camotics.org/ It is used to control machines for engraving metal plates or the like. That's right ?
Hum, peharps by using HeighField/Terrain Rendering (in ewamples branch -> Terrains\TerrainPainter. Or other way by using CSG. Take a look at the samples\meshes\csg.
I saw the source code of "Camotics" is available so search also some clues in. It can will help.a little, i'm sure
Last edit: Jerome.D (BeanzMaster) 2017-06-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I will try "cutOutStar" and "TerrainPainter" the next days and will decide what fits best.
Sorry. I am new with GLScene and make my first steps with opengl.
Thanks Jerome,
I finished the first version of my 2D CNC program. Here a screenshot screenshot_02
Many thanks for your help.
Next step is to create a 3D Version where I can display milling pathes with different milling depth and contours for special mills like ball point mill.
Don't know how to create that views. I will update this thread if I am successful.
Peter
Last edit: Bottleneck 2017-07-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I developed an CNC milling program to generate outer and inner tool path out of a 2D dxf file. This works fine.
Now I try to visualize that path.
I use a GLCube as material block and try to cut out the tool path by GLCylinders and GLCubes - but I found no way to do that. I want to have it similar to the program "CAMotics".
What I did until now is to show the outer and the inner tool path in different colors in the matrial block. But this looks awsome.
Can anybody please give me a hint how to create a toolpath like the program "CAMotics" with Lazarus and GLScene - cutting the toolpath out of an GLCube?
Many thanks in advance
Peter
Hi, i don't understand what you mean exactly. You want cut an object like a cube a long a path ? like the cutnbolt demo ?
Thanks Jerome,
I think I found in "cutoutstar" what I am looking for.
Many thanks.
I taked a look at http://www.camotics.org/ It is used to control machines for engraving metal plates or the like. That's right ?
Hum, peharps by using HeighField/Terrain Rendering (in ewamples branch -> Terrains\TerrainPainter. Or other way by using CSG. Take a look at the samples\meshes\csg.
I saw the source code of "Camotics" is available so search also some clues in. It can will help.a little, i'm sure
Last edit: Jerome.D (BeanzMaster) 2017-06-26
Hello Jerome,
I will try "cutOutStar" and "TerrainPainter" the next days and will decide what fits best.
Sorry. I am new with GLScene and make my first steps with opengl.
screenshot
Thats a screen shot of my actual program version.
Nice job for a beginning :P
Thanks Jerome,
I finished the first version of my 2D CNC program. Here a screenshot
screenshot_02
Many thanks for your help.
Next step is to create a 3D Version where I can display milling pathes with different milling depth and contours for special mills like ball point mill.
Don't know how to create that views. I will update this thread if I am successful.
Peter
Last edit: Bottleneck 2017-07-18
GREAT Job Peter.
Keep us updated about your progress and project Home Page :)