Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

How to export .netlist file and svg or HTML. please provide one example. #26

Closed
dev-techshlok opened this issue Jun 29, 2020 · 1 comment
Labels
question Further information is requested

Comments

@dev-techshlok
Copy link

Hello
I tried examples but unable to generate a netlist.

Also is ti posible to genrate netlist for Kicad or eagle.

amstan added a commit that referenced this issue Jun 29, 2020
@amstan amstan added the question Further information is requested label Jun 29, 2020
@amstan
Copy link
Contributor

amstan commented Jun 29, 2020

please provide one example

I recommend just going to the pcbdl folder and running make examples/servo_micro.html (with the netlistsvg caveat below).

Type make for more examples/instructions, especially if you have your own schematics file:

amstan@amstan-glaptop:~/Projects/pcbdl (master)% make                                                  
This makefile could be used for automating pcbdl exporting:
        make yourcircuit.html
        make yourcircuit.svg
        make yourcircuit.allegro_third_party/
        make yourcircuit.shell

yourcircuit could be stored anywhere, could be an absolute path.
If the circuit is outside the pcbdl folder (suggested), make needs a -f flag to point it back to this file:
        make -f /path/to/pcbdl/Makefile /another/path/to/yourcircuit.html

I tried examples but unable to generate a netlist.

Depends on why you're unable.

If you got the following error:

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home/amstan/netlistsvg/bin/netlistsvg.js'

I expect you need to install netlistsvg (your bug prompted me to publish those instructions).

Also is ti posible to genrate netlist for Kicad or eagle.

I don't have that implemented yet.
There's a bug open for Kicad netlist output module.

Patches welcome!

@amstan amstan closed this as completed Jul 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants