jenncad 1.0.0.pre.alpha18 → 1.0.0.pre.alpha19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jenncad/primitives/linear_extrude.rb +6 -1
- data/lib/jenncad/thing.rb +2 -2
- data/lib/jenncad/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2088ad700952d85766093d0d494281c6117c0cf628a6307840131ec38314f832
|
4
|
+
data.tar.gz: 2a68a98e3fcc5d3c6008f8907ad72eab028e95d8021aa432dec93cd21993dd95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f96b42ef5e8f8ab836a900c96b83cbee8ed2c91cc0f83631e650adbc27d6e4ec2ba91cf5f94fa8424b420d4951a3a80cae52012e6d7013abdaf8b10e0c141283
|
7
|
+
data.tar.gz: 80f3f16a02f07b664efed6ba0a25f786720269de165f98532c1ab18b674f11e86fb59cf62bd7a787777e9e71d9dcd9556184b0a637f7ec98aa1b6a494e23dcec
|
@@ -10,10 +10,15 @@ module JennCad::Primitives
|
|
10
10
|
@twist = args[:twist]
|
11
11
|
@slices = args[:slices]
|
12
12
|
@fn = args[:fn]
|
13
|
+
@opts = {
|
14
|
+
margins: {
|
15
|
+
z: 0,
|
16
|
+
}
|
17
|
+
}.deep_merge(args)
|
13
18
|
end
|
14
19
|
|
15
20
|
def height
|
16
|
-
@z
|
21
|
+
@z.to_d + @opts[:margins][:z].to_d
|
17
22
|
end
|
18
23
|
|
19
24
|
def openscad_params
|
data/lib/jenncad/thing.rb
CHANGED
data/lib/jenncad/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenncad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.
|
4
|
+
version: 1.0.0.pre.alpha19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jennifer Glauche
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: geo3d
|