News:

When replying to a specific statement be sure to quote the previous 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.

Sweep Profile Weirdness

Started by MicheliDE, February 14, 2020, 11:16:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MicheliDE

Hi All,

I'm trying to Sweep the profile on the workplane with the two red lines and one elliptical arc by the profile made of four elliptical arcs. Both profiles seem to be closed as they each generate solids when test extruded. When I sweep the profiles I get a line break and a solid that does not conform to the sweep profile. It wanders. On the four elliptical arc sweep path there are some abrupt end meeting but they are joined. Is this what is causing the problem with the sweep? Trying a ridged sweep or trying a rail sweep results In TC not being able to build a compound profile for the four elliptical arc profile. Is this because the outer edge of the profile with two lines and one elliptical arc shares points with the other profile?

Since the inner solid is broken I cannot explode the resulting solid and section the bottom to fill in the middle of the solid by extruding the center.

Any ideas about what I could try without changing the profiles?

Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Henry Hubich

I think it'll look OK when you render the Sweep. And I think it'll look OK in Wireframe if you disable Degenerative Faceting (Options>ACIS).

Henry H

MicheliDE

Hi Henry,

Yeah it looks okay but it doesn't allow further processing of the model to get to what I need.

It didn't matter with degenerative faceting checked or unchecked. The resulting Section attempt on the bottom smooth surface still resulted in a broken profile that created a surface rather then a solid when extruded.

Take a look at the attached between the red and blue spline on the inner ring. It broke the line segment in the middle of the segment that was at the corresponding area in the middle of a elliptical arc on the original profile.

This center profile is what I need to extrude to fill the solid.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Jeff_in_90620

I experimented with it for a few minutes and believe your problem is with the discontinuity where the 4 Elliptical Arcs join (they're not tangential).

Also, the Elliptical Arc and the two Lines that are supposed to form the solid Sweep are not aligned to the 4 arcs.  The combination of these two contributes to the resulting Sweep not being aligned to the path.

I would re-draw the path, centered around the origin.  Also, I would create a single Ellipse of the desired size (although it wouldn't have the exact profile as the 4 Elliptical Arcs, so you have to decide if the desired profile is cast in stone).  Alternatively, you could try making the Elliptical Arcs smaller and using the Arc / Tangent to 2 Entities command to join them to see if you can get an improved Sweep.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

#4
Your  path is composed of four elliptical arcs, but  their connections aren't curvature-continuous, they don't blend into each other, as Jeff points out.  If you extrude the path and then attempt to blend the upper edge, you'll see that the connection points of the elliptic arcs also highlight green, they'll also take the blend.  What that means is that there isn't a geometrically correct way for the sweep to be created.  If you do apply a blend to the edge and accept ACIS/TC's contribution to the connection points, you can explode the blended extrusion and scale it vertically to get your elliptical profile, subtract the inner.  If you subtract the inner, you ought to notice at the time that the offset of an ellipse or elliptical arc isn't itself elliptical. 

Dean

Quote from: MicheliDE on February 14, 2020, 11:16:30 AM
Hi All,

I'm trying to Sweep the profile on the workplane with the two red lines and one elliptical arc by the profile made of four elliptical arcs. Both profiles seem to be closed as they each generate solids when test extruded. When I sweep the profiles I get a line break and a solid that does not conform to the sweep profile. It wanders. On the four elliptical arc sweep path there are some abrupt end meeting but they are joined. Is this what is causing the problem with the sweep? Trying a ridged sweep or trying a rail sweep results In TC not being able to build a compound profile for the four elliptical arc profile. Is this because the outer edge of the profile with two lines and one elliptical arc shares points with the other profile?

Since the inner solid is broken I cannot explode the resulting solid and section the bottom to fill in the middle of the solid by extruding the center.

Any ideas about what I could try without changing the profiles?

Regards,
Dean

Hi,
Try the attached.
no break with sweep/compound path
extract inner base edges> extruded/compound profile> solid from surface>3D add
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Henry Hubich

Since you want the center to be filled, here's a simple approach: Extrude your "path" (with "Use compound profile" enabled) to a height of .816". (That's the minor radius of your elliptical-arc profile.) Blend the upper edge to a Radius of .816". Explode the result to sever its Part Tree connection, then rescale its height to 1.1" (the major radius of your profile).

Henry H

MicheliDE

Hi Jeff, Murray, Dean,

It definitely makes sense what your saying so I took the profile and smoothed the transition between the four arcs with four tangent to two entity circles with a radius of 1.25". The result is that the swept profile still gets stuck at the transitions. I also moved the swept profile and snapped it to the quadrant of one of the ellipses. If the four circles created with tangent to two entities shouldn't the triming of them have fixed all the joins between the four arcs and the four new arcs?
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Quote from: Henry Hubich on February 15, 2020, 10:13:51 AM
Since you want the center to be filled, here's a simple approach: Extrude your "path" (with "Use compound profile" enabled) to a height of .816". (That's the minor radius of your elliptical-arc profile.) Blend the upper edge to a Radius of .816". Explode the result to sever its Part Tree connection, then rescale its height to 1.1" (the major radius of your profile).

