Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A2plus and network paths #300

Open
Luciniki opened this issue Jun 1, 2024 · 1 comment
Open

A2plus and network paths #300

Luciniki opened this issue Jun 1, 2024 · 1 comment

Comments

@Luciniki
Copy link

Luciniki commented Jun 1, 2024

Good morning,

when I try to import parts from my office's internal network (e.g. "
\192.168.1.100\spb\Shares\Suppliers\Pneumatic_Aluminum_Spare_Parts\DIERRE\PARTI FREECAD\Extruded_3D\45x45_2A" I get this error:

17:04:20  Initializing A2plus Workbench v0.4.65.
17:37:40  Running the Python command 'a2p_ImportPart' failed:
Traceback (most recent call last):
  File "C:\Users\LUCIANO\AppData\Roaming\FreeCAD\Mod\A2plus\.\a2p_importpart.py", line 725, in Activated
    importedObject = importPartFromFile(doc, filename)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\LUCIANO\AppData\Roaming\FreeCAD\Mod\A2plus\.\a2p_importpart.py", line 341, in importPartFromFile
    relativePath = prefix+os.path.relpath(absPath, assemblyPath)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 766, in relpath

path is on mount ' \ \ \ \ 1 9 2 . 1 6 8 . 1 . 1 0 0 \ \ s p b ', start on mount 'D:'

@luzpaz
Copy link
Collaborator

luzpaz commented Sep 11, 2024

@Luciniki Is this a A2+ issue or FreeCAD issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants