You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the script did not work for me (generated gear in Fusion -> exported as dxf -> converted to svg using convert.io -> inserted svg into Fusion360 -> ran your scipt -> nothing happened except that lines are not selectable afterwards :-( )
Anyway, before I could run the script, I had to change 2 occurrences of time.clock() to time.process_time()
Maybe time.perf_counter() is a better choice!?
Unfortunately the script did not work for me (generated gear in Fusion -> exported as dxf -> converted to svg using convert.io -> inserted svg into Fusion360 -> ran your scipt -> nothing happened except that lines are not selectable afterwards :-( )
Anyway, before I could run the script, I had to change 2 occurrences of time.clock() to time.process_time()
Maybe time.perf_counter() is a better choice!?
Reference:
https://stackoverflow.com/questions/58569361/attributeerror-module-time-has-no-attribute-clock-in-python-3-8
Instead of fiddling with your python script, I decided to take another path:
Follow this guide here. Despite being a hack, it's faster than the python script in some (most?) cases too:
https://forums.autodesk.com/t5/fusion-360-design-validate/svg-importing-with-broken-connections-and-lines/m-p/6634473/highlight/true#M78013
Addendum: Also tried these solutions, but they did not work for me either (because I use colors in my svg??). Maybe they do for your project.
https://graphicdesign.stackexchange.com/questions/46294/how-to-join-end-nodes-of-different-paths-in-inkscape
https://graphicdesign.stackexchange.com/questions/76534/automatically-merge-overlapping-nodes-in-inkscape
The text was updated successfully, but these errors were encountered: