ply 0.9 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +7 -0
  2. data/History.txt +4 -0
  3. data/README.rdoc +17 -14
  4. data/README.txt +17 -14
  5. data/lib/ply.rb +1 -1
  6. metadata +12 -18
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fb7cecce6801ec4da7dbeac2a680bb95d5120063
4
+ data.tar.gz: 9bce04fc06a866ef3177bb8c6d00d8ccca5275ad
5
+ SHA512:
6
+ metadata.gz: d50c65438e7bc9b509e38e8ef25f03fc4f30f79e1216e2ae7d21a8b757435cf3092af24578c63d4c5760284152239a11917008f1bc7036b6763b2e5a3198a900
7
+ data.tar.gz: a6fee0725e5f94ca45e6e3b0a1db8723ee48b58b9e83679d9b8ffb65c0a7be41f49c795c1b0c012e57f2defec3c24894d1b7109c129885f3486ba66303af9476
@@ -1,3 +1,7 @@
1
+ === 0.9.1 / 2013-03-30
2
+
3
+ * Documentation improvements
4
+
1
5
  === 0.9.0 / 2013-02-04
2
6
 
3
7
  * Initial release
@@ -10,9 +10,9 @@ License:: 2-clause BSD-Style (see LICENSE.txt)
10
10
 
11
11
  Ply is a ruby gem for reading Stanford PLY-format 3D model files.
12
12
 
13
- The PLY file format is a flexible format for storing semi-structured binary data,
14
- and is often used to stored polygonalized 3D models generated with range
15
- scanning hardware. You can find some examples of the format at the the
13
+ The PLY file format is a flexible format for storing semi-structured binary
14
+ data, and is often used to stored polygonalized 3D models generated with
15
+ range scanning hardware. You can find some examples of the format at the
16
16
  {Stanford 3D Scanning Repository}[http://graphics.stanford.edu/data/3Dscanrep/].
17
17
 
18
18
  Ply provides a simple API for quick access to the data in a PLY file
@@ -23,15 +23,14 @@ dataset represented in the file in memory. Ply handles all three types of
23
23
  PLY files (ascii, binary-big-endian and binary-little-endian).
24
24
 
25
25
  If you don't have any Stanford PLY files on hand, you probably don't need
26
- this gem, but if you're curious, the PLY file format, described at
27
- Wikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)]
28
-
26
+ this gem, but if you're curious, the PLY file format is described at
27
+ Wikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)].
29
28
 
30
29
  == REQUIREMENTS:
31
30
 
32
- Ply currently requires Ruby 1.9.3 -- if you have a need to run Ply with Ruby
33
- 1.8.7, drop me an email[mailto:jwise@draga.com], and I'll look into
34
- backporting it. Ply has no other dependencies.
31
+ Ply currently requires Ruby 1.9.3 or above (including 2.0.0) -- if you have
32
+ a need to run Ply with Ruby 1.8.7, drop me an email[mailto:jwise@draga.com],
33
+ and I'll look into backporting it. Ply has no other dependencies.
35
34
 
36
35
  == INSTALL:
37
36
 
@@ -142,16 +141,20 @@ called once for each element in the file, and passed two arguments:
142
141
  * The type of the current element, in the same format as a member of the
143
142
  array returned by Ply::PlyFile::elements
144
143
 
145
- * The current element, in the same format as the members of the arrays
146
- returned by Ply::PlyFile::data
144
+ * The current element, in the same format as a member of the arrays returned
145
+ by Ply::PlyFile::data
147
146
 
148
147
  Note that if your subclass provides a #initialize method, it is your
149
- responsibility to ensure that PlyFile
148
+ responsibility to ensure that the initialize method of Ply::PlyFile is also
149
+ called with an appropriate argument -- see below for an example of how to do
150
+ this using ruby's +super+ keyword.
150
151
 
151
152
  As an example, the following code defines a subclass of PlyFile which merely
