LDraw.org Discussion Forums
[LDCad] no accept scripts - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Help (https://forums.ldraw.org/forum-13.html)
+--- Thread: [LDCad] no accept scripts (/thread-24572.html)



no accept scripts - zhangzhenbo - 2021-04-22

嗨,我以为开始使用此LDcad,所以遇到了一些问题。
当我打开脚本菜单时,我无法建立代码,该消息告诉我不接受脚本,我不知道为什么,也无法在Google中搜索此问题。
我希望有人能给我一些帮助!
我的计算机系统团队是Microsoft Windows 10.0


RE: no accept scripts - Gerald Lasser - 2021-04-22

Please use English on this site.

Using Google Translate, it is hard to judge if this is spam or not. If you got a genuine issue with LDCad please put it here in English along with screenshots if necessary.

Thanks


RE: no accept scripts - Orion Pobursky - 2021-04-22

(2021-04-22, 9:13)zhangzhenbo Wrote: 嗨,我以为开始使用此LDcad,所以遇到了一些问题。
当我打开脚本菜单时,我无法建立代码,该消息告诉我不接受脚本,我不知道为什么,也无法在Google中搜索此问题。
我希望有人能给我一些帮助!
我的计算机系统团队是Microsoft Windows 10.0

I think I understand your question but don't know the answer. Roland, the author of LDCad, probably can help you but, as Gerald wrote, you need to post your question in English with screenshots.


RE: no accept scripts - Roland Melkert - 2021-04-24

(2021-04-22, 13:44)Orion Pobursky Wrote: I think I understand your question but don't know the answer. Roland, the author of LDCad, probably can help you but, as Gerald wrote, you need to post your question in English with screenshots.

Google's translation is very poor, but I think this is the known lua doesn't support unicode paths in its include mechanism issue.

Which is a lua annoyance because LDCad itself is fully utf8 aware.

You can fix it by placing the scripts folder in an asciii only location (e.g. c:\data\LDCad\scripts)

And then edit the ldcad.cfg to point to that location by changing:
scriptsDir=<userAppDataDir>/<appSubDir>/scripts
into
scriptsDir=c:\data\LDCad\scripts

Or just use the archive version of LDCad to run the whole program from an ascii only location.