Trying to generate svg, and getting open vectors - how to solve?

So I’m generating the svg in this file, and when I try to join open vectors, not all of them are resolved. Bottom line: I need this shape to be one contiguous line that I can cut. Is this possible? Is there something wrong with my svg, or is this just impossible? Thx for any help!

test

The problem is that all the little curved sections are already closed vectors - it appears there were two copies of each (one over the other), and they’ve ‘closed’ into a curve that goes there and back again.

1 Like

I broke one of the curved sections into an unclosed curve, duplicated it where all the others were, and closed the whole thing.

FixedCurves

As @mhotchin noted, parts are already closed:

Select one:

Go into Node Edit mode:

right-click on one end and choose “Cut Vector”:

and repeat at the other end:

which will result in two pieces of geometry:

drag one away and delete it:

then either repeat that with all the others, or just duplicate this piece as needed and drag it in to replace all the others:

if need be, mirroring vertically:

Then select everything:

and Join Vectors will work:

Yes

attached as a v7 file:

part_v7.c2d (44 KB)

What tool was used to make this file?

The community has some notes:

  • it may help to use the OVERKILL command to eliminate any overlapping or intersecting paths before exporting from AUTOCAD
  • if lines have different elevations, use FLATTEN [Note 1]
  • PLINES are intrinsically joined, and should be used where appropriate [Note 2]
  • AutoCAD 2000 DXF format (model geometry only, base model scaling) export from the desired face (not isometric view)
  • 2004 Lines

Note 1: [https://www.reddit.com/r/cad/comments/77x98n/whats_the_best_way_in_autocad_to_make_line/dopkmlj/] Note 2: [https://www.reddit.com/r/cad/comments/77x98n/whats_the_best_way_in_autocad_to_make_line/doph35g/]

4 Likes

you both are right. turns out the library i am using (konvajs) does close arcs. i did some regex work to remove that from the svg and it works. thx so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.