Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape, CAD, maker project and design.

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: 86
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: 1,823 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
    Production Engineer
    HWM-Water Ltd
  • andy_morrisandy_morris Moderator, Onshape Employees Posts: 86
    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 Posts: 853
    The latest version (V4) has been updated to also support disjoint straight pipe segments with mate connectors.
    Ilya Baran \ Director of FeatureScript \ Onshape Inc
  • colemancoleman OS Professional Posts: 237 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: 768 ✭✭✭✭
    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,142 EDU
    edited December 12
    @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 FS)
  • Tony_C_Tony_C_ Member Posts: 255 PRO
    Cool.  Now can you make it put in all the fittings too?  ;)
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,092
    Great stuff @mbartlett21 !
    Jake Rosenfeld - Modeling Team
  • mbartlett21mbartlett21 Member Posts: 1,142 EDU
    @Tony_C_
    Can you give an example? :)
    MB (I make FeatureScripts: view FS)
  • mbartlett21mbartlett21 Member Posts: 1,142 EDU
    MB (I make FeatureScripts: view FS)
  • mbartlett21mbartlett21 Member Posts: 1,142 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 FS)
  • ilya_baranilya_baran Onshape Employees, Developers Posts: 853
    @mbartlett21

    Very cool!
    Ilya Baran \ Director of FeatureScript \ Onshape Inc
  • owen_sparksowen_sparks Member, Developers Posts: 1,823 PRO
    Botanist cool?
    Production Engineer
    HWM-Water Ltd
  • sebastian_glanznersebastian_glanzner Member Posts: 56 PRO
    The pipe feature is really nice!

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

    Please comment and vote for TEXTURES + TEXTURE STUDIO 
    https://forum.onshape.com/discussion/comment/45056/#Comment_45056
  • mbartlett21mbartlett21 Member Posts: 1,142 EDU
    :)
    MB (I make FeatureScripts: view FS)
Sign In or Register to comment.