andreika-git / hellen-one

Hellen-One Hardware Platform for rusEFI Engine Management System
21 stars 28 forks source link

bottom-left placement of origin point is currently required, can we have better error message? at the moment we fail to handle negative coordinates Reading gerber file Error! Cannot parse position #349

Open rusefillc opened 11 months ago

rusefillc commented 11 months ago
* Adding power_12and5V (modules/power_12and5V/0.1/power_12and5V-vrml.wrl) at (-145.275001,56.824999000000005), rot=0.0, invZ=1.0...
* Adding ign8 (modules/ign8/0.2/ign8-vrml.wrl) at (-107.[2265](https://github.com/dynfer/hellen-example/actions/runs/7152677941/job/19478270443#step:12:2266)88,122.01185699999999), rot=180.0, invZ=1.0...
* Adding vr-discrete (modules/vr-discrete/0.4/vr-discrete-vrml.wrl) at (-53.324999999999996,92.975), rot=180.0, invZ=1.0...
* Kicad VRML detected!
* Adding mega-mcu144 (modules/mega-mcu144/0.4/mega-mcu144-vrml.wrl) at (-85.774999,60.774998999999994), rot=90.0, invZ=1.0...
* Adding knock (modules/knock/0.2/knock-vrml.wrl) at (-57.875,101.82500100000001), rot=180.0, invZ=1.0...
* Adding ign8_2 (modules/ign8/0.2/ign8-vrml.wrl) at (-71.026588,122.711857), rot=180.0, invZ=1.0...
* Adding wbo (modules/wbo/0.3/wbo-vrml.wrl) at (-157.05,41.175), rot=0.0, invZ=1.0...
* Kicad VRML detected!
* Adding vr-discrete_2 (modules/vr-discrete/0.4/vr-discrete-vrml.wrl) at (-51.45750000000001,74.375), rot=180.0, invZ=1.0...
* Kicad VRML detected!
* Adding knock_2 (modules/knock/0.2/knock-vrml.wrl) at (-57.875,105.525001), rot=180.0, invZ=1.0...
Done!
Rendering a 3D-model of the board components...
* Reading /hellen-example/boards/dynfer_6ch-a/board/misc/dynfer_6ch-a-3D.wrl.gz...
* Decompressing GZip...
* Parsing the VRML data...
* Processing the data...
* Num.Vertices = 1022568 Num.Indices = 2574774
* AABB = [[-165.79999354    0.           -4.65940001]
 [   0.          162.80000229    3.26005991]]
* Rendering...
* Image size = 3917x3846
* Saving to /hellen-example/boards/dynfer_6ch-a/board/misc/dynfer_6ch-a-components.png...
* Done!
Creating a composite board image...
* Reading the pcb image...
* Reading the components image with offset (0,0)...
* Reading the outline image...
* Creating the final board image...
* Saving the board image...
* Done! Exiting...
Creating an interactive html BOM...
* Reading gerber file /hellen-example/boards/dynfer_6ch-a/board/gerber/dynfer_6ch-a.GKO...
* Format:  2 5 2 5
* Format:  2 5 2 5
Error! Cannot parse position ['-463386', '0162106']

Where was an ERROR executing the script! Code=1
ABORTING!
Error: Process completed with exit code 3.

https://github.com/dynfer/hellen-example/actions/runs/7152677941/job/19478270443

rusefillc commented 11 months ago

as a work-around has to be bottom-left corner of the board for both X and Y to be positive https://github.com/andreika-git/hellen-one/issues/350

image