Show HN: SVG Path Builder
anthonydugois.com
anthonydugois.com
It would also be really nice to have a feature to hide the points and control points to see what you've made more clearly.
GitHub link for others: https://github.com/anthonydugois/svg-path-builder
Issues I saw: Ctrl-click to add point doesn't work well on OSX, where ctrl-click doubles as right-click and brings up a context menu.
After ctrl-click and seeing the context menu, it gets stuck in add-point mode until I tap ctrl again.
Maybe it would be easiest to add-point when you click in the background, and select-point when you click on a point?
Having an insert-point function would be really handy. Maybe it would be easiest to make it so that add-point checks the selected point before adding, and joins the selected point to the new point.
Might be nice to allow the point type options on the first point, in the case where you close the path? I don't know SVG paths well enough to know if it supports that natively, but if the only way to close a path is with a straight line, it limits the usefulness of having a close path option, yes?
The close path function is natively present in SVG. The code ends with the command Z when you want to close the path. The first point is declared using the command M (Move To), so if you want to end the path with a curve, you just have to close it manually with an actual point. :)
EDIT: oh I am being somewhat thick, you can scroll down to see more menu options like line type. Its not at all obvious though at the resolution I am on. he CTRL click issue is still open for me though
You know what that means? That this tool understands Bezier curves better than Adobe Illustrator. Why? Because Adobe has never heard of the phrase "cusp node".
If you have Illustrator, I challenge you:
- Draw a box with 4 sides
- Try and curve the top line without causing the side lines to curve
- Welcome to insanity.
Kudos to the author of this tool. Shame on Adobe.
- Draw a box with 4 sides.
- Use the Anchor Point Tool (shift + c) to select the top line and drag it. The adjacent points will split their anchors.
You can use the Anchor Point Tool to convert points between corner mode, mirrored anchor mode, and split anchor mode. Not sure if those are the official terms.
And make sure to tell us how long it took you. In SVG Path Builder the toast shape above took me 10 seconds, and it never gave me grief by trying to curve the sides, while still giving me the guides for each of the relevant corner nodes. Drawing that in Inkscape is just as easy. Same for CorelDraw.
If you can manipulate the guides of your corner nodes and have them affect only the top side, then you've succeeded in making those two top corner nodes cusp. I have never seen anyone online showing cusp nodes in Illustrator.
Again, the anchor point tool is necessary here. First you drag the top line up to add split anchors (or cusp nodes, haven't ever used that term) to the two adjacent points. Then you can use either the anchor point tool or the direct selection tool to adjust the two new anchors.
The anchor point tool is essential to using Illustrator. You can read more about it under "Convert an anchor point precisely using the Convert Anchor Point tool" here: https://helpx.adobe.com/illustrator/using/editing-paths.html
One feature Adobe Illustrator is sorely lacking (afaik) is grid snapping for anchors. They will snap to objects, lines, and points, but grid snapping would be really helpful.
On another note, Blender seriously needs a more intuitive interface like this.
It's OK, but I never seem to remember if I'll change a property for a tool or my previous operation.
Manually creating paths can be pretty difficult though and that's why I am happy to see tools like this one.
One thing it looks like it is missing is zooming.
I take into account your comments and suggestions. I will work on this strange behavior on Mac too. Thank you again.