Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fa0e5c4
Merge pull request #5 from APonugoti1/akhila
Xarthisius Mar 14, 2025
7beb811
Fix templates
Xarthisius Mar 14, 2025
53ba563
Merge pull request #6 from APonugoti1/akhila
Xarthisius Mar 31, 2025
6074940
Add an automatic IGSN creation
Xarthisius Apr 3, 2025
ea32f3a
Add js helpers
Xarthisius Apr 11, 2025
e2c1ca8
port to new IGSN structure
Xarthisius May 7, 2025
0955299
fix typo in the name
Xarthisius May 7, 2025
f2ceaa6
Fix and show igsn meta
Xarthisius May 7, 2025
ec6e6aa
Merge pull request #8 from imqcam/igsn_integration
Xarthisius May 7, 2025
f782d7b
Enable file upload for printer builds
Xarthisius Jun 16, 2025
60c257a
Merge pull request #10 from APonugoti1/akhila
Xarthisius Aug 5, 2025
cf2abe2
Add missing split function
Xarthisius Aug 5, 2025
ef3de9d
Add Nickel Alloy 718 to raw powder
Xarthisius Aug 15, 2025
74f02f4
Convert raw powder to array
Xarthisius Aug 26, 2025
59aa1cf
Rename buildFile and reportFile
Xarthisius Aug 26, 2025
079058d
IN718 -> alloy718
Xarthisius Aug 26, 2025
af47b40
Make powder characteristics optional
Xarthisius Aug 27, 2025
5fcafaf
Merge pull request #12 from imqcam/katie_updates
Xarthisius Aug 27, 2025
798e2e8
Fix required props
Xarthisius Aug 27, 2025
4fc1185
apply formatting to raw_powder_schema.json
Xarthisius Aug 28, 2025
ffb7e37
Allow to view/download files uploaded via form
Xarthisius Aug 28, 2025
dd41ef5
Merge pull request #14 from imqcam/file_links
Xarthisius Aug 28, 2025
5bede3c
Added Form for Factrography Test data (#15)
APonugoti1 Oct 10, 2025
73495c8
Testing by adding ASTM Standard ID for common data model
APonugoti1 Nov 26, 2025
7e91a0f
Merge remote-tracking branch 'origin/main' into akhila
APonugoti1 Dec 3, 2025
46c0b38
Deleted test .js and .json files
APonugoti1 Dec 3, 2025
d62ec81
Added ASTM ID's for some of the fields
APonugoti1 Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions archival_uli_build_simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ window.JSONEditor.defaults.callbacks.autocomplete = {
}
}
};

Handlebars.registerHelper('split', function (string, separator, index) {
try {
return string.split(separator)[index].trim();
} catch (e) {
return '';
}
});
5 changes: 4 additions & 1 deletion archival_uli_build_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"buildId": {
"type": "string",
"title": "Build ID",
"description": "Unique identifier for the build",
"description": "BLD-1: Unique identifier for the build",
"readOnly": true,
"format": "text",
"propertyOrder": 1,
Expand Down Expand Up @@ -65,16 +65,19 @@
},
"scanPower": {
"type": "number",
"description": "PRC-3-2-3",
"title": "Scan Power (W)",
"propertyOrder": 4
},
"scanVelocity": {
"type": "number",
"description": " PRC-3-2-9",
"title": "Scan velocity (mm/s)",
"propertyOrder": 5
},
"hatchSpacing": {
"type": "number",
"description": "PRC-3-2-6",
"title": "Hatch Spacing (mm)",
"propertyOrder": 6
}
Expand Down
18 changes: 18 additions & 0 deletions ct_data_schema.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Handlebars.registerHelper('firstChar', function (str) {
if (typeof str !== 'string' || str.length === 0) {
return ''; // Return an empty string if the input is invalid
}
return str.charAt(0); // Return the first character of the string
});

Handlebars.registerHelper('charToOrd', function (char) {
if (typeof char !== 'string' || char.length === 0) {
return ''; // Return an empty string if the input is invalid
}
const capitalChar = char.toUpperCase(); // Ensure the character is uppercase
const asciiCode = capitalChar.charCodeAt(0); // Get the ASCII code
if (asciiCode >= 65 && asciiCode <= 90) { // Check if it's a capital letter (A-Z)
return asciiCode - 64; // Return the position in the alphabet (A=1, B=2, ..., Z=26)
}
return ''; // Return an empty string if the character is not a capital letter
});
10 changes: 5 additions & 5 deletions ct_data_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"properties": {
"Build_ID": {
"title": "Build ID",
"description": "Unique identifier for the build, formatted as DATE_LOC_MAT_GEOM_PART_[###]",
"description": "BLD-1: Unique identifier for the build, formatted as DATE_LOC_MAT_GEOM_PART_[###]",
"type": "string",
"format": "custom",
"template": "{{Parameter_Label}}_{{Build_Date}}_{{Location}}_{{Material}}_{{Geometry}}",
Expand Down Expand Up @@ -125,25 +125,25 @@
},
"Hatch_mm": {
"title": "Hatch Spacing",
"description": "Hatch spacing in mm",
"description": "PRC-3-2-6: Hatch spacing in mm",
"type": "number",
"propertyOrder": 14
},
"Speed_mm_per_s": {
"title": "Speed",
"description": "Laser speed in mm/s",
"description": "PRC-3-2-9: Laser speed in mm/s",
"type": "number",
"propertyOrder": 15
},
"Power_W": {
"title": "Power",
"description": "Laser Power in Watts",
"description": "PRC-3-2-3:Laser Power in Watts",
"type": "number",
"propertyOrder": 16
},
"Layer_mm": {
"title": "Layer Thickness",
"description": "Layer thickness in mm",
"description": "PRC-3-2-1:Layer thickness in mm",
"type": "number",
"propertyOrder": 17
},
Expand Down
14 changes: 14 additions & 0 deletions printer_build_schema.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Handlebars.registerHelper('replaceAll', function (string, search, replacement) {
return (string !== undefined && string !== null) ? string.replaceAll(search, replacement) : '';
});
Handlebars.registerHelper('joinarray', function (a, sep, prefix=false) {
if (!a || !Array.isArray(a) || a.length === 0) {
// Handle empty or undefined array
return '';
}
const result = a.join(sep);
if (result !== '' && prefix) {
return `${sep}${result}`;
}
return result;
});
Loading