GithubHelp home page GithubHelp logo

hsiang-lee / gerber-parser Goto Github PK

View Code? Open in Web Editor NEW
71.0 4.0 14.0 33.37 MB

gerber-parser is a library for parsing and rendering gerber files. Rs274x is implemented by it. By default, it use Qt painting system to render. You can also write you own painting engine using other painting interface if you donot want to use Qt.

License: MIT License

CMake 21.69% C++ 78.20% Python 0.11%
gerber rs274x qt pcb python

gerber-parser's Introduction

gerber-parser's People

Contributors

hsiang-lee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gerber-parser's Issues

支持渲染到QGraphicsScene

实现把解析后的元素渲染到场景?
(如何实现对部分元素进行删除 以及获取所有元素的坐标?)

缺少gerber_exporter.png

cmake生成成功
vs2017编译报错

1>------ 已启动生成: 项目: gerber2image, 配置: Debug x64 ------
1>Automatic RCC for gerber2image.qrc
1>
1>AutoRcc subprocess error
1>------------------------
1>The rcc process failed to compile
1> "SRC:/example/gerber2image/gerber2image.qrc"
1>into
1> "SRC:/build/example/gerber2image/gerber2image_autogen/include_Debug/EWIEGA46WW/qrc_gerber2image_CMAKE_.cpp"
1>
1>Command
1>-------
1>C:/Qt5.12.9/5.12.9/msvc2017_64/bin/rcc.exe -name gerber2image -o D:/CODING/CPP/GerberParse/gerber-parser-master/build/example/gerber2image/gerber2image_autogen/include_Debug/EWIEGA46WW/qrc_gerber2image_CMAKE_.cpp D:/CODING/CPP/GerberParse/gerber-parser-master/example/gerber2image/gerber2image.qrc
1>
1>Output
1>------
1>RCC: Error in 'D:/GerberParse/gerber-parser-master/example/gerber2image/gerber2image.qrc': Cannot find file 'gerber_exporter.png'
1>

使用opengl来渲染

Qt渲染性能比较差,对于特复杂的gerber会有卡顿感,考虑使用opengl来渲染。

Threre is a bug in your program reading this gerver file(Gerver_TopLayer.GTL)

Describe the bug
threre is a bug in your program reading my gerver file

Desktop (please complete the following information):
win10
VS2019

Additional context
my gerver file:
G04 Layer: TopLayer*
G04 EasyEDA v6.5.9, 2022-08-17 17:40:46*
G04 9b6bc6ce99b44695a731befc9280ac48,93ff7820620a4e2d96899d85d3806809,10* !!!The program return when it reads this line.!!!
G04 Gerber Generator version 0.2*
G04 Scale: 100 percent, Rotated: No, Reflected: No *
G04 Dimensions in millimeters *
G04 leading zeros omitted , absolute positions ,4 integer and 5 decimal *
%FSLAX45Y45*%
%MOMM*%
......

Assistance Required with Gerber Parser Integration

Dear leehsiang ,

I hope this email finds you well. My name is Bharath, and I recently came across your Gerber Parser library on [github/repository]. I am working on a Gerber Viewer project and found your parser to be very useful for my needs.

However, I encountered some difficulties when attempting to integrate the library into my project. After successfully building the library [#include "gerber_parser/gerber_parser.h"] using CMake and including the necessary headers in my source code, I encountered the following compilation errors:

Uploading Screenshot 2023-11-27 143807.png…

I have followed the installation instructions provided in the repository, and I believe I may be missing something or have encountered a compatibility issue. I would greatly appreciate your assistance in resolving these issues so that I can successfully use the Gerber Parser in my project.

If you could provide guidance on how to address these compilation errors or any additional steps I may have overlooked, it would be immensely helpful.

Thank you in advance for your time and support. I appreciate the effort you've put into developing this library and look forward to hearing from you soon.

Best regards,

[Bharath]
[[email protected]]
[+91 6361323819]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.