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.

Options

Cables

billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,014 PRO
edited January 2023 in FeatureScript
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



Comments

Sign In or Register to comment.