helpfulengineering / project-data-platform

An experimental attempt to make a CLI for supply-chain modeling for Helpful Engineering's Project Data
GNU Affero General Public License v3.0
9 stars 2 forks source link

Build Python Classes/Types that represent fixed, finite lexicons of products and materials #9

Open RobertLRead opened 2 years ago

RobertLRead commented 2 years ago

Create a Python class to represent a fixed set of producible items, such as masks and cookies.

Create a Python class of a fixed set of items you might find in a Bill of Materials (BOM) such as butter, eggs, cotton fabric, NWPP, elastic.

devhawk commented 2 years ago

Example cookie recipe (found at random on internet) http://chasingjamesbeard.com/easy-oatmeal-chocolate-chip-cookie-recipe/

Consumable Ingredients Required:

Reusable Tools required:

@RobertLRead this work for you?

RobertLRead commented 2 years ago

This is correct. In the Python code, I represent a "cookie" as an "elemental" product, unless I chose to model "butter" as an input. I that case, I would create "butter" as a new object in the supply chain, and assume that IT is "elemental", that is has no inputs.

As we discussed in the meeting, I think you decided to use the MakerMask OKH anyway. I THINK that has a clear distinction of tools in the OKH, but I did not attempt to model all of the inputs as consumables.

devhawk commented 2 years ago

Yup, going to use https://github.com/helpfulengineering/library/blob/main/alpha/okh/okh-manifest-makermask-origami.yml

Jbutler-helpful commented 11 months ago

Is this Resolved @devhawk