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

3D models with relative paths not supported #78

Open
hraftery opened this issue Nov 4, 2024 · 3 comments
Open

3D models with relative paths not supported #78

hraftery opened this issue Nov 4, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@hraftery
Copy link
Contributor

hraftery commented Nov 4, 2024

My KiCad footprint libraries use this feature, which was added a couple of years ago. To wit, the path to the 3D model for a footprint in my library is relative to the location of the footprint.

It seems this triggers:

Failed to retrieve file times for '' (error 2: No such file or directory)"

when running the plugin. The message is repeated 8 times, which happens to be the number of 3D models in my project.

The output file is still generated, and it even has 3d models, but... they're all the same!

Manually updating each footprint to an absolute path gives the expected results.

PS. Awesome plugin, much appreciated.

@30350n
Copy link
Owner

30350n commented Nov 5, 2024

Hi, thanks for reporting this, I think this might not be an issue with this addon though.

All the exporter does is basically call KiCad's VRML exporter with Copy 3D model files to 3D model path enabled, serialize a bunch of other metadata and pack everything into a zip file.

I'm fairly confident that you'll get the same errors if you just use the VRML exporter from the PCB Editor UI. If so, it'd be best if you'd report this at https://gitlab.com/kicad/code/kicad/-/issues.

@30350n 30350n self-assigned this Nov 5, 2024
@30350n 30350n added the question Further information is requested label Nov 5, 2024
@hraftery
Copy link
Contributor Author

hraftery commented Nov 5, 2024

Right you are. And I found the issue already exists.

Cheers.

@set-soft
Copy link

set-soft commented Nov 5, 2024

Right you are. And I found the issue already exists.

Cheers.

Yes, and I'll suggest to @30350n to upvote it, I reported it for KiCad 7 and Seth tagged it as "low-priority" (most probably because he didn't understand how bad the bag is)

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

No branches or pull requests

3 participants