Hello Guest it is March 28, 2024, 07:39:04 AM

Author Topic: ACAD import points to a drawing  (Read 10497 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
ACAD import points to a drawing
« on: June 10, 2011, 04:17:24 PM »
DOes anyone know how to bring in points to a drawing in ACAD ?

What I have is a set of points that represents a cam lobe. The points consist of height around a 360deg circle (polar)

The height represents the profile of the lobe around a base circle.

(;-) TP

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: ACAD import points to a drawing
« Reply #1 on: June 10, 2011, 06:23:08 PM »
What format are they in? I might be able to whip together a VBA importer. What version of AutoCAD are you using?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: ACAD import points to a drawing
« Reply #2 on: June 10, 2011, 09:21:44 PM »
HI GERRY, I can put the points in any format. I use ACAD2000.

(;-) TP

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: ACAD import points to a drawing
« Reply #3 on: June 10, 2011, 10:03:49 PM »
Let me see what you've got.

Actually, do you just want to create points, or do you want to do something else with them?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: ACAD import points to a drawing
« Reply #4 on: June 10, 2011, 10:24:19 PM »
ACtually I want to place the points then do a smoothing of the shape.Then output that shape in Gcode form as X (linear) and A axis (polar) being a rotary axis

But I will take anything I can get (;-) This is for a CNC cam grinder project I am working on.

The first column is the height data is is based from the center of the base circle.

The second column is the polar positions in deg. At each polar point the height extends from the center.

(;-) TP
« Last Edit: June 10, 2011, 10:34:36 PM by BR549 »

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: ACAD import points to a drawing
« Reply #5 on: June 10, 2011, 10:27:13 PM »
Can you give me a file to look at?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: ACAD import points to a drawing
« Reply #6 on: June 10, 2011, 10:50:45 PM »
This is an example of the basic motion AND the profile based on the data. I can output the points file from EXCELL in about any manner or order you require.

A basic probed point file is 3600 an advanced profile may be up to 360,000 points

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: ACAD import points to a drawing
« Reply #7 on: June 10, 2011, 11:21:18 PM »
Comma separated is preferred. I have a macro that creates a mesh from a point cloud created with the digitizing wizard. I should be able to modify it to do what you want.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: ACAD import points to a drawing
« Reply #8 on: June 11, 2011, 09:22:41 AM »
Disregard the csv statement. This works with TAB delimited files like the sample you posted. I hope it works in ACAD2000.  :o

All points are referenced from 0,0.

Note that there's an anamoly in your sample. Note the angle in the middle line here:
1.220   264.500
1.210   233.750
1.200   268.250


233.75° should be between the other two angles.

Here's a screenshot of AutoCAD with the points selected.

If you'd prefer, I can make the points a polyline. Or both. Just let me know.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: ACAD import points to a drawing
« Reply #9 on: June 11, 2011, 10:42:59 AM »
(;-) That is one of the reasons to be able to SEE the profile AN anomoly sticks out like sore thumb.

That looks great.  Converting to polylines would be helpful I could always explode it out if needed.  Is it possible to include a center point for the base circle ?  WouldI just add in a zero lift data point?

NOW the next question. AFTER I have smoothed out any quircks can I do curve fitting where it will work???   CAn you take the finish product back out to points or possible simple GcodeGcode??

NOT an Acad wizz, (;-) TP