MoI discussion forum
MoI discussion forum

Full Version: SCRIPT IN MOI3D

Show messages: All  1-3  4-9

From: Michael Gibson
21 May   [#4] In reply to [#3]
Hi JOCONDOR, there isn't any official API documentation but there are some things collected here:
http://moi3d.com/wiki/scripting

AI tools seem to have trouble making MOI scripts, either because of lack of documentation or not enough examples for them to train on.

They often seem to generate a bunch of wrong non-working code. I would recommend to not use one for trying to write MOI scripts.

- Michael
From: JOCONDOR
21 May   [#5] In reply to [#4]
I'm getting help from the AI, and I'm having trouble. I've made some small improvements with the script. I'm attaching the files here.

Attachments:
GeneratoreProfili.htm
GeneratoreProfili.js


From: Michael Gibson
21 May   [#6] In reply to [#5]
Hi JOCONDOR,

> I'm getting help from the AI, and I'm having trouble.

Could you describe the trouble?

- Michael
From: JOCONDOR
24 May   [#7] In reply to [#6]
Hi Michael, the problem is this:
When I select a line, a menu should open that allows me to select the various HeA profiles, etc. Then, based on the one I choose, a solid with the chosen profile will be created from the line. Unfortunately, it doesn't work. I'm not a computer engineer, but a construction engineer. I don't have any programming language skills.
From: Michael Gibson
24 May   [#8] In reply to [#7]
Hi JOCONDOR, I'm sorry but some programming language skills are a necessary prerequisite to be able to make MOI scripts.

AI tools do not seem to do a very good job making MOI scripts. I'm not exactly sure why that is, possibly there is not enough data for them to train on.

You may need to find a partner who does have some programming background to work on your project.

Or perhaps try the node editor, it is a type of simplified graphical programming language:
https://moi3d.com/wiki/Nodeeditor

- Michael
From: JOCONDOR
24 May   [#9] In reply to [#8]
Thanks for the advice. I'll try to download the plugin.

Show messages: All  1-3  4-9