The heavy computational work is done on the cloud, not on your computer. During time, updates and improvements are applied to the algorithms by us, therefor, absolutely no actions would be required by you.
Developers can use this functionality to employ our solutions as modules in their own projects and build new products.
Users no longer have to limit themselves to certain FEM software packages such as Abaqus. Instead, API calls can be made from any programming environment such as Python and Matlab.
import requests
import json
server = 'https://www.plates-analysis.com/'
key = 'place your api key here'
payload = {
'key': key,
'bc': 'cccc',
'phi': 0.5,
'lamb': 56.3,
'sai_x': 0,
'sai_y': 0,
'nu_e': 0.33,
'q': 20,
'e_to_e7': 174.3,
'bucking_mode': 1,
}
response = requests.post(url=server, json=payload)
ks = json.loads(response.content)['ret']['ks']
print(ks)
server='https://www.plates-analysis.com/';
key='place your api key here';
options = weboptions('MediaType','application/json', 'Timeout', 1000);
resp=webwrite(server, struct('key', key, 'bc', 'cccc', 'phi', 0.5,'lamb', 56.3,'sai_x', 0,'sai_y', 0,'nu_e', 0.33,'q', 20,'e_to_e7', 174.3,'bucking_mode', 1), options);
resp.ret.ks
curl -X 'POST' \
'https://www.plates-analysis.com/?key=place_your_api_key_here&bc=cccc&phi=0.5&lamb=56.3&sai_x=0&sai_y=0&nu_e=0.33&q=20&e_to_e7=174.3&bucking_mode=1' \
-H 'accept: application/json'
function api_call() {
$.ajax({
type: "POST",
url: "https://www.plates-analysis.com/",
contentType: "application/json",
data: JSON.stringify({
'key': 'place_your_api_key_here',
'bc': 'cccc',
'phi': 0.5,
'lamb': 56.3,
'sai_x': 0,
'sai_y': 0,
'nu_e': 0.33,
'q': 20,
'e_to_e7': 174.3,
'bucking_mode': 1
}),
dataType: "json",
success: function (response) {
ks = (response.ret.ks).toString()
console.log(ks)
},
});
}