152
153
  *counts* the elements of each type present in PLY file, without reading them
153
154
  all into memory at the same time:
154
155
 
156
+ require 'ply'
157
+
155
158
  class PlyFileCounter < Ply::PlyFile
156
159
  attr_reader :counts
157
160
 
@@ -174,8 +177,8 @@ all into memory at the same time:
174
177
  In addition to the large models in the {Stanford 3D Scanning
175
178
  Repository}[http://graphics.stanford.edu/data/3Dscanrep/], the +examples/+
176
179
  subdirectory of this gem includes a simple triangulated cube model in all
177
- three PLY file formats, as well as a script to generate these three files
178
- which you may modify for your own purposes.
180
+ three PLY file formats, as well as a script to generate these three files,
181
+ which also provides an example of how to write Ply files using ruby.
179
182
 
180
183
  === ply2ascii
181
184
 
data/README.txt CHANGED
@@ -10,9 +10,9 @@ License:: 2-clause BSD-Style (see LICENSE.txt)
10
10
 
11
11
  Ply is a ruby gem for reading Stanford PLY-format 3D model files.
12
12
 
13
- The PLY file format is a flexible format for storing semi-structured binary data,
14
- and is often used to stored polygonalized 3D models generated with range
15
- scanning hardware. You can find some examples of the format at the the
13
+ The PLY file format is a flexible format for storing semi-structured binary
14
+ data, and is often used to stored polygonalized 3D models generated with
15
+ range scanning hardware. You can find some examples of the format at the
16
16
  {Stanford 3D Scanning Repository}[http://graphics.stanford.edu/data/3Dscanrep/].
17
17
 
18
18
  Ply provides a simple API for quick access to the data in a PLY file
@@ -23,15 +23,14 @@ dataset represented in the file in memory. Ply handles all three types of
23
23
  PLY files (ascii, binary-big-endian and binary-little-endian).
24
24
 
25
25
  If you don't have any Stanford PLY files on hand, you probably don't need
26
- this gem, but if you're curious, the PLY file format, described at
27
- Wikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)]
28
-
26
+ this gem, but if you're curious, the PLY file format is described at
27
+ Wikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)].
29
28
 
30
29
  == REQUIREMENTS:
31
30
 
32
- Ply currently requires Ruby 1.9.3 -- if you have a need to run Ply with Ruby
33
- 1.8.7, drop me an email[mailto:jwise@draga.com], and I'll look into
34
- backporting it. Ply has no other dependencies.
31
+ Ply currently requires Ruby 1.9.3 or above (including 2.0.0) -- if you have
32
+ a need to run Ply with Ruby 1.8.7, drop me an email[mailto:jwise@draga.com],
33
+ and I'll look into backporting it. Ply has no other dependencies.
35
34
 
36
35
  == INSTALL:
37
36
 
@@ -142,16 +141,20 @@ called once for each element in the file, and passed two arguments:
142
141
  * The type of the current element, in the same format as a member of the
143
142
  array returned by Ply::PlyFile::elements
144
143
 
145
- * The current element, in the same format as the members of the arrays
146
- returned by Ply::PlyFile::data
144
+ * The current element, in the same format as a member of the arrays returned
145
+ by Ply::PlyFile::data
147
146
 
148
147
  Note that if your subclass provides a #initialize method, it is your
149
- responsibility to ensure that PlyFile
148
+ responsibility to ensure that the initialize method of Ply::PlyFile is also
149
+ called with an appropriate argument -- see below for an example of how to do
150
+ this using ruby's +super+ keyword.
150
151
 
151
152
  As an example, the following code defines a subclass of PlyFile which merely
152
153
  *counts* the elements of each type present in PLY file, without reading them
153
154
  all into memory at the same time:
154
155
 
156
+ require 'ply'
157
+
155
158
  class PlyFileCounter < Ply::PlyFile
156
159
  attr_reader :counts
157
160
 
