明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6248|回复: 45

[函数] @lisp函数库:支持云调用,大量函数,可学可用。6月3日前再次集结。

  [复制链接]
发表于 2022-5-18 04:26:43 | 显示全部楼层 |阅读模式
本帖最后由 vitalgg 于 2022-6-1 10:16 编辑

点此加入 @lisp 开发团队,6月3日前有效。

全网搜寻 lisp开发, wiki 文档创作, 代码审核,宣传推广等。

主站 : https://gitee.com/atlisp


@lisp 架构图


执行以下命令下载(拉取pull)700 多个函数,以及所有开放的应用包。(需先安装  git 工具
  1. $ cd ~/
  2. $ git clone http://gitee.com/atlisp/atlisp.git
  3. $ cd atlisp
  4. $ git submodule update --init
  5. $ cd packages
  6. $ git submodule update --init
复制代码





快速安装 :
将以下代码复制到 CAD 命令行内,回车即可开始安装 @lisp kernel。@lisp kernel(内核)包含 @lisp函数库 及 @lisp应用云 的基本管理功能。
(点击代码段右上角 ‘复制代码’  或 在代码行里用鼠标连续三击全选,然后右键复制或Ctrl+C,然后到CAD命令行内,右键粘贴或Ctrl+V 。)
  1. (progn(vl-load-com)(setq o"http://atlisp.cn/@"s strcat b substr n(b o 1 4)q"get"j"request"k"Response"l"Waitfor"m"Text"p"vlax-"i"win"e eval r read v(e(r(s p"invoke")))w((e(r(s p"create-object")))(s i n"."i n j".5.1")))(v w'open q o :vlax-true)(v w'send)(v w(r(s l k))1000)(e(r((e(r(s p q)))w(r(s k m))))))


快速上手:
  1. ;; @lisp 函数库帮助与支持, 查询的函数均以 ui:confirm1 为示例
  2. (fun:list) ;; 列出所有@lisp函数
  3. (fun:usage 'ui:confirm1) ;; 显示函数 ui:confirm1 用法
  4. (fun:help 'ui:confirm1) ;; 显示函数 ui:confirm1 用法
  5. (fun:src 'ui:confirm1) ;; 显示函数 ui:confirm1 的定义源码
  6. (fun:search "ui:");; 搜索 函数库 中 ui: 相关的函数

  7. ;; 调用示例
  8. (require 'ui:confirm1) ;; 加载 用户确认对话框函数
  9. (ui:confirm1 '("你家门口有两双鞋。" "一双是你的。" "另一双也是你的。" ) "是-否")


搜索 函数库:


查看函数定义




函数列表:

.
./base
./base/init.lsp
./base64
./base64/base64-to-file.lsp
./base64/decode.lsp
./base64/encode-from-file.lsp
./base64/encode.lsp
./block
./block/attach.lsp
./block/ent-list.lsp
./block/get-attributes.lsp
./block/get-dynamic-prop-cons-name-value.lsp
./block/get-dynamic-properties.lsp
./block/get-effectivename.lsp
./block/insert.lsp
./block/list-blk-objs.lsp
./block/list-xref-objs.lsp
./block/readme.lsp
./block/set-attributes.lsp
./block/set-dynprop.lsp
./block/ssget.lsp
./clipboard
./clipboard/cleardata.lsp
./clipboard/getdata.lsp
./clipboard/init.lsp
./clipboard/setdata.lsp
./color
./color/aci2rgb.lsp
./color/rgb.lsp
./curve
./curve/bulge2o.lsp
./curve/chain-line.lsp
./curve/checkarc.lsp
./curve/circle2lwpl.lsp
./curve/clockwisep.lsp
./curve/inters.lsp
./curve/join.lsp
./curve/length.lsp
./curve/lwpl-is-circle-p.lsp
./curve/lwpl-turn-clockwise.lsp
./curve/midpoint.lsp
./curve/o2bulge.lsp
./curve/optimize-lwpl.lsp
./curve/param-firstangle.lsp
./curve/param-secondangle.lsp
./curve/pickclosepointto.lsp
./curve/pline-2dpoints.lsp
./curve/pline-3dpoints.lsp
./curve/pline-convexity.lsp
./curve/point-firstangle.lsp
./curve/point-secondangle.lsp
./curve/pt-in-arc-p.lsp
./curve/ptoncurve.lsp
./curve/putclosed.lsp
./curve/readme.lsp
./curve/rectangle-center.lsp
./curve/subsegment-length.lsp
./curve/subsegment-parameter.lsp
./curve/subsegment-picked-param.lsp
./curve/subsegment-picked-points.lsp
./curve/subsegment-picked-type.lsp
./curve/subsegment-points.lsp
./curve/subsegments.lsp
./datetime
./datetime/current-time.lsp
./datetime/get-current-day.lsp
./datetime/get-current-month.lsp
./datetime/get-current-year.lsp
./datetime/leap-yearp.lsp
./datetime/mktime.lsp
./datetime/mktime1900.lsp
./dcl
./dcl/accept.lsp
./dcl/begin-cluster.lsp
./dcl/button.lsp
./dcl/cell.lsp
./dcl/dialog-end-ok-cancel.lsp
./dcl/dialog.lsp
./dcl/end-cluster.lsp
./dcl/end-dialog.lsp
./dcl/error.lsp
./dcl/hr.lsp
./dcl/img.lsp
./dcl/mtext.lsp
./dcl/new.lsp
./dcl/paging.lsp
./dcl/progressbar.lsp
./dcl/scrollbar.lsp
./dcl/set-mtext.lsp
./dcl/set-progressbar.lsp
./dcl/show.lsp
./demo
./demo/demo.lsp
./entity
./entity/activedimstyle.lsp
./entity/activelayer.lsp
./entity/add-entitys-to-block.lsp
./entity/addhatch.lsp
./entity/addtext.lsp
./entity/block.lsp
./entity/change-ltype.lsp
./entity/change-textstyle.lsp
./entity/check-error-codes.lsp
./entity/deldxf.lsp
./entity/dimaligned.lsp
./entity/dimdiameter.lsp
./entity/dimhorizontal.lsp
./entity/dimradius.lsp
./entity/dimvertical.lsp
./entity/fontstyle_set.lsp
./entity/get-color.lsp
./entity/getbox.lsp
./entity/getdxf.lsp
./entity/gettable.lsp
./entity/gettextbox.lsp
./entity/group.lsp
./entity/layers.lsp
./entity/line.lsp
./entity/linetypes.lsp
./entity/listcollection.lsp
./entity/ltype-exists.lsp
./entity/make-arc.lsp
./entity/make-arrow.lsp
./entity/make-circle.lsp
./entity/make-dimstyle.lsp
./entity/make-layer.lsp
./entity/make-leader.lsp
./entity/make-line.lsp
./entity/make-lines.lsp
./entity/make-lwpline-bold.lsp
./entity/make-pline.lsp
./entity/make-point.lsp
./entity/make-polyline-ax.lsp
./entity/make-polyline.lsp
./entity/make-rectangle.lsp
./entity/make-tag.lsp
./entity/make-text.lsp
./entity/make-textstyle.lsp
./entity/offset.lsp
./entity/onlockedlayer.lsp
./entity/putdxf.lsp
./entity/readme.lsp
./entity/reference2definition.lsp
./entity/spline.lsp
./entity/textstyles.lsp
./entity/to-obj.lsp
./env
./env/set-bg-color.lsp
./env/set-cross-color.lsp
./example
./example/dcl-cell.lsp
./example/dcl-dialog.lsp
./example/dcl-modify-title.lsp
./example/dcl-mtext.lsp
./example/dcl-mtext2.lsp
./example/dcl-progressbar.lsp
./example/dcl-progressbar2.lsp
./example/dcl1.lsp
./example/error-exit.lsp
./example/grread.lsp
./example/multi-platform.lsp
./example/sort.lsp
./excel
./excel/aci2eci.lsp
./excel/aci2truecolor.lsp
./excel/add-sheet.lsp
./excel/delete-sheet.lsp
./excel/eci2aci.lsp
./excel/eci2truecolor.lsp
./excel/get-activesheet.lsp
./excel/get-backcolor.lsp
./excel/get-mergeindex.lsp
./excel/get-property.lsp
./excel/get-range.lsp
./excel/get-rangeindex.lsp
./excel/get-rangevalue.lsp
./excel/get-selection.lsp
./excel/get-usedrange.lsp
./excel/merge-range.lsp
./excel/new.lsp
./excel/open.lsp
./excel/quit-all.lsp
./excel/quit.lsp
./excel/range-mergep.lsp
./excel/rename-sheet.lsp
./excel/save.lsp
./excel/saveas.lsp
./excel/set-activesheet.lsp
./excel/set-backcolor.lsp
./excel/set-rangevalue.lsp
./excel/sheets.lsp
./excel/unmerge-range.lsp
./excel/utils-getvalue.lsp
./excel/utils-index-cells2range.lsp
./excel/utils-index-offset.lsp
./excel/utils-index-range2cells.lsp
./file
./file/list-to-stream.lsp
./file/merge.lsp
./file/read-stream.lsp
./file/subst-all.lsp
./filename
./filename/replace-special.lsp
./filename/special-symbol.lsp
./geometry
./geometry/angle.lsp
./geometry/box-intersectp.lsp
./geometry/convexhull-by-graham-scan.lsp
./geometry/convexhull-by-jarvis.lsp
./geometry/dist-pt-line.lsp
./geometry/merge-box.lsp
./geometry/on-segment.lsp
./geometry/point-3d-to-2d.lsp
./geometry/segment-by-line.lsp
./geometry/segment-mid.lsp
./geometry/turn-left-p.lsp
./geometry/turn-right-p.lsp
./geometry/ucs-angle.lsp
./geometry/ucs.lsp
./geometry/wcs2ucs.lsp
./group
./group/get-by-name.lsp
./group/groups-to-objlist.lsp
./group/list.lsp
./group/make.lsp
./group/to-entlist.lsp
./group/to-objlist.lsp
./hdinfo
./hdinfo/get-cpuid.lsp
./hdinfo/get-hd-serial.lsp
./hdinfo/get-mac.lsp
./layer
./layer/activelayer.lsp
./layer/allname.lsp
./layer/ent.lsp
./layer/freeze.lsp
./layer/freezed-p.lsp
./layer/freezelist.lsp
./layer/info.lsp
./layer/layerofflist.lsp
./layer/list.lsp
./layer/lock.lsp
./layer/locked-p.lsp
./layer/lockedlist.lsp
./layer/make.lsp
./layer/obj-name.lsp
./layer/off.lsp
./layer/on.lsp
./layer/plotable.lsp
./layer/plottable.lsp
./layer/plottablelist.lsp
./layer/readme.lsp
./layout
./layout/list.lsp
./layout/make-viewport.lsp
./layout/readme.lsp
./layout/rename.lsp
./layout/set-position.lsp
./layout/sort.lsp
./layout/vla-list.lsp
./line
./line/get-lwpoints.lsp
./line/length.lsp
./line/mid.lsp
./list
./list/+.lsp
./list/-.lsp
./list/assoclist-additem.lsp
./list/assoclist-appenditem.lsp
./list/assoclist-appendlist.lsp
./list/assoclist-index.lsp
./list/assoclist-key.lsp
./list/assoclist-keys.lsp
./list/assoclist-remove.lsp
./list/assoclist-values.lsp
./list/change-index.lsp
./list/delnotsame.lsp
./list/delsame-all.lsp
./list/delsame.lsp
./list/dot2list.lsp
./list/exist.lsp
./list/flatten.lsp
./list/get-front-nth.lsp
./list/get-ubound.lsp
./list/indot2list.lsp
./list/insert-nth.lsp
./list/insert.lsp
./list/item-num.lsp
./list/ltrim.lsp
./list/move.lsp
./list/range.lsp
./list/remove-duplicates.lsp
./list/remove-front-nth.lsp
./list/remove-index.lsp
./list/remove-nth.lsp
./list/remove-once.lsp
./list/replace-index.lsp
./list/replace[m,n].lsp
./list/rm-m2n.lsp
./list/rtrim.lsp
./list/same-num.lsp
./list/same.lsp
./list/search-index.lsp
./list/search-item.lsp
./list/set-nth.lsp
./list/split-2d.lsp
./list/split-3d.lsp
./list/split-index.lsp
./list/split.lsp
./list/sublist.lsp
./list/subst.lsp
./list/trim.lsp
./m
./m/acos.lsp
./m/arcosh.lsp
./m/arsinh.lsp
./m/artanh.lsp
./m/asin.lsp
./m/azimuth.lsp
./m/base2base.lsp
./m/base2dec.lsp
./m/cal.lsp
./m/calheight.lsp
./m/coord-chg.lsp
./m/coordinate-rotate.lsp
./m/coordinate-scale.lsp
./m/coordinate.lsp
./m/cosh.lsp
./m/dec2base.lsp
./m/degress2radions.lsp
./m/difference.lsp
./m/dmm.lsp
./m/dms.lsp
./m/evenp.lsp
./m/expmod.lsp
./m/factorial.lsp
./m/fast-expt.lsp
./m/fermat-test.lsp
./m/fix-angle.lsp
./m/gcd.lsp
./m/intersect.lsp
./m/length.lsp
./m/maxlist.lsp
./m/mid.lsp
./m/minlist.lsp
./m/mulmod.lsp
./m/power.lsp
./m/radions2degress.lsp
./m/rand-by-cputicks.lsp
./m/rand.lsp
./m/random-fix.lsp
./m/random.lsp
./m/randrange.lsp
./m/rtos.lsp
./m/sign.lsp
./m/sinh.lsp
./m/sort-by-curve.lsp
./m/square.lsp
./m/symmetric-difference.lsp
./m/tan.lsp
./m/tanh.lsp
./m/transpt.lsp
./m/trim.lsp
./m/union.lsp
./matrix
./matrix/mxm.lsp
./matrix/mxp.lsp
./matrix/mxv.lsp
./matrix/norm.lsp
./matrix/trp.lsp
./matrix/unit.lsp
./matrix/vxs.lsp
./matrix/vxv.lsp
./matrix/v^v.lsp
./music-die
./music-die/multi-element.lsp
./none
./none/readme.org
./p
./p/curvep.lsp
./p/dotpairp.lsp
./p/ename-listp.lsp
./p/enamep.lsp
./p/intp.lsp
./p/picksetp.lsp
./p/readme.lsp
./p/realp.lsp
./p/safearrayp.lsp
./p/string-listp.lsp
./p/stringp.lsp
./p/variantp.lsp
./p/vla-listp.lsp
./p/vlap.lsp
./pickset
./pickset/boxs.lsp
./pickset/cluster.lsp
./pickset/delsameent.lsp
./pickset/erase.lsp
./pickset/from-entlist.lsp
./pickset/from-list.lsp
./pickset/get-sub.lsp
./pickset/getbox.lsp
./pickset/join.lsp
./pickset/pt-verts.lsp
./pickset/ptx.lsp
./pickset/readme.lsp
./pickset/sort-with-dxf.lsp
./pickset/sort.lsp
./pickset/ss-forword-en.lsp
./pickset/ssget-crossline.lsp
./pickset/ssget.lsp
./pickset/sub.lsp
./pickset/to-array.lsp
./pickset/to-entlist.lsp
./pickset/to-list-by-ssname.lsp
./pickset/to-list-by-ssnamex.lsp
./pickset/to-list.lsp
./pickset/to-vlalist.lsp
./point
./point/2d-to-3d.lsp
./point/3d-to-2d.lsp
./point/in-box.lsp
./point/mid.lsp
./point/rec-2pt-to-4pt.lsp
./reg
./reg/find-app.lsp~
./reg/list-app.lsp
./stat
./stat/draw.lsp
./stat/mode.lsp
./stat/print.lsp
./stat/stat.lsp
./std
./std/acad-object.lsp
./std/active-document.lsp
./std/addmenu.lsp
./std/addsupportpath.lsp
./std/addtoolbars.lsp
./std/catchapply.lsp
./std/e2vla.lsp
./std/endundo.lsp
./std/getinput.lsp
./std/insertpopmenuitems.lsp
./std/layers.lsp
./std/linetypes.lsp
./std/model-space.lsp
./std/protect-assign.lsp
./std/removemenuitem.lsp
./std/removesupportpath.lsp
./std/reset-system-variable.lsp
./std/return.lsp
./std/rgb.lsp
./std/save-system-variable.lsp
./std/startundo.lsp
./std/textstyles.lsp
./std/timer-end.lsp
./std/timer-start.lsp
./std/unprotect-assign.lsp
./std/vla2e.lsp
./string
./string/auto-split.lsp
./string/bytelength.lsp
./string/case.lsp
./string/concat.lsp
./string/format.lsp
./string/from-list.lsp
./string/from-lst.lsp
./string/indent.lsp
./string/intp.lsp
./string/l2s-ansi.lsp
./string/length.lsp
./string/lsubstr.lsp
./string/num-compare.lsp
./string/number-format.lsp
./string/numberp.lsp
./string/parse-by-lst.lsp
./string/readme.lsp
./string/realp.lsp
./string/regexp-replace.lsp
./string/regexp-search.lsp
./string/reverse.lsp
./string/rightsubstr.lsp
./string/rsubstr.lsp
./string/s2l-ansi.lsp
./string/sort-by-number.lsp
./string/square.lsp
./string/subst-all.lsp
./string/substr.lsp
./string/to-list.lsp
./string/to-lst.lsp
./string/trim-space.lsp
./style
./style/missing-fonts.lsp
./sys
./sys/list-process-name.lsp
./sys/list-process.lsp
./system
./system/vers.lsp
./table
./table/make.lsp
./table/read-csv.lsp
./table/write-csv.lsp
./text
./text/get-matrix.lsp
./text/get-mtext.lsp
./text/gettextwidth.lsp
./text/mtext2text.lsp
./text/mtext2text2.lsp
./text/parse-mtext.lsp
./text/remove-fmt.lsp
./text/stringexplode.lsp
./timer
./timer/begin.lsp
./timer/end.lsp
./ui
./ui/confirm.lsp
./ui/confirm1.lsp
./ui/dynquery.lsp
./ui/input.lsp
./ui/progress.lsp
./ui/progress1.lsp
./ui/select-multi.lsp
./ui/select.lsp
./ui/table-widths.lsp
./ui/table.lsp
./vectra
./vectra/acos.lsp
./vectra/angle-include.lsp
./vectra/angle-normal.lsp
./vectra/angle-regular.lsp
./vectra/angle-reverse.lsp
./vectra/array-create.lsp
./vectra/array-get.lsp
./vectra/array-set.lsp
./vectra/benchmark.lsp
./vectra/block-items-inner.lsp
./vectra/block-items.lsp
./vectra/block-trans.lsp
./vectra/ceiling.lsp
./vectra/clipboard-get.lsp
./vectra/clipboard-set.lsp
./vectra/commandrun-s.lsp
./vectra/commandrun.lsp
./vectra/confirm.lsp
./vectra/csvfile-read.lsp
./vectra/csvfile-readcache.lsp
./vectra/csvread-get.lsp
./vectra/csvread-get1.lsp
./vectra/csvread-keys.lsp
./vectra/deg2rad.lsp
./vectra/directory-make.lsp
./vectra/dxf.lsp
./vectra/dxf1.lsp
./vectra/dxfs.lsp
./vectra/edit-value.lsp
./vectra/enamep.lsp
./vectra/enames-after.lsp
./vectra/enames2ss.lsp
./vectra/endundomark.lsp
./vectra/ensure-ename.lsp
./vectra/ensure-object.lsp
./vectra/entmake.lsp
./vectra/entmod.lsp
./vectra/entsel-inner.lsp
./vectra/entsel.lsp
./vectra/error-end.lsp
./vectra/error-handler.lsp
./vectra/error-start.lsp
./vectra/error-start0.lsp
./vectra/file-read.lsp
./vectra/file-readstring.lsp
./vectra/file-search.lsp
./vectra/get-block.lsp
./vectra/get-bulge.lsp
./vectra/get.lsp
./vectra/get1.lsp
./vectra/getdist.lsp
./vectra/getint.lsp
./vectra/getkword.lsp
./vectra/getkword1.lsp
./vectra/hash-1.lsp
./vectra/hash.lsp
./vectra/insert-seqs.lsp
./vectra/item.lsp
./vectra/jscript-eval.lsp
./vectra/layer-get.lsp
./vectra/layer-get1.lsp
./vectra/line-closestpoint.lsp
./vectra/line-getangle.lsp
./vectra/line-getendnear.lsp
./vectra/line-getinters.lsp
./vectra/line-parallel.lsp
./vectra/linetype-get.lsp
./vectra/linetype-load.lsp
./vectra/lisp-load.lsp
./vectra/list2var.lsp
./vectra/make-arc.lsp
./vectra/make-block.lsp
./vectra/make-circle.lsp
./vectra/make-ellipse.lsp
./vectra/make-insert-with-funcs-a.lsp
./vectra/make-insert-with-funcs.lsp
./vectra/make-insert.lsp
./vectra/make-line.lsp
./vectra/make-polyline.lsp
./vectra/make-setenv.lsp
./vectra/make-sharparc.lsp
./vectra/make-text.lsp
./vectra/mid.lsp
./vectra/mxm.lsp
./vectra/mxv.lsp
./vectra/nentsel.lsp
./vectra/number-padding-last.lsp
./vectra/number-padding.lsp
./vectra/osnap-disable.lsp
./vectra/osnap-restore.lsp
./vectra/rad2deg.lsp
./vectra/readme.lsp
./vectra/refgeom.lsp
./vectra/regexp-match.lsp
./vectra/regexp-replace.lsp
./vectra/round.lsp
./vectra/set-symbol-notnull.lsp
./vectra/set-values.lsp
./vectra/set.lsp
./vectra/set1.lsp
./vectra/setvars.lsp
./vectra/sqr.lsp
./vectra/ss-highlight-inner.lsp
./vectra/ss-highlight.lsp
./vectra/ss2enames.lsp
./vectra/ss2handles.lsp
./vectra/startundomark.lsp
./vectra/string-connect.lsp
./vectra/string-left.lsp
./vectra/string-right.lsp
./vectra/string-setnotempty.lsp
./vectra/string-subst.lsp
./vectra/string-substp.lsp
./vectra/string-tokenize.lsp
./vectra/stringp.lsp
./vectra/tan.lsp
./vectra/template-eval.lsp
./vectra/template-parse-inner.lsp
./vectra/template-parse.lsp
./vectra/textstyle-get.lsp
./vectra/timer-start.lsp
./vectra/timer-stop.lsp
./vectra/timestamp.lsp
./vectra/trp.lsp
./vectra/uid.lsp
./vectra/unset.lsp
./vectra/var2list.lsp
./vectra/vector-angle.lsp
./vectra/vector-angle2.lsp
./vectra/vector-dotproduct.lsp
./vectra/vector-from2p.lsp
./vectra/vector-len.lsp
./vectra/vector-normal.lsp
./vectra/vector-reverse.lsp
./vectra/xdata-all.lsp
./vectra/xdata-exist.lsp
./vectra/xdata-get-inner.lsp
./vectra/xdata-get.lsp
./vectra/xdata-keys.lsp
./vectra/xdata-remove.lsp
./vectra/xdata-set-inner.lsp
./vectra/xdata-set.lsp
./vectra/xprop-exist.lsp
./vectra/xprop-get.lsp
./vectra/xprop-getall.lsp
./vectra/xprop-pack.lsp
./vectra/xprop-pack1.lsp
./vectra/xprop-remove.lsp
./vectra/xprop-replace.lsp
./vectra/xprop-set-inner.lsp
./vectra/xprop-set.lsp
./vectra/xprop-unpack.lsp
./vitalgg
./vitalgg/helloworld.lsp
./vitalgg/test.lsp
./vla
./vla/buildfilter.lsp
./vla/dump.lsp
./vla/enamelist2vla.lsp
./vla/get-value.lsp
./vla/list2array.lsp
./vla/list2arrays.lsp
./vla/objarray.lsp
./vla/objectvariant.lsp
./vla/sel.lsp
./vla/to-ename.lsp
./xyp
./xyp/uangle.lsp
./xyp/udist.lsp
./xyp/uinit.lsp
./xyp/ukword.lsp
./xyp/upoint.lsp
./xyp/ureal.lsp
./xyp/ustr.lsp






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

评分

参与人数 6明经币 +8 收起 理由
vectra + 1 很给力!
gzsod + 1 不支持浩辰啊 ACAD被告了 公司全换浩辰CAD.
hb198075 + 1 赞一个!
1028695446 + 1
tigcat + 1 很给力!
xyp1964 + 3 赞一个!

查看全部评分

"觉得好,就打赏"
还没有人打赏,支持一下
 楼主| 发表于 2022-5-19 06:46:24 | 显示全部楼层
vectra 发表于 2022-5-18 23:38
初步用了下,没有安装任何包,启动似乎就加载了所有函数,还没搞懂require存在的意义,没有(require 'ui:co ...

在函数库中的 (require  ...) 在使用时,不需要声明依赖,会自动加载。

在应用包中声明的依赖。当用户安装某个应用包时,会自动安装这个包所依赖的应用包。
比如 block-view 这个包 依赖 opendcl , 当用户安装 block-view 时,会自动安装 opendcl.

目前函数库内容还比较少,为了用户体验的效果,当前默认选择了自动全部加载。

你可以 @S 在配置中设置参数不自动加载 函数库。(如果没有这个配置项,请先 @U 升级一下)





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2022-5-18 23:38:09 | 显示全部楼层
本帖最后由 vectra 于 2022-5-18 23:47 编辑

初步用了下,没有安装任何包,启动似乎就加载了所有函数,还没搞懂require存在的意义,没有(require 'ui:confirm1)似乎仍然可以调用ui:confirm1。

服务器和程序似乎都在快速更迭中。

更像是一个网络化的插件管理器,或者应用市场,基本可以了,没啥大问题。

但是如果当作类比npm的包管理,依赖管理工具似有欠缺,也许lisp根本就没有工程化的需要,也许是我还没学会用。

应该是不小的工程,希望能够吸引开发者和普通用户,最终能火起来:D。
 楼主| 发表于 2022-10-13 20:57:37 | 显示全部楼层
本帖最后由 vitalgg 于 2022-10-13 21:08 编辑
cchessbd 发表于 2022-10-13 19:34
这个方便是方便,就是有点影响本地开图的速度。尤其是要开N个图的时候。
我安装成功后又卸载了。

影响速度的是联网检测,新版本关闭了打开图纸时的联网检测。
我装了13个@lisp应用,加载时间也不般不超过2秒。
如果不能接受,就删了吧。

硬件:Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz , 8G RAM, SSD.
win11, CAD2016


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2022-5-18 09:33:03 | 显示全部楼层
Lsp包管理器的优秀尝试   

大赞一个!
 楼主| 发表于 2022-5-18 16:27:09 | 显示全部楼层
问一下大家。
有必要上 github 吗?
做 autolisp 开发的有多少会用 github?
发表于 2022-5-18 16:57:29 | 显示全部楼层
LISP本来就很小众 不然也等不到我等来做包管理了

国产CAD建议增加JavaScript做二次开发语言,这才是未来。。
发表于 2022-5-18 16:58:31 | 显示全部楼层
这对公司不让联外网的太残忍了
 楼主| 发表于 2022-5-18 17:16:13 | 显示全部楼层
hf423 发表于 2022-5-18 16:58
这对公司不让联外网的太残忍了

打包 @lisp文件夹复制过去就行。
发表于 2022-5-18 17:26:48 | 显示全部楼层
压缩的安装代码 是自动生成还是手动生成的 看上去很强大啊
 楼主| 发表于 2022-5-18 18:24:58 | 显示全部楼层
vectra 发表于 2022-5-18 17:26
压缩的安装代码 是自动生成还是手动生成的 看上去很强大啊

手动写的。
自动只是合并行和多余的空格。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-12-23 18:03 , Processed in 0.195248 second(s), 33 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表