Henry H

Hi Henry,

Yes this works well. Only problem is that later on I have to use the same sweep profile for other operations and so it is difficult to say what will happen at a later design step if I don't fix the problems I have with the profile now.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

The other reason why this is strange is that I used this profile for another sweep for another part in a previous step and it had no problems with the sweep. The sweep was also much more complicated. Have you ever experienced issues where if the sweep path is used for multiple sweeps and it is not broken from the original solid formed from the sweep path that it causes problems?

I've found that in some cases complex additions and subtractions don't exactly work right if edges are slightly off and so I don't want to move the sweep profile or copy it and move it because TC has given me errors despite snapping the profile to the same location and performing additional operations, then using boolean tools on the resulting solids. If I break the sweep profile from the original object that I extruded (did not attach this) I will not be able to update the object at a later time with just the profile.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

The only difference between attached swept profile test 4 which is attached here and the original file that was attached previously is that I went back to a time before i used the swept profile for another part sweep. Now the path and profile sweep without issue.

When I used the path previously and tried to reuse it even after pasting the path into a new drawing it didn't work properly as seen above. I couldn't see any evidence that I previously used the path in the selection info.

Why does the path become problematic after it is used even after it is pasted into a new drawing? Is there a way to tell that the path is been used? At the moment I am working in a 30 layer deep drawing and so at this point it is difficult to remember when a sweep profile has been previously used and pasted into a new layer.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

Henry Hubich

Quote from: MicheliDE on February 18, 2020, 05:26:08 AM
Quote from: Henry Hubich on February 15, 2020, 10:13:51 AM
Since you want the center to be filled, here's a simple approach: Extrude your "path" (with "Use compound profile" enabled) to a height of .816". (That's the minor radius of your elliptical-arc profile.) Blend the upper edge to a Radius of .816". Explode the result to sever its Part Tree connection, then rescale its height to 1.1" (the major radius of your profile).

Henry H

Hi Henry,

Yes this works well. Only problem is that later on I have to use the same sweep profile for other operations and so it is difficult to say what will happen at a later design step if I don't fix the problems I have with the profile now.

Not sure, but the problem seems to be the path rather than the profile.

Henry H

murray dickinson

You can probably confirm Henry's diagnosis by sweeping other profiles along the same path.   

MicheliDE

Quote from: Henry Hubich on February 18, 2020, 03:08:45 PM
Quote from: MicheliDE on February 18, 2020, 05:26:08 AM
Quote from: Henry Hubich on February 15, 2020, 10:13:51 AM
Since you want the center to be filled, here's a simple approach: Extrude your "path" (with "Use compound profile" enabled) to a height of .816". (That's the minor radius of your elliptical-arc profile.) Blend the upper edge to a Radius of .816". Explode the result to sever its Part Tree connection, then rescale its height to 1.1" (the major radius of your profile).

Henry H

Hi Henry,

Yes this works well. Only problem is that later on I have to use the same sweep profile for other operations and so it is difficult to say what will happen at a later design step if I don't fix the problems I have with the profile now.

Not sure, but the problem seems to be the path rather than the profile.

Henry H

Hi Henry,

Yes it appears that the path becomes altered after it is used to make a sweep and it cannot be used again after making a sweep. What I haven't tried yet is what happens if I follow the normal process of exploding the solid to release the path and profile from the solid. I suspect that because I could not copy and path and profile into a new drawing that the path might still be altered trying this.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

MicheliDE

Quote from: murray dickinson on February 19, 2020, 04:01:50 AM
You can probably confirm Henry's diagnosis by sweeping other profiles along the same path.

Hi Murry,

I think I'll try to examine if the path and the profile are altered or just the path.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

murray dickinson

Your path has quadrilateral symmetry, but sweep doesn't or can't produce any solid from that profile with that path that has it.  I think ACIS is fudging it to give you a result. 

MicheliDE

Quote from: murray dickinson on February 19, 2020, 05:11:09 PM
Your path has quadrilateral symmetry, but sweep doesn't or can't produce any solid from that profile with that path that has it.  I think ACIS is fudging it to give you a result.

Hi Murray,

That is very interesting. How do you tell it is doing this? Does it do this for all of the iterations of TCW I uploaded?

This does support what I am experiencing that after I sweep using a path it is altered to give a result.

What is still strange is after the path is altered and the path is reused why does TC then create a broken result or generate an error. It is generating problems later from reusing the path that it altered by itself.

