A2 Plus won't "add a part from an external file to the assembly.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
ljt123
Posts: 4
Joined: Sun Mar 24, 2019 2:40 am

A2 Plus won't "add a part from an external file to the assembly.

Post by ljt123 »

When I try to add the first part to my assembly, I get this error:



Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
File "C:\Program Files\FreeCAD 0.17\Mod\A2plus-master\a2p_importpart.py", line 339, in Activated
importedObject = importPartFromFile(doc, filename)
File "C:\Program Files\FreeCAD 0.17\Mod\A2plus-master\a2p_importpart.py", line 197, in importPartFromFile
relativePath = prefix+os.path.relpath(absPath, assemblyPath)
File "C:\Program Files\FreeCAD 0.17\bin\lib\ntpath.py", line 522, in relpath
% (path, start))

Cannot mix UNC and non-UNC paths (Z:\Desktop\SubDesktop\Free CAD\Mini TBM Assembly\fidget_frame.FCStd and \\Mac\Home\Desktop\fidget spinner)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: A2 Plus won't "add a part from an external file to the assembly.

Post by NormandC »

The reason of the error seems self-explanatory:
ljt123 wrote: Sun Mar 24, 2019 2:43 am Cannot mix UNC and non-UNC paths (Z:\Desktop\SubDesktop\Free CAD\Mini TBM Assembly\fidget_frame.FCStd and \\Mac\Home\Desktop\fidget spinner)
I'm confused, are you on macOS, or on Windows?
ljt123
Posts: 4
Joined: Sun Mar 24, 2019 2:40 am

Re: A2 Plus won't "add a part from an external file to the assembly.

Post by ljt123 »

Sorry I dropped off the map. I'm using Windows Parralel on a MacBook. I did fix the file path by moving the file location...dumb mistake. Now, I have another problem where the part imports, but with a flaw...

Posted that as a different question just now (I kind of haven't done anything with FreeCAD since this post till now):

https://forum.freecadweb.org/viewtopic. ... 04#p302404
chrisb
Veteran
Posts: 54207
Joined: Tue Mar 17, 2015 9:14 am

Re: A2 Plus won't "add a part from an external file to the assembly.

Post by chrisb »

Is there a certain reason beyond the current issues with the Mac version that you don't use the native MacOS FreeCAD?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply