Closed eak24 closed 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?
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?
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:
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:
\aide_variable{plant.floc.wall.length}
and \aide_image{images/renderings/floc_side_view.png}
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. "
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.