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.
Comments
I did see the really long name forming but didnt realize it would break the script haha.It does resolve the issue with the different cable ID on my end, thank you sir!
Debugging has resulted in some funny mistakes though. For example, the color "Purple" if entered into the from-to list doesnt actually get recognized either. I defaulted to hex color codes for more control although it requires a bit more attention at the excel level. Took a while to figure out it was the color breaking everything.
Do you have a suggested workaround for daisy-chained cables where one connector end is in part studio A and the other end in part studio B, and you want to route a wire between these connectors? Since the assembly in question has multiple subsystems, it would be quite slow deriving everything into a new part studio and doing everything there. We alternatively are considering adding some virtual connectors to show where the wire interfaces from part studio A to B. Then we could add up the lengths of wires in both to get the true length, but this introduces an extra manual step...
Additionally, what would you suggest for wires routed from connectors whose positions are dynamic (accounting for rotary or linear movement changing the distance between the connectors?)
Cables do have to be in the same part studio, but maybe what you could do is position everything in the top level assembly showing the connectors final positions and then in the wiring part studio, add connectors over the top of them? Unless I am misunderstanding.
There is no fixed cable length option available right now, so cable lengths will update if something is moved. Best you can do for now is to position the assembly in the worst possible position so the cable will be at maximum length and use that.
I realise there is still a lot to do, but I have quite the backlog of requests to get through.
I've not found a free electric CAD that fits my needs and that can export the CSV needed as input to the cable/wire FS (although I've been playing around with QElectroTech for a while now).
Anyway I currently document my cables using WireViz which uses a more structured (and possibly information-richer) input .yaml file (see the example folder in the WV GitHub repo).
I'm wondering:
- might the WireViz input file be a nice additional input format to add to this FS (the WV project seems to have a lot of traction according to the GitHub stats)
- would be easier to write a WireViz-CSV external translator?
Cheers,
Stefano
Changelog for release 1.170
Changelog for release 1.171
⭐ Clip order and direction can now be controlled in the route feature.⭐ Cables now have more control over how and where the insulation is stripped back.
⭐ Minimum bend radius is now displayed when editing a wire.
⭐ New feature icons.
⭐ Various bug fixes and performance improvements.
Changelog for release 1.173
⭐ Clip order and direction are now more resilient to upstream changes. *⭐ Wire and Reference IDs with spaces are now changed to underscores.
⭐ Various bug fixes and performance improvements.
* Thanks to customer feedback, there was a problem with the original definition of how I was calculating and storing the clip direction arrows, where upstream changes such as feature suppression was causing the arrows to get mixed up and produce the wrong result or just simply fail. This update is now more resilient to upstream changes, but a major overhaul of a lot of the underlying code was required and in the process I was able to optimise for better performance. If you intend to update existing wire routes that have manual clip order/directions in them, you may need to force each feature to regenerate so that it will use the new code or worst case, reselect your clips. The easiest way to do this is to open each feature and toggle off/on the "Show wires/cable" switch.
I've been trying to make a 2d drawing containing cable and connector specs – but it is not possible to import the custom table that is generated, and I can't seem to pull the part names on terminals and connectors either.
Is there any way to do this? Or what is best practice for using this in documentation?
Changelog for release 1.174
⭐ Added accurate wire packing and cable diameter calculations.⭐ Bug fixes
Another area I can see something similar to this being very useful is with hydraulic or pneumatic lines in machinery.
However, with new cables I always use the latest...
I still havent figured out what is the best approach with the CSV files and if there should be one for each cable or one master with all cables in them. Im almost leaning to it would be nice if I could define the variables in OnShape in every separate cable to have better control. Also, when routing cables in larger assemblies I import the latest assembly into my Cable routing assembly and then I use that to create different cables. This is however quite slow method since OnShape doesnt handle working in big assemblies in a good way.
It would be interesting to know how other people approach the routing of cables and what really is the best and fastest way..
Changelog for release 1.176.0
⭐ Insert and reposition library clips *⭐ Fixed an issue with configured connector parts.
⭐ Various clip-related routing fixes.
* One thing I forgot to mention in the video is to make sure that the X axis (the red one) of the mate connector on the library part is pointing in the same direction as the axis on the library part. I just noticed the clip in the video is defined wrong and orients at 90 degrees to the user selection
⭐ Added align to connector option for defining insulation length on a library connector part *
⭐ Fixed an issue when using curves as clips
⭐ Fixed an issue where previously removed Wire refs could not be re-added
⭐ Fixed an issue where "no more wires" causes previous wires in the same feature to fail
⭐ Fixed an issue where multiple wires through multiple clips was failing
⭐ Fixed an issue where reordering wires within a route feature caused manual wire edits to fail
⭐ Fixed a dubious error message caused by strip length set to zero in connector definition
⭐ Fixed an issue where multiple contiguous bundle routes are selected
* Ideally, connectors should be defined with a short length of insulation contained within the connector and the insulation length should be set to ensure that it terminates at the back of the connector, as this is the point where the wire is free to bend. It is also important if you are using "measure to connector" in the Wire data feature as the measurement taken is the entire length of the wire minus the strip length and insulation length.
⭐ Fixed an issue with offsetting existing bundles