Lighting path implemented with plotter manager

This commit is contained in:
Luis Fernando Molina committed 2019-12-21 20:04:12 +01:00
1 parent 7d0e97b9ec
commit 8a06a8b080
4 files changed
+100 -1736

No files matched your search

+11 -1
View File
@@ -184,7 +184,17 @@ function newPlottersManager () {
/* We take a snapwhot of the current product definition to be used by the plotter. */
let functionLibraryProtocolNode = newProtocolNode()
productDefinition = functionLibraryProtocolNode.getProtocolNode(pProductCard.product.node, false, true, true, false, false, true)
let lightingPath = 'Product Definition->' +
'Record Definition->Record Property->' +
'Data Building Procedure->Procedure Loop->Javascript Code->' +
'Calculations Procedure->Procedure Initialization->Javascript Code->' +
'Plotter Module->Shapes->' +
'Chart Points->Point->Point Formula->' +
'Polygon->Polygon Body->Style->Style Condition->Style->' +
'Polygon Border->Style->Style Condition->Style->' +
'Polygon Vertex->Point->' +
'Plotter Panel->Javascript Code->Panel Data->Data Formula->'
productDefinition = functionLibraryProtocolNode.getProtocolNode(pProductCard.product.node, false, true, true, false, lightingPath)
} else {
plotter = getNewPlotter(pProductCard.product.plotter.devTeam, pProductCard.product.plotter.codeName, pProductCard.product.plotter.moduleName)
}
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -112,8 +112,8 @@ function newWorkspace () {
function physics () {
if (thisObject.enabled !== true) { return }
let textToSave = stringifyWorkspace()
window.localStorage.setItem(CANVAS_APP_NAME + '.' + 'Workspace', textToSave)
let textToSave// = stringifyWorkspace()
// window.localStorage.setItem(CANVAS_APP_NAME + '.' + 'Workspace', textToSave)
if (workingAtTask > 0) {
circularProgressBar.physics()
+1 -1
View File
@@ -459,7 +459,7 @@ function newPlotter () {
/* In case the plotter is configured to a certain slot, we calculate the slot coordinate system too. */
if (productDefinition.referenceParent.code === undefined) { return }
plotterModuleConfig = JSON.parse(productDefinition.referenceParent.code)
plotterModuleConfig = productDefinition.referenceParent.code
if (plotterModuleConfig.slot === undefined) { return }
slotCoordinateSystem = newTimeLineCoordinateSystem()