hi. I am the author of mGcodeGeneratora
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GcodeGenerator
this is a cam-type program.
you have any comments or suggestions to the program?
write it !
that allowed me to create something more useful.
hi. I am the author of mGcodeGeneratora
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GcodeGenerator
this is a cam-type program.
you have any comments or suggestions to the program?
write it !
that allowed me to create something more useful.
I don't use Linux, EMC2 or Blender but your project makes me want to try it! Very cool, thanks for sharing.
I am sorry.
I did not write anywhere that it is a generator gcoda.
and from this file, you can move to any machine that reads gcody unnecessary emc.
what the Linux is it is not required. windows may be.
I do not have Windows and I do not know where the scripts directory of Blender
that is required is a blender![]()
The last time I looked at Blender, maybe 4 years ago (?), it was very difficult to learn. It's also very powerful software. More powerful software than needed for most mechanical parts ? Who do you see as the user for this gcode software ? People wanting to make cnc art pieces might be interested.
btw: I tried to download but the file was corrupt (empty). It's written in python ?
Anyone who says "It only goes together one way" has no imagination.
host server is often downtry later
this blender is not a simple application
but in contrast to the other is open
I have chosen a blender as a base that it has a lot of importers. dxf, svg, ai, ps, ....
having with him a little turns out to be pleasant
who has to use it. hyyy all? those who can not afford or do not want to buy expensive software
dxf, import into blender, and we have gcode
yes software, plugin is written in Python
Open and python.
Excellent
Maybe after Christmas I'm back with a photo to show..
No promises![]()
Anyone who says "It only goes together one way" has no imagination.
hi yoyoek1,
I have downloaded your script and made some first experiences with. Primarly I was looking for a 3D generator and for this purpose does not work bad.
Great job!
Some comments
- In Windows, there are some type cast warnings, do not appear under linux. Code seems to run correctly.
- tool length check (not only diameter) could be useful. When going down to 0 level, spinle or tool shaft destroys milled structure
- parametric size and 0 position do not work on all machines (e.g. some viewers).
- gcode size is heavily enlarged by the line numbers and the feed rate in front of each code -> slows down my emc2
So I already modified sligthly your code for my purposes, but I did not really got in depth with the algorithm.
at last, user
me by you will send me the modified script and I will marge it with my newest version ?
about problems under windows. I don't use it and don't have it. sorry
tool length is good idea. I will have it on mind.
Hi yoyoek1
worked this weekend again on the bake3d part.
- Corrrected the issue with the missing (int) cast by making a "round" function.
- modified the layer generation. My linux emc2 machine is a bit slow and while parsing same z height, maximum speed cannot be achieved. Now only first point until last point on z_layer is in workpath, not additional points, where z is smaller, but set to z_layer
- already in last version: use Feed rate only, when changing, not before each command and different format (no parametric), but could remain as is for emc2
- added a few comments, what is happening.
Hope, you can find and merge the differencies. Sent to your mail adresses at wp.com and d3p.pl
Hi yoyoek1,
got a bit deeper into the code.
- have now realised a primitive tool length check which will now prevent a collision with the shaft or the mill head
- made some analysis, why somehwen the z_buff is not setup correctly. It always happens when in the grid is aligned with the edge of a triangle/quad. Could not find a workaround up to now. Maybe it is also linked with the fact, that makeZBufferFromObjects internally again sets up its mesh, but I am not shure about this.
Very interesting script , bravo! guy's . I am looking forward testing result of both scripts on the cnc at work ,I will probably have questions after testing. I do think Blender could become the best cad (...+cam!!!) in linux... I am surprise of seeing the poor interest of cnc users for what seems to me marvelous free solution!!!! may be they are too busy trying to hack,download,crack,learn window'$ big cad/cam programs....
Keep up the good work!!!
Keep us informed please!!!
Blender wasn't designed as 3D CAD and missing some basic tools. Like exact dimensions
for example. It really is 3D modeling tool, not CAD. Salome is more appropriate. But it lacks parametric modeling at current time.
worked again on the 3d z_buff.
Think I could improve behaviour.
lezdep , take a look there:
www.rab3d.com/tutorial_started.html
.. I did a few test on cnc at work with both script and the cnc/mach3 did what it should , no weird code where add .I`ve only tested 3D .
I do not write or even understand python script and the cnc world is pretty new to me... just to let you know that I wont be able to help your precious work untill i do my homework and study a bit more. Testing is all i could do ...for now! Maybe you got a link to someplace where I could start learning python and eventualy help! As I am a bit mixed up in my poor knowledge of cnc ,blender terms & function , I just dont want to take your time to teach those to the newbie I am!!! so I will be back when i will be shure
that I got precise terms for precise questions!!
Time is precious for everybody .
Keep it alive!!!
the trouble with z_buff is probably not visible on the first look.
And you will find it only in finer resolution. Compared in attached image is the original toolpath in black and the path of my modified script highlighted with improved behaviour.
Python itself you will find here.
http://www.python.org/doc/
The blender specific parts of the libraries and interfaces, you will find here.
http://www.blender.org/documentation/249PythonDoc/
And thanks for your link!
yoyoek1 has added multipass option for 2/2.5d operations
(version 0.1.74 http://wiki.linuxcnc.org/cgi-bin/emc...GcodeGenerator ).
Simple and nice feature!
new release0.1.81
EMC Documentation Wiki: GcodeGenerator
problems such as shown in the attached file solved
plus a little different changes
Yoyoek1, any plans to support Blender 2.5 in the near future?
I tryed it in 2.5 all i had to do to get it to work was install python-tk this was on linux
edit sorry wrong info this machine has 2.49a not 2.5
Jack