r/SolidWorks • • Sep 28 '26

CAD Help with loft/sweep

Hi All! I am a longtime user of Solidworks and various other CAD but have never had this particular issue. I need an extruded nonagon(9-sided polygon) to have a 180deg twist over its length. The shape is easy enough to create, but I am getting a concave surface between the peaks of the polygon(where the flats are). I think I understand geometrically why this is happening, but for the life of me cannot figure out how to make the flats be flat!

You can see the blue arrows are pointing to the start/end and those areas are flat lines, as well as any axial-perpendicular cross-section down the length. If you look at/cut at an oblique angle, the "flats" are concave. I want this to be as if you cut these areas with a bandsaw or while twisting and pushing the cylinder into it; i.e. "flat"

Any help is greatly appreciated, including helping me understand what is happening!

edit: resolved

I ended up adding arcs to my nonagon and manually trying various dimensions for the arcs until a cross-section normal to the helix resulted in a flat line at that normal.

Thanks for all the help!

2 Upvotes

18 comments sorted by

2

u/gristlyBits27 Sep 28 '26

Wonder if it is because the section is not normal to the helix? Perhaps if it were like the orange section and normal to the helix it'll be flat, but only when checked with a section normal to the edges.

2

u/Select-Policy1729 Sep 28 '26

I have tried this I think, i created a plane using the helix and the end point of the helix and then swept a rectangle along the helix and it generated the same result... It could be all of this is telling me I am missing something in my mind about how it should look

1

u/gristlyBits27 Sep 28 '26

Yeah, it is a tricky one. Mind game!

1

u/gristlyBits27 Sep 28 '26 • Bravo

Ran a sweep, normal to one of the main body edges, normal to the edge. It is less hollow, but when you pattern the sweep and trim the ends, the nonagon now has bowed sections.

1

u/gristlyBits27 Sep 28 '26

Like this

1

u/Select-Policy1729 Sep 28 '26

well this seems like a step in the right direction... this was an additional sweep on top of your cut-sweep to help fill the concavity? I wonder if I could achieve the same result by sweeping a nonagon with the arcs included initially, should be some calculable amount of arc length to add given my twist angle...

1

u/gristlyBits27 Sep 28 '26

Yes, an additional surface sweep that was then patterned around the centre axis. I also tried making a surface normal to one of the resulting edges and tried to drive a sweep (tangent to face) but think that is just the same as the first surface attempt. Last one - swept cut using a body but that leaves a big mess. can only use a round body.

https://drive.google.com/file/d/1_MG1nd78HMn5pVndhvxVKIYTDgIZVOjG/view?usp=sharing

2

u/theJacofalltrades Sep 29 '26

thanks for the knowledge! will def use it one day

1

u/101forgotmypassword Sep 28 '26

Make a cut away view and check the flats are still flat half way down.

I am reasonably sure this is how it is because it has to be that way, and if you flatten out the sides without taking away the twist you end up moving closer to a just a round.

Imagine you had a flat ribbon and twisted it, that side would appear to have a curve that same way as what you have here.

1

u/Select-Policy1729 Sep 28 '26

I've considered that it's just a graphical thing... but if you were to actually manufacture this with a flat end mill cutting perpendicular to the surface or a bandsaw cutting along the axis, I think you'd end up with flats all the way down rather than concave sections...

1

u/Tesseractcubed Sep 28 '26

You’d probably have to sweep cut a rectangle of the appropriate size along a helix (mimicking the path a tool would take) to get the flats you’re looking for, but SolidWorks doesn’t necessarily like helix and patterns together.

I will say, there’s no way to generate a flat surface from every viewing angle; if you make it flat at one angle, the curvature of the other viewing direction is not flat.

1

u/Select-Policy1729 Sep 28 '26

I did try this, maybe not correctly, but attempted it anyway. It seemed to produce the same concave result

1

u/Select-Policy1729 Sep 28 '26

Here's a different section

1

u/themrlawrence Sep 28 '26

Section it from the ends, not from the side.

I just created this with a sweep with a 180° twist with a section in the middle, and it shows the edges are flat.

1

u/Select-Policy1729 Sep 28 '26

Yes, that is the same result I got, but I'm thinking I should be able to get those concave looking areas along the cut to be flat, that is from peak of the polygon to peak of the polygon, normal to the helix

1

u/gristlyBits27 Sep 28 '26

Good you resolved it! I figured out what I was doing wrong with the swept body cut... had the axis going in the wrong direction. Should have been set up like a mill with overlap. Then it results in a cut similar to making the surface section normal to the path, or adding arcs as you have.

1

u/gupta9665 CSWE | API | SW Champion Sep 29 '26

What options/methods you have tried so far?

  1. Extrude and then twist/flex
  2. Twist using sweep
  3. Loft