How to Combine A LOT of Lines into One???

How to Combine A LOT of Lines into One???

Fab_Things
Advocate Advocate
7,443 Views
28 Replies
Message 1 of 29

How to Combine A LOT of Lines into One???

Fab_Things
Advocate
Advocate

The sketch I am working on has about a bajillion individual lines (splines) that I would like to combine into more meaningful segments. It seems like a very simple operation, but I cannot figure out how to do it despite a lot of internet and CAD forum searches.  Does anyone know how this can be done?

Fab_Things_0-1712075091665.png

 

0 Likes
7,444 Views
28 Replies
Replies (28)
Message 2 of 29

TheCADWhisperer
Consultant
Consultant

@Fab_Things 

If this were my work I would use the sketch only as reference in recreating a new sketch.

I doubt that any Splines are needed.

I would probably not put the smaller fillets in the sketch but rather as placed features.

 

Fortunately it is relatively simple sketch...

TheCADWhisperer_0-1712076361076.png

I started for you (see Attached).

Message 3 of 29

HughesTooling
Consultant
Consultant

The sketch is made from only lines, no arcs or splines at all. Where did the sketch come from, does the program have any options for exports?

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 4 of 29

Fab_Things
Advocate
Advocate

@HughesTooling 

 

Thanks for pointing that out. I am new to CAD and got that reference to splines vs. lines mixed up. I edited the OP to reflect this.

 

This is from an inserted mesh (stl) file that I then projected the outline of and broke the link so I could modify the outline sketch.  I don't know what program was used to create the stl file that I am using as a geometry reference.

 

The posted file is only a portion of the overall design.  And there are other stl files I need to go through the same exercise with.  I've been manually deleting lines and extending remaining ones and it is taking forever!  Combining lines should be a fairly simple thing to do, especially for a CAD program.  How can that be done in Fusion? 

0 Likes
Message 5 of 29

Fab_Things
Advocate
Advocate

@TheCADWhisperer 

 

Thank you for starting the recreation.  Problem is, there are other stl files I need to go through the same exercise with.  I've been manually deleting lines and extending remaining ones and it is taking forever!  Combining lines should be a fairly simple thing to do, especially for a CAD program.  Is there any way that can be done in Fusion?

0 Likes
Message 6 of 29

g-andresen
Consultant
Consultant

Hi,

1. several lines cannot be connected to form a single line.
2. try the divide and conquer method
3. the sketch is of poor quality, as evidenced by the lack of tangential transitions, for example.

 

günther

0 Likes
Message 7 of 29

TheCADWhisperer
Consultant
Consultant

@Fab_Things 

You could use the PE Join commands in AutoCAD - but the trouble is the original geometry is rubbish.

You will want to use only as reference in creating clean logical geometry from scratch.

0 Likes
Message 8 of 29

Fab_Things
Advocate
Advocate

@TheCADWhisperer 

 

Yeah, I agree the original geometry is not crisp by any means.  I was hoping to avoid manually retracing all the outlines I need to convert (i.e. there are other stl files I need to do this with).  I can't believe Fusion doesn't let you combine lines!! It would be easier to correct the existing geometry if the lines could be combined into meaningful segments vs. redrawing everything. 😐 

0 Likes
Message 9 of 29

TrippyLighting
Consultant
Consultant

@Fab_Things wrote:

@TheCADWhisperer 

 

... I was hoping to avoid ....  I can't believe Fusion doesn't let you ...

.stl files do NOT contain native CAD geometry. .stl files contain triangulated meshes and, as such, are the least common denominator to represent 3D geometry.

As such they are about the worst geometry to work with in most CAD software and are terrible as a beginner project.

 

Period!

 

 


EESignature

0 Likes
Message 10 of 29

g-andresen
Consultant
Consultant

Hi,


@Fab_Things wrote:

It would be easier to correct the existing geometry if the lines could be combined into meaningful segments vs. redrawing everything. 😐 


