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.

Pipe feature

andy_morrisandy_morris Moderator, Onshape Employees Posts: 87
We've had requests for a pipe feature, so you can avoid the current create plane --> create profile sketch --> sweep workflow.
Thanks to @ilya_baran and the wonders of FeatureScript, here is a custom feature for pipes.

https://cad.onshape.com/documents/153cc3c8228c34a47f0b88d5/v/584ae1f362b4922e7cec3fe2/e/56f7232dfddc387a4c9e3f9c

Just select the path from edges or sketches and set the OD and ID.

 


Andy Morris / Head of Product Design / Onshape, Inc.

Comments

  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    That's really rather good, and presumably will rebuild just fine if upstream dimensions are changed, just as long as ID's stay the same?

    OwS
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • andy_morrisandy_morris Moderator, Onshape Employees Posts: 87
    Yes, its just like any other Onshape feature in that regards.
    Andy Morris / Head of Product Design / Onshape, Inc.
  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 978
    The latest version (V4) has been updated to also support disjoint straight pipe segments with mate connectors.
    Ilya Baran \ Director, Architecture and FeatureScript \ Onshape Inc
  • colemancoleman OS Professional Posts: 242 PRO
    @andy_morris
    If feature scripts are so easy....why don't you guys just make this (and others) standard functionality?
  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 994 ✭✭✭✭✭
    If every custom feature we wrote was added to the standard library, it would be a big polluted mess!
    A good place to say "thank you" for making featurescript so close to the user that we can make "mess" for ourselves. No any other CAD that has scripting environment in a list of standart invironment types on the first page of the project.
  • MBartlett21MBartlett21 Member Posts: 1,798 EDU
    edited December 2018
    @ilya_baran
    @andy_morris
    @Jake_Rosenfeld
    Here is a pipe feature that works with multiple paths in the one feature (I created my own constructPaths feature)
    https://cad.onshape.com/documents/e89f406ea0fb1b1a9225a055

    PS: Thank you for FeatureScript, otherwise none of this would be possible :)
    MB - I make FeatureScripts:View FeatureScripts
  • Tony_C_Tony_C_ Member Posts: 260 PRO
    Cool.  Now can you make it put in all the fittings too?  ;)
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,560
    Great stuff @mbartlett21 !
    Jake Rosenfeld - Modeling Team
  • MBartlett21MBartlett21 Member Posts: 1,798 EDU
    @Tony_C_
    Can you give an example? :)
    MB - I make FeatureScripts:View FeatureScripts
  • MBartlett21MBartlett21 Member Posts: 1,798 EDU
    MB - I make FeatureScripts:View FeatureScripts
  • MBartlett21MBartlett21 Member Posts: 1,798 EDU
    I have just made the constructPaths library public (I didn't realise it was private)
    https://cad.onshape.com/documents/3021561771935e716a44c1b1
    MB - I make FeatureScripts:View FeatureScripts
  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 978
    @mbartlett21

    Very cool!
    Ilya Baran \ Director, Architecture and FeatureScript \ Onshape Inc
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Botanist cool?
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • sebastian_glanznersebastian_glanzner Member Posts: 168 PRO
    The pipe feature is really nice!

    You can use it to make compression springs based on helix features:

  • MBartlett21MBartlett21 Member Posts: 1,798 EDU
    :)
    MB - I make FeatureScripts:View FeatureScripts
Sign In or Register to comment.