乐筑天下

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

[综合讨论] Curly Bracket

[复制链接]

51

主题

341

帖子

5

银币

中流砥柱

Rank: 25

铜币
549
发表于 2008-9-18 14:34:17 | 显示全部楼层 |阅读模式
Does anyone have a dynamic block of a curly bracket that you can scale or stretch?
Just curious as to what's out there already.  (Just getting into dynamic blocks now)
回复

使用道具 举报

86

主题

744

帖子

6

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1092
发表于 2008-9-18 14:38:53 | 显示全部楼层
Here you go!
LEFT   {
RIGHT  }
What in the hell is a curly bracket?!?   
回复

使用道具 举报

26

主题

275

帖子

6

银币

后起之秀

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

铜币
379
发表于 2008-9-18 14:39:48 | 显示全部楼层
I've got a Lisp that'll draw curly brackets if that helps. Should I post it up?
回复

使用道具 举报

51

主题

341

帖子

5

银币

中流砥柱

Rank: 25

铜币
549
发表于 2008-9-18 14:40:56 | 显示全部楼层

That's it.  I don't know the proper name for them.
Never mind.  I don't think the result I'm after would be easy to accomplish.
回复

使用道具 举报

51

主题

341

帖子

5

银币

中流砥柱

Rank: 25

铜币
549
发表于 2008-9-18 14:41:09 | 显示全部楼层

I don't see why not.
回复

使用道具 举报

26

主题

275

帖子

6

银币

后起之秀

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

铜币
379
发表于 2008-9-18 14:53:54 | 显示全部楼层
I removed some functionality with scaling based on a titleblock, and some layer settings. Other than that here ya go.
[code];bracket.lsp
;Created for G.E.I.S. by P.R. Donnelly
;Date:        Sept of 2002
;Description:        Creates brackets for text and such...
;Edit: 09-17-08 - Removed titleblock scaling for M-dub
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;      ___                        ;;;;;;;;;;;;;;;;;;
;     (___)_                        ;;;;;;;;;;;;;;;;;;
;     |  "\                        ;;;;;;;;;;;;;;;;;;
;    (,   .)   Pat da Rat        ;;;;;;;;;;;;;;;;;;
;     |  __|                        ;;;;;;;;;;;;;;;;;;
;     |\___|                        ;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun dtr (A)
   (* pi (/ A 180.0)))
(defun c:bracket2 ()
                (setq oldplinew (getvar "plinewid"))
                (setvar "plinewid" 0)
                (setq oldlay (getvar "clayer"))
                (setq wutscale 0.125);
回复

使用道具 举报

51

主题

341

帖子

5

银币

中流砥柱

Rank: 25

铜币
549
发表于 2008-9-18 14:59:58 | 显示全部楼层
Thanks Deeg!
回复

使用道具 举报

26

主题

275

帖子

6

银币

后起之秀

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

铜币
379
发表于 2008-9-18 15:04:42 | 显示全部楼层
Using it for One-Line's? That's what I created it for.
回复

使用道具 举报

51

主题

341

帖子

5

银币

中流砥柱

Rank: 25

铜币
549
发表于 2008-9-18 15:13:23 | 显示全部楼层

Not right now, but yes, we use them for that as well.
回复

使用道具 举报

26

主题

275

帖子

6

银币

后起之秀

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

铜币
379
发表于 2008-9-18 15:19:18 | 显示全部楼层
Cool. Glad to be of service.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-13 00:53 , Processed in 0.803951 second(s), 72 queries .

© 2020-2025 乐筑天下

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