Solid Model to Tool Holder Error Message

Solid Model to Tool Holder Error Message

jonathanBUCVS
Advocate Advocate
1,283 Views
4 Replies
Message 1 of 5

Solid Model to Tool Holder Error Message

jonathanBUCVS
Advocate
Advocate

Using the script linked from NYCCNC/George Roberts https://www.nyccnc.com/solid-model-to-tool-holder/

 

Getting the error message attached. Other 3d files from the same mfg work ok. Any suggestions?

 

 

0 Likes
Accepted solutions (2)
1,284 Views
4 Replies
Replies (4)
Message 2 of 5

kandennti
Mentor
Mentor
Accepted solution

Hi @jonathanBUCVS .

 

I gave it a try.

It seems to work in direct mode (no timeline).

 

It would be better to contact the developer directly.

0 Likes
Message 3 of 5

jonathanBUCVS
Advocate
Advocate

@kandennti  Thank you, deleting the design history worked. Any idea why the design history was causing an error? I would never have thought to change that. 

0 Likes
Message 4 of 5

kandennti
Mentor
Mentor
Accepted solution

It was described in the document setByPlane Method.

https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-0617e8da-d860-4a39-be2b-27ab2e223a53 

 

Probably during development, you would have tried it with Step files, etc.
If you import a file that is not in native format, it will be in direct mode, so I guess I missed it.

Message 5 of 5

gtprototype
Advocate
Advocate

I can't seem to get the script to work.  I have no idea what I'm doing, I followed the video by NYC-CNC.  Although probably not relevant, it appears that the script has been edited to include a pop up instructional screen and a file name input field.  The error message I receive is below.  Any help would be greatly appreciated.  Thank you.

Failed:

Traceback (most recent call last):

File "C:/Users/dale/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/holderCreatorNEW-1.py", line 167, in run

filename = createHolder()

File "C:/Users/dale/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/holderCreatorNEW-1.py", line 134, in createHolder

with open(filename, 'w+') as f:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\dale\\Downloads\\04-0045 v2.json'

 

error_msg.PNG

Dale Speakes
prototype technology
0 Likes