Comment by avipeltz
1 day ago
Thanks! We've done a good amount of experimenting with cadquery and build123d and actually got it to the point where it can reliably generate compiling code, the problem is the generation quality is still more limited than openscad. We may still release it so that users can export to STEP/BREP formats but we have been going back and forth internally on how to highly to prioritize it. We definitely want to build about the ability to generate multiple parts in parallel and assemblies. Thanks for all this :)
Multiple export formats ftw, watermarking, and metadata
(/?hnlog "NURBS") ... > > CadQuery's CAD kernel Open CASCADE Technology (OCCT) is much more powerful than the CGAL used by OpenSCAD. Features supported natively by OCCT include NURBS, splines, surface sewing, STL repair, STEP import/export, and other complex operations, in addition to the standard CSG operations supported by CGAL
> Ability to import/export STEP and the ability to begin with a STEP model, created in a CAD package, and then add parametric features. This is possible in OpenSCAD using STL, but STL is a lossy format.
> [...] CadQuery scripts can build STL, STEP, and AMF faster than OpenSCAD.
AMF: Additive manufacturing file format: https://en.wikipedia.org/wiki/Additive_manufacturing_file_fo...
Watermarking:
/? synthID site:github.com https://www.google.com/search?q=SynthID+site%3Agithub.com
/? SynthID site:github.com inurl:awesome https://www.google.com/search?q=SynthID+site%3Agithub.com+in... :
- and-mill/Awesome-GenAI-Watermarking: https://github.com/and-mill/Awesome-GenAI-Watermarking
CAD Metadata; CAD Linked Data:
/? "CAD" Metadata standards: https://www.google.com/search?q="CAD"+metadata+standards
/? CAD 3d design formats and their metadata and RDF: https://www.google.com/search?q=CAD+3d+design+formats+and+th...
- OCX; shipbuilding BIM metadata; https://www.google.com/search?q=%22CAD%22+%22BIM%22+%22RDF%2... :
- "Scan-to-graph: Semantic enrichment of existing building geometry" (2020) https://www.sciencedirect.com/science/article/abs/pii/S09265... .. https://scholar.google.com/scholar?cites=1199367363418102338... :
> Scan-to-Graph focuses on creating an RDF-based model of an existing asset.
schema.org/CreativeWork > :Drawing, :SoftwareSourceCode
YAML-LD is JSON-LD (RDF) in YAML; with a W3C spec.
PartCAD is plain YAML; but there could probably be an @context to map each YAML metadata attribute to a URI so that Linked Data can be parsed and indexed (for example by search engines which index some schema.org RDFS Classes and Properties).
PartCAD index / electronics / sbcs / partcad.yml: https://github.com/partcad/partcad-index/blob/main/electroni...
partcad.yml: partcad/partcad-electronics-sbcs-intel/blob/main/partcad.yaml: https://github.com/partcad/partcad-electronics-sbcs-intel/bl...
In construction, the building inspector requires the spec sheet for basically every part of a house.
Linked Data is presumably advantageous for traceability given linked provenence metadata from CAD design (w or w/o AI), part manufacturing w/ batch number, assembly assemblage, and supply chain lineage.
Properties for a https://schema.org/CreativeWork > :CADModel RDFS Class to increase reusability?:
- Property: isParametric: bool
- Property: parameteicSize
- Property: parameters: [...]
- Property: ~ sourceCodeOf ; source URL w/ (git) revhash or version tag
- Property: ~ signedOffOnBy ( to W3C Verifiable Credentials)
- Property: ~ promptsAndModels
SBOM Software Bill of Materials tools can work with and generate JSON-LD RDF for the software found installed on containers, VMs, and hosts. The same for CAD models would be advantageous.
So, identify a portable software packaging format manifest that already supports cryptographic signatures (for https://SLSA.dev e.g. with https://sigstore.dev/ ) with additional (schema.org RDFS in RDFa HTML,) Linked Data properties to skip having to grep for whether the described and indexed CAD model is parametric with respect to size, and where its origin is for example:
- Property: originPoint and signed axes layout