CSec Profiles, as in Rhino
All  1-10  11-14

Previous
Next
 From:  Michael Gibson
849.11 In reply to 849.10 
Thanks Will! One thing that helps is that MoI uses scripting heavily in its normal operation for every command. What I mean is that the scripting is not just something that is bolted on extra, it is deeply embedded and used for basic operations in MoI.

So you can do pretty sophisticated stuff with scripts, create UI that is the same as any regular MoI command, etc... The only tricky part is that it will take me quite a bit of time to document it (and write scripting tutorials, etc...) so that others can use it to do these kinds of extensions more easily. I won't be able to focus on that kind of scripting documentation for a while yet.

In this case this new command basically combines together elements of several different commands - Line, Extrude, Intersect, and Curve through points.

There are a still a few things to streamline for scripting, but I'm really happy with the overall scripting architecture, it gives me a lot of flexibility when building new commands.

- Michael
  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
Next
 From:  wastzzz
849.12 
I have a problem with the CSec script. Here I am attaching the 3dm file. If I detach a little the profiles, then it works, but that's not what I need..
Thank you.
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

Previous
Next
 From:  Michael Gibson
849.13 In reply to 849.12 
Hi wastzzz, yeah it's related to how the csec script calculates intersections between things - if the csec rails also intersect with one another it generates another intersection point and messes up the script.

> If I detach a little the profiles, then it works, but that's not what I need..

You can still easily get what you need by using detached profiles - start with your profiles how you want them with them all touching at the ends. Select them and do a Ctrl+C to copy them to the clipboard.

Now draw in 2 lines in the side views near the ends, use Edit > Trim to cut the ends off and now you can use Csec on those cut rails that do not touch at the ends. When you are doing doing csec delete the cut up rails and do Ctrl+V to paste back in the original uncut rails and you should then have the result you want.

- Michael
  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:  wastzzz
849.14 In reply to 849.13 
Understood, thank you for the workaround, it's working :)
  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-10  11-14