乐筑天下

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

[编程交流] Plotting X, Y, Z & Contours

[复制链接]

2

主题

2

帖子

0

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 18:34:59 | 显示全部楼层 |阅读模式
Dear Sir,
 
I have a data x. y. z coordinate in *.xls format; want to plot in AutoCad as a point, & then genrate contours. please help how to do it.
 
Regards
Dhananjay.
回复

使用道具 举报

12

主题

395

帖子

384

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-5 18:45:00 | 显示全部楼层
Easiest way would to make a script. Take your excel file and change it to a .csv then change the extension to .scr open it as a text file and change it a little bit so it ends up looking like this:
 
point 0,0,0
point 1,1,1
point 2,2,2
line
0,0,0
1,1,1
2,2,2
回复

使用道具 举报

12

主题

395

帖子

384

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-5 18:49:47 | 显示全部楼层
Then of course typing "scr" at the command line and choosing it from your file location.
回复

使用道具 举报

12

主题

395

帖子

384

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
60
发表于 2022-7-5 18:52:41 | 显示全部楼层
Also, I never used this, but Lee-Mac has a program for this as well. Here
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-5 18:56:46 | 显示全部楼层
 
Thanks for the recommendation CB - the OP will need to save his XLS to a CSV first
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-5 19:04:12 | 显示全部楼层
Most important part guys Autocad can not create contours ! There is no option in plain Autocad.
 
You do though have lots of choices, Autocad CIV3D bring in points as csv and then contour, use a 3rd party product, search here using  "CONTOURS" pretty sure YMG3 can help with a contour routine.
 
Found it http://www.cadtutor.net/forum/showthread.php?86040-lisp-to-generate-contour-from-xyz&highlight=contours
回复

使用道具 举报

0

主题

301

帖子

301

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-5 19:06:22 | 显示全部楼层
Thank you for the recommendation BIGAL.
 
dhanan,
 
For getting the points Lee's program will do it for csv.
Jeffrey Sanders has one for xls file IMPORTXYZ.html
 
For contours, you will need first to triangulate your points, then generate the contours.
 
Here is a link to the last revision of my program:TriangV6.4.0.lsp
 
With it, once your point have been imported on screen, you issue command TIN and a DCL will appear
to let you do the triangulation and contours.
 
ymg
回复

使用道具 举报

0

主题

3

帖子

3

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-5 19:14:47 | 显示全部楼层
When i reach your link ,how can i download your lisp TriangV6.4.0.lsp ?
thanks!
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-5 19:18:02 | 显示全部楼层
 
You will need membership at The Swamp in order to view & download attachments.
回复

使用道具 举报

0

主题

301

帖子

301

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-5 19:23:30 | 显示全部楼层
smileforrest,
 
Latest published version would be Triang V0.6.5.1.lsp at TheSwamp.
 
This version has depression contour processing added.
 
As Lee stated, you need to register there in order to download.
 
ymg
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-12 13:27 , Processed in 0.466775 second(s), 72 queries .

© 2020-2025 乐筑天下

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