@ferscloud/fers-mcp 2.80.0 → 2.83.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/fers-mcp.cjs +142 -12
  2. package/package.json +2 -2
package/dist/fers-mcp.cjs CHANGED
@@ -21940,7 +21940,7 @@ var openapi_default = {
21940
21940
  name: "PolyForm-Strict-1.0.0",
21941
21941
  url: "https://polyformproject.org/licenses/strict/1.0.0"
21942
21942
  },
21943
- version: "0.2.80"
21943
+ version: "0.2.83"
21944
21944
  },
21945
21945
  paths: {},
21946
21946
  components: {
@@ -28864,6 +28864,100 @@ function withSchemaVersionAtLeast(doc, version2) {
28864
28864
  return Number.isFinite(declared) && declared >= version2 ? doc : { ...doc, schema_version: version2 };
28865
28865
  }
28866
28866
 
28867
+ // src/lib/engineEnumAliases.ts
28868
+ var ENGINE_ENUM_ALIASES = {
28869
+ AnalysisOrder: {
28870
+ Linear: "LINEAR",
28871
+ linear: "LINEAR",
28872
+ Nonlinear: "NONLINEAR",
28873
+ nonlinear: "NONLINEAR"
28874
+ },
28875
+ RigidStrategy: {
28876
+ Linear_MPC: "LinearMpc",
28877
+ linear_mpc: "LinearMpc",
28878
+ Rigid_Member: "RigidMember",
28879
+ rigid_member: "RigidMember"
28880
+ },
28881
+ NonlinearMethod: {
28882
+ P_Delta: "P_DELTA",
28883
+ p_delta: "P_DELTA",
28884
+ PDelta: "P_DELTA",
28885
+ pdelta: "P_DELTA",
28886
+ Corotational: "COROTATIONAL",
28887
+ corotational: "COROTATIONAL",
28888
+ COROT: "COROTATIONAL",
28889
+ corot: "COROTATIONAL"
28890
+ },
28891
+ PdeltaFormulation: {
28892
+ Consistent: "CONSISTENT",
28893
+ consistent: "CONSISTENT",
28894
+ Simplified: "SIMPLIFIED",
28895
+ simplified: "SIMPLIFIED",
28896
+ commercial: "SIMPLIFIED"
28897
+ },
28898
+ PdeltaMode: {
28899
+ Full: "FULL",
28900
+ full: "FULL",
28901
+ InPlaneOnly: "IN_PLANE_ONLY",
28902
+ in_plane_only: "IN_PLANE_ONLY",
28903
+ commercial: "IN_PLANE_ONLY"
28904
+ },
28905
+ Dimensionality: { "2d": "2D", "3d": "3D" },
28906
+ MassFormulation: {
28907
+ Consistent: "CONSISTENT",
28908
+ consistent: "CONSISTENT",
28909
+ Lumped: "LUMPED",
28910
+ lumped: "LUMPED"
28911
+ },
28912
+ SeismicMethod: {
28913
+ ModalResponseSpectrum: "MODAL_RESPONSE_SPECTRUM",
28914
+ mrsa: "MODAL_RESPONSE_SPECTRUM",
28915
+ MRSA: "MODAL_RESPONSE_SPECTRUM",
28916
+ LateralForce: "LATERAL_FORCE",
28917
+ lateral_force: "LATERAL_FORCE",
28918
+ Both: "BOTH",
28919
+ both: "BOTH"
28920
+ },
28921
+ SpectrumType: {
28922
+ Type1: "TYPE1",
28923
+ type1: "TYPE1",
28924
+ "1": "TYPE1",
28925
+ Type2: "TYPE2",
28926
+ type2: "TYPE2",
28927
+ "2": "TYPE2"
28928
+ },
28929
+ ModalCombination: { Cqc: "CQC", cqc: "CQC", Srss: "SRSS", srss: "SRSS" },
28930
+ DirectionalCombination: {
28931
+ Srss: "SRSS",
28932
+ srss: "SRSS",
28933
+ Percent30: "PERCENT30",
28934
+ percent_30: "PERCENT30",
28935
+ "100_30": "PERCENT30"
28936
+ },
28937
+ ForceUnit: { n: "N", kn: "kN" },
28938
+ PressureUnit: { pa: "Pa", kpa: "kPa", mpa: "MPa", gpa: "GPa" },
28939
+ SupportConditionType: {
28940
+ StiffnessCurve: "Spring",
28941
+ "Positive-only": "PositiveOnly",
28942
+ "Negative-only": "NegativeOnly"
28943
+ },
28944
+ LoadAxes: {
28945
+ Global: "global",
28946
+ GLOBAL: "global",
28947
+ Local: "local",
28948
+ LOCAL: "local"
28949
+ }
28950
+ };
28951
+ var setKey = (values) => values.map(String).sort().join("\0");
28952
+ function aliasesForAllowedValues(schemas) {
28953
+ const bySet = /* @__PURE__ */ new Map();
28954
+ for (const [name, aliases] of Object.entries(ENGINE_ENUM_ALIASES)) {
28955
+ const values = schemas?.[name]?.enum;
28956
+ if (Array.isArray(values)) bySet.set(setKey(values), aliases);
28957
+ }
28958
+ return (allowed) => bySet.get(setKey(allowed));
28959
+ }
28960
+
28867
28961
  // src/lib/modelValidation.ts
28868
28962
  var ALL_SCHEMAS2 = openapi_default.components?.schemas;
28869
28963
  var MAX_PROBLEMS = 40;
@@ -28914,12 +29008,26 @@ function valueAtPointer(doc, pointer) {
28914
29008
  }
28915
29009
  return cur;
28916
29010
  }
