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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d05a39eda135dbbda74bcdc75c66a4c9d7620e426d5656e377442dcc17ef665
4
- data.tar.gz: 1514fd3b8ecc502f95c0a9a7e93e13622e706d518abe31f7af4e60d56d85f357
3
+ metadata.gz: 2088ad700952d85766093d0d494281c6117c0cf628a6307840131ec38314f832
4
+ data.tar.gz: 2a68a98e3fcc5d3c6008f8907ad72eab028e95d8021aa432dec93cd21993dd95
5
5
  SHA512:
6
- metadata.gz: 9ea62b48418d86b7daa3f2ddcb895d03494942dea723fd60de9f81cbd25aab1d6aefd801136258192ab18b0dc9803cfe368cfb3f5b8bb1a33288eade384b7b96
7
- data.tar.gz: e25c9f138b698f5c041dc7d0455a06807fe26ba12663039a9c522f0433d7435f3ecebdb72031069e81dea24414a8b0cfec76809a20bdedc50ab76442e7380b65
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
@@ -445,8 +445,8 @@ module JennCad
445
445
  end
446
446
  alias :mi :mirror
447
447
 
448
- def miz
449
- mirror(z:1)
448
+ def mix
449
+ mirror(x:1)
450
450
  end
451
451
 
452
452
  def miy
@@ -1,3 +1,3 @@
1
1
  module JennCad
2
- VERSION = "1.0.0-alpha18"
2
+ VERSION = "1.0.0-alpha19"
3
3
  end
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.alpha18
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-15 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: geo3d