[Plugin] WireTool (Catenary) (1.4.1) β updated 06.03.2013
-
Remus' plugin is the Simple Catenary Curve. It "just" calculates the curve for a given set of 17 points but it put me on the right path to look on Wikipedia after I had a paper full of integrals that didn't want get further simplified.
-
HA!...cool idea.thanks Aerilius
-
I always did this with splines, this is a much better and precise way to do it, Thank you!
-
When I tried the plugin, I kept getting a canatnary drawn from the origin to my first pick point. Adding a @state = 0 to the def initialize method fixed this problem.
-
Hi Sam,
thanks for the tip. I wonder why this happens, although theinitialize
method does not have@state=0
, this should be set when theactivate
method callsreset
.
Is someone else having this problem? -
@unknownuser said:
Is someone else having this problem?
Yes the same here. Thanks for the plugin btw.
-
create_geometry
anddraw_geometry
can be refactored into one method that returns an array of point3d objects - the only difference between these methods are the final statement. DRY -
I didn't experience the same thing that Sam reported.
-
i added the @state=0 and it made a difference in terms of being able to select the first point. very nice tool!
-
So why don't I have this same problem? I didn't modify the script and it works fine for me.
-
@dave r said:
So why don't I have this same problem? I didn't modify the script and it works fine for me.
Which version are you using?
initial version works fine for me, updated version moves to origin. -
That would explain it. I didn't catch that there was an update because the thread title wasn't edited to show that as is SOP here.
-
So now I've updated the plugin and added the line as mentioned. I get some rather strange behavior now. See the video.
[flash=420,315:13s7e1sa]http://www.youtube.com/v/7IJXmgk8lio?version=3&hl=en_US[/flash:13s7e1sa]
-
I have the original version [that works] if anyone wants it...
-
I guess I'd be interested.
-
I would very much like to have it if it makes rope. I tried it but got results like Dave shows in the video.
-
That apparently fixed it. Thank you.
-
This is very cool! Thank you!
Edited to add- This is REALLY cool! I was just messing around with it and it works great for something I was making. THANKS!
-
Tools normally don't have weird behavior without reason. Running it with the Ruby console open gives often more definable results.
So I found and fixed an unobvious bug with the translations that stirred up all methods and I changed that the x-width of segments is variable to give always the same segment length. -
Great Thanks.
There was another catenary tool (and other geometric curves too) here:
http://forums.sketchucation.com/viewtopic.php?t=41310I needed to make them like this though.
See below however, the first segment is much longer and they become smaller as they go on the curve:
Advertisement