求坐标点直接导入CAD的程序
<p>单位经常有坐标点导入到CAD中去的要求(进去后全部是封闭图形),小弟只好一个一个点的输入到CAD中,如果坐标点多的话,有时候上千个,还有出错的时候,非常的不方便,请老师们帮帮小弟。谢谢。坐标点的格式是:<table cellspacing="0" cellpadding="0" width="272" border="0" style="WIDTH: 204pt; BORDER-COLLAPSE: collapse;"><colgroup><col width="148" style="WIDTH: 111pt; mso-width-source: userset; mso-width-alt: 4736;"></col><col width="124" style="WIDTH: 93pt; mso-width-source: userset; mso-width-alt: 3968;"></col></colgroup><tbody><tr height="19" style="HEIGHT: 14.25pt;"><td class="xl22" align="right" width="148" height="19" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8 0.5pt; BORDER-LEFT: #ece9d8 0.5pt; WIDTH: 111pt; BORDER-BOTTOM: #ece9d8 0.5pt; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent;"><p><font face="宋体" size="2"></font></p><p><font face="宋体" size="2">63311.477</font></p></td><td class="xl22" align="right" width="124" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8 0.5pt; BORDER-LEFT: #ece9d8; WIDTH: 93pt; BORDER-BOTTOM: #ece9d8 0.5pt; BACKGROUND-COLOR: transparent;"><p><font face="宋体" size="2"></font></p><p><font face="宋体" size="2">62981.904</font></p></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td class="xl22" align="right" height="19" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8 0.5pt; BORDER-BOTTOM: #ece9d8 0.5pt; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td><td class="xl22" align="right" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8 0.5pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td class="xl22" align="right" height="19" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8 0.5pt; BORDER-BOTTOM: #ece9d8 0.5pt; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td><td class="xl22" align="right" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8 0.5pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td class="xl22" align="right" height="19" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8 0.5pt; BORDER-BOTTOM: #ece9d8 0.5pt; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td><td class="xl22" align="right" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8 0.5pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"></font></td></tr><tr height="19" style="HEIGHT: 14.25pt;"><td class="xl22" height="19" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8 0.5pt; BORDER-BOTTOM: #ece9d8 0.5pt; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"> </font></td><td class="xl22" style="BORDER-RIGHT: #ece9d8 0.5pt; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8 0.5pt; BACKGROUND-COLOR: transparent;"><font face="宋体" size="2"> </font></td></tr></tbody></table></p> <p>在以下位置,下载zd.rar程序,即可解决。</p><p>明经CAD社区 → 工程篇 → 测绘与GIS → [原创]一般(对称型)缓和曲线坐标计算程序 </p><p><a href="http://bbs.mjtd.com/forum.php?mod=viewthread&tid=68700">http://bbs.mjtd.com/forum.php?mod=viewthread&tid=68700</a></p><p> 展点数据格式:</p><p>1,84678.761,12221.766<br/>2,84659.989,12214.769<br/>3,84679.104,12220.653<br/>4,84698.219,12226.536<br/>5,84662.937,12205.2<br/>6,84682.048,12211.096</p><p>需将你的数据,在excel里处理成以上数据格式(很容易转),才能正确展点。<br/></p> <p>谢谢老师,学生马上去试下。</p> <p>有两种方法: </p><p>1, 推荐使用路桥制图工具 下载 : <a href="http://blog.sina.com.cn/zhuyongjun520">http://blog.sina.com.cn/zhuyongjun520</a></p><p>2, 在excel中保存为csv格式,再以脚本导入CAD中自动绘图</p>
页:
[1]