autocad 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop/minitest.yml +2 -0
  3. data/.rubocop/strict.yml +4 -0
  4. data/.rubocop.yml +33 -0
  5. data/.solargraph.yml +22 -0
  6. data/.vscode/launch.json +30 -0
  7. data/CHANGELOG.md +5 -0
  8. data/CODE_OF_CONDUCT.md +132 -0
  9. data/Guardfile +66 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +39 -0
  12. data/Rakefile +10 -0
  13. data/Steepfile +35 -0
  14. data/WASD-D-TDS-C001.dwg +0 -0
  15. data/WASD-D-TDS-C001.pdf +0 -0
  16. data/autocad.log +1 -0
  17. data/autocad_example.rb +26 -0
  18. data/event_handler.log +24 -0
  19. data/examples/example_save_pdf.rb +5 -0
  20. data/exe/autocad +3 -0
  21. data/exe/dgn2pdf +50 -0
  22. data/exe/pw_print +43 -0
  23. data/gemfiles/rubocop.gemfile +6 -0
  24. data/lib/autocad/app.rb +655 -0
  25. data/lib/autocad/arc.rb +29 -0
  26. data/lib/autocad/block.rb +141 -0
  27. data/lib/autocad/block_reference.rb +198 -0
  28. data/lib/autocad/drawing.rb +426 -0
  29. data/lib/autocad/element.rb +454 -0
  30. data/lib/autocad/enumerator.rb +24 -0
  31. data/lib/autocad/errors.rb +37 -0
  32. data/lib/autocad/event_handler.rb +30 -0
  33. data/lib/autocad/filter.rb +168 -0
  34. data/lib/autocad/layer.rb +41 -0
  35. data/lib/autocad/line.rb +55 -0
  36. data/lib/autocad/message_box.rb +95 -0
  37. data/lib/autocad/model.rb +89 -0
  38. data/lib/autocad/mtext.rb +110 -0
  39. data/lib/autocad/paths.rb +29 -0
  40. data/lib/autocad/point3d.rb +143 -0
  41. data/lib/autocad/pviewport.rb +21 -0
  42. data/lib/autocad/selection_filter.rb +180 -0
  43. data/lib/autocad/selection_set.rb +61 -0
  44. data/lib/autocad/selection_set_adapter.rb +146 -0
  45. data/lib/autocad/text.rb +74 -0
  46. data/lib/autocad/version.rb +5 -0
  47. data/lib/autocad.rb +161 -0
  48. data/olegen.rb +341 -0
  49. data/rbs_collection.lock.yaml +188 -0
  50. data/rbs_collection.yaml +19 -0
  51. data/scanner.obj +0 -0
  52. data/sig/generated/autocad/app.rbs +251 -0
  53. data/sig/generated/autocad/arc.rbs +17 -0
  54. data/sig/generated/autocad/block.rbs +63 -0
  55. data/sig/generated/autocad/block_reference.rbs +59 -0
  56. data/sig/generated/autocad/drawing.rbs +158 -0
  57. data/sig/generated/autocad/element.rbs +166 -0
  58. data/sig/generated/autocad/enumerator.rbs +15 -0
  59. data/sig/generated/autocad/errors.rbs +23 -0
  60. data/sig/generated/autocad/event_handler.rbs +14 -0
  61. data/sig/generated/autocad/filter.rbs +60 -0
  62. data/sig/generated/autocad/layer.rbs +19 -0
  63. data/sig/generated/autocad/line.rbs +25 -0
  64. data/sig/generated/autocad/message_box.rbs +81 -0
  65. data/sig/generated/autocad/model.rbs +41 -0
  66. data/sig/generated/autocad/paths.rbs +19 -0
  67. data/sig/generated/autocad/point3d.rbs +66 -0
  68. data/sig/generated/autocad/selection_filter.rbs +50 -0
  69. data/sig/generated/autocad/selection_set.rbs +37 -0
  70. data/sig/generated/autocad/selection_set_adapter.rbs +28 -0
  71. data/sig/generated/autocad/text.rbs +19 -0
  72. data/sig/generated/autocad/text_node.rbs +37 -0
  73. data/sig/generated/autocad/version.rbs +5 -0
  74. data/sig/generated/autocad/viewport.rbs +11 -0
  75. data/sig/generated/autocad.rbs +68 -0
  76. data/sig/prototype/lib/autocad/app.rbs +34 -0
  77. data/sig/prototype/lib/autocad/block.rbs +5 -0
  78. data/sig/prototype/lib/autocad/block_reference.rbs +5 -0
  79. data/sig/prototype/lib/autocad/drawing.rbs +13 -0
  80. data/sig/prototype/lib/autocad/element.rbs +9 -0
  81. data/sig/prototype/lib/autocad/enumerator.rbs +5 -0
  82. data/sig/prototype/lib/autocad/event_handler.rbs +7 -0
  83. data/sig/prototype/lib/autocad/model.rbs +5 -0
  84. data/sig/prototype/lib/autocad/paths.rbs +5 -0
  85. data/sig/prototype/lib/autocad.rbs +3 -0
  86. data/temp/autocad.dwg +0 -0
  87. data/temp/autocad.log +1 -0
  88. data/temp/event_handler.log +0 -0
  89. metadata +147 -0
