openvmp / partcad

The first package manager for CAD models and a framework for managing assemblies.
Apache License 2.0
135 stars 13 forks source link

Purchasing and manufacturing proposal #17

Open openvmp opened 8 months ago

openvmp commented 8 months ago

Propose a convention/syntax to annotate the part declaration with sufficient data to order (SKU, API to order programatically) or to manufacture (what tools, materials are needed, url to instructions).

Ideally “pc order {-a} [part] {package}” should be able to purchase all parts, should they supply all the necessary data.

Load all this data into the Part object to enable search criteria (has ordering info, needs materials I have, etc). The implementation of search is outside of the scope of this issue.

openvmp commented 8 months ago

For patented parts, make it simple to mark parts so that it's intuitive that they must be purchased from the original manufacturer only. Something like

part:
  mounting_bracket:
    vendor: <vendor>
    sku: <sku>
    manufacture:
      forbidden: True
      ...
vendor:
  <vendor>:
    url: ...${sku}...
    ordering:
      ...