Ooops. I feel like such a dweeb...
Thanks for being kind.
May I infer from the resulting cube, that 'units' are in inches and I need to convert all my dimensions to float inches?
Tom
Update: Worked like a champ! Thanks for your help!
Ooops. I feel like such a dweeb...
Thanks for being kind.
May I infer from the resulting cube, that 'units' are in inches and I need to convert all my dimensions to float inches?
Tom
Update: Worked like a champ! Thanks for your help!
<Newbie alert>
I'm trying to understand how to use this plugin (ultimately want to use it to import a terrain mesh). I've 'installed' the plugin and, to try it out, I copied the simple cube shown in http://paulbourke.net/dataformats/ply/ into a file called 'simple_cube.ply' as follows:
ply
format ascii 1.0 { ascii/binary, format version number }
comment made by Greg Turk { comments keyword specified, like all lines }
comment this file is a cube
element vertex 8 { define "vertex" element, 8 of them in file }
property float x { vertex contains float "x" coordinate }
property float y { y coordinate is also a vertex property }
property float z { z coordinate, too }
element face 6 { there are 6 "face" elements in the file }
property list uchar int vertex_index { "vertex_indices" is a list of ints }
end_header { delimits the end of the header }
0 0 0 { start of vertex list }
0 0 1
0 1 1
0 1 0
1 0 0
1 0 1
1 1 1
1 1 0
4 0 1 2 3 { start of face list }
4 7 6 5 4
4 0 4 5 1
4 1 5 6 2
4 2 6 7 3
4 3 7 4 0
I then open SketchupPro V8 and select this plugin from the plugin menu. I select the 'simple_cube.ply' file and get the following result on the Ruby Console:
Error: #<NoMethodError: undefined method times' for nil:NilClass> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:104:in
parse_faces'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:102:in each' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:102:in
parse_faces'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:51:in parse' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:208:in
ply_import'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:231
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:104:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/jf_ply_importer.rb:104
Uh, what am I doing wrong?
And, if I get past this, what units should I set my vertices to (currently in feet, inches, fractional inches)?
Thanks in advance,
Tom
I joined this forum because I saw the Woodworker Discussion but when I went to the link, it said I wasn't authorized to see all the content. I signed up, expecting to be 'authorized' and now I see nothing when I click the Woodworker Discussion link. How do I access this discussion?
Tom