乐筑天下

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

[编程交流] Summit or valley curves (Squar

[复制链接]

2

主题

5

帖子

2

银币

初来乍到

Rank: 1

铜币
12
发表于 2022-7-6 06:55:41 | 显示全部楼层 |阅读模式
Dear All,
 
Is there any lisp program which can fit a vertical curve (Summit/Crest or Valley/Sag curve) between two grades (by selecting two polylines grade1(g1) and grade2(g2) and by giving input as vertical curve length(L) or Radius of vertical curvature (R or K-value).
 
Advanced Thanks & Regards
 
M V Rao
回复

使用道具 举报

0

主题

269

帖子

279

银币

限制会员

铜币
-4
发表于 2022-7-6 07:06:52 | 显示全部楼层
Well you can draw it without lisp. A parabola for a vertical curve can be represented by a quadratic b-spline.
so you can draw a polyline from vpc to vpi to vpt, set SPLINESEGS to a value for desired smoothness, set SPLINETYPE to 5 (for quadratic b-spline), then PEDIT the polyline, "spline" option.
回复

使用道具 举报

1

主题

19

帖子

18

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 07:19:10 | 显示全部楼层
I've been looking for a plain CAD solution to this as well.  So far I found tip1479 at Cadalyst, http://cadtips.cadalyst.com/curved-objects/vertical-curve, but it does not draw the information or profile to the screen.  More of an online calculator, but does appear to generate an output file (I can't locate where it is written to).
 
The other is at Fred Weaver's site, http://fredweaver.biz/index.php?option=com_content&view=article&id=23&Itemid=19.  I just came across it this weekend and had to roll back the seed DWGs to v00i.  I still haven't had it plot a vertical curve, but I get a grid and VPIs plotted.  That is likely my use of v00i rather than a bug in his LISP file though.
 
Between the two of these offerings I think we' have a good subistute in plain CAD.
回复

使用道具 举报

63

主题

242

帖子

181

银币

后起之秀

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

铜币
319
发表于 2022-7-6 07:34:04 | 显示全部楼层
here is a lisp to draw vertical curve and calculate slope
vertical curvedr.LSP
p04.dwg
回复

使用道具 举报

1

主题

19

帖子

18

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 07:44:25 | 显示全部楼层
Motee-Z, thanks for the posting.  I'm getting a few quirks with v00i, but that seems to be with the file version of p04.dwg.  I tried rolling it back with DWG TrueView but still get an error.
回复

使用道具 举报

1

主题

19

帖子

18

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-6 07:51:47 | 显示全部楼层
Motee-Z,
 
We'll I figured out my v00i DWG translation issue, but it looks like I'm still having some minor issues.  I'll PM you.
 
Thanks.
回复

使用道具 举报

63

主题

242

帖子

181

银币

后起之秀

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

铜币
319
发表于 2022-7-6 07:57:29 | 显示全部楼层
make a drawing in your cad version just draw a triangle and a circle inside name it p04 and replace it with my drawing
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-10 11:44 , Processed in 0.369762 second(s), 66 queries .

© 2020-2025 乐筑天下

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