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.

Options

Convert a series of connected lines to a smooth spline

bert_drakebert_drake Member Posts: 3
When drawing a sketch, is there any way to convert a series of lines to a smooth spline, or polyline, like in autocad? 

Comments

  • Options
    mthiesmeyermthiesmeyer Onshape Employees Posts: 115
    Hi Bert,

    You can use the `Composite Curve` tool to convert multiple curves into one curve when you are using it with other features. You can see the help page here.

    Best,

    Mike
  • Options
    billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,014 PRO
    edited June 2017
    bert-

    Here's 3 lines in a sketch:


    As Michael says, composite curve:


    I wrote this fit spline with feature script that builds a smooth curve through input geometry & fit parameter:



    Theres also a fit spline in the curves menu drop down, which is driven by vertices & magnitudes:


    So what's the difference in my fit spline & OS's fit spline?

    Different approaches:


    I follow curvature and they follow vertices.

    I follow the input curves based on a tolerance:





    Anyway, yes OS can compose curves in many different ways.



  • Options
    david_velozdavid_veloz Member Posts: 2
    If it’s a closed spline contour try exporting the sketch as a DWG (haven’t tried DXF, but may also work) making sure to check off the “Export splined as polylines” option. Create a new part and import the file you just exported.  :/
Sign In or Register to comment.