28917
- var normalizeEnum = (v) => typeof v === "string" ? v.toUpperCase().replace(/[_\s-]/g, "") : v;
28918
- function enumErrorIsReal(e, doc) {
29011
+ function setAtPointer(doc, pointer, value) {
29012
+ const segs = pointer.slice(1).split("/").map((s) => s.replace(/~1/g, "/").replace(/~0/g, "~"));
29013
+ const last = segs.pop();
29014
+ const parent = valueAtPointer(
29015
+ doc,
29016
+ segs.length ? `/${segs.join("/")}` : ""
29017
+ );
29018
+ if (last !== void 0 && parent && typeof parent === "object") {
29019
+ parent[last] = value;
29020
+ }
29021
+ }
29022
+ var aliasesFor = aliasesForAllowedValues(ALL_SCHEMAS2);
29023
+ function olderSpelling(e, doc) {
29024
+ if (e.keyword !== "enum") return null;
28919
29025
  const allowed = e.params.allowedValues;
28920
- if (!Array.isArray(allowed)) return true;
28921
- const actual = normalizeEnum(valueAtPointer(doc, e.instancePath));
28922
- return !allowed.some((a) => normalizeEnum(a) === actual);
29026
+ if (!Array.isArray(allowed)) return null;
29027
+ const found = valueAtPointer(doc, e.instancePath);
29028
+ if (typeof found !== "string") return null;
29029
+ const schemaValue = aliasesFor(allowed)?.[found];
29030
+ return schemaValue ? { pointer: e.instancePath, found, schemaValue } : null;
28923
29031
  }
28924
29032
  function idsOf(list) {
28925
29033
  const out = /* @__PURE__ */ new Set();
@@ -29323,9 +29431,27 @@ function validateModelDeep(jsonData) {
29323
29431
  const problems = [];
29324
29432
  const validate = getValidator();
29325
29433
  if (validate && !validate(doc)) {
29326
- for (const e of validate.errors ?? []) {
29434
+ let schemaErrors = [...validate.errors ?? []];
29435
+ const older = /* @__PURE__ */ new Map();
29436
+ for (const e of schemaErrors) {
29437
+ const o = olderSpelling(e, doc);
29438
+ if (o) older.set(o.pointer, o);
29439
+ }
29440
+ if (older.size > 0) {
29441
+ const copy = structuredClone(doc);
29442
+ for (const o of older.values())
29443
+ setAtPointer(copy, o.pointer, o.schemaValue);
29444
+ schemaErrors = validate(copy) ? [] : [...validate.errors ?? []];
29445
+ for (const o of older.values()) {
29446
+ problems.push({
29447
+ path: pointerToPath(o.pointer),
29448
+ message: `"${o.found}" is an older spelling the engine still reads; the schema writes "${o.schemaValue}"`,
29449
+ severity: "warning"
29450
+ });
29451
+ }
29452
+ }
29453
+ for (const e of schemaErrors) {
29327
29454
  if (e.keyword === "anyOf" || e.keyword === "oneOf") continue;
29328
- if (e.keyword === "enum" && !enumErrorIsReal(e, doc)) continue;
29329
29455
  problems.push({
29330
29456
  path: pointerToPath(e.instancePath),
29331
29457
  message: ajvMessage(e),
@@ -84289,10 +84415,10 @@ function summarizePlateResults(args) {
84289
84415
  }
84290
84416
 
84291
84417
  // src/data/templates/201_Simple_Shed.json
84292
- var Simple_Shed_default = { schema_version: 1, settings: { unit_settings: { system: "metric", lengthUnit: "m", forceUnit: "N", densityUnit: "kg/m3", weightUnit: "kg", pressureUnit: "Pa", temperatureUnit: "celsius" }, general_info: { project_name: "201 - Simple Shed (example)", author: "Unknown", version: "1.0" } }, model: { nodes: [{ id: 1, classification: "", X: 0, Y: 0, Z: 0, nodal_support: 1 }, { id: 3, classification: "", X: 0, Y: 3, Z: 0, nodal_support: null }, { id: 2, classification: "", X: 6, Y: 0, Z: 0, nodal_support: 1 }, { id: 5, classification: "", X: 6, Y: 3, Z: 0, nodal_support: null }, { id: 4, classification: "", X: 3, Y: 4.2, Z: 0, nodal_support: null }, { id: 6, classification: "", X: 0, Y: 0, Z: 8, nodal_support: 1 }, { id: 8, classification: "", X: 0, Y: 3, Z: 8, nodal_support: null }, { id: 7, classification: "", X: 6, Y: 0, Z: 8, nodal_support: 1 }, { id: 10, classification: "", X: 6, Y: 3, Z: 8, nodal_support: null }, { id: 9, classification: "", X: 3, Y: 4.2, Z: 8, nodal_support: null }], members: [{ id: 1, start_node_id: 1, end_node_id: 3, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 2, start_node_id: 2, end_node_id: 5, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 3, start_node_id: 3, end_node_id: 4, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 4, start_node_id: 4, end_node_id: 5, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 5, start_node_id: 6, end_node_id: 8, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 6, start_node_id: 7, end_node_id: 10, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 7, start_node_id: 8, end_node_id: 9, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 8, start_node_id: 9, end_node_id: 10, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 9, start_node_id: 3, end_node_id: 8, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 10, start_node_id: 5, end_node_id: 10, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 11, start_node_id: 4, end_node_id: 9, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 12, start_node_id: 1, end_node_id: 6, start_offset: null, end_offset: null, section: 4, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 64.68400000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 13, start_node_id: 2, end_node_id: 7, start_offset: null, end_offset: null, section: 4, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 64.68400000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 14, start_node_id: 1, end_node_id: 8, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 15, start_node_id: 3, end_node_id: 6, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 16, start_node_id: 2, end_node_id: 10, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 17, start_node_id: 5, end_node_id: 7, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 18, start_node_id: 3, end_node_id: 9, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 19, start_node_id: 4, end_node_id: 8, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 20, start_node_id: 4, end_node_id: 10, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 21, start_node_id: 5, end_node_id: 9, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }], member_sets: [{ id: 1, classification: "Frame Z=0", member_ids: [1, 2, 3, 4], buckling_restraints: [] }, { id: 2, classification: "Frame Z=8", member_ids: [5, 6, 7, 8], buckling_restraints: [] }, { id: 3, classification: "Purlins", member_ids: [9, 10, 11], buckling_restraints: [] }, { id: 4, classification: "Base ties", member_ids: [12, 13], buckling_restraints: [] }, { id: 5, classification: "Wall bracing", member_ids: [14, 15, 16, 17], buckling_restraints: [] }, { id: 6, classification: "Roof bracing", member_ids: [18, 19, 20, 21], buckling_restraints: [] }], materials: [{ id: 1, name: "S235", e_mod: 21e10, g_mod: 80769e6, density: 7850, yield_stress: 235e6 }], sections: [{ id: 1, name: "HEA140", material: 1, h: 0.133, b: 0.14, i_y: 3893e-9, i_z: 1033e-8, j: 813e-10, area: 314e-5, shape_path: 1 }, { id: 2, name: "IPE160", material: 1, h: 0.16, b: 0.082, i_y: 683e-9, i_z: 869e-8, j: 36e-9, area: 201e-5, shape_path: 2 }, { id: 3, name: "IPE120", material: 1, h: 0.12, b: 0.064, i_y: 277e-9, i_z: 318e-8, j: 174e-10, area: 132e-5, shape_path: 3 }, { id: 4, name: "IPE100", material: 1, h: 0.1, b: 0.055, i_y: 159e-9, i_z: 171e-8, j: 127e-10, area: 103e-5, shape_path: 4 }, { id: 5, name: "CHS 48.3x3.2", material: 1, h: 0.0483, b: 0.0483, i_y: 116e-9, i_z: 116e-9, j: 232e-9, area: 453e-6, shape_path: 5 }], nodal_supports: [{ id: 1, classification: null, X: { condition_type: "Fixed", stiffness: null }, Y: { condition_type: "Fixed", stiffness: null }, Z: { condition_type: "Fixed", stiffness: null }, RX: { condition_type: "Free", stiffness: null }, RY: { condition_type: "Free", stiffness: null }, RZ: { condition_type: "Free", stiffness: null }, warping_condition: null }], member_hinges: [], shape_paths: [{ id: 1, name: "HEA140", shape_commands: [{ command: "moveTo", y: 0.0665, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0665, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.058, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.058, z: 0.01475, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: 0.046, center_z: 0.01475, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.046, z: 275e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: -0.046, center_z: 0.01475, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.058, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0665, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0665, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.058, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.058, z: -0.01475, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: -0.046, center_z: -0.01475, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.046, z: -275e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: 0.046, center_z: -0.01475, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.058, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 2, name: "IPE160", shape_commands: [{ command: "moveTo", y: 0.08, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.08, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0726, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0726, z: 0.0115, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: 0.0636, center_z: 0.0115, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.0636, z: 25e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: -0.0636, center_z: 0.0115, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.0726, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.08, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.08, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0726, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0726, z: -0.0115, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: -0.0636, center_z: -0.0115, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.0636, z: -25e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: 0.0636, center_z: -0.0115, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.0726, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 3, name: "IPE120", shape_commands: [{ command: "moveTo", y: 0.06, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.06, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0537, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0537, z: 92e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.0467, center_z: 92e-4, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.0467, z: 22e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.0467, center_z: 92e-4, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.0537, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.06, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.06, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0537, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0537, z: -92e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.0467, center_z: -92e-4, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.0467, z: -22e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.0467, center_z: -92e-4, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.0537, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 4, name: "IPE100", shape_commands: [{ command: "moveTo", y: 0.05, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.05, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.044300000000000006, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.044300000000000006, z: 905e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.03730000000000001, center_z: 905e-5, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.03730000000000001, z: 205e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.03730000000000001, center_z: 905e-5, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.044300000000000006, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.05, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.05, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.044300000000000006, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.044300000000000006, z: -905e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.03730000000000001, center_z: -905e-5, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.03730000000000001, z: -205e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.03730000000000001, center_z: -905e-5, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.044300000000000006, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 5, name: "CHS 48.3x3.2", shape_commands: [{ command: "moveTo", y: 0.02415, z: 0, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.02415, center_y: 0, center_z: 0, theta0: 0, theta1: 6.283185307179586 }, { command: "moveTo", y: 0.02095, z: 0, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.02095, center_y: 0, center_z: 0, theta0: 0, theta1: -6.283185307179586 }] }], plate_surfaces: [], plate_elements: [], workspace: { work_axes: [], work_planes: [], entity_groups: [] } }, analysis: { options: { solve_loadcases: true, tolerance: 0.01, max_iterations: 30, dimensionality: "3D", order: "Linear", rigid_strategy: "Rigid_Member", axial_slack: 500, include_shear_deformation: true, include_warping: true, include_shear_center_coupling: true }, load_cases: [{ id: 1, name: "G - Permanent", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 1, member: 3, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 2, member: 4, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 3, member: 7, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 4, member: 8, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 5, member: 9, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 6, member: 10, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 7, member: 11, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 2, name: "S - Snow", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 8, member: 3, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 9, member: 4, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 10, member: 7, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 11, member: 8, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 3, name: "W - Wind", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 12, member: 1, magnitude: 600, end_magnitude: 600, direction: [1, 0, 0], start_frac: 0, end_frac: 1 }, { id: 13, member: 5, magnitude: 600, end_magnitude: 600, direction: [1, 0, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }], load_combinations: [{ id: 1, name: "ULS: 1.35G + 1.5S", load_case_factors: [{ load_case_id: 1, factor: 1.35 }, { load_case_id: 2, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 2, name: "SLS: G + S", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 2, factor: 1 }], situation: "SLS", check: "ALL", limit_state: "SLS" }], imperfection_cases: [], modal: { num_modes: 3 }, buckling: { num_modes: 3, reference: { LoadCombination: 1 } }, unity_checks: [{ id: "ec3_bending_stress", name: "EN 1993-1-1 elastic bending stress", description: "Elastic bending stress \u03C3_Ed = M_Ed\xB7(h/2)/I_y checked against the yield strength f_y (EN 1993-1-1 \xA76.2.1(5)).", applies_to: { type: "AllMembers" }, limit_state: null, thresholds: [0.8, 0.95, 1], spec: { Generic: { demand: "M_Ed * c / I_y", capacity: "f_y", variables: [{ name: "M_Ed", source: { Quantity: { MemberForce: { component: "My" } } } }, { name: "I_y", source: { Quantity: { Section: { property: "Iy" } } } }, { name: "H", source: { Quantity: { Section: { property: "H" } } } }, { name: "c", source: { Expression: "H / 2" } }, { name: "f_y", source: { Quantity: { Material: { property: "Fy" } } } }] } }, report_template: "<h3>EN 1993-1-1 &sect;6.2.1(5) &mdash; elastic bending stress</h3><p>Major-axis bending moment M_Ed = {{M_Ed}}. For a section of depth h = {{H}} (extreme-fibre distance c = h/2 = {{c}}) and second moment of area I_y = {{I_y}}, the elastic bending stress is</p><p>&sigma;<sub>Ed</sub> = M_Ed &middot; c / I_y = {{= M_Ed * c / I_y}} Pa.</p><p>With yield strength f_y = {{f_y}}, the utilisation is &sigma;<sub>Ed</sub> / f_y = {{= M_Ed * c / I_y / f_y}}.</p>" }] } };
84418
+ var Simple_Shed_default = { schema_version: 1, settings: { unit_settings: { system: "metric", lengthUnit: "m", forceUnit: "N", densityUnit: "kg/m3", weightUnit: "kg", pressureUnit: "Pa", temperatureUnit: "celsius" }, general_info: { project_name: "201 - Simple Shed (example)", author: "Unknown", version: "1.0" } }, model: { nodes: [{ id: 1, classification: "", X: 0, Y: 0, Z: 0, nodal_support: 1 }, { id: 3, classification: "", X: 0, Y: 3, Z: 0, nodal_support: null }, { id: 2, classification: "", X: 6, Y: 0, Z: 0, nodal_support: 1 }, { id: 5, classification: "", X: 6, Y: 3, Z: 0, nodal_support: null }, { id: 4, classification: "", X: 3, Y: 4.2, Z: 0, nodal_support: null }, { id: 6, classification: "", X: 0, Y: 0, Z: 8, nodal_support: 1 }, { id: 8, classification: "", X: 0, Y: 3, Z: 8, nodal_support: null }, { id: 7, classification: "", X: 6, Y: 0, Z: 8, nodal_support: 1 }, { id: 10, classification: "", X: 6, Y: 3, Z: 8, nodal_support: null }, { id: 9, classification: "", X: 3, Y: 4.2, Z: 8, nodal_support: null }], members: [{ id: 1, start_node_id: 1, end_node_id: 3, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 2, start_node_id: 2, end_node_id: 5, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 3, start_node_id: 3, end_node_id: 4, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 4, start_node_id: 4, end_node_id: 5, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 5, start_node_id: 6, end_node_id: 8, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 6, start_node_id: 7, end_node_id: 10, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 73.947, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 7, start_node_id: 8, end_node_id: 9, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 8, start_node_id: 9, end_node_id: 10, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 50.98189374562307, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 9, start_node_id: 3, end_node_id: 8, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 10, start_node_id: 5, end_node_id: 10, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 11, start_node_id: 4, end_node_id: 9, start_offset: null, end_offset: null, section: 3, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 82.896, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 12, start_node_id: 1, end_node_id: 6, start_offset: null, end_offset: null, section: 4, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 64.68400000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 13, start_node_id: 2, end_node_id: 7, start_offset: null, end_offset: null, section: 4, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 64.68400000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 14, start_node_id: 1, end_node_id: 8, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 15, start_node_id: 3, end_node_id: 6, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 16, start_node_id: 2, end_node_id: 10, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 17, start_node_id: 5, end_node_id: 7, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.382904518536403, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 18, start_node_id: 3, end_node_id: 9, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 19, start_node_id: 4, end_node_id: 8, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 20, start_node_id: 4, end_node_id: 10, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 21, start_node_id: 5, end_node_id: 9, start_offset: null, end_offset: null, section: 5, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 30.68110811053114, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }], member_sets: [{ id: 1, classification: "Frame Z=0", member_ids: [1, 2, 3, 4], buckling_restraints: [] }, { id: 2, classification: "Frame Z=8", member_ids: [5, 6, 7, 8], buckling_restraints: [] }, { id: 3, classification: "Purlins", member_ids: [9, 10, 11], buckling_restraints: [] }, { id: 4, classification: "Base ties", member_ids: [12, 13], buckling_restraints: [] }, { id: 5, classification: "Wall bracing", member_ids: [14, 15, 16, 17], buckling_restraints: [] }, { id: 6, classification: "Roof bracing", member_ids: [18, 19, 20, 21], buckling_restraints: [] }], materials: [{ id: 1, name: "S235", e_mod: 21e10, g_mod: 80769e6, density: 7850, yield_stress: 235e6 }], sections: [{ id: 1, name: "HEA140", material: 1, h: 0.133, b: 0.14, i_y: 3893e-9, i_z: 1033e-8, j: 813e-10, area: 314e-5, shape_path: 1 }, { id: 2, name: "IPE160", material: 1, h: 0.16, b: 0.082, i_y: 683e-9, i_z: 869e-8, j: 36e-9, area: 201e-5, shape_path: 2 }, { id: 3, name: "IPE120", material: 1, h: 0.12, b: 0.064, i_y: 277e-9, i_z: 318e-8, j: 174e-10, area: 132e-5, shape_path: 3 }, { id: 4, name: "IPE100", material: 1, h: 0.1, b: 0.055, i_y: 159e-9, i_z: 171e-8, j: 127e-10, area: 103e-5, shape_path: 4 }, { id: 5, name: "CHS 48.3x3.2", material: 1, h: 0.0483, b: 0.0483, i_y: 116e-9, i_z: 116e-9, j: 232e-9, area: 453e-6, shape_path: 5 }], nodal_supports: [{ id: 1, classification: null, X: { condition_type: "Fixed", stiffness: null }, Y: { condition_type: "Fixed", stiffness: null }, Z: { condition_type: "Fixed", stiffness: null }, RX: { condition_type: "Free", stiffness: null }, RY: { condition_type: "Free", stiffness: null }, RZ: { condition_type: "Free", stiffness: null }, warping_condition: null }], member_hinges: [], shape_paths: [{ id: 1, name: "HEA140", shape_commands: [{ command: "moveTo", y: 0.0665, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0665, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.058, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.058, z: 0.01475, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: 0.046, center_z: 0.01475, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.046, z: 275e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: -0.046, center_z: 0.01475, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.058, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0665, z: 0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0665, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.058, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.058, z: -0.01475, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: -0.046, center_z: -0.01475, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.046, z: -275e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.012, center_y: 0.046, center_z: -0.01475, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.058, z: -0.07, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 2, name: "IPE160", shape_commands: [{ command: "moveTo", y: 0.08, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.08, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0726, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0726, z: 0.0115, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: 0.0636, center_z: 0.0115, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.0636, z: 25e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: -0.0636, center_z: 0.0115, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.0726, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.08, z: 0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.08, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0726, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0726, z: -0.0115, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: -0.0636, center_z: -0.0115, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.0636, z: -25e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 9e-3, center_y: 0.0636, center_z: -0.0115, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.0726, z: -0.041, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 3, name: "IPE120", shape_commands: [{ command: "moveTo", y: 0.06, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.06, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0537, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.0537, z: 92e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.0467, center_z: 92e-4, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.0467, z: 22e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.0467, center_z: 92e-4, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.0537, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.06, z: 0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.06, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0537, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.0537, z: -92e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.0467, center_z: -92e-4, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.0467, z: -22e-4, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.0467, center_z: -92e-4, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.0537, z: -0.032, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 4, name: "IPE100", shape_commands: [{ command: "moveTo", y: 0.05, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.05, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.044300000000000006, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.044300000000000006, z: 905e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.03730000000000001, center_z: 905e-5, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.03730000000000001, z: 205e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.03730000000000001, center_z: 905e-5, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.044300000000000006, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.05, z: 0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.05, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.044300000000000006, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: -0.044300000000000006, z: -905e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: -0.03730000000000001, center_z: -905e-5, theta0: 3.141592653589793, theta1: 1.5707963267948966 }, { command: "lineTo", y: 0.03730000000000001, z: -205e-5, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 7e-3, center_y: 0.03730000000000001, center_z: -905e-5, theta0: 1.5707963267948966, theta1: 0 }, { command: "lineTo", y: 0.044300000000000006, z: -0.0275, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 5, name: "CHS 48.3x3.2", shape_commands: [{ command: "moveTo", y: 0.02415, z: 0, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.02415, center_y: 0, center_z: 0, theta0: 0, theta1: 6.283185307179586 }, { command: "moveTo", y: 0.02095, z: 0, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 0.02095, center_y: 0, center_z: 0, theta0: 0, theta1: -6.283185307179586 }] }], plate_surfaces: [], plate_elements: [], workspace: { work_axes: [], work_planes: [], entity_groups: [] } }, analysis: { options: { solve_loadcases: true, tolerance: 0.01, max_iterations: 30, dimensionality: "3D", order: "LINEAR", rigid_strategy: "RigidMember", axial_slack: 500, include_shear_deformation: true, include_warping: true, include_shear_center_coupling: true }, load_cases: [{ id: 1, name: "G - Permanent", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 1, member: 3, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 2, member: 4, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 3, member: 7, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 4, member: 8, magnitude: 155, end_magnitude: 155, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 5, member: 9, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 6, member: 10, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 7, member: 11, magnitude: 102, end_magnitude: 102, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 2, name: "S - Snow", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 8, member: 3, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 9, member: 4, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 10, member: 7, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 11, member: 8, magnitude: 1680, end_magnitude: 1680, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 3, name: "W - Wind", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 12, member: 1, magnitude: 600, end_magnitude: 600, direction: [1, 0, 0], start_frac: 0, end_frac: 1 }, { id: 13, member: 5, magnitude: 600, end_magnitude: 600, direction: [1, 0, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }], load_combinations: [{ id: 1, name: "ULS: 1.35G + 1.5S", load_case_factors: [{ load_case_id: 1, factor: 1.35 }, { load_case_id: 2, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 2, name: "SLS: G + S", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 2, factor: 1 }], situation: "SLS", check: "ALL", limit_state: "SLS" }], imperfection_cases: [], modal: { num_modes: 3 }, buckling: { num_modes: 3, reference: { LoadCombination: 1 } }, unity_checks: [{ id: "ec3_bending_stress", name: "EN 1993-1-1 elastic bending stress", description: "Elastic bending stress \u03C3_Ed = M_Ed\xB7(h/2)/I_y checked against the yield strength f_y (EN 1993-1-1 \xA76.2.1(5)).", applies_to: { type: "AllMembers" }, limit_state: null, thresholds: [0.8, 0.95, 1], spec: { Generic: { demand: "M_Ed * c / I_y", capacity: "f_y", variables: [{ name: "M_Ed", source: { Quantity: { MemberForce: { component: "My" } } } }, { name: "I_y", source: { Quantity: { Section: { property: "Iy" } } } }, { name: "H", source: { Quantity: { Section: { property: "H" } } } }, { name: "c", source: { Expression: "H / 2" } }, { name: "f_y", source: { Quantity: { Material: { property: "Fy" } } } }] } }, report_template: "<h3>EN 1993-1-1 &sect;6.2.1(5) &mdash; elastic bending stress</h3><p>Major-axis bending moment M_Ed = {{M_Ed}}. For a section of depth h = {{H}} (extreme-fibre distance c = h/2 = {{c}}) and second moment of area I_y = {{I_y}}, the elastic bending stress is</p><p>&sigma;<sub>Ed</sub> = M_Ed &middot; c / I_y = {{= M_Ed * c / I_y}} Pa.</p><p>With yield strength f_y = {{f_y}}, the utilisation is &sigma;<sub>Ed</sub> / f_y = {{= M_Ed * c / I_y / f_y}}.</p>" }] } };
84293
84419
 
84294
84420
  // src/data/templates/202_Solar_Rail.json
84295
- var Solar_Rail_default = { schema_version: 1, settings: { unit_settings: { system: "metric", lengthUnit: "m", forceUnit: "N", densityUnit: "kg/m3", weightUnit: "kg", pressureUnit: "Pa", temperatureUnit: "celsius" }, general_info: { project_name: "202 - Solar Rail (example)", author: "Unknown", version: "1.0" } }, model: { nodes: [{ id: 1, classification: "", X: 0, Y: 0, Z: 0, nodal_support: 1 }, { id: 10, classification: "", X: 0, Y: 0.15, Z: 0, nodal_support: null }, { id: 2, classification: "", X: 1.1, Y: 0, Z: 0, nodal_support: 1 }, { id: 11, classification: "", X: 1.1, Y: 0.15, Z: 0, nodal_support: null }, { id: 3, classification: "", X: 2.2, Y: 0, Z: 0, nodal_support: 1 }, { id: 12, classification: "", X: 2.2, Y: 0.15, Z: 0, nodal_support: null }, { id: 4, classification: "", X: 0, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 13, classification: "", X: 0, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 5, classification: "", X: 1.1, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 14, classification: "", X: 1.1, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 6, classification: "", X: 2.2, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 15, classification: "", X: 2.2, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 7, classification: "", X: 0, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 16, classification: "", X: 0, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }, { id: 8, classification: "", X: 1.1, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 17, classification: "", X: 1.1, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }, { id: 9, classification: "", X: 2.2, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 18, classification: "", X: 2.2, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }], members: [{ id: 1, start_node_id: 1, end_node_id: 10, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 2, start_node_id: 2, end_node_id: 11, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 3, start_node_id: 3, end_node_id: 12, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 4, start_node_id: 4, end_node_id: 13, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 5, start_node_id: 5, end_node_id: 14, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 6, start_node_id: 6, end_node_id: 15, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 7, start_node_id: 7, end_node_id: 16, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 8, start_node_id: 8, end_node_id: 17, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 9, start_node_id: 9, end_node_id: 18, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 10, start_node_id: 10, end_node_id: 13, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 11, start_node_id: 13, end_node_id: 16, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 12, start_node_id: 11, end_node_id: 14, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 13, start_node_id: 14, end_node_id: 17, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 14, start_node_id: 12, end_node_id: 15, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 15, start_node_id: 15, end_node_id: 18, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 16, start_node_id: 10, end_node_id: 11, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 17, start_node_id: 11, end_node_id: 12, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 18, start_node_id: 13, end_node_id: 14, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 19, start_node_id: 14, end_node_id: 15, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 20, start_node_id: 16, end_node_id: 17, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 21, start_node_id: 17, end_node_id: 18, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }], member_sets: [{ id: 1, classification: "Support legs", member_ids: [1, 2, 3, 4, 5, 6, 7, 8, 9], buckling_restraints: [] }, { id: 2, classification: "Longitudinal rails", member_ids: [10, 11, 12, 13, 14, 15], buckling_restraints: [] }, { id: 3, classification: "Cross-rails", member_ids: [16, 17, 18, 19, 20, 21], buckling_restraints: [] }], materials: [{ id: 1, name: "EN AW-6005A T6", e_mod: 7e10, g_mod: 26e9, density: 2700, yield_stress: 215e6 }], sections: [{ id: 2, name: "SHS 40x40x2", material: 1, h: 0.04, b: 0.04, i_y: 733653333333333e-22, i_z: 733653333333333e-22, j: 109744e-12, area: 304e-6, shape_path: 2 }, { id: 1, name: "RHS 60x40x2", material: 1, h: 0.06, b: 0.04, i_y: 10227199999999999e-23, i_z: 19315199999999998e-23, j: 20240066666666664e-23, area: 384e-6, shape_path: 1 }], nodal_supports: [{ id: 1, classification: null, X: { condition_type: "Fixed", stiffness: null }, Y: { condition_type: "Fixed", stiffness: null }, Z: { condition_type: "Fixed", stiffness: null }, RX: { condition_type: "Free", stiffness: null }, RY: { condition_type: "Free", stiffness: null }, RZ: { condition_type: "Free", stiffness: null }, warping_condition: null }], member_hinges: [], shape_paths: [{ id: 2, name: "SHS 40x40x2", shape_commands: [{ command: "moveTo", y: 0.02, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.02, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.016, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.016, z: 0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.016, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.02, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.016, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.016, z: -0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.016, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "moveTo", y: 0.018000000000000002, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.018000000000000002, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.016, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.016, z: 0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.016, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.018000000000000002, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.016, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.016, z: -0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.016, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 1, name: "RHS 60x40x2", shape_commands: [{ command: "moveTo", y: 0.03, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.03, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.026, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.026, z: 0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.026, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.03, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.026, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.026, z: -0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.026, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "moveTo", y: 0.027999999999999997, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.027999999999999997, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.025999999999999995, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.025999999999999995, z: 0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.025999999999999995, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.027999999999999997, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.025999999999999995, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.025999999999999995, z: -0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.025999999999999995, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }], plate_surfaces: [], plate_elements: [], workspace: { work_axes: [], work_planes: [], entity_groups: [] } }, analysis: { options: { solve_loadcases: true, tolerance: 0.01, max_iterations: 30, dimensionality: "3D", order: "Linear", rigid_strategy: "Rigid_Member", axial_slack: 500, include_shear_deformation: true, include_warping: true, include_shear_center_coupling: true }, load_cases: [{ id: 1, name: "G - Permanent", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 1, member: 10, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 2, member: 11, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 3, member: 14, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 4, member: 15, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 5, member: 12, magnitude: 114, end_magnitude: 114, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 6, member: 13, magnitude: 114, end_magnitude: 114, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 2, name: "S - Snow", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 7, member: 10, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 8, member: 11, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 9, member: 14, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 10, member: 15, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 11, member: 12, magnitude: 595, end_magnitude: 595, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 12, member: 13, magnitude: 595, end_magnitude: 595, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 3, name: "Wu - Wind Uplift", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 13, member: 10, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 14, member: 11, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 15, member: 14, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 16, member: 15, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 17, member: 12, magnitude: 1700, end_magnitude: 1700, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 18, member: 13, magnitude: 1700, end_magnitude: 1700, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }], load_combinations: [{ id: 1, name: "ULS: 1.35G + 1.5S", load_case_factors: [{ load_case_id: 1, factor: 1.35 }, { load_case_id: 2, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 2, name: "ULS: 1.0G + 1.5Wu", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 3, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 3, name: "SLS: G + S", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 2, factor: 1 }], situation: "SLS", check: "ALL", limit_state: "SLS" }], imperfection_cases: [], modal: { num_modes: 3 }, buckling: { num_modes: 3, reference: { LoadCombination: 1 } }, unity_checks: [{ id: "ec9_bending_stress", name: "EN 1999-1-1 elastic bending stress", description: "Elastic bending stress \u03C3_Ed = M_Ed\xB7(h/2)/I_y checked against the 0.2% proof strength f_o (EN 1999-1-1 \xA76.2.5).", applies_to: { type: "AllMembers" }, limit_state: null, thresholds: [0.8, 0.95, 1], spec: { Generic: { demand: "M_Ed * c / I_y", capacity: "f_o", variables: [{ name: "M_Ed", source: { Quantity: { MemberForce: { component: "My" } } } }, { name: "I_y", source: { Quantity: { Section: { property: "Iy" } } } }, { name: "H", source: { Quantity: { Section: { property: "H" } } } }, { name: "c", source: { Expression: "H / 2" } }, { name: "f_o", source: { Quantity: { Material: { property: "Fy" } } } }] } }, report_template: "<h3>EN 1999-1-1 &sect;6.2.5 &mdash; elastic bending stress</h3><p>Major-axis bending moment M_Ed = {{M_Ed}}. For a section of depth h = {{H}} (extreme-fibre distance c = h/2 = {{c}}) and second moment of area I_y = {{I_y}}, the elastic bending stress is</p><p>&sigma;<sub>Ed</sub> = M_Ed &middot; c / I_y = {{= M_Ed * c / I_y}} Pa.</p><p>With 0.2% proof strength f_o = {{f_o}}, the utilisation is &sigma;<sub>Ed</sub> / f_o = {{= M_Ed * c / I_y / f_o}}.</p>" }] } };
84421
+ var Solar_Rail_default = { schema_version: 1, settings: { unit_settings: { system: "metric", lengthUnit: "m", forceUnit: "N", densityUnit: "kg/m3", weightUnit: "kg", pressureUnit: "Pa", temperatureUnit: "celsius" }, general_info: { project_name: "202 - Solar Rail (example)", author: "Unknown", version: "1.0" } }, model: { nodes: [{ id: 1, classification: "", X: 0, Y: 0, Z: 0, nodal_support: 1 }, { id: 10, classification: "", X: 0, Y: 0.15, Z: 0, nodal_support: null }, { id: 2, classification: "", X: 1.1, Y: 0, Z: 0, nodal_support: 1 }, { id: 11, classification: "", X: 1.1, Y: 0.15, Z: 0, nodal_support: null }, { id: 3, classification: "", X: 2.2, Y: 0, Z: 0, nodal_support: 1 }, { id: 12, classification: "", X: 2.2, Y: 0.15, Z: 0, nodal_support: null }, { id: 4, classification: "", X: 0, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 13, classification: "", X: 0, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 5, classification: "", X: 1.1, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 14, classification: "", X: 1.1, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 6, classification: "", X: 2.2, Y: 0, Z: 1.75, nodal_support: 1 }, { id: 15, classification: "", X: 2.2, Y: 0.6189110867544647, Z: 1.75, nodal_support: null }, { id: 7, classification: "", X: 0, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 16, classification: "", X: 0, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }, { id: 8, classification: "", X: 1.1, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 17, classification: "", X: 1.1, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }, { id: 9, classification: "", X: 2.2, Y: 0, Z: 3.5, nodal_support: 1 }, { id: 18, classification: "", X: 2.2, Y: 1.0878221735089293, Z: 3.5, nodal_support: null }], members: [{ id: 1, start_node_id: 1, end_node_id: 10, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 2, start_node_id: 2, end_node_id: 11, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 3, start_node_id: 3, end_node_id: 12, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.12312000000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 4, start_node_id: 4, end_node_id: 13, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 5, start_node_id: 5, end_node_id: 14, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 6, start_node_id: 6, end_node_id: 15, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.5080022200080647, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 7, start_node_id: 7, end_node_id: 16, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 8, start_node_id: 8, end_node_id: 17, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 9, start_node_id: 9, end_node_id: 18, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.8928844400161292, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 10, start_node_id: 10, end_node_id: 13, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 11, start_node_id: 13, end_node_id: 16, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 12, start_node_id: 11, end_node_id: 14, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 13, start_node_id: 14, end_node_id: 17, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 14, start_node_id: 12, end_node_id: 15, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 15, start_node_id: 15, end_node_id: 18, start_offset: null, end_offset: null, section: 1, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 1.8784051017360546, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 16, start_node_id: 10, end_node_id: 11, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 17, start_node_id: 11, end_node_id: 12, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 18, start_node_id: 13, end_node_id: 14, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 19, start_node_id: 14, end_node_id: 15, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 20, start_node_id: 16, end_node_id: 17, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }, { id: 21, start_node_id: 17, end_node_id: 18, start_offset: null, end_offset: null, section: 2, rotation_angle: 0, mirror: false, start_hinge: null, end_hinge: null, classification: "", weight: 0.9028800000000001, chi: null, reference_member: null, reference_node: null, member_type: "Normal", pretension: null, unstretched_length: null }], member_sets: [{ id: 1, classification: "Support legs", member_ids: [1, 2, 3, 4, 5, 6, 7, 8, 9], buckling_restraints: [] }, { id: 2, classification: "Longitudinal rails", member_ids: [10, 11, 12, 13, 14, 15], buckling_restraints: [] }, { id: 3, classification: "Cross-rails", member_ids: [16, 17, 18, 19, 20, 21], buckling_restraints: [] }], materials: [{ id: 1, name: "EN AW-6005A T6", e_mod: 7e10, g_mod: 26e9, density: 2700, yield_stress: 215e6 }], sections: [{ id: 2, name: "SHS 40x40x2", material: 1, h: 0.04, b: 0.04, i_y: 733653333333333e-22, i_z: 733653333333333e-22, j: 109744e-12, area: 304e-6, shape_path: 2 }, { id: 1, name: "RHS 60x40x2", material: 1, h: 0.06, b: 0.04, i_y: 10227199999999999e-23, i_z: 19315199999999998e-23, j: 20240066666666664e-23, area: 384e-6, shape_path: 1 }], nodal_supports: [{ id: 1, classification: null, X: { condition_type: "Fixed", stiffness: null }, Y: { condition_type: "Fixed", stiffness: null }, Z: { condition_type: "Fixed", stiffness: null }, RX: { condition_type: "Free", stiffness: null }, RY: { condition_type: "Free", stiffness: null }, RZ: { condition_type: "Free", stiffness: null }, warping_condition: null }], member_hinges: [], shape_paths: [{ id: 2, name: "SHS 40x40x2", shape_commands: [{ command: "moveTo", y: 0.02, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.02, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.016, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.016, z: 0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.016, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.02, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.016, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.016, z: -0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.016, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "moveTo", y: 0.018000000000000002, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.018000000000000002, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.016, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.016, z: 0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.016, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.018000000000000002, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.016, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.016, z: -0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.016, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }, { id: 1, name: "RHS 60x40x2", shape_commands: [{ command: "moveTo", y: 0.03, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.03, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.026, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.026, z: 0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.026, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.03, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: -0.026, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.026, z: -0.02, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 4e-3, center_y: 0.026, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "moveTo", y: 0.027999999999999997, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "lineTo", y: 0.027999999999999997, z: 0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.025999999999999995, center_z: 0.016, theta0: 0, theta1: -1.5707963267948966 }, { command: "lineTo", y: -0.025999999999999995, z: 0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.025999999999999995, center_z: 0.016, theta0: -1.5707963267948966, theta1: -3.141592653589793 }, { command: "lineTo", y: -0.027999999999999997, z: -0.016, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: -0.025999999999999995, center_z: -0.016, theta0: -3.141592653589793, theta1: -4.71238898038469 }, { command: "lineTo", y: 0.025999999999999995, z: -0.018000000000000002, r: null, center_y: null, center_z: null, theta0: null, theta1: null }, { command: "arcTo", y: null, z: null, r: 2e-3, center_y: 0.025999999999999995, center_z: -0.016, theta0: -4.71238898038469, theta1: -6.283185307179586 }, { command: "closePath", y: null, z: null, r: null, center_y: null, center_z: null, theta0: null, theta1: null }] }], plate_surfaces: [], plate_elements: [], workspace: { work_axes: [], work_planes: [], entity_groups: [] } }, analysis: { options: { solve_loadcases: true, tolerance: 0.01, max_iterations: 30, dimensionality: "3D", order: "LINEAR", rigid_strategy: "RigidMember", axial_slack: 500, include_shear_deformation: true, include_warping: true, include_shear_center_coupling: true }, load_cases: [{ id: 1, name: "G - Permanent", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 1, member: 10, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 2, member: 11, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 3, member: 14, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 4, member: 15, magnitude: 57, end_magnitude: 57, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 5, member: 12, magnitude: 114, end_magnitude: 114, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 6, member: 13, magnitude: 114, end_magnitude: 114, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 2, name: "S - Snow", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 7, member: 10, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 8, member: 11, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 9, member: 14, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 10, member: 15, magnitude: 298, end_magnitude: 298, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 11, member: 12, magnitude: 595, end_magnitude: 595, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }, { id: 12, member: 13, magnitude: 595, end_magnitude: 595, direction: [0, -1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }, { id: 3, name: "Wu - Wind Uplift", nodal_loads: [], nodal_moments: [], distributed_loads: [{ id: 13, member: 10, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 14, member: 11, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 15, member: 14, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 16, member: 15, magnitude: 850, end_magnitude: 850, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 17, member: 12, magnitude: 1700, end_magnitude: 1700, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }, { id: 18, member: 13, magnitude: 1700, end_magnitude: 1700, direction: [0, 1, 0], start_frac: 0, end_frac: 1 }], surface_loads: [], member_point_loads: [], member_point_moments: [], plate_pressures: [] }], load_combinations: [{ id: 1, name: "ULS: 1.35G + 1.5S", load_case_factors: [{ load_case_id: 1, factor: 1.35 }, { load_case_id: 2, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 2, name: "ULS: 1.0G + 1.5Wu", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 3, factor: 1.5 }], situation: "ULS", check: "ALL", limit_state: "ULS" }, { id: 3, name: "SLS: G + S", load_case_factors: [{ load_case_id: 1, factor: 1 }, { load_case_id: 2, factor: 1 }], situation: "SLS", check: "ALL", limit_state: "SLS" }], imperfection_cases: [], modal: { num_modes: 3 }, buckling: { num_modes: 3, reference: { LoadCombination: 1 } }, unity_checks: [{ id: "ec9_bending_stress", name: "EN 1999-1-1 elastic bending stress", description: "Elastic bending stress \u03C3_Ed = M_Ed\xB7(h/2)/I_y checked against the 0.2% proof strength f_o (EN 1999-1-1 \xA76.2.5).", applies_to: { type: "AllMembers" }, limit_state: null, thresholds: [0.8, 0.95, 1], spec: { Generic: { demand: "M_Ed * c / I_y", capacity: "f_o", variables: [{ name: "M_Ed", source: { Quantity: { MemberForce: { component: "My" } } } }, { name: "I_y", source: { Quantity: { Section: { property: "Iy" } } } }, { name: "H", source: { Quantity: { Section: { property: "H" } } } }, { name: "c", source: { Expression: "H / 2" } }, { name: "f_o", source: { Quantity: { Material: { property: "Fy" } } } }] } }, report_template: "<h3>EN 1999-1-1 &sect;6.2.5 &mdash; elastic bending stress</h3><p>Major-axis bending moment M_Ed = {{M_Ed}}. For a section of depth h = {{H}} (extreme-fibre distance c = h/2 = {{c}}) and second moment of area I_y = {{I_y}}, the elastic bending stress is</p><p>&sigma;<sub>Ed</sub> = M_Ed &middot; c / I_y = {{= M_Ed * c / I_y}} Pa.</p><p>With 0.2% proof strength f_o = {{f_o}}, the utilisation is &sigma;<sub>Ed</sub> / f_o = {{= M_Ed * c / I_y / f_o}}.</p>" }] } };
84296
84422
 
84297
84423
  // src/lib/mcp-core/templates.ts
84298
84424
  var TEMPLATES = [
@@ -84372,7 +84498,7 @@ function solveInBrowserPayload(a) {
84372
84498
  }
84373
84499
 
84374
84500
  // src/lib/mcp-core/server.ts
84375
- var SERVER_VERSION = "2.80.0";
84501
+ var SERVER_VERSION = "2.83.0";
84376
84502
  function tooLarge(model) {
84377
84503
  return typeof model !== "string" || model.length > MODEL_JSON_MAX_BYTES;
84378
84504
  }
@@ -84647,7 +84773,11 @@ function createFersMcpServer(ctx, deps) {
84647
84773
  const defineTool = (name, description, ...rest) => {
84648
84774
  const meta = TOOL_META[name];
84649
84775
  if (!meta) throw new Error(`TOOL_META has no entry for tool "${name}".`);
84650
- const cb = rest[rest.length - 1];
84776
+ const handler = rest[rest.length - 1];
84777
+ const cb = deps.onToolCall ? (...args) => {
84778
+ deps.onToolCall?.(name);
84779
+ return handler(...args);
84780
+ } : handler;
84651
84781
  const inputSchema = rest.length > 1 ? rest[0] : void 0;
84652
84782
  s.registerTool(
84653
84783
  name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferscloud/fers-mcp",
3
- "version": "2.80.0",
3
+ "version": "2.83.0",
4
4
  "description": "FERS structural finite-element tools for MCP clients (Claude Desktop, Claude Code, Cursor, VS Code, Codex, ChatGPT desktop), solving on your own machine.",
5
5
  "mcpName": "com.ferscloud/fers",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -30,6 +30,6 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "dependencies": {
33
- "@ferscloud/fers-calculation": "0.2.80"
33
+ "@ferscloud/fers-calculation": "0.2.83"
34
34
  }
35
35
  }