This does not mean that you can avoid adding constraints afterwards (e.g. tangency).
Such actions will then certainly lead to disturbances in the profiles and probably even to chaos.

 

günther

0 Likes
Message 11 of 29

laughingcreek
Mentor
Mentor

@Fab_Things wrote:...This is from an inserted mesh (stl) file ...

I agree with the advise to manually recreate this.  That ends up giving the best result for about 90% of the use cases involving mesh files.

 

but

 

have you tried "create mesh section" (in the mesh work area) followed by "fit curves to mesh section" (available when editing sketch created for the mesh section)?  

0 Likes
Message 12 of 29

Fab_Things
Advocate
Advocate

@TrippyLighting 

 

I understand that about stl files.  If Fusion let you combine lines though, because I can extract the needed profile sketches from stl files, working with the stl files as a reference would be much, much, much more efficient.  Most 3D handheld scanners, from what I understand, create stl files so the ability to combine lines would be a very useful feature in Fusion.

0 Likes
Message 13 of 29

TrippyLighting
Consultant
Consultant

@Fab_Things wrote:

@TrippyLighting 

...so the ability to combine lines would be a very useful feature in Fusion.


The facets, or, in your case, the individual lines projected from these facets, approximate a curve, or multiple connected curves, not a line.

Fusion 360 does not have a toolset to re-create on or more curves from these individual line segments, and that is indeed not trivial!

 

Some CAD tools do have that ability, and try to create one or more "best fit" spline curves through the number of line end points. But that would likely fail on too many short line segments.


EESignature

0 Likes
Message 14 of 29

TrippyLighting
Consultant
Consultant

@laughingcreek wrote:

 

have you tried "create mesh section" (in the mesh work area) followed by "fit curves to mesh section" (available when editing sketch created for the mesh section)?  


I'll take back what I said in my post about how Fusion has no tools to do this.

I keep forgetting about the mesh section tools 😕


EESignature

0 Likes
Message 15 of 29

Fab_Things
Advocate
Advocate

@laughingcreek 

 

Yes, I have tried that.  Still playing around with that approach while also trying the approach in the OP.

Thanks for pointing that out though as I only discovered those mesh tools a couple of days ago!

0 Likes
Message 16 of 29

TheCADWhisperer
Consultant
Consultant

@Fab_Things wrote:

 Combining lines should be a fairly simple thing to do, especially for a CAD program.  Is there any way that can be done in Fusion?


@Fab_Things 

I got sidetracked by your sketch.

There might very well be a way to fix this up in the commercial license of Fusion (not in free personal license) but need the original *.stl file, not your sketch file.

0 Likes
Message 17 of 29

Fab_Things
Advocate
Advocate

@TheCADWhisperer 

 

Thank you for exploring this further!

 

Original .stl file attached.  Along with the fusion file I inserted it into and projected its profile that still has the projection link.

 

 

0 Likes
Message 18 of 29

TheCADWhisperer
Consultant
Consultant

@TrippyLighting 

@laughingcreek 

@g-andresen 

@HughesTooling 

 

Senior moment here - for some reason I cannot generate Mesh Face Groups on this.

Am I missing something?

TheCADWhisperer_0-1712147493566.png

 

 

Edit: Never mind, I got it if I didn't use Quick...

TheCADWhisperer_0-1712147818601.png

 

0 Likes
Message 19 of 29

HughesTooling
Consultant
Consultant

Seems to work for me. Don't think this will work too well though because the fillets everyware tend to make it difficult to get useful faces. I needed to reduce the angle threshold to get this but because of the fillets the triangles around the flat fate are almost tangent.

HughesTooling_0-1712147804917.png

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 20 of 29

TheCADWhisperer
Consultant
Consultant

@Fab_Things 

I didn't take time to try to Edit Face Groups to get better results - but see Attached...

0 Likes