How to fix these lines

paltuyarzi
Observer

How to fix these lines

paltuyarzi
Observer
Observer

Hello Buddies, i used jpg to dxf converter but got this result. Is there a way i could make those lines straight and curves smooth?

0 Likes
Reply
1,140 Views
11 Replies
Replies (11)

paullimapa
Mentor
Mentor

if the original jpg looks like that then it'll be difficult to get a cleaner result.

but you can always try alternate solutions discussed here:

Re: Import/convert tif file to dwg file. - Autodesk Community - AutoCAD


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes

Kent1Cooper
Consultant
Consultant

@paltuyarzi wrote:

Hello Buddies, i used jpg to dxf converter but got this result. Is there a way i could make those lines straight and curves smooth?


Do you mean to get a better DXF conversion from the JPG [we can't tell how clean that is], or after the conversion to clean up the drawing file?

 

If the latter, you can get a start on it with PLDIET.lsp, attached.  But that won't do it all for you.  How much of the convolution do you want to remove?  For example, do you want all of this stretch [along my shaky red path] to be smoothed out into one arc, or should some of that sun-flare-look stuff remain?

Kent1Cooper_0-1689190208432.png

 

Kent Cooper, AIA
0 Likes

pendean
Community Legend
Community Legend

@paltuyarzi 

JPG are horrible sources to create perfect CAD content: sorry. That's just the lossy nature of JPG.

 

Is that the only option you have for your desired content? Then it might be better to just trace over it to redraw (and if you have it installed, use the tools in RASTER DESIGN to help) if you cannot find and use a better JPG2DXF converter tool

pendean_0-1689193397131.png

 

0 Likes

paltuyarzi
Observer
Observer

This is the image. I have this part as well, i can try to draw it but i think it will give me worse results.


@Kent1Cooper yes i want a completely smooth line

0 Likes

paullimapa
Mentor
Mentor

you can attach that image into AutoCad and just draw over it with actual dimensions


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

paltuyarzi
Observer
Observer
Thanks, i will try that. I am not very good with autocad tho, this is why i was hoping for an easier solution.
0 Likes

pendean
Community Legend
Community Legend

@paltuyarzi wrote:

This is the image. ...yes i want a completely smooth line


Hmmm

 

pendean_0-1689252333193.png

 

0 Likes

TheCADnoob
Mentor
Mentor

Sometimes the easier solution is to pay a professional to get the job done. 

 

Ill add a note of caution about creating a drawing from an image, the dimensions may not be free from skewing (perspective can throw off things with tight tolerances). If you have the original piece, take the dimensions from that and just redraw it. 

CADnoob

EESignature

0 Likes

Patchy
Mentor
Mentor

Trace on a grid paper would help too.

0 Likes

leeminardi
Mentor
Mentor

How precise of an AutoCAD drawing do you require?  E.g., is 1% good enough (plus or minus 0.05" for a 10" part)?

Try the following.

  1. Insert the image into AutoCAD and create a circle using the three point method specifying points on the edge of the circle image as noted by the red dots below.

leeminardi_0-1689275885335.png

2. Scale the image by the ratio of the real measured diameter of the hole in the part to the diameter of the AutoCAD circle.

3. Create the straight  lines for the straight edges then estimate fillets.

4. Create two concentric circles for the "fancy" cutout and then detail of one of its lobes,

5. Use array- polar to make the other lobes then trim/extend as needed. 

 

Good luck!

 

 

lee.minardi
0 Likes

paltuyarzi
Observer
Observer
Thanks, will try this. It doesnt have to be 100% accurate
0 Likes