乐筑天下

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

[编程交流] How to easy align BLOCKS (dyna

[复制链接]

40

主题

92

帖子

52

银币

后起之秀

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

铜币
200
发表于 2022-7-6 11:16:17 | 显示全部楼层 |阅读模式
Hi
 
How to easy align BLOCKS (dynamic & standard) parallel to selected LINE, POLYLINE, and SPLINE; could you help LISP to solve this problem? Please find sample drawing.
 
amr
BLOCK ALIGN WITH OFFSET.dwg
回复

使用道具 举报

59

主题

327

帖子

268

银币

后起之秀

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

铜币
295
发表于 2022-7-6 11:27:13 | 显示全部楼层
My idea is kind of "rigerous" but that is how I would try / experiment...
 
For normal blocks: open block in block editor and add an align parameter.
The block now becomes dynamic.
 
For dynamic blocks : also put an align parameter in it.
 
Now you should be able to align easily.
Maybe the insertion point is not suitable and you should modify that too.
 
Good luck.
回复

使用道具 举报

59

主题

327

帖子

268

银币

后起之秀

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

铜币
295
发表于 2022-7-6 11:37:40 | 显示全部楼层
I do not know if you can see swf files but here's a link with a short example:
 
LINK
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 11:44:59 | 显示全部楼层
I think I have already written something like this, I'll get back to you.
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

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

铜币
438
发表于 2022-7-6 11:58:55 | 显示全部楼层
RotateObjects.LSP
 
This was my baby for a while. I need to spend some time updating it.
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

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

铜币
438
发表于 2022-7-6 12:06:12 | 显示全部楼层
I think the above is what you are shooting for, but for align and array, you can use this...
 
CopyAlongCurve.LSP [Divide/Measure/Dynamic]
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

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

铜币
438
发表于 2022-7-6 12:14:48 | 显示全部楼层
 
I'm such a 'tard. This should be a more recent version of it.
http://www.cadtutor.net/forum/showpost.php?p=275754&postcount=21
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 12:24:11 | 显示全部楼层
See here
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-6 11:21 , Processed in 0.712773 second(s), 68 queries .

© 2020-2025 乐筑天下

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