Page 1 of 3 123 LastLast
Results 1 to 12 of 33

Thread: blender to gcode :: mGcodeGenerator

  1. #1
    Registered
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    7
    Downloads
    0
    Uploads
    0

    blender to gcode :: mGcodeGenerator

    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.


  2. #2
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    861
    Downloads
    0
    Uploads
    0
    I don't use Linux, EMC2 or Blender but your project makes me want to try it! Very cool, thanks for sharing.


  3. #3
    Registered
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    7
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by SBC Cycle View Post
    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


  4. #4
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1164
    Downloads
    0
    Uploads
    0
    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.


  • #5
    Registered
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    7
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by cyclestart View Post
    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 ?
    host server is often down try 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


  • #6
    Registered
    Join Date
    May 2005
    Location
    canada
    Posts
    1164
    Downloads
    0
    Uploads
    0
    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.


  • #7
    Registered
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    12
    Downloads
    0
    Uploads
    0
    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.


  • #8
    Registered
    Join Date
    Dec 2009
    Location
    Poland
    Posts
    7
    Downloads
    0
    Uploads
    0

    Talking

    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.


  • #9
    Registered
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    12
    Downloads
    0
    Uploads
    0
    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


  • #10
    Registered
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    12
    Downloads
    0
    Uploads
    0
    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.
    Attached Files Attached Files


  • #11
    Registered
    Join Date
    Feb 2010
    Location
    Canada
    Posts
    2
    Downloads
    0
    Uploads
    0
    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!!!


  • #12
    Registered
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    41
    Downloads
    0
    Uploads
    0
    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.


  • Page 1 of 3 123 LastLast

    Similar Threads

    1. Poor man's cad (Blender)
      By eternauta3k in forum General CAM Discussion
      Replies: 14
      Last Post: 12-10-2009, 08:47 PM
    2. Blender
      By kolias in forum General CAD Discussion
      Replies: 0
      Last Post: 09-08-2009, 11:43 PM
    3. Blender 3D CAD, Freeware, Open Source Software
      By der_fisherman in forum General CAD Discussion
      Replies: 8
      Last Post: 06-04-2009, 11:58 AM
    4. Blender Text to MeshCAM
      By MetropolisCNC in forum GRZ Software- MeshCAM
      Replies: 4
      Last Post: 05-08-2009, 01:28 PM
    5. Replies: 0
      Last Post: 03-10-2005, 01:46 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.