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.
Cables
billy2
Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,071 PRO
I fixed this featurescript last summer and made it public.
I held back making it public because it was buggy. Turns out the errors generating the sweeps weren't being caused by opSweep, but instead, opFitSpline was the culprit. Looking at the curvature combs for the generated spline showed some ugly start/end curvatures which caused the sweep to fail often. Adding 2nd order conditions to opFitSpline cleaned up the spline creation and you could see the problems diminished by looking at the curvature combs.
I actually used the Cables feature script the other day when needing to know how long a gas pipe was needed for a stove installation.
New curvature combs for the spline created with opFitSpline look really good:
Cables is a simple tool to be used during the design phase to layout cables & harnesses to get a rough understanding where stuff needs to go in a design. In this case I needed to know the cable length needed to service a stove.
Cables feature script
Its listed as a public feature script:
Public feature scripts
It even made my list of popular scripts
I held back making it public because it was buggy. Turns out the errors generating the sweeps weren't being caused by opSweep, but instead, opFitSpline was the culprit. Looking at the curvature combs for the generated spline showed some ugly start/end curvatures which caused the sweep to fail often. Adding 2nd order conditions to opFitSpline cleaned up the spline creation and you could see the problems diminished by looking at the curvature combs.
I actually used the Cables feature script the other day when needing to know how long a gas pipe was needed for a stove installation.
New curvature combs for the spline created with opFitSpline look really good:
Cables is a simple tool to be used during the design phase to layout cables & harnesses to get a rough understanding where stuff needs to go in a design. In this case I needed to know the cable length needed to service a stove.
Cables feature script
Its listed as a public feature script:
Public feature scripts
It even made my list of popular scripts
2
Comments
This looks pretty useful! Thanks for sharing.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