AguaClara / aide_document-DEPRECATED

This module is no longer being maintained due to the transition to Onshape.
MIT License
0 stars 0 forks source link

Define System Architechture #1

Closed eak24 closed 6 years ago

eak24 commented 6 years ago

We need to clearly lay out what this component will do. My expectations are that this will be able to generate both (with the help of the fusion templates) the construction/ fabrication drawings of the plant as found here. The Fusion form of Layouts is called drawings, and here is a tutorial: here. The other produced document will be made by filling in the technical document with variables to produce something like this. The last task of aide_document, perhaps, is to assemble a budget. We might want to make that a whole different team/repo.

matanp commented 6 years ago

hi ethan, can you clarify what you want with fusion templates? Are we supposed to be generating drawings and putting them into the report? or are we getting images from the draw subteam?

eak24 commented 6 years ago

The draw team will not give you images. You need to generate these images using the Fusion API. However, that is far in the future. The initial goal is to create a function that can take a latex document/template and a JSON and replace all instances of a variable with the variable itself. For this, you'll need to define how variables will be identified in the text (you could employ your own latex extension/macro that has some command like \aide{variable} but I don't know more than that) and you can assume for now that the JSON has that variable and it is easy to find. Does that sound like a reasonable first step?

eak24 commented 6 years ago

I had some additional thoughts. I think before we continue coding, it would be nice to develop a google drawing that lays out how the various components of AIDE Document might play together, much like the overall AIde google drawing I presented at the beginning.

My initial thoughts on AIDE document are:

The architecture drawing should propose large-level components of the Document package. Think of it as the Document- zoomed in part of the overall AIDE diagram. It should answer the following equations:

matanp commented 6 years ago

Here is our draw document

https://docs.google.com/a/cornell.edu/drawings/d/1KudRQDT9GUF4GrYHp4_e4gnnPHMiAQGUW_rgc_TZ108/edit?usp=sharing

matanp commented 6 years ago

new link https://docs.google.com/a/cornell.edu/drawings/d/1GeeBO_IWdfD37bqwtXc1Ue8wrP2hBddeEwFGURTDJwg/edit?usp=sharing

eak24 commented 6 years ago

This is a good start of an information flow diagram. The goal is to now see how that translates to the particular modules and packages that will make up Document. This should explain proposed internal and external interfaces with example function calls. The goal is to define a rough API that will enable y'all to work simultaneously without stepping on one another's toes.

Thoughts on the diagram:

matanp commented 6 years ago

That all sounds good, I will work to make everything more concrete and figure out what packages and such we want. To confirm, does you saying not to touch Fusion mark a change in the process? In a previous comment on this thread you said "The draw team will not give you images. You need to generate these images using the Fusion API. "