Skip to content
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

Convert SVG bezier traces to KiCad curves #35

Open
JarrettR opened this issue Apr 5, 2024 · 0 comments
Open

Convert SVG bezier traces to KiCad curves #35

JarrettR opened this issue Apr 5, 2024 · 0 comments

Comments

@JarrettR
Copy link
Owner

JarrettR commented Apr 5, 2024

With KiCad 8, arbitrary shapes can be connected to nets. Instead of the Inkscape hack with adding line segments to approximate curved traces, this can now be done natively.

The s-expression for the curves are like this:

	(gr_curve
		(pts
			(xy 66.4748 93.278) (xy 62.7248 90.378) (xy 64.2748 96.428) (xy 61.012077 95.482793)
		)
		(stroke
			(width 0.2)
			(type default)
		)
		(layer "F.Cu")
		(net 7)
	)

That ends up looking like this:
image

The four sets of points will end up looking like this in Inkscape:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant