Python Forum
Day 1 - as newbie as you can get
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Day 1 - as newbie as you can get
#2
When you pip, you install from pypi. This is a link to the package you installed.

https://pypi.org/project/pcb-tools/

The page has an example of how to use the tools.
import gerber
from gerber.render import GerberCairoContext

# Read gerber and Excellon files
top_copper = gerber.read('example.GTL')
nc_drill = gerber.read('example.txt')
Don't depend on AI tools for programming, yet.
Reply


Messages In This Thread
Day 1 - as newbie as you can get - by boss_hogg - Jun-27-2024, 12:18 PM
RE: Day 1 - as newbie as you can get - by deanhystad - Jun-28-2024, 12:08 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020