@@ -0,0 +1,13 @@
1
+ module Autocad
2
+ class Drawing
3
+ @ole_obj: untyped
4
+
5
+ @app_event: untyped
6
+
7
+ @event_handler: untyped
8
+
9
+ @drawing_closed: untyped
10
+
11
+ alias model model_space
12
+ end
13
+ end
@@ -0,0 +1,9 @@
1
+ module Autocad
2
+ class Element
3
+ @cell: untyped
4
+
5
+ @property_handler: untyped
6
+
7
+ @updated: untyped
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ module Autocad
2
+ class Enumerator
3
+ @ole_obj: untyped
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ module Autocad
2
+ class EventHandler
3
+ @handlers: untyped
4
+
5
+ @file: untyped
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Autocad
2
+ module ModelTrait
3
+ @drawing: untyped
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Autocad
2
+ class Paths
3
+ @paths: untyped
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ class Object
2
+ def Point3d: (*untyped) ?{ (?) -> untyped } -> untyped
3
+ end
data/temp/autocad.dwg ADDED
Binary file
data/temp/autocad.log ADDED
@@ -0,0 +1 @@
1
+ # Logfile created on 2024-12-02 13:50:23 -0700 by logger.rb/v1.6.2
File without changes
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: autocad
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.6
5
+ platform: ruby
6
+ authors:
7
+ - Dominic Sisneros
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 2025-01-07 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: optparse-plus
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '3.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '3.0'
26
+ description: Use Autocad from Ruby
27
+ email:
28
+ - dsisnero@gmail.com
29
+ executables:
30
+ - autocad
31
+ - dgn2pdf
32
+ - pw_print
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - ".rubocop.yml"
37
+ - ".rubocop/minitest.yml"
38
+ - ".rubocop/strict.yml"
39
+ - ".solargraph.yml"
40
+ - ".vscode/launch.json"
41
+ - CHANGELOG.md
42
+ - CODE_OF_CONDUCT.md
43
+ - Guardfile
44
+ - LICENSE.txt
45
+ - README.md
46
+ - Rakefile
47
+ - Steepfile
48
+ - WASD-D-TDS-C001.dwg
49
+ - WASD-D-TDS-C001.pdf
50
+ - autocad.log
51
+ - autocad_example.rb
52
+ - event_handler.log
53
+ - examples/example_save_pdf.rb
54
+ - exe/autocad
55
+ - exe/dgn2pdf
56
+ - exe/pw_print
57
+ - gemfiles/rubocop.gemfile
58
+ - lib/autocad.rb
59
+ - lib/autocad/app.rb
60
+ - lib/autocad/arc.rb
61
+ - lib/autocad/block.rb
62
+ - lib/autocad/block_reference.rb
63
+ - lib/autocad/drawing.rb
64
+ - lib/autocad/element.rb
65
+ - lib/autocad/enumerator.rb
66
+ - lib/autocad/errors.rb
67
+ - lib/autocad/event_handler.rb
68
+ - lib/autocad/filter.rb
69
+ - lib/autocad/layer.rb
70
+ - lib/autocad/line.rb
71
+ - lib/autocad/message_box.rb
72
+ - lib/autocad/model.rb
73
+ - lib/autocad/mtext.rb
74
+ - lib/autocad/paths.rb
75
+ - lib/autocad/point3d.rb
76
+ - lib/autocad/pviewport.rb
77
+ - lib/autocad/selection_filter.rb
78
+ - lib/autocad/selection_set.rb
79
+ - lib/autocad/selection_set_adapter.rb
80
+ - lib/autocad/text.rb
81
+ - lib/autocad/version.rb
82
+ - olegen.rb
83
+ - rbs_collection.lock.yaml
84
+ - rbs_collection.yaml
85
+ - scanner.obj
86
+ - sig/generated/autocad.rbs
87
+ - sig/generated/autocad/app.rbs
88
+ - sig/generated/autocad/arc.rbs
89
+ - sig/generated/autocad/block.rbs
90
+ - sig/generated/autocad/block_reference.rbs
91
+ - sig/generated/autocad/drawing.rbs
92
+ - sig/generated/autocad/element.rbs
93
+ - sig/generated/autocad/enumerator.rbs
94
+ - sig/generated/autocad/errors.rbs
95
+ - sig/generated/autocad/event_handler.rbs
96
+ - sig/generated/autocad/filter.rbs
97
+ - sig/generated/autocad/layer.rbs
98
+ - sig/generated/autocad/line.rbs
99
+ - sig/generated/autocad/message_box.rbs
100
+ - sig/generated/autocad/model.rbs
101
+ - sig/generated/autocad/paths.rbs
102
+ - sig/generated/autocad/point3d.rbs
103
+ - sig/generated/autocad/selection_filter.rbs
104
+ - sig/generated/autocad/selection_set.rbs
105
+ - sig/generated/autocad/selection_set_adapter.rbs
106
+ - sig/generated/autocad/text.rbs
107
+ - sig/generated/autocad/text_node.rbs
108
+ - sig/generated/autocad/version.rbs
109
+ - sig/generated/autocad/viewport.rbs
110
+ - sig/prototype/lib/autocad.rbs
111
+ - sig/prototype/lib/autocad/app.rbs
112
+ - sig/prototype/lib/autocad/block.rbs
113
+ - sig/prototype/lib/autocad/block_reference.rbs
114
+ - sig/prototype/lib/autocad/drawing.rbs
115
+ - sig/prototype/lib/autocad/element.rbs
116
+ - sig/prototype/lib/autocad/enumerator.rbs
117
+ - sig/prototype/lib/autocad/event_handler.rbs
118
+ - sig/prototype/lib/autocad/model.rbs
119
+ - sig/prototype/lib/autocad/paths.rbs
120
+ - temp/autocad.dwg
121
+ - temp/autocad.log
122
+ - temp/event_handler.log
123
+ homepage: https://github.com/dsisnero/autocad
124
+ licenses:
125
+ - MIT
126
+ metadata:
127
+ homepage_uri: https://github.com/dsisnero/autocad
128
+ source_code_uri: https://github.com/dsisnero/autocad
129
+ changelog_uri: https://github.com/dsisnero/autocad/blob/main/CHANGELOG.md
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 3.0.0
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.6.2
145
+ specification_version: 4
146
+ summary: control Autocad from Ruby
147
+ test_files: []