Fn.histruct.com - HiStructClient/femcad-doc GitHub Wiki

Azure testing function

There is a possibility to compose URL by which you can test particular part of the code. The link should consist of the following parts:

 fn.histruct.com/api/out/{repository}/{tree}/{mainFcs}/exp/{expression}?code={secret}

MainFcs path needs to be defined without backslash which is replaced by two dots. Fn.histruct.com then downloads the branch, evaluates the expression and

  • displays picture if it is a picture
  • displayes html document if it is html
  • makes print if it is something else

By such a way, anyone can send somebody else URL with some result without the necessity to download paticular branch, log in HiStruct, establish component etc...

Results are saved to cache, now. In case the calculation is still running, client obtains valuable message that the analysis is in progress.

Example

https://fn.histruct.com/api/out/HiStructClient..fcs-gsi/master/_Benchmarks..Roof..Validations.fcs/exp/valdoc?code=TJPpkId0fw5of/40fFgiRJ/QdmWaHFy4vB7V31n7IPsBRYvqbrRODQ==

⚠️ **GitHub.com Fallback** ⚠️