Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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_glanzner
Member, Developers Posts: 425 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:
Thanks for the help, support, inspiration (Wiring FeatureScript ) and motivation:
@Jake_Rosenfeld
@ilya_baran
@romeo_graham392
@owen_sparks
@MBartlett21
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:
- Select the start of the hose
- Select the end of the hose
- Optional: Add midpoints between start and end (in the correct sequence)
- Use the flip direction buttons if the assumed direction is wrong (only start and end)
- Choose a hose size or use the "Custom Size" Button
- You can also edit the straightness but normally this is not necessary
- 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
Tagged:
10
Comments
Owen S.
HWM-Water Ltd
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
https://cad.onshape.com/FsDoc/library.html#UIHint
Onshape, Inc.
I think your improvement idea is very good! I have updated the feature!
@TimRice
Thanks for the support, that was exactly what I needed. It helped me a lot
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
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?
Will this UIHint get added to the 3d fit spline command at any point? It would be very useful
IR for AS/NZS 1100
We actually did an audit this dev cycle to find features where selection reorder is useful, and added it in where appropriate. This will be released in our next release. 3d fit spline is included.
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
About the minimal radius:
I'm not sure how to solve this. I think I would have to start a query that finds the smallest bend radius of all splines.
I don't know if there is a command for this.
@TimRice
Is there a command to find the smallest bend radius on a spline?
evCurvature
along a number of samples on the curve to get the largest curvature. Then 1/curvature = radius of curvature. Keep in mind this is an approximation. @ilya_baran also mentioned you should check tangency along the curve to ensure you do not miss small high curvature sections.Onshape, Inc.
FS does not have a way of finding min curvature radius, but there is evEdgeCurvatures, that you can call in multiple points and maximize curvature over that. You can do several iterations refining at promising areas.
Is there really no FeatureScript function?
- You can set an custom minimal bend radius.
- This feature extracts the minimum bending radius of each segment.
- The smallest radius is displayed as info text when editing the feature.
- If a bend radius smaller than the "minimum bend radius" is found, a warning is displayed and the feature shows a red question mark.
- Any segment that violates the bend radius is also highlighted in red.
@TimRice @lanaThanks for your tips about the evEdgeCurvature :-)
I love all the UI/UX hints you added in. Nice work!
Onshape, Inc.
Twitter: @onshapetricks & @babart1977
HWM-Water Ltd
Twitter: @onshapetricks & @babart1977
-Andres
I can position the joint however I want in the part studio using variables. Is there a way to specify length of hose, such that its length is kept constant at different positions?
At the moment, you can configure the straightness values manually to get the same length in each position.
I'm not sure how to do something like this automatically.
I created a small example and I can see why it is necessary to have a constant length for each position