Better HN
topnewbestaskshowjobs
Log inSign up

RomanKuzmenko

2 karma · joined Apr 3, 2023 (3y ago) · 11 submissions

Submissions

comment 2y ago · link · parent

Hmm. Indeed that makes a lot of sense to use wasm instead. Let’s table the language aside for a moment. What data format would you expect to be spit out by third-party models? Is there anything generic enough to store both b-reps, f-reps, and whatever might be suitable for nanotechnology?

comment 2y ago · link · parent

I wonder myself why would we run third party Python scripts that can do anything, run an infinite loop, download something from Internet or delete files from the home folder, and keep our fingers crossed it calls “show_object” at the end… Have you considered using Java? I mean real classes that implement interfaces you introduce, not classes with a single “main()” method. So you instantiate an instance of that class when you add a part. You can use a handcrafted JVM or Javaagents to ensure that it’s only doing the things you want (like they do on Spark clusters to ensure that ML jobs are only doing ML). Since you are after describing and instantiating objects, why not using something so object oriented?

I want to introduce something like that as an option in PartCAD to see if anyone likes to use it.

Let me know if you want to give PartCAD a try for your model storing/sharing needs. I’ll be happy to customize/extend it for your needs. I always loved chemistry and physics but never had a chance to apply that at work.

comment 2y ago · link · parent

Of course! There is more than one concept that has value. And each concept also has a price (or price range as there will always be multiple implementations of each concept, each implementation will deteriorate over time and so on and so forth). There will always be more than one class of consumers, more than one set of value/costs preferences. Otherwise we would only have one programming language, wouldn’t we? So acknowledging one concept has value doesn’t mean announcing that it is the only concept worth existing.

comment 2y ago · link · parent

I reread the sub-thread and I can see how my attention got carried away from the topic. The maintenance of models might be perceived as an add on to a much more scientific-heavy CAD workflows. The value of engineering tools is not going to go away no matter how data exchange and collaboration tools advance. I hope you find people who can help with the scientific-heavy work that would certainly require funding.

However I would still like to learn how PartCAD (and part-time open source hobbyists behind it, without any funding) can help nonetheless.

I’d really like to learn what are the modelling needs of molecular nanotechnology. Would it need another packaging tool, or just a separate index repository to main another set of parts? Is there any chance you can consider the persistence layer being modular and implemented as code from day one? I would appreciate an opportunity to debate about it with an experienced professional.

comment 2y ago · link · parent

Users who want to continue paying for the value of having all tools under one roof can continue doing so. From time to time they might not be opposed to the idea of importing a part or two from a public repository. At least for some simulation tests. They might also find value in using a proprietary private PartCAD repository when they migrate from one all-under-one-roof tool to another after being squeezed dry by the previous vendor.

No one really knows what all of the users want. The commercial tool vendors would tell us that all users want exactly what they sell. My subjective experience suggested a hypothesis that some users might want something different. After two days of PartCAD’s initial revision being out there, it would be fair to say that a lot of users want it. The demand and feedback exceeded all expectations.

comment 2y ago · link · parent

Thanks 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.

comment 2y ago · link · parent

Yeah, it did steal some of my time and gave me some gray hair too. However as I mentioned in another comment, PartCAD is not there to replace existing CAD tools. It’s there to extend the definition of computer aided design to include modularity and collaboration. The tools that we called CAD-tools will be called “CAD Design GUI” tools. For decades their marketing departments have successfully sold us the idea of those tools being the complete technology solution. Charging ridiculous amounts of money for any collaboration feature. And I don’t blame them. They are smart. But we, as a humanity, need to be even smarter. Smarter than agreeing to having no “merge/rebase” functionality in 2023.

comment 2y ago · link · parent

That’s why I said other CAD tools can be used for some workflows. For most humans interacting with technology nowadays out there FreeCAD will do. Anyway, even if I’m wrong about FreeCAD, PartCAD doesn’t have much to do with what happens between “Load” and “Save”. CAD is a tool that some people will use. PartCAD should support as many of those tools as possible.

The question of format used to store part info is more relevant to PartCAD. However I do not think PartCAD should prescribe any. PartCAD must be modular and support as many formats as it can. And let the competition decide. Maybe the supported/compatible CAD kernels will contribute to the competition of file formats. Maybe the file format chosen by the community (e.g. for LLM related reasons) will contribute to what CAD tools support. We’ll see in 20 years.

I personally don’t think the community at a whole will gravitate towards anything like OpenCASCADE file formats. I find CadQuery and build123d more promising (no matter what’s under their hood at the moment). I believe it must be human-readable (and, thus, LLM-readable) text. But CadQuery and build123d are not the end of the evolution. I’m sure we will face next technology iterations that are at least more LLM friendly, secure (e.g. to prevent arbitrary I/O from code), and more structured (to help retain the code structure and formatting in the “Load”-“Change”-“Save” cycle).

PartCAD will be there to facilitate modular design and collaboration, and to include as many people and their tools as possible. Not to facilitate any closed formats or tool ecosystems that commercial tool vendors are trying to prescribe to us today, no matter how convincing their arguments sound. Large profits enable generation of very convincing arguments.

No matter how difficult it is going to be to “store models as code”, I personally believe the humanity will succeed at that. However PartCAD will support all common file formats. It currently (2 days after a preview release which somehow went huge) supports CadQuery, build123d and STEP files.

comment 2y ago · link · parent

I 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.

comment 2y ago · link · parent

I personally don’t think FreeCAD needs an alternative. It’s good enough for most needs and it’s maturing. But it needs to be used for what it is good for: visual workflows. FreeCAD and all other CAD tools (that might be needed or preferred for some workflows) need to get out of the business of storing CAD data in proprietary binary files that are no good for any collaboration. Instead, either natively or through plugins, they need to import/export code. Once the design is stored like code, regular coding techniques kick in. And don’t just mean merging. Linting, code coverage, the whole shebang. That’s the kind of workflow that PartCAD aims to facilitate.

comment 2y ago · link · parent

Thanks 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.