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.

New FeatureScript: Hose Routing

sebastian_glanznersebastian_glanzner Member Posts: 140 PRO
Hello Everyone,

Good News! I'm releasing my Hose Routing FeatureScript:

https://cad.onshape.com/documents/54d06a3b8abd1fcb0daba26b/w/00a336bf184d3800f0194a5c/e/e689b647e557695970d3d603

The FeatureScript uses Arcs and Circles as input (either from solids or sketches).
You don't need sketches at all, which makes it more efficient if you want to create hose routings in context.

Usage:
  1. Select the start of the hose
  2. Select the end of the hose
  3. Optional: Add midpoints between start and end (in the correct sequence)
  4. Use the flip direction buttons if the assumed direction is wrong (only start and end)
  5. Choose a hose size or use the "Custom Size" Button
  6. You can also edit the straightness but normally this is not necessary
There are some cases the FeatureScript can't find the correct path for the hose:
  • Try to use different "Mid points"
  • Flip the direction at start/end if necessary
  • Make sure the hose does not intersect itself

Thanks for the help, support, inspiration (Wiring FeatureScript :) ) and motivation:
@Jake_Rosenfeld
@ilya_baran
@romeo_graham392
@owen_sparks
@MBartlett21

Comments

  • lougallolougallo Member, Administrator, Moderator, Onshape Employees, Developers Posts: 1,677
    Nice job @sebastian_glanzner.  Might consider adding array parameters so you can nest multiple Hose routes in one feature.  Love this.
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
  • owen_sparksowen_sparks Member, Developers Posts: 2,385 PRO
    This looks wonderful, I'm enthusiastic to try it out tomorrow, thanks for making it public.
    Owen S.
    Production Engineer
    HWM-Water Ltd
  • michael_mcclainmichael_mcclain Member Posts: 178 PRO
    @sebastian_glanzner Good work and I really like using this feature for flexible tubing or cable routing with certain types of cable.

    Can I request some updates to it?

    I would like to be able to re-order mid point selection similar to how the loft command has right now. It would be very useful for changing midpoints without having to clear the selection.

    Regards, Michael
  • TimRiceTimRice Member, Moderator, Onshape Employees Posts: 220
    @sebastian_glanzner should be able to use the
    ALLOW_QUERY_ORDER 
    UIHint to allow query reorder. To learn more please see the UI Hint section of our documentation:
    https://cad.onshape.com/FsDoc/library.html#UIHint
    Tim Rice | User Experience | Support 
    Onshape, Inc.
  • sebastian_glanznersebastian_glanzner Member Posts: 140 PRO
    @michael_mcclain
    Thanks for the nice feedback. I am very happy that the feature is useful and hopefully saves a lot of time.
    I think your improvement idea is very good! I have updated the feature!  B)

    @TimRice
    Thanks for the support, that was exactly what I needed. It helped me a lot  :)
  • michael_mcclainmichael_mcclain Member Posts: 178 PRO
    @sebastian_glanzner thank you very much! And thank you to @TimRice for the help. That change makes the feature a bit more robust when facing downstream changes.

    I have a question about the feature. Is there a reason why you can select the ID and OD of the tube, but the geometry only shows the OD? Does it create self intersecting geometry when it Calculates?

    I think the feature is great and I end up using it a lot in my design work.

    Regards, Michael
  • sebastian_glanznersebastian_glanzner Member Posts: 140 PRO
    The ID is used only used for internal calculation of the density/mass.
    When I developed it I also used the ID for the inner geometry but the sweep command was quite time costly.
    This is the only reason. 

    Can you share a screenshot of some your work?
  • MBartlett21MBartlett21 Member Posts: 1,622 EDU
    TimRice said:
    @sebastian_glanzner should be able to use the
    ALLOW_QUERY_ORDER 
    UIHint to allow query reorder. To learn more please see the UI Hint section of our documentation:
    https://cad.onshape.com/FsDoc/library.html#UIHint
    @TimRice

    Will this UIHint get added to the 3d fit spline command at any point? It would be very useful
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
  • KrzKrz Member, Developers Posts: 49 ✭✭
    @sebastian_glanzner Could you please add icon?
  • sebastian_glanznersebastian_glanzner Member Posts: 140 PRO
    @Krz Icon added  :)
  • KrzKrz Member, Developers Posts: 49 ✭✭
    nice :-) It's easier to find it on the list now. Thank you
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,375
    edited August 20
    @MBartlett21

    This has now been released for the selections we thought were appropriate.  Feel free to let us know if there are any we did not make reorderable that you think should be.

    https://forum.onshape.com/discussion/12157/improvements-to-onshape-august-20th-2019
    Jake Rosenfeld - Modeling Team
Sign In or Register to comment.