Hi , Oppps I missed that issue
Diddler Bur: It would be great if your point cloud importer had a "text" option
Thanks for all your help
Berst regards "fra regn byen"
Kristoffer
Hi , Oppps I missed that issue
Diddler Bur: It would be great if your point cloud importer had a "text" option
Thanks for all your help
Berst regards "fra regn byen"
Kristoffer
I think I know what the problem is . Its the dicimales.... Its fine importing a file that says:
example: text,200.0,200.0,200.0
But when the file has a desimale value thats larger than 0 i get an error
example: text,200.5,200.5,200.5
Best regards
Kristoffer
Hi , I tried to make my own file for testing and the negative co-ordinates workes fine, so the problem is not the negative co-ordinates. But when I export a file from my calculation program and try it import it I get an error, but the files sceems identical to me?
Here is the error i get
and the file is attached below
Error: #<Errno::ENOENT: C:/Programfiler/Google/Google SketchUp 7/Plugins/cptstxt.rb:14:in `readlines': No such file or directory - C:\Documents and Settings\krh\Skrivebord\BeregnetHøyderfile8.txt>
C:/Programfiler/Google/Google SketchUp 7/Plugins/cptstxt.rb:14
Best Regards
KRistoffer
Hi again
When I try to import a file Negative Co-ordinates I cet an error
Is this an easy fix ?
See the example file
Best Regards
Kristoffer
Hi , Thanks for the Text and Leader tip
If I want to import Y, X ,Z rather than X,Y,Z
Can I just switch around the
x=data[1].to_f.mm
y=data[2].to_f.mm
z=data[3].to_f.mm
pt=[x,y,z]
To
y=data[1].to_f.mm
x=data[2].to_f.mm
z=data[3].to_f.mm
pt=[y,x,z]
Best Regards
Kristoffer
Hi , I managed to fix it
It was just missing the "#" on the 3 first lines
The plugin works perfect Thank you so mutch for your help .
Best regards'
Kristoffer
Hi
I cant get it to work properly , I only get this error message from the ruby console, And I get some errors when starting up SketchUp
cptstxt
Error: #<NameError: (eval):894: undefined local variable or method `cptstxt' for main:Object>
(eval):894
Your script says " require 'sketchup.rb' "
Does that mean that I have to copy/paste the file from the "tools" folder and into the "plugin" folder?
Regards
Kristoffer
By the way , The file is a Ascii .DAT file
Ragards
KRistoffer
Hi , I have added an example file.
Im doing a lot of reverse 3d engineering and when I have a lot of points to import it`s prity hard to manage with out the "point id" text.
Hope the example is helpfull
Thanks for you help so far
Best regards Kristoffer