Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.


help with a model using sweep

brett_suttonbrett_sutton Member Posts: 42 ✭✭✭
I'm an amateur, half way through building a deck and I need to change my hand rails.

I'm trying to create  the hand rails using a spline and a sweep that needs to pass through three points (in the same plane).

The three points are attachment points on posts that the hand rail attaches to.

I have the sweep for the handrail working between the three attachment points.

My problem is that the attachment points are in the centre of the posts but I need the hand rail (created with the sweep) to extend to the edge of the posts (start and end posts).

The problem is that the 'extensions' aren't in the same plane as the three attachment points.

How do I get the sweep to pass through the attachment points and then extend to the outside of the (start and end) posts?

Here is the part studio - named 'steel'




  • Options
    S1monS1mon Member Posts: 2,489 PRO
    Here's a version which works.

    A few things:

    1. You can sweep along multiple connected, but not tangent curves, but Onshape seems to be fussy about how the thing you're sweeping is angled to the sweep path. When I first tried to do this using your existing sections, it didn't like it.
    2. The regular spline tool creates curves that go to zero curvature at the ends which is not very attractive for something like this which wants to look like a natural bend. I replaced the curve with a Bézier which is aligned at the ends and in the middle and you can adjust the shape still.
    3. Assuming this is made from bent tube or rod stock, the cross-section wants to be a circle which is normal to the path. I added an extra plane and sketch in the middle of the curved part of the path. (See #1.)
    4. I redid the ends to be just straight lines with 3DFitSpline, but if you really want those short bits to be curved, you could redo them.

  • Options
    brett_suttonbrett_sutton Member Posts: 42 ✭✭✭
    OK, wow, thanks for the effort.
    I will go through the answer in detail later today. I need to look a few of those terms up :D

Sign In or Register to comment.