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

Model library #330

Open
tpimh opened this issue Jul 5, 2018 · 12 comments
Open

Model library #330

tpimh opened this issue Jul 5, 2018 · 12 comments

Comments

@tpimh
Copy link
Contributor

tpimh commented Jul 5, 2018

It would be great to have a library of simple common solvespace models (like screws, nuts, gears, etc.), maybe even with simple model generator (entering variable values, getting the right model).
Anyone interested?
It would be nice to have it as an online gallery that anyone can browse, spin 3D models rendered with three.js and then download.

@whitequark
Copy link
Contributor

Sure. You could do this with solvespace-cli and some server-side glue once parametric models are in.

@ceremcem
Copy link

maybe even with simple model generator (entering variable values, getting the right model).

Wouldn't it need a scripting infrastructure, which Solvespace has no such thing AFAIK?

@whitequark
Copy link
Contributor

Not yet.

@phkahler
Copy link
Member

phkahler commented Jun 1, 2019

I was just thinking about a hole tool to create hole for predefined bolts and screws. It would have predefined countersunk or chamfered profiles. Perhaps just having a model library would allow this - hole models would just need to import as difference. A little UI help to position and orient them would go a long way.

@altaic
Copy link

altaic commented Jun 2, 2019

@phkahler You’d have to add clearance to the hole threads rather than a zero clearance difference using the screw. I’m not sure, but I imagine different thread profiles will have different clearances due to manufacturing tolerances, use case requirements, etc. A tool that allows the user to set the hole clearance value (with some sort of sane default) would probably do the trick.

Edit: Actually, (forgive me if this exists) adding a clearance parameter to the standard difference operation might be useful in general.

@phkahler
Copy link
Member

phkahler commented Jun 2, 2019

@altaic I guess I was unclear. There would be standard size hole objects - unthreaded - that could be cut from objects. You select the "M3 countersunk" bolt-hole tool and click on a surface to make that hole. Ideally the location could be set afterward using constraints. This needs more thought...

@altaic
Copy link

altaic commented Jun 2, 2019

@phkahler Ah, I see; sorry for the confusion. Back to the topic, though, a user-driven parts library would be fantastic. It’d be especially cool if one could add GitHub or GitLab (or similar) repos as a parts source.

@tpimh
Copy link
Contributor Author

tpimh commented Jun 3, 2019

Git repos for modules in the same way KiCad does it would be great!

@whitequark
Copy link
Contributor

Note that the amount of integration work required to make this happen is enormous. Consider that git is a large and complicated dependency; even the possibility of using git repos requires integrating openssl, libssh and libgit, and interfacing with platform cryptography on three distinct platforms, just to be able to clone a remote repository at all. (And none of this would work on Emscripten, which I think is an important way to give people near-universal access to SolveSpace in the age of Fusion 360 and Onshape running in the browser.)

@ghost
Copy link

ghost commented Jun 5, 2019

Git repos for modules in the same way KiCad does it would be great!

FTR, LibrePCB also has nice built-in "Library Manager" as interface to LibrePCB-Libraries repos on GitHub:

pic.1

@ruevs
Copy link
Member

ruevs commented Nov 8, 2020

@hinell
Copy link

hinell commented Jan 11, 2022

Thumbing up this request. It's paramount for any CAD to have a library interop system. Would be best to integrate it with existing file formats.

Important takeaways to note:

  • manufacturers may supply parts sizes directly (on request, or from shops), .e.g.
  • CAD vendors provide special tools for quick design out of pre-defined templates

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

No branches or pull requests

7 participants