-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
CLI tool #13
Comments
Shell expansion is handled pretty gracefully by the shell itself. Try this out to see what I mean:
// index.js
console.log(process.argv.slice(2)) If we want to get fancier and support globstars (not enabled on every shell by default, for example default OSX shell), the glob module works pretty great. In terms of colors, we could do one or all of:
|
Yes, no, I meant we want to take in a list of files. It's kind of obvious, I know. The rest sounds good. Is there no easy way to copy in CSS to the existing SVG output? |
We'd have to build an addition to the API to allow for a CSS string as the innerText of the style node. Not sure if its really worth it (at least for the first version) as long as the primary way of specifying colors is easy and expressive. I'm partial to |
I'm planning on throwing this in the # TODO
npm i -g @tracespace/cli
# render all layers and top.svg + bottom.svg to `board-renders`
tracespace board-gerbers/* --out=board-renders |
So we can flesh out some ideas.
Names?
gerber2pcb
,gerberup
stackup
pcb-stackup
We definitely want to take in shell expansion:
Easy to specify soldermask color with the rest adapting (similar to how kitnic.yaml color is handled) would be nice:
Let's keep adding our thoughts here.
The text was updated successfully, but these errors were encountered: