News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Is it possible to extract an edge from a solid?

Started by BonanzaMan, September 16, 2009, 09:12:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BonanzaMan

I have a solid that I have created using a sweep.  I would like to "extract" a curved edge from the solid to use as a path for a second sweep.

That possible?  I have seen this done in other CAD programs and an really hoping I can do it in my "platinum" version 16.

Thanks!
Greg

GregT

#1
Might take a little doing, but you could do something like this... depending on how complex the sweep is.

Open the attached and use the Intersection tool from the Insert Pulldown, or from the 3D toolbar. Pick both parts, and notice that a spline is created where the two parts intersect.

If you can have the edge of your sweep intersect another solid, you can get a spline of that contour.

Might not be what you're after... or might not work in your case. Someone else might chime in with a better solution.

[attachment deleted by admin]
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

BonanzaMan

Thanks GregT!  Your example file did exactly what I needed... in my drawing, I couldnt get the interestion to create with my original objects.  I had to copy and paste my two solids into a new file to get the intersection to create - but the concept worked exactly as I needed it to... now I just need to figure out how to make it work in my much larger and complex source document.

Thanks a ton,
Greg

GregT

You're welcome... glad it's what you needed.  ;D
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

BonanzaMan

I figured out why the intersection "didnt work" in my larger file... the resulting intersection was placed in the "0" layer, even though I had a different layer set as the active.  I un-hid layer 0 and viola - there was at least 10 3d poly lines waiting for me.  Mystery solved.

BonanzaMan

Ok, hurdle number 2... the resulting intersection objects (3D Polylines) cant be used to create profiles for sweeping or extruding.  Is there a way to coerce these in to more usable objects?

GregT

Can you post the file... at least the part you are working with? I'm going to be out of the office for a few hours... so if no one can answer your question before I get back... I will give it a shot then.
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

BonanzaMan

Thanks GregT - I found a work arround that works for now.  Once again, thank you very much.

Greg

Robert

So what's the work-around? It could be useful to others.

murray dickinson

Any edge extracted will be a polyline representation, not a curve and there's no general method of converting a 3D polyline to a 3D curve automatically.  As well, TC won't produce an intersection from open sheet or surface solids.  That being said, shelling the two intersectants will give you a solid, and that solid can be exploded, first to a surface object, next to polylines which are closed profiles of the facets that compose the surface, lastly to the line segments that compose the profiles/polylines.  If you're trying to assemble an edge polyline, delete the adjacent polyline profiles before you explode to line segments, otherwise there'll be two coincident line segments along the edge you want to assemble, which will confuse your process.  Once you've deleted those adjacent profiles/polylines, leaving one chain of profiles, select them and explode to segments.  Then select the line segments that define the edge you want, then join polyline|3D.  You might find that the segments didn't all join, the reason for this will be that sometimes the explode products overlap, as a result the endpoints of the line segments don't coincide.  Correct that and they'll join.  The resultant polyline can be used as a path for a sweep or rigid extrude, with the normal conditions for sweeps applying.  One generally undocumented TC feature is that 3D curves will behave like 2D profiles for some actions, ie a 3D curve profile will extrude or sweep like a 2D profile.


BonanzaMan

Hi Robert - in my case the work around really isnt a general solution... In my scenario, the resulting edges were a collection of arcs and 3D polylines.  As luck would have it, the problematic 3d polylines were in fact lines - so I replaced the 3D polylines with lines connected to the arcs and was able to move forward.  I am going to try Murrays solution next as I commonly run in to this need.  My CAM program that I use (BobCAD) has a really great extract lines feature that I use all the time for creating CAM tool paths, but I prefer to design my parts in TurboCAD and import into BobCAD for the CAM operations.

Greg

murray dickinson

#11
In some further tinkering with methodology, I realised that once you've got a solid intersection product, you can format it as surface from solid, then delete unneeded faces with the facet editor, leaving only one face to be  exploded down to lines, saving some time deleting adjacent ambiguous profiles and leaving only one chain of segments as candidates for the 3D polyline.  It appeared as though the endpoints were more likely to be coincident, with the join polyline more consistent as a result, empirically observed.  Or it might suit your purposes more to just trace along the segments with a 3D fit point spline.

[attachment deleted by admin]