jenncad 1.0.0.pre.alpha15 → 1.0.0.pre.alpha18
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/lib/jenncad/commands.rb +6 -6
- data/lib/jenncad/exporters/openscad.rb +7 -3
- data/lib/jenncad/features/aggregation.rb +1 -0
- data/lib/jenncad/part.rb +46 -1
- data/lib/jenncad/primitives/circle.rb +102 -4
- data/lib/jenncad/primitives/cube.rb +4 -142
- data/lib/jenncad/primitives/cylinder.rb +11 -57
- data/lib/jenncad/primitives/linear_extrude.rb +1 -1
- data/lib/jenncad/primitives/polygon.rb +5 -2
- data/lib/jenncad/primitives/polyhedron.rb +35 -0
- data/lib/jenncad/primitives/primitive.rb +20 -1
- data/lib/jenncad/primitives/rounded_cube.rb +43 -14
- data/lib/jenncad/primitives/slot.rb +69 -6
- data/lib/jenncad/primitives/square.rb +181 -0
- data/lib/jenncad/primitives/subtract_object.rb +21 -9
- data/lib/jenncad/primitives.rb +2 -0
- data/lib/jenncad/shortcuts.rb +10 -0
- data/lib/jenncad/thing.rb +125 -9
- data/lib/jenncad/version.rb +1 -1
- data/lib/jenncad.rb +0 -1
- data/todo.txt +6 -10
- metadata +4 -2
data/lib/jenncad/version.rb
CHANGED
data/lib/jenncad.rb
CHANGED
data/todo.txt
CHANGED
@@ -11,16 +11,6 @@
|
|
11
11
|
Features wanted
|
12
12
|
===================
|
13
13
|
28.4.22:
|
14
|
-
- Parts often come with 4 holes around a center, and I often do something like:
|
15
|
-
|
16
|
-
[-1, 1].each do |i|
|
17
|
-
[-1, 1].each do |j|
|
18
|
-
res += @bolt.cut.move(x: @hole_center*i, y: @hole_center*j)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
there should be a shorter way to do this.
|
23
|
-
|
24
14
|
|
25
15
|
- instead of moving Bolts output, make it the default to make their positions an anchor
|
26
16
|
|
@@ -34,6 +24,12 @@ there should be a shorter way to do this.
|
|
34
24
|
- but also, when you have a part that can be mounted in any top/bottom direction, you always end up having the bolts facing the wrong direction..
|
35
25
|
- Bolts should be able to also make thread inserts
|
36
26
|
|
27
|
+
8.5.22:
|
28
|
+
- need an easy way to switch between faces on an object to work efficiently in a 2.5D way
|
29
|
+
i.e. I worked on a part stacking a few things, added a cube along and now wanted to use inner_anchors for the y face for screws. it was easier to make anchors manually for the prototype
|
30
|
+
|
31
|
+
|
32
|
+
|
37
33
|
|
38
34
|
|
39
35
|
|
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.alpha18
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: geo3d
|
@@ -137,12 +137,14 @@ files:
|
|
137
137
|
- lib/jenncad/primitives/intersection_object.rb
|
138
138
|
- lib/jenncad/primitives/linear_extrude.rb
|
139
139
|
- lib/jenncad/primitives/polygon.rb
|
140
|
+
- lib/jenncad/primitives/polyhedron.rb
|
140
141
|
- lib/jenncad/primitives/primitive.rb
|
141
142
|
- lib/jenncad/primitives/projection.rb
|
142
143
|
- lib/jenncad/primitives/rotate_extrude.rb
|
143
144
|
- lib/jenncad/primitives/rounded_cube.rb
|
144
145
|
- lib/jenncad/primitives/slot.rb
|
145
146
|
- lib/jenncad/primitives/sphere.rb
|
147
|
+
- lib/jenncad/primitives/square.rb
|
146
148
|
- lib/jenncad/primitives/subtract_object.rb
|
147
149
|
- lib/jenncad/primitives/union_object.rb
|
148
150
|
- lib/jenncad/profile_loader.rb
|