Best Regards,
Dean
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

murray dickinson

You can tell because the face layout that sweep produces isn't 'mirrorable', it doesn't have lateral or rotational symmetry.  ACIS is predicated on producibility, and the sweep will be within ACIS' tolerance range, which is .00001 units, from memory, but Henry's suggestion is as close as you can get to the shape your profile and path suggests, and it has both types of symmetry to demonstrate.
So far as the reuse thing goes, when a function fails, sometimes TC throws up a meesage "action has failed, geometry is degenerated.  Do you want to create a history tree node?"  I don't know what that means, but it suggests to me that it's related. Whatever, sweep can't do this for you because those transitions generate selfintersection, so ACIS is fudging it to give you as close a result as it can.  Maybe think of subsequent issues as ACIS protesting, you'd probably be able to reuse the solid as a dumb copy or a block if you're determined to go that way.

MicheliDE

If ACIS is fudging the path profile to produce a result it then alters the original path profile?

If after creating the swept solid I explode the solid to break the path between the solid and the path profile does the path profile revert back to the path from before it was Altered by the ACIS?

One challenge that I have found in previous models has been the altered ACIS profile causing issues with other profiles when trying to perform boolean funcitons between different solids because the part of the solid formed can be from:

1.) Original profile that has not been used to create a solid
2.) Original Profile that is unaltered by ACIS
3.) Original Profile that has been altered by ACIS
4.) Second solid formed using the same profile 1.)
5.) Second solid formed using the same profile 2.)
6.) Using the intersection tool on the solid to generate a new profile

Further decisions on how to choose to build complex models would be based on if when exploding the solid and disconnecting the profile afterward reverts the profile back to the original state or if it is still altered by ACIS after disconnection.

I've had problems in the past where different combinations of building solids from the above 1-6 when connecting them through boolean functions have caused problems afterward with the filleting of edges between two or more added solids produces in different steps or at different times.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK

murray dickinson

Your path has "corners", it's essentially a rectangle with bowed sides.  The natural complement would be an internal path having the same "corner", and you could think of a two-rail sweep as producing something like a bowed picture frame, with mitred corners.  To be smooth at those corners, you need to describe a blending function, like a fillet.  Just telling TC to "sweep around that profile" doesn't explain how to blend them, or how you expect them to be blended.  You could try sweeping around the full ellipses, sectioning them at the corners and figuring out how you want them to meet, but I did try that  for interest's sake and ACIS says no go, selfintersection, so I don't think that's workable. 
Thing is, Dean, using sweep, you're insisting that TC create a geometrically compromised object, ACIS HAS to fudge it to give you a result, but you're insisting that it's a TC shortcoming.  It's not.

Henry Hubich

Y'know, I really still don't understand what the problem is, and in what respect the original Sweep is not usable. I can Shell it, and Slice it, and Add and Subtract with it, and--with a little finagling--I can seamlessly fill the interior.

Henry H

Dean

#21
Quote from: Henry Hubich on February 25, 2020, 02:42:45 PM
Y'know, I really still don't understand what the problem is, and in what respect the original Sweep is not usable. I can Shell it, and Slice it, and Add and Subtract with it, and--with a little finagling--I can seamlessly fill the interior.

Henry H

I agree,Henry > you beat me to it  ;D
I also got it to work....
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

MicheliDE

Initially this may not seem like a big problem but as the model gets built it can end up becoming a redraw condition. One thing that this type of condition causes if you go back to the original file in the post is that if you try to fillet the internal edges as might be needed at a later stage of design with a 0.020" radius fillet.  If you try to fillet it is not  a continuous fillet along the edge and if you choose a the wrong starting edge TC throws an error. This again in this model is fine because you can choose the correct starting edge and through multiple steps get an edge that is close to the original.

However when you have one edge like in the original model in combination with an lofted solid with one shared profile as the path profile after it has been altered by TC ACIS it is not always possible to choose the only starting edge that allows TC to not throw an error, both sides of an edge can results in an edge segment that is not able to be filleted.

This results in a redraw condition and can occur when multiple edges are intersecting to a point where the path profile and sweep object joins with a new solid resulting from a loft between the path profile to  some other 2D geometery, perhaps a hexagon or some other irregular polygon. One example of a situation where I had this problem was in my previous post.

https://forums.turbocad.com/index.php/topic,25957.msg147983.html#msg147983

I had to redraw the entire object several times and isolate all the parts in layers and use a fresh profile each time I made an object so everything would add together and the corners would be of a higher precision than the ACIS precision. This was the only way to get all of the edges to fillet. Even so I still needed two different radius fillets which was not my first choice because it ended up requiring two different final tools to cut the injection mold.
TurboCad Platinum Pro 19,20,21, 2019/REDSDK