How do you reference a specific object in Moi3D scripting?
All  1-8  9-10

Previous
Next
 From:  Elang
12042.9 
Hi Michael,

I've attached a script that I've been working on as part of an R&D project at the company where I work. We have three MoI3D V4 licenses, all of which are used by our design and engineering team.

The goal of this script is to automate the creation of production box designs for our souvenir products. The idea is simple: the user enters the overall bounding box dimensions of a souvenir, and the script automatically generates the corresponding box design.





If you have some time, I'd really appreciate it if you could take a look and share your comments. Also, if you notice that I'm still approaching things with the wrong paradigm (as you pointed out in one of my previous posts) please don't hesitate to correct me. I'd much rather learn the proper way than continue building on a flawed approach.

My hope is that this tool will reduce the engineering time required for each box design by around 10–20 minutes, making the workflow more efficient for our team.

Thank you very much for your continued support and for all the knowledge you've shared with the MoI community over the years. It is genuinely appreciated.

Best regards,

- Elang

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
12042.10 In reply to 12042.9 
Hi Elang,

re:
> If you have some time, I'd really appreciate it if you could take a look and share your
> comments. Also, if you notice that I'm still approaching things with the wrong paradigm
> (as you pointed out in one of my previous posts) please don't hesitate to correct me.
> I'd much rather learn the proper way than continue building on a flawed approach.

It looks good to me! Some minor things in the .htm file:

The <link rel="stylesheet" href="moi://ui/moi.css" type="text/css"> can be removed, it isn't needed anymore starting with MoI version 3. Same with xmlns:moi in the <html>.

In the <head> you can put in a <style> with some style rules and then all the individual inline style="" and align="" attributes can be removed, see attached.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-8  9-10