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 Feature in progress: Ribbon Cable
Probably already exists in some form, but I like to write. Makes ribbon cable, various types of bends, custom dia, colors, wire count.
still to do:
- add a few more types of bends
- add twist
- change dia to GA.
- add ability to spread wires at start and end to match connectors.
- maybe add the common connectors i use.
- use sheet metal terminology like outer, inner, keep for bends
- track connectors, from, to, and lengths
What are the best FS for making ribbon cables that are available currently?
Comments
-
Wow, nice! I needed that 2 years ago.
2 -
-
Any plans for support to fan out the ends of these ribbons to different end locations? Like if I have a 6 wire ribbon cable with 4 channels going to signal pins that are all aligned, one little straggler on the opposite side of the board because of space constraints, and a ground line that's tied elsewhere.
0 -
@Derek_Van_Allen_BD yes, I was going to adapt my Loft Individual FS for this, at both ends. I'm doing a full rewrite currently and it's going to be better all around
0 -
This is in my long term plan to add to routing - the issue is that the ribbon should fold at corners which adds a level of complexity (although, I already know how I intend to do it, but time is my enemy).
Senior Director, Technical Services, EMEA4 -
It's simple, we just need a simultaneous modeling engine for all of the things that aren't sheet metal and dump the ribbons onto that. Can't be too hard, right?
0 -
The fold thing is important. It brings with it the necessity to twist the cable, once it reaches the destination, in case the pin arrangement there must be met. The transitions checked in green would be important, while the one marked with the red cross woud possibly not be needed at all, IMO, and should not even be promoted, fot that is not what ribbon cables do.
1 -
@martin_kopplow I kept it in just in case someone wanted to use it for visualization. I am working on more updates, especially for the start and end of the cable.
1 -
@joshtargo for what it's worth, my interest in your feature is more for parallel runs of tubing than for true ribbon cable so the folding requirements being violated is actually preferred for aesthetics.
0 -
That does already look pretty cool! :0)
0 -
I made some time to play around with this and I really like where it's headed. Two thoughts to throw into the ring here:
- It might be more helpful if it were designed to follow an existing path. The user could select a chain of curves, and override what's happening with each curve segment. For example, it would be easier to define a route using routing curve in polylines mode with a corner radius. Then I could pick that chain, and assign bends and twists to each segment.
- Are you planning to allow some kind of flattening for drawings later? It could be a separate feature that reads attributes of this one.
0 -
This is cool, for ribbon cables these folds and straight sections makes sense, but a suggested add-on is that the general 3D case is actually solvable too.
I have an Enterprise script WIP that I'm sadly not able to share, but the math is simple enough: The bending of a flat cable can be approximated with plain bending in the curve's principle curvature direction. Such that the cable will twist as the curvature direction changes along a generic curve. Input would be max twist rate and min bend rad. This is discretized in the math solve for this and I have a feeling the new sweep with twist tools might simplify the modelling of this.0 -
@EvanReese i it's not a bad idea, but I'll have to play to see if i can get it to work. Is there a way to pre-populate the array definition with edit logic? Or maybe the user created the array elements by selecting segments of the path curve?
0 -
@wille_j this could help for arbitrary angles, but my original code used transforming coordinate systems to control the polyline and bspline corners, and worked ok, but was more complicated than my new hardcode version. I always need to find a balance of making it work good enough for our needs, without spending too much time coding (which i am slow at).
0 -
Totally fair, I let Claude do a big chunk of the coding nowadays. Training it to become excellent at FeatureScript has been a fun and incredibility rewarding. I don't do much of the database coding/management myself anymore, only the bits that I think is fun and let Claude wrap it up into our systems.
0 -
You can certainly make it populate the array with Editing Logic. The implementation I imagine though is something like:
- User chooses a chain of tangent connected curves.
- Each curve gets a point manipulator on it which you can click to "Add and override" or something like that.
- When you click it, a new override array element is added and you can choose a twist value
0 -
@EvanReese i'll have to think of a good way to handle the fact that the guide curves will likely be planar, while bends such as Fold will cause the sections before and after to be non-coplanar. maybe the guide curve is used for lengths, directions, and radii, but the ribbon will slowly deviate as it folds and flips.
0 -
I was imagining this being done with a 3D Routing Curve
0 -
@EvanReese first trials of a rough follow system. you can pick lines for any length or radius inputs, then the (0 default positive) length field becomes a length adjust field with negative or positive values accepted (as seen in segment 1 tail)
0 -
mega changes, full re-do based on routing curve.
https://cad.onshape.com/documents/33d493a57124fe81b00fe22d/w/c6f78eba7f32d51bb01f4fb9/e/e209addca144bca94c46dbee1 -
Is this a new document? I don't seem to have access
0 -
@EvanReese sorry, yes, it was new, i forgot. great videos btw.
0 -
This is really cool and something I've wanted for a long time. It's in my tool bar.
I love the double fold, 2 thumbs up for that.
0 -
@joshtargo are you an instructor? Are you teaching kids this stuff? I hope so. This whole thing is really well done not just the feature script "Ribbon" part but the whole project.
0 -




















