Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Dec 9, 2023 · 1 comment
Assignees

Comments

@rusefillc
Copy link
Collaborator

* 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 rusefillc changed the title Reading gerber file Error! Cannot parse position proper placement of start point, can we have better error message? Reading gerber file Error! Cannot parse position Dec 9, 2023
@rusefillc rusefillc changed the title proper placement of start point, can we have better error message? Reading gerber file Error! Cannot parse position proper placement of start point, can we have better error message? at the moment we fail to handle negative coordinates Reading gerber file Error! Cannot parse position Dec 9, 2023
@rusefillc rusefillc changed the title proper placement of start point, can we have better error message? at the moment we fail to handle negative coordinates Reading gerber file Error! Cannot parse position proper placement of origin point, can we have better error message? at the moment we fail to handle negative coordinates Reading gerber file Error! Cannot parse position Dec 9, 2023
@rusefillc
Copy link
Collaborator Author

rusefillc commented Dec 9, 2023

as a work-around has to be bottom-left corner of the board for both X and Y to be positive #350

image

@rusefillc rusefillc changed the title proper placement of origin point, can we have better error message? at the moment we fail to handle negative coordinates Reading gerber file Error! Cannot parse position 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 Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants