MoI discussion forum
MoI discussion forum

Full Version: Variable Width Line Offset Command - fatT Lines

Show messages:  1-11  12-31  32-48

From: Max Smirnov (SMIRNOV)
6 Sep 2015   [#12] In reply to [#11]
Hi Alex,

There something wrong with Boolean Union factory. You need to deselect a border and run the script again.
From: AlexPolo
6 Sep 2015   [#13] In reply to [#12]
thanks AOK>
From: chippwalters
6 Sep 2015   [#14]
Max,

I really like the Fat Lines script. Much appreciated. Is there anyway to add filleting to the corners of FatLines OR is there a way to select a bunch of EDGES and filet them all at once? It appears the Fillet command will on only work on one edge group at a time, so it becomes overly tedious to fillet each and every edge at the same time.

See my Voronoi video at 11:30 on how and why I like to use Illustrator to do mass fillets: https://youtu.be/agEvJcirfUE

Thanks again for a great set of Tools!
From: chippwalters
6 Sep 2015   [#15] In reply to [#1]


Hey Alex, how did you do the subD version above? Is that in MoI. I thought it would only SubD solids made up entirely of quads?
From: AlexPolo
6 Sep 2015   [#16] In reply to [#15]
Hi Chip

YEP all in Moi - I exported the extruded shape from Inside Moi as OBJ traingles with division to lowest.

Re imported then ran the subD v6 Script.

Alex.
From: chippwalters
7 Sep 2015   [#17] In reply to [#16]
Thanks Alex for getting back. Interesting technique!
From: Frenchy Pilou (PILOU)
7 Sep 2015   [#18]
Very tricky method!
Adopted!



PS In fact i had make the same here in the past :) http://moiscript.weebly.com/subdivision.html
I don't know why i had use the OBJ of SKetchup ??? :D
SKetchup -->obj By Tig for free version of Sketchup
Import OBJ --> Moi by Max Smirnov
Export OBJ from Moi (Quad + Triangle) :) By Michael
Import OBJ --> Moi by Max Smirnov




From: Frenchy Pilou (PILOU)
7 Sep 2015   [#19]
French version of FatLines ;)
http://moiscript.weebly.com/scripts-de-max-smirnov.html


From: Metin Seven (SEVENSHEAVEN)
7 Sep 2015   [#20]
Hi guys,

Max, you create one great script after another, muchas gracias!

I was wondering if it would be possible to add an option to the Fat Lines script to taper each line (with options for start and/or end). That would be very useful for creating cartoony ink style lines.

Here's an example of how that would look:

Image Attachments:
Fat Lines with taper options.png 


From: Max Smirnov (SMIRNOV)
7 Sep 2015   [#21] In reply to [#20]
Hi Metin,
Could you show more examples? I have no ideas how this script should process straight lines or S-shaped (or overlaped) curves.
From: Metin Seven (SEVENSHEAVEN)
9 Sep 2015   [#22] In reply to [#21]
Hi Max,

I've made a few more examples. The bottom example would be the result if only the ends of the lines would be tapered (as an option).



Maybe you could also include a taper amount, ranging from a gradual tapering along the complete length of the line(s) to only tapered outer ends.

I'd be very happy with this to ease stylized 2D drawing in MoI.

Thanks,

Metin

Image Attachments:
Screen Shot 2015-09-09 at 10.40.20.png 


From: Max Smirnov (SMIRNOV)
9 Sep 2015   [#23] In reply to [#22]
Hi Metin
Well, it's not so easy as it looks. I'll think about it, but right now I can't see how to do it.
From: Michael Gibson
9 Sep 2015   [#24] In reply to [#23]
Hi Max, for the tapered outlines using curve-to-curve Flow could probably work.

If you make a line 1 unit long, and then interpolated curves made with 3 points, with ends at the end of the line and the middle point at x=0.5, y = thickness , that could then work for Flow onto the long bendy curve, with the "Stretch" option enabled for Flow so it goes along the entire length of the bendy curve instead of only 1 unit along it.

Line setup would look like this:




That's with a one unit line, then an interpolated curve above and below it. Then a Flow with the line as the base curve and a bendy curve as the target curve, with Stretch enabled should give this:




- Michael

Image Attachments:
tapered_curve1.jpg  tapered_curve2.jpg 


From: Max Smirnov (SMIRNOV)
9 Sep 2015   [#25] In reply to [#24]
Michael, thank you for a hint! I'll try it tomorrow.
I thought about sweep, but I wasn't satisfied with a shape.
From: Michael Gibson
9 Sep 2015   [#26] In reply to [#25]
No problem Max! Also if you wanted a sort of more direct control over the tapering you could make the base line the same length as the curve (use the .getLength() method on the target curve). With a base line the same length as the curve it would not matter whether 'Stretch' was on or not, and then it's also easier to do something like make a taper only along the last 1 unit of the curve. With a generic one unit long base line it will have more of a mapping like percentages along the curve.

- Michael
From: bemfarmer
9 Sep 2015   [#27]
I was thinking of having two (planar) curves, the fat curves, offset from the center curve.
For the tapered section, say the last 25% of the center curve, twist the two curves, using the center curve as a curved twist axis, by 90 degrees, into the
z-axis, and maintain distance from the center curve. The twist would be a tiny incremental rotation for each successive distance along the center curve.
(There is no script for this.)
Project the curves onto the plane.

- Brian....
From: Metin Seven (SEVENSHEAVEN)
10 Sep 2015   [#28]
Lots of high-level thinking here, I'm thoroughly enjoying the solution suggestions, Thanks Max, Michael and Brian. Looking forward to test it.
From: Metin Seven (SEVENSHEAVEN)
10 Sep 2015   [#29]
To spice up the challenge a little, here's a mockup of the results Fat Lines would ideally be able to generate. :)



It would be extra fabulous if the result would remain connected to the source lines with the History function, so you can adjust the source lines and see a live update of the result. But I don't know if this is possible.

Sorry if I just robbed you of a night's sleep, Max. ;)

Image Attachments:
Screen Shot 2015-09-10 at 21.11.15.png 


From: 2byts
11 Sep 2015   [#30]
This is quite a useful script, is there any way to get this more integrated with the rest of Moi? -its basically offset curve on steriods. What I mean is for the offset to work using the snapping guidelines like fillet and chamfer instead of having to manually guess the width.
From: Max Smirnov (SMIRNOV)
11 Sep 2015   [#31]
Hi Metin
Check the new version.
Today evening I'll play with different shapes.

Show messages:  1-11  12-31  32-48