乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 73|回复: 3

[综合讨论] Convert Polylines into lines??

[复制链接]

4

主题

14

帖子

11

银币

初来乍到

Rank: 1

铜币
24
发表于 2022-7-8 11:41:06 | 显示全部楼层 |阅读模式
hello evreybody, i have a question... and i hope that you have an answer!!!
i've got a polyline... i've exploded it and now i've got both polylines and arcs... with the pedit command, i've converted my arcs into polylines... but is it possible to convert the polylines into lines? because i have to use my drawing file in an other software and it's working better with lines... when i put polylines in it, i take the beginning and the end of my polylines and join them with a line... that's why i need only lines in my drawing... i know that with autocad you can convert lines into polylines but is it the opposite possible?
 
thanks for your help...
回复

使用道具 举报

48

主题

1073

帖子

1043

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
238
发表于 2022-7-8 12:02:46 | 显示全部楼层
thank you eberybody for your help... this forum is fantastic... when you post a question, few minutes later you have many persons who are ready to help you!!!!
i 'll try to find an other method... maybe i will to try to play with the options of the software that i use to convert my dxf files to make it accepting the presence of arcs in the file...
回复

使用道具 举报

4

主题

14

帖子

11

银币

初来乍到

Rank: 1

铜币
24
发表于 2022-7-8 12:23:37 | 显示全部楼层
As has been stated, the options to convert a polyline with curves to purely lines is limited.  There is a "Decurve" sub option with the PEDIT command, but that will only convert a polylines cuve to a staight line from one vertex to the next.
 
In lieu of a Lisp or VBA routine, the DXB printer method (with insertion and scaling) is also an option.  There is a loss of accuracy, but there will be some loss of accuracy in any arc to line conversion.
DXBpolyline.dwg
回复

使用道具 举报

1

主题

64

帖子

69

银币

初来乍到

Rank: 1

铜币
2
发表于 2022-7-8 12:56:02 | 显示全部楼层
If you use WMFOUT , the exporting process can't handle curves and changes them all into segmented lines.
 
Then you can WMFIN the image, and after a couple of explodes, you have all lines.
 
You have to include a witness line in the image that is exported, because the scaling is not good and you have to scale the image when importing it.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 11:18 , Processed in 0.608933 second(s), 60 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表