boxbot 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a637cc4c6c5fe2f4350331e0e1b3d57ca9d5f16283ffaf36848180010d79496
4
- data.tar.gz: aac8f54a6c7b8e14d2e9cfcc3ed82d57fad42556b4809404a223ce7de13b3fb9
3
+ metadata.gz: 650088d890b68b42d7895d9c75be3ead5545823d1edd32cb4f1198825da8bb7e
4
+ data.tar.gz: 151dcb6af91f05223ec766fcf6819a8503fc80d1a59f20e1f019ca90914a519b
5
5
  SHA512:
6
- metadata.gz: 9855b84986a678cf9a22e5f7ce5a1a06cbca94a6d3acaf1d07730b359adad7797e10b67fd36482f5ed1215e433d1e5aa1af0fe47c74a20fa1c7c00d1bbdd865d
7
- data.tar.gz: f67e9dbb4c301523efd2051b79f7eee3bf551602d7d23498a62cef29668792ac9be62817bcacf151f6475eb4b203cac1f884c4bff1f148c4bb8d2b6ae783b128
6
+ metadata.gz: 3cfddfa69f123b3bc6f57311e0590f853454e050a1333d657d1bd217112e419c6c9312148d743858b7555733dc9987b3bd56d9a2e68376c9085caa7fbd6ebc0c
7
+ data.tar.gz: 4c9223fb039e7a4f0aa62a459bf345281a28744508dd9ee66f40dc4838f9649e2a56122b385d19388d712c0ccf8ed4dc7ec4e2960d26882ac790bfc32a1b0984
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ **/.DS_Store
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /_yardoc/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boxbot (0.1.0)
4
+ boxbot (0.1.1)
5
5
  dry-configurable
6
6
  dry-monads
7
7
  dry-struct
data/README.md CHANGED
@@ -4,9 +4,21 @@
4
4
 
5
5
  # Boxbot
6
6
 
7
- **Work In Progress**
7
+ > NOTE: **This gem is not yet finished, and is work in progress.**
8
8
 
9
- This is a rewrite of the [laser-cutter](https://github.com/kigster/laser-cutter) box drawing logic.
9
+ BoxBot aims to generate an SVG or PDF template that is meant to be used with a laser cutter. Boxbot will generate a 2D cut layout for a 3D box (parallelepiped) with matching tabs that allow the box to be "snapped into place" without screws, although screws and T-joins can also be added. This gem is currently work in progress, and is a rewrite of the [laser-cutter](https://github.com/kigster/laser-cutter) box drawing logic.
10
+
11
+ ## Layouts
12
+
13
+ The following is an example layout of the box that's 5x4x3 (width, height, depth):
14
+
15
+ ![layout](img/layout.png)
16
+
17
+ ## Kerf
18
+
19
+ Kerf is the width of the laser-cutting beam. The following diagram depicts how Boxbot generates templates with the non-zero Kerf defined. The yellow line below is where the laser cuts, the red/black are the areas of the material removed by the laser cutter. The light blue is the "desired" shape of the tabs.
20
+
21
+ ![layout](img/kerf.png)
10
22
 
11
23
  ## Installation
12
24
 
@@ -1,4 +1,3 @@
1
-
2
1
  lib = File.expand_path('../lib', __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'boxbot/version'
@@ -9,11 +8,12 @@ Gem::Specification.new do |spec|
9
8
  spec.authors = ['Konstantin Gredeskoul']
10
9
  spec.email = ['kigster@gmail.com']
11
10
 
12
- spec.summary = 'Boxbot - is a work in progress replacement of the laser-cutter ruby gem'
13
- spec.description = 'Boxbot - is a work in progress replacement of the laser-cutter ruby gem'
11
+ BOXBOT__SUMMARY = 'BoxBot aims to generate an SVG or PDF template that is meant to be used with a laser cutter. Boxbot will generate a 2D cut layout for a 3D box (parallelepiped) with matching tabs that allow the box to be "snapped into place" without screws, although screws and T-joins can also be added. This gem is currently work in progress, and is a rewrite of the laser-cutter box drawing logic.'
12
+
13
+ spec.summary = BOXBOT__SUMMARY
14
+ spec.description = BOXBOT__SUMMARY
14
15
  spec.homepage = 'https://github.com/kigster/boxbot'
15
16
  spec.license = 'MIT'
16
-
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
18
  f.match(%r{^(test|spec|features)/})
19
19
  end
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Boxbot
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Gredeskoul
@@ -206,7 +206,11 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
- description: Boxbot - is a work in progress replacement of the laser-cutter ruby gem
209
+ description: BoxBot aims to generate an SVG or PDF template that is meant to be used
210
+ with a laser cutter. Boxbot will generate a 2D cut layout for a 3D box (parallelepiped)
211
+ with matching tabs that allow the box to be "snapped into place" without screws,
212
+ although screws and T-joins can also be added. This gem is currently work in progress,
213
+ and is a rewrite of the laser-cutter box drawing logic.
210
214
  email:
211
215
  - kigster@gmail.com
212
216
  executables: []
@@ -224,6 +228,9 @@ files:
224
228
  - bin/console
225
229
  - bin/setup
226
230
  - boxbot.gemspec
231
+ - img/kerf.png
232
+ - img/layout.png
233
+ - img/sides.png
227
234
  - lib/boxbot.rb
228
235
  - lib/boxbot/compute/tab_calculator.rb
229
236
  - lib/boxbot/dimensions.rb
@@ -253,5 +260,9 @@ rubyforge_project:
253
260
  rubygems_version: 2.7.3
254
261
  signing_key:
255
262
  specification_version: 4
256
- summary: Boxbot - is a work in progress replacement of the laser-cutter ruby gem
263
+ summary: BoxBot aims to generate an SVG or PDF template that is meant to be used with
264
+ a laser cutter. Boxbot will generate a 2D cut layout for a 3D box (parallelepiped)
265
+ with matching tabs that allow the box to be "snapped into place" without screws,
266
+ although screws and T-joins can also be added. This gem is currently work in progress,
267
+ and is a rewrite of the laser-cutter box drawing logic.
257
268
  test_files: []