Closed darkworks closed 6 years ago
Sorry for the inconvenience! The CLI --color
option is currently broken. It will be fixed when this project is moved to the tracespace/tracespace
monorepo.
Closing this issue because it is a duplicate of #35
also how to pass width and height
Width and height options are not available via the CLI. If you would like to request that feature, please consider opening another ticket. Otherwise, you could use the JS API to configure color
, width
, and height
via the attributes option as detailed in the API documentation.
@darkworks v4.0.0-next.6
of gerber-to-svg
was just released (npm install -g gerber-to-svg@next
). You may now specify color, width, height, and any other attribute you want to add:
gerber-to-svg --attr.color=blue --attr.width='100%' --attr.height='100%' -- some_file.gbr
thanks
can you paste v4.0.0-next github link
Everything has moved to a monorepo: https://github.com/tracespace/tracespace. Is that what you were asking for?
ya thanks
any idea how to change color of svg i tried with
--color "red"
--color "hex color code"
-- color "rgb color code "
but none worksalso how to pass width and height , tried
poor documentation :(