7 ms·
PartCAD the first package manager for CAD models
- mlhpdx 3y agoMashing up CAD design and software dependency management is something I hadn’t considered, and I’m liking it. Many CAD projects might be described as “derivative works” that embed/extend other works (mold design, wiring, AEC, and the general mechanical assembly). Most CAD apps have “component libraries” but even the best of them are lacking and there is precious little interoperability between them. I miss my days working on CAD and this is renewing my excitement for it a bit.
- MadnessASAP 3y agoHaving just browsed the Readme it sounds like it could be the missing link between KiCad and FreeCAD. Not that a link doesn't exist now but it's difficult and unpleasant to work with. Being able to near simultaneously work on a design in the 2 programs would be lovely.
- Already__Taken 3y agolinking those and I think a wasm hosted kicad library editor would help the community keep on top of useful models. It seems a lot of the issues with part libraries is curation and trust so everyone builds their own.
- timschmidt 3y agoThey don't seem to be aware of https://github.com/nophead/NopSCADlib https://github.com/nophead/NopSCADlib which has been around for an age.
- deleted 3y ago[deleted]
- RomanKuzmenko 3y agoThanks for the link. I’ll definitely study that. I’m not sure at the moment whether NopSCADlib has exactly the same ambitions or not. But it certainly deserves to be learned from. PartCAD has OpenSCAD support pretty high up on the todo list.
- timschmidt 3y agoProject goals may differ slightly (NopSCADlib evolved somewhat naturally out of building CAD, CAD assemblies, Bills of Material, and assembly instructions for 3D printers) but there is a ton of overlap in functionality.
- loliverhennigh 3y agoI think PartCAD would take in packages like NopSCADlib and make them accessible in a unified way along with other part repositories. In that sense the goals of the two projects are orthogonal but complementary. A similar example would be Adafruit, https://github.com/adafruit/Adafruit_CAD_Parts https://github.com/adafruit/Adafruit_CAD_Parts. In fact there are many such repos out their that are very useful but in their own islands.
- nickpinkston 3y agoThe current state of this is that there are PDM (Product Data Management) packages for each major CAD package [1] that handle version control, lists of components ("Bill of Material" in our biz). There is the concept of CAD "assemblies" which are many individual parts assembled together, which can themselves be members of bigger CAD assemblies until the global product has all subassemblies. There are then component libraries which have generic CAD files (in the CAD and outside), but they lack the full knowledge of their context - ie you may have a CAD file of a motor, but the CAD file doesn't know it needs a shaft coupling to match its 10mm output shaft diameter, which could in theory be used to pull in dependencies or at least debug your assembly (ie if the coupling attached doesn't have a 10mm ID, error out). TL;DR: Geometry isn't enough, you need to know the specs and behavior model (like voltage --> torque curve for a motor) to do this, as the total "package" is very dependent on what else is in the model (or should be). This is actually why we at Volition [2] are building the largest repo of hardware components in the world (26M today) with both CAD and deep spec data, with the goal of eventually powering systems to be able to do stuff like this, and of course as a marketplace we're hoping you'll buy the actual parts from us too :-) [1] https://www.autodesk.com/solutions/pdm-product-data-management https://www.autodesk.com/solutions/pdm-product-data-manageme... [2] https://beta.govolition.com/ https://beta.govolition.com/
- iancmceachern 3y agoVery cool, ME/product designer here, ill definitely be checking volition out!
- rjsw 3y agoThe main bit of STEP that I designed is how to model properties that depend on other property values, it doesn't get much use in CAD systems right now but there does seem some interest in getting it better used in the future. Another area of current work is in adding UUIDs to a model so that after doing a round trip from STEP into a proprietary CAD system and back to STEP you can work out which bits of the model are new and which not. This could be useful for parts libraries as well.
- kelvie 3y agoI've wanted a package manager for openSCAD as well. I really like using BOSL2, and so when I publish my scads for friends, right now I just include the copy of BOSL I'm using (I forked it the one time I needed to add a custom patch) as a git submodule [1] [1] https://github.com/kelvie/scads/tree/master/lib https://github.com/kelvie/scads/tree/master/lib
- AYBABTME 3y agoThis doesn't seem to say if the mating system allows more complex methods than absolute 3D grid location/orientation? E.g can it mate to parts relatively and specify constraints on degrees of freedom?
- TaylorAlexander 3y agoIf anyone is curious I started a discussion forum [1] with the goal of researching possible paths to good quality open source CAD, after an off-hand tweet of mine about open source CAD got significant traction on twitter. Based on what I know so far, it seems that FreeCAD might be finally getting the investment it needs to mature as a real option. There is an organization called Ondsel which is taking on a lot of UI and assembly bench improvements, and I have heard that their preview versions are worth checking out. [2] Notably, the big question about open source CAD relates to the geometry kernel used. They take decades to produce, and only OpenCASCADE is even remotely mature enough. OpenCASCADE is also somewhat tricky to work with, but it seems to be our only choice. Even if we had millions of dollars of investment in open source CAD it seems unlikely we could do better than OpenCASCADE based on what I have learned. So my next step when I get some time is to explore how the Ondsel branch of FreeCAD is going and see if I can convince myself this is the path we should all be supporting. I do see no other paths currently, so my hope is that we see FreeCAD mature enough that it becomes usable by professional mechanical engineers. [1] https://github.com/tlalexander/open-cad-foundation/discussions https://github.com/tlalexander/open-cad-foundation/discussio... [2] https://ondsel.com/download/ https://ondsel.com/download/
- adastra22 3y agoI'm working on an MPL-licensed, free forever CAD environment for molecular nanotechnology. It is extremely early, indeed I hesitate to even mention it as it is currently undergoing the final stages of a rewrite to run on a game engine back-end, and it isn't much more than boilerplate at the moment. But we have a small community of people interested in this, and we are currently raising money to support further development, among other things. The key point though is that the atomistic modeling is sort-of an add-on to a bog-standard CAD workflow. You still use boolean geometry to produce surface representations, even if those surfaces are discretized crystal structures. I had intended that once it was up and running I would reach out to some people I know that are interested in a more modern alternative to FreeCAD. Perhaps it would make sense to combine efforts? [1] https://github.com/atomCAD/atomCAD https://github.com/atomCAD/atomCAD
- 3y ago
- westurner 3y agobuild123d currently lists just bd-warehouse in the docs under Part Libraries: https://build123d.readthedocs.io/en/latest/external.html#part-libraries https://build123d.readthedocs.io/en/latest/external.html#par... build123d is an open source parametric 2D and 3D CAD tool in Python that succeeds cadquery, and instead of jQuery/pyquery-like method chaining has `with:` context managers. https://build123d.readthedocs.io/en/latest/ https://build123d.readthedocs.io/en/latest/ bd-warehouse is a parametric parts library: https://bd-warehouse.readthedocs.io/en/latest/ https://bd-warehouse.readthedocs.io/en/latest/ : > [...] With just a few lines of code, you can create parametric parts that are easily reviewable and version controlled using tools like git and GitHub. Documentation can be automatically generated from the source code of your designs, similar to the documentation you’re currently reading. Additionally, comprehensive test suites can automatically validate parts, ensuring that no flaws are introduced during their lifecycle. > The benefits of adopting a full software development pipeline are numerous and extend beyond the scope of this text. ; git w/ tests and CI/CD Ideas for open source (parametric) parts libraries: - [ ] Dimensional lumber (1x4, 2x4, 2x10) and e.g. HempWood would be a great addition to a parts library. - [ ] ldraw LEGO unofficial parts catalog: "LDraw.org Parts Update 2023-06" https://library.ldraw.org/updates?latest https://library.ldraw.org/updates?latest - [ ] MicroBit - [ ] RaspberryPi - [ ] GlTF: "Google Earth 3D Models Now Available as Open Standard (GlTF)" (2023) ; land, buildings: https://news.ycombinator.com/item?id=35896176 https://news.ycombinator.com/item?id=35896176 - [ ] GlTF: planes: https://news.ycombinator.com/item?id=38268003 https://news.ycombinator.com/item?id=38268003 , trains: https://www.google.com/search?q=gltf+trains https://www.google.com/search?q=gltf+trains - [ ] Humans with splines: https://github.com/killop/anything_about_game#humanstage https://github.com/killop/anything_about_game#humanstage , https://github.com/daz3d/DazToBlender https://github.com/daz3d/DazToBlender ; Daz2Blender a few open source meshes FWIW Conda-forge has signatures and build with clang in CI according to feedstock conda recipes (which have a meta.yml and optionally build.sh and/or build.bat, and a URL to watch for upstream changes). https://SLSA.dev https://SLSA.dev supports https://sigstore.dev https://sigstore.dev artifact signatures. Docker containers are ~= OCI containers which are stored in OCI container image repositories; which can host other artifacts with content signatures too.
- RomanKuzmenko 3y agoThanks for the attention to PartCAD and all the contextual information shared in this thread. It was just the initial version released a couple days ago. It doesn’t even match the OpenVMP’s internal “bill of materials” library. For sure it doesn’t yet implement all of the tool gaps discovered so far by the OpenVMP project and other robotics projects I consulted with. But PartCAD will incrementally get there. The goal is not to replace core features of other engineering tools. But to connect such core features with appropriate collaboration and data storage tools (git, cloud storages etc) while dismissing some absurd features (such as saving a design into a binary blob from CAD tools…). Have patience and consider to contribute.
- eternityforest 3y agoHow might this work in a GUI context? It would be absolutely amazing if there was some way to make it work on FreeCAD so we could share reusable pieces. The one missing thing I've always wanted to see in FreeCAD is something where you draw a circle on a face as an anchor point (the same way that the hole operation works) and put a point on the circle for orientation. Then you could export the part with it's anchor points embedded in the file, or import a part with it's anchor point fitted on an existing point (With whatever offset, inversion, etc you want). Would this be suitable for creating this kind of system?
- RomanKuzmenko 3y agoI believe you mentioned two orthogonal features. 1) Import/export from CAD tools. Absolutely. That’s one of the main goals. PartCAD will be the persistence layer for parts I create in FreeCAD. (Whole OpenVMP was designed in FreeCAD.) In another channel I’m trying to convince the author of similar plugins to join PartCAD. 2) Enrich the model metadata with anchor/relative position/orientation. Absolutely. This will be required to enable replacement/alternative parts maintained by different parties. We can come up with a convention how to define such metadata in FreeCAD so that PartCAD is able to recognise it, until FreeCAD supports it natively.
- eternityforest 3y agoThat is exactly what I was hoping for! 3DP/CAD is still one of the most exciting areas in FOSS and it's really cool to see this kind of thing moving forward.
- navane 3y agoI looked at the post, I feel like we're missing dinner context here, because what it looks like it's doing seems very naive. As far as I know, Onshape is the only CAD product that has true git style branching and merging versioning. Unfortunately every successful startup in this space gets bought out by the competition. After buy out, the CAD product gets cut down and real development stops. First they loose their agnostic features (spaceclaim); if they used to be compatible with a whole range of upstream and downstream products, all support for competitors products is dropped. Then they stop the real innovation, to keep the space open for their flagship products (onshape), or give their product a chance to catch up.