Moi3d 4.0 SavePointFile not working, how to export x,y point coordinates?

Next
 From:  skipper
8996.1 
Hello,

I want to export the x,y,z coordinates of the points describing a foil section profile. I used to do it (Moi3d 3.0) using the SavePointFile script but after selecting the points and a click on Done, nothing happens.

I have attached an example and am looking for a way to export the coordinates of all the points in form of x,y,z coordinates file - actually, as the points are in a plane, x,y would be sufficient.

Any idea about how to fix the script or another way of doing it?

Skipper
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
8996.2 In reply to 8996.1 
Hi skipper, please try the updated version of the script from here:
http://moi3d.com/forum/messages.php?webtag=MOI&msg=5124.2

Use the one that says it was updated to run on OSX, that one will work on both Windows and Mac v4 because it was updated to use MoI's built in functions for working with text files rather than using an ActiveX control.

- 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:  skipper
8996.3 In reply to 8996.2 
Hello Michael,

I updated the commands with the proposed versions and tested both import and "export" (SavePointFile) but the latter doesn't work in the sense, that I am not prompted to provide any filename and I don't see any file created automatically using e.g. the current Moi3d file name with another extension?! Import works fine.

What could be the problem?

Skipper
  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
8996.4 In reply to 8996.3 
Hi skipper, well looking in your .3dm file in the start of this thread, there aren't any "point objects" in the file which is what the SavePointFile command is looking for. It won't recognize edit points that you can turn on for curve editing which is probably what you are doing?

You can convert edit points into point objects by selecting all edit points (but not the curve itself) and using Ctrl+C copy and then Ctrl+V paste. A quick way to select all edit points is to select one and then do Ctrl+A for select all.

Once you have converted the edit points into individual point objects then SavePointFile should do what you need.

- 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
 

Reply to All Reply to All