SVG:简化删除曲线的路径? [英] SVG: simplify path to remove curves?

查看:226
本文介绍了SVG:简化删除曲线的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个svg文件,其中包含带有贝塞尔曲线的复杂路径. 我需要转换此路径数据以将其用于html地图区域,因此实际上我只需要坐标(但是对于大曲线,在两个端点之间有一些坐标会非常好.

I have a svg file which contains complex paths with bezier curves in it. I need to convert this path-data to use it for html map-area's, so I in fact I need just the coordinates (but for large curves, it would be very nice to have some coordinates 'between' the two end-points.

我尝试了Inkscape的简化路径功能,但是这些路径仍然包含曲线...

I tried Inkscape's simplify path function, but those paths still contain curves...

有没有工具或公式可以将这些曲线转换为简单坐标?

Is there any tool or formula to convert these curves into simple coordinates?

也许是另一个Inkscape输出格式,其坐标中不使用曲线?

Maybe another Inkscape output-format that doesn't use curves in its coordinates?

推荐答案

在Inkscape中:

In Inkscape:

  1. 选择按节点编辑路径工具( F2 )
  2. 单击您的路径以选择它
  3. Ctrl + A 选择该路径中的所有节点
  4. 点击制作选定的细分行

  1. Select the Edit Path By Nodes tool (F2)
  2. Click on your path to select it
  3. Ctrl + A to select all the nodes in that path
  4. Click Make Selected Segments Lines

它在顶部的工具栏上-图标是两个正方形节点之间的对角线

It's on the toolbar at the top - the icon is a straight diagonal line between two square nodes

这篇关于SVG:简化删除曲线的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