@@ -174,8 +177,8 @@ all into memory at the same time:
174
177
  In addition to the large models in the {Stanford 3D Scanning
175
178
  Repository}[http://graphics.stanford.edu/data/3Dscanrep/], the +examples/+
176
179
  subdirectory of this gem includes a simple triangulated cube model in all
177
- three PLY file formats, as well as a script to generate these three files
178
- which you may modify for your own purposes.
180
+ three PLY file formats, as well as a script to generate these three files,
181
+ which also provides an example of how to write Ply files using ruby.
179
182
 
180
183
  === ply2ascii
181
184
 
data/lib/ply.rb CHANGED
@@ -26,7 +26,7 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module Ply
29
- VERSION = '0.9'
29
+ VERSION = '0.9.1'
30
30
 
31
31
  # module for working with ply file format -- see
32
32
  # http://en.wikipedia.org/wiki/PLY_(file_format)
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ply
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
5
- prerelease:
4
+ version: 0.9.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jim Wise
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
11
+ date: 2013-03-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rdoc
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: hoe
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,22 +34,21 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
40
  version: '3.5'
46
- description: ! "Ply is a ruby gem for reading Stanford PLY-format 3D model files.\n\nThe
47
- PLY file format is a flexible format for storing semi-structured binary data,\nand
48
- is often used to stored polygonalized 3D models generated with range\nscanning hardware.
49
- \ You can find some examples of the format at the the\n{Stanford 3D Scanning Repository}[http://graphics.stanford.edu/data/3Dscanrep/].\n
41
+ description: "Ply is a ruby gem for reading Stanford PLY-format 3D model files.\n\nThe
42
+ PLY file format is a flexible format for storing semi-structured binary\ndata, and
43
+ is often used to stored polygonalized 3D models generated with\nrange scanning hardware.
44
+ \ You can find some examples of the format at the\n{Stanford 3D Scanning Repository}[http://graphics.stanford.edu/data/3Dscanrep/].\n
50
45
  \nPly provides a simple API for quick access to the data in a PLY file\n(including
51
46
  examining the structure of a particular file's content), and\nan almost-as-simple
52
47
  event-driven API which can be used to process extremely\nlarge ply files in a streaming
53
48
  fashion, without needing to keep the full\ndataset represented in the file in memory.
54
49
  \ Ply handles all three types of\nPLY files (ascii, binary-big-endian and binary-little-endian).\n\nIf
55
50
  you don't have any Stanford PLY files on hand, you probably don't need\nthis gem,
56
- but if you're curious, the PLY file format, described at\nWikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)]"
51
+ but if you're curious, the PLY file format is described at\nWikipedia[http://en.wikipedia.org/wiki/PLY_(file_format)]."
57
52
  email:
58
53
  - jwise@draga.com
59
54
  executables:
@@ -84,6 +79,7 @@ files:
84
79
  - .gemtest
85
80
  homepage: https://github.com/jimwise/ply
86
81
  licenses: []
82
+ metadata: {}
87
83
  post_install_message:
88
84
  rdoc_options:
89
85
  - --main
@@ -91,22 +87,20 @@ rdoc_options:
91
87
  require_paths:
92
88
  - lib
93
89
  required_ruby_version: !ruby/object:Gem::Requirement
94
- none: false
95
90
  requirements:
96
- - - ! '>='
91
+ - - '>='
97
92
  - !ruby/object:Gem::Version
98
93
  version: '0'
99
94
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
95
  requirements:
102
- - - ! '>='
96
+ - - '>='
103
97
  - !ruby/object:Gem::Version
104
98
  version: '0'
105
99
  requirements: []
106
100
  rubyforge_project: ply
107
- rubygems_version: 1.8.24
101
+ rubygems_version: 2.0.0
108
102
  signing_key:
109
- specification_version: 3
103
+ specification_version: 4
110
104
  summary: Ply is a ruby gem for reading Stanford PLY-format 3D model files
111
105
  test_files:
112
106
  - test/test_ply.rb