Optimally Ordered Antipodally Symmetric Point Set Generator, also Non-Antipodal. For unit sphere. Import the point files
 1-3  4-22

Previous
Next
 From:  bemfarmer
5199.4 In reply to 5199.3 
Perhaps try ImportPointFile script with this text file?

EDITED: 19 Feb 2014 by BEMFARMER

  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:  futagoza (STEFAN)
5199.5 In reply to 5199.4 
I tried you points file and this is my result:



Regards
Stefan
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:  bemfarmer
5199.6 In reply to 5199.5 
Does ImportPointsFile.js work with Mac OSX?
Yes, according to this post:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5124.1

Here is the discussion on the the updated version, which added multiple spaces delimiters:
http://moi3d.com/forum/index.php?webtag=MOI&msg=4381.7
........EDIT See Post 11 for updated point import file location, & updated save.....

How about a really simple file like the attached text file?

EDITED: 20 Jun 2012 by BEMFARMER


  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:  futagoza (STEFAN)
5199.7 In reply to 5199.6 
Well,

Michael has updated this and the export script for OSX a while ago.

Regards
Stefan
  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:  bemfarmer
5199.8 In reply to 5199.7 
Edited post above.
How does the simple text file, TestPointImportFile2.txt, attached there, import?
I do not have a Mac.

Did a google search for "tab delimited text file osx", where people had (other) problems with
tab delimited... I know next to nothing about Max OSX. :-)

Attached is a comma delimited version to try:

EDITED: 20 Jun 2012 by BEMFARMER


  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:  futagoza (STEFAN)
5199.9 In reply to 5199.8 
Thanks for your help!

I tried both of your new examples and they both import fine and show the proper result.

I also converted your original 50 points file again with commas instead of tabs and it
showed also the same bad result.

Maybe Michael, or someone else with a Mac can load the 50 points file and
verify if the result is properly shown, from the 50 points file...

Regards
Stefan
  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:  bemfarmer
5199.10 In reply to 5199.9 
Good idea.

Is there a problem with16 decimal digits, or with the E notation?
  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
5199.11 In reply to 5199.9 
Hi Stefan,

> Maybe Michael, or someone else with a Mac can load the 50 points file and
> verify if the result is properly shown, from the 50 points file...

I tested the file Antipodal50.txt from above on my Mac here and it seems to give what looks like the proper result:




I used the ImportPointsFile from here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5124.2

And set delimiter to Tabs, and the points seem to be arranged in the expected kind of dome form.

I did not edit or change the file itself...

- 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:  futagoza (STEFAN)
5199.12 In reply to 5199.11 
Hi Michael,

thanks for trying it out! It's very strange that i don't get the same results...
Maybe when i have time tomorrow i will create an own points file
generated from some generic polygon mesh and see what happens.

Best regards
Stefan
  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
5199.13 In reply to 5199.12 
Hi Stefan is there some way that the text file is getting changed when you download it? Are you opening it in a text editor after downloading it or something similar to that?

Do you have any special downloader mechanism that you are using? I just used Safari to download the file to my desktop and it seemed to work fine for me over here.

- 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:  Michael Gibson
5199.14 In reply to 5199.12 
Hi Stefan, also is your system locale set to something that uses the comma character as the decimal point separator? Maybe there is some issue with that, although you did say that other text files worked ok for you, is that right?

- 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:  futagoza (STEFAN)
5199.15 In reply to 5199.14 
Hi Michael,

i downloaded the file also with Safari and have no other downloader used. About the system locale i'm not
quite sure, i changed terminal a while ago to ISO Latin 9 instead of UTF-8 for an older email client under
Terminal. But i switched it back now and it displays still the same in MoI. However i also renamed the
file with an .asc extension and loaded it in Meshlab and there it displays the point fine. The other both
files from Ben worked fine.

Regards
Stefan
  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:  futagoza (STEFAN)
5199.16 In reply to 5199.15 
Hi Michael,

I just checked and this is my locale settings:



Regards
Stefan
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:  futagoza (STEFAN)
5199.17 In reply to 5199.16 
Hi Michael,

i switched my locale settings as a test to United States and now MoI displays Ben's 50points file properly.
I must admit i never had this problem before on my Mac.



Regards
Stefan
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
5199.18 In reply to 5199.17 
Hi Stefan, the locale can have an impact on how numbers are parsed with certain kinds of parsing functions.

Somewhere in there is a bug that numbers are being parsed with a locale-specific handler when it should not be.

Thank you for posting your settings and for testing with altered locale to narrow down the problem, that should let me reproduce it over here and investigate a fix.

- 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:  Michael Gibson
5199.19 In reply to 5199.17 
It is kind of weird that other files did work ok for you though. Anyway tomorrow I will investigate and try to see what's going on there.

- 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:  bemfarmer
5199.20 In reply to 5199.19 
.Deleted irrelevant post.

EDITED: 22 Jun 2012 by BEMFARMER

  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
5199.21 In reply to 5199.17 
Hi Stefan, I've been investigating this import point file problem today and it seems to be a bug pretty deep in the scripting system involving conversion of string values to number values. It's also not unique to the Mac version, it happens on the Windows version too.

I'm working on a fix to the script engine itself for the next v3 release, but in the meantime here is an updated ImportPointFile plug-in which has a slight modification which will avoid triggering this particular bug, this version should work for you with your original locale settings, please let me know if it still does not.

Thanks,
- 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:  futagoza (STEFAN)
5199.22 In reply to 5199.21 
Hi Michael,

works fine now! Thank you very much for the quick fix, much appreciated!

Regards
Stefan
  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:  1-3  4-22