Expose makeWire to parametricCurve - #555
Conversation
|
You can already achieve this by calling |
9981470 to
8e300f4
Compare
|
Seems odd to me that the For me I am trying to make gear geometry - so I'm using If not wanted then that's fine though - it was simple to add and helped me out so thought I'd add it as a PR |
|
Thanks @just-georgeb , making things consistent with BTW: if you manage to make a nice gear with CQ please share the code if possible. |
Codecov Report
@@ Coverage Diff @@
## master #555 +/- ##
=======================================
Coverage 94.19% 94.19%
=======================================
Files 29 29
Lines 6220 6220
Branches 665 665
=======================================
Hits 5859 5859
Misses 224 224
Partials 137 137
Continue to review full report at Codecov.
|
|
Definitely will do! It's working at the moment but the code is a real mess and a bit bandit so needs some work. Also sorry have messed this commit up - needs another change before you review so it actually uses the makeWire value! |
8e300f4 to
3bdfa6d
Compare
3bdfa6d to
e6feeb9
Compare
|
Should be good to go now by the way (not sure how I managed to make such a mess of 3 lines!) |
jmwright
left a comment
There was a problem hiding this comment.
Looks good, thanks @just-georgeb
The use case - creating a complex wire made up of multiple parametricCurves or a combination of parametricCurves and other 2d operations. I think the only way currently would be to create each parametricCurve individually (creating separate spline wires) and then using Wire.combine() at the end, which seems messy.