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

Unable to curve lines #5

Open
emosenkis opened this issue Jan 7, 2021 · 3 comments
Open

Unable to curve lines #5

emosenkis opened this issue Jan 7, 2021 · 3 comments
Labels
wontfix This will not be worked on

Comments

@emosenkis
Copy link

When I convert straight line segments to curves then reimport to KiCad, they continue to appear there as lines with the same endpoints instead of curves. Is there a specific way to create a curved board outline or trace?

@JarrettR
Copy link
Owner

JarrettR commented Jan 7, 2021

There are two ways, both of which have some downsides.

The way I prefer is to create many control points until the lines look smooth:

image

In the "edit path by node" mode in Inkscape, click on the lines that you want to smooth, and mash the "insert new nodes" button a few times. The downside here is that the line can't be easily adjusted anymore.

The other method is to convert it to a KiCad curve.
In the XML editor (ctrl-shift-X), find the line's type:
image

Change it to gr_curve:
image

This allows you to even edit the curve as a bezier in KiCad, which is kind of neat. Unfortunately, you can only do this with lines / arcs / etc. Segments are the copper traces, and if you're trying to convert them to curves, then they will no longer associate with PCB nets so your ratsnests will show. If you get that manufactured, it'll still work, electrically, though.

@emosenkis
Copy link
Author

I think this might be solved in the latest KiCad - maybe only in nightly. Would you consider adding support?

@JarrettR
Copy link
Owner

I just skimmed the new changes in the code, and I don't believe anything is different.

Consider curves to be in the same category as arcs - You can't currently route tracks as arcs in KiCad. If that ever changes, then it's likely that curves will also be possible.

You can, however, create arcs using the "Place" menu, and assign it to the copper layer. It just won't associate with any particular net. Changing that to a curve in Inkscape's XML editor will work, with same caveat that it won't associate with any nets.

@JarrettR JarrettR added the wontfix This will not be worked on label Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants