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 +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +14 -2
- data/boxbot.gemspec +4 -4
- data/img/kerf.png +0 -0
- data/img/layout.png +0 -0
- data/img/sides.png +0 -0
- data/lib/boxbot/version.rb +1 -1
- metadata +14 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 650088d890b68b42d7895d9c75be3ead5545823d1edd32cb4f1198825da8bb7e
|
|
4
|
+
data.tar.gz: 151dcb6af91f05223ec766fcf6819a8503fc80d1a59f20e1f019ca90914a519b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3cfddfa69f123b3bc6f57311e0590f853454e050a1333d657d1bd217112e419c6c9312148d743858b7555733dc9987b3bd56d9a2e68376c9085caa7fbd6ebc0c
|
|
7
|
+
data.tar.gz: 4c9223fb039e7a4f0aa62a459bf345281a28744508dd9ee66f40dc4838f9649e2a56122b385d19388d712c0ccf8ed4dc7ec4e2960d26882ac790bfc32a1b0984
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -4,9 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
# Boxbot
|
|
6
6
|
|
|
7
|
-
**
|
|
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
|
+

|
|
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
|
+

|
|
10
22
|
|
|
11
23
|
## Installation
|
|
12
24
|
|
data/boxbot.gemspec
CHANGED
|
@@ -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
|
-
|
|
13
|
-
|
|
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
|
data/img/kerf.png
ADDED
|
Binary file
|
data/img/layout.png
ADDED
|
Binary file
|
data/img/sides.png
ADDED
|
Binary file
|
data/lib/boxbot/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
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: []
|