Quick Design Integrations

Sections DB Integration#

Quick Design is integrated with the SkyCiv Sections Database. The following functions are available in calculate.js

Database.getSection(section_map, unit_system)#

Gets the section properties from the API

Example#

let res = await Database.getSection(JSON.stringify(["American", "AISC", "W shapes", shape_value]), "metric");

Database.getShapes(library, shape)#

Gets the section list and properties from SkyCiv Servers

Example#

let res = await Database.getShapesList("AISC", "S Shapes");

Database.getShapesList(library, shape)#

Gets the section list from SkyCiv Servers, without properties.

Example#

let res = await Database.getShapesList("AISC", "S Shapes");

Materials DB Integration#

Database.getMaterial(query)#

Gets the material properties from the API

let res = await Database.getMaterial(["Metric", "Wood", "Eurocode EN1995-1-1:2004", "Deciduous species", "D30"]);

Section Object in the config.js#

You can also use the "type": "section" in the config.js to automatically load a dropdown of shapes from a section library.

Example#

"shape_value": {
"label": "Shape:",
"type": "section",
"country": "American",
"library": "AISC",
"shape": "W shapes",
"default": "W6x16"
}