How do i make a simple hole (AutoCAD / DXF2Gcode)
- andrei
-
Topic Author
- Visitor
-
07 May 2011 23:04 - 08 May 2011 00:51 #9645
by andrei
Replied by andrei on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
I get this error
Error: bad argument type: lentityp nil
i do not fully understand how is this script working. I read the instructions carefully, but i do not manage to make it work.
Error: bad argument type: lentityp nil
i do not fully understand how is this script working. I read the instructions carefully, but i do not manage to make it work.
;; The layer of the drawing entity determines the drill or mill
;; description. Entities on layer 0 are ignored.
;;
;; The x and y work in the obvious way. The z dimension determines the
;; cutting depth. Therefore the z of all entities NOT on layer 0 must be
;; negative.
;;
;; All cuts made with a particular tool are made in least-depth-first
;; order.
;;
;; Tools are used in decreasing alphabetic order, so if you have paths on
;; layers named 250-MILL and 125-MILL, it will ask for the 1/4" before
;; the 1/8".
;;
;; A text of the form "vfeed: [real number]" or "hfeed: [real number]" on
;; a tool layer will set the vertical/horizontal feed for that tool.
;;
;; A text of the form "peck: [real number]" on a drill layer will set
;; the increment for a peck drill cycle.
;;
;; A text of the form "chip: [real number]" on a drill layer will set
;; the increment for a chip breaking drill cycle.
;;
;; A text of the form "tap: [real number]" on a drill layer will set
;; the thread pitch for a tap cycle.
;;
;; A text of the form "dwell: [real number]" on a drill layer will set
;; the dwell at the bottom of the drill cycle.
Last edit: 08 May 2011 00:51 by andrei.
Please Log in or Create an account to join the conversation.
- stevec
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
08 May 2011 05:42 #9648
by stevec
Replied by stevec on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
If you just want to do a quick one off job for the moment, take a look at www.cambam.info/.
There is a 40 try demo version which has its own drawing facilities, or it will import DXF files as well.
There is a 40 try demo version which has its own drawing facilities, or it will import DXF files as well.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
Less
More
- Posts: 1744
- Thank you received: 288
08 May 2011 08:13 #9650
by cncbasher
Replied by cncbasher on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
post your dfx file
Please Log in or Create an account to join the conversation.
- andrei
-
Topic Author
- Visitor
-
08 May 2011 10:04 - 08 May 2011 13:16 #9651
by andrei
Replied by andrei on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
I've uploaded the DXF file, thank you for your support. If there is someone who knows how to use this REALIZE.lsp script with AutoCAD i would be more than grateful. I work as a Surveyor and i only know how to draw 2D in AutoCAD. I cannot use other CAD/CAM softwares due to the lack of features and flexibility.
and
Filled Circles:
www.mediafire.com/?criibq7qceeqt3b
Attachment OnlyPoints.dxf not found
and
Filled Circles:
www.mediafire.com/?criibq7qceeqt3b
Last edit: 08 May 2011 13:16 by andrei.
Please Log in or Create an account to join the conversation.
- PKM
-
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 3
08 May 2011 15:37 - 08 May 2011 16:00 #9657
by PKM
Replied by PKM on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
I got it!
You just insert text vfeed:feed_value to specify vertical feed. Then select all, right-click and choose Properties. Set Pozition Z to desired drilling depth (must be negative).
Rename the layer depending on your drill diameter, as manual says. Select all and run REALIZE.
I attached the output for vfeed = 150 mm/min. I moved all dots closer to 0,0 position for your convenience. I see that you use mm dimensions, so do not forget to change G20 to G21 in the output file (I changed already in the file).
upd: I tried to open the file un EMC2, it fails. Comment or delete the string
Ndrill Tdrill M6 G43; DRILL ?
and it will be fine
You just insert text vfeed:feed_value to specify vertical feed. Then select all, right-click and choose Properties. Set Pozition Z to desired drilling depth (must be negative).
Rename the layer depending on your drill diameter, as manual says. Select all and run REALIZE.
I attached the output for vfeed = 150 mm/min. I moved all dots closer to 0,0 position for your convenience. I see that you use mm dimensions, so do not forget to change G20 to G21 in the output file (I changed already in the file).
upd: I tried to open the file un EMC2, it fails. Comment or delete the string
Ndrill Tdrill M6 G43; DRILL ?
and it will be fine
Last edit: 08 May 2011 16:00 by PKM.
Please Log in or Create an account to join the conversation.
- andrei
-
Topic Author
- Visitor
-
08 May 2011 20:53 - 08 May 2011 20:58 #9664
by andrei
Replied by andrei on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
@PKM Thanks man! That was awsome! Your answer helped me a lot. Now i know how to use this Realize for AutoCAD.
I can import the files now in EMC2, but do you know what is about with the error from the screenshot bellow ? I tried it on your version of ngc and my version of ngc and i get the same error when i simulate ? Did i forgot to configure something in EMC2 ? I'm using 3Axis. I think i'm a tired.. and sorry for being a little wooden-headed
I can import the files now in EMC2, but do you know what is about with the error from the screenshot bellow ? I tried it on your version of ngc and my version of ngc and i get the same error when i simulate ? Did i forgot to configure something in EMC2 ? I'm using 3Axis. I think i'm a tired.. and sorry for being a little wooden-headed
Last edit: 08 May 2011 20:58 by andrei.
Please Log in or Create an account to join the conversation.
- PKM
-
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 3
08 May 2011 21:08 - 08 May 2011 21:12 #9666
by PKM
Replied by PKM on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
First and third errors - the tool tries to move out of your machine's workspace, thus joint limits exceeded. What is the actuator/table stroke of the machine? You probably need to rotate the workpiece (and dxf picture) 90 deg, usually X stroke is longer than Y.
If axis 0 is in the middle of table stroke, you might only need to move the workpiece and touch off.
If axis 0 is in the middle of table stroke, you might only need to move the workpiece and touch off.
Last edit: 08 May 2011 21:12 by PKM.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
08 May 2011 21:10 #9668
by BigJohnT
Replied by BigJohnT on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
The first on means your part is positioned so some of it falls outside the X limits of your machine.
John
John
Please Log in or Create an account to join the conversation.
- andrei
-
Topic Author
- Visitor
-
08 May 2011 21:39 #9669
by andrei
Replied by andrei on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
Thank you, this was really helpfull.
PKM you should make a tutorial on how to use REALIZE because you can't find anything related to this software except the author's instructions which are a little vague on my opinion. I think this script is not so popular because it implies the use of AutoCAD which is very expensive for the average user.
Thank you once again for your help. +Karma
PKM you should make a tutorial on how to use REALIZE because you can't find anything related to this software except the author's instructions which are a little vague on my opinion. I think this script is not so popular because it implies the use of AutoCAD which is very expensive for the average user.
Thank you once again for your help. +Karma
Please Log in or Create an account to join the conversation.
- PKM
-
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 3
09 May 2011 08:08 - 09 May 2011 08:13 #9671
by PKM
Replied by PKM on topic Re:How do i make a simple hole (AutoCAD / DXF2Gcode)
You're welcome.
It's Chris Radek who we should thank for writing and sharing the script.
It's Chris Radek who we should thank for writing and sharing the script.
Last edit: 09 May 2011 08:13 by PKM.
Please Log in or Create an account to join the conversation.
Time to create page: 0.346 seconds