Variable Width Line Offset Command - fatT Lines
 1-4  5-24  25-44  45-48

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7594.5 In reply to 7594.1 
Hi Alex, try this simple script.
Unfortunatelly MoI's union factory doesn't work stable in some cases.

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
7594.6 In reply to 7594.5 
thats excellent if somehow the Fillet and Chamfer can be worked into the script so that is controlled via that - makes it a really sharp chisel.

thanks again for the lightspeed.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7594.7 In reply to 7594.4 
Hi Alex - I guess one thing I'm confused about is what part is "variable width" - that's what you mentioned in the title, but what you show in your example seems to be uniform width, not variable width?

re:
> if you select a large group of lines and try an offset to all MOI struggles with the output.

Yes, the offset mechanism is not meant to be used for a case like that with "branching" in the line arrangement, it tries to form a single closed curve out of any lines you give it and if it instead ends up making some winding erratic path that will give strange results.

Unfortunately there is not currently a direct mechanism in the geometry library to handle a branched type offset like you are describing. It could be possible to create one but it would probably involve quite a bit of work and so it's not likely to happen anytime too soon.

Hopefully Max's script will help you in the meantime.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
7594.8 In reply to 7594.5 
Hi Max,

Had a play works well one small issue if last value on the slider was large and you have a large selection Moi hangs - would be good each time you initiate the script, it defaults to zero.

Here is a quick play random curve - array 3d - fatlines.


Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
7594.9 In reply to 7594.8 
""""""""""would be good each time you initiate the script, it defaults to zero.""""""""""

You can open FlatLines.htm and search for 50 and change that to zero if you want..

The slider is coded as a percentage, so you will only be able to slide to "10". But you can enter any exact number also, it will just default back to a 10 slide if you use the slider....

I usually handle these with 2 sets (or more) with a second named "FlatLines 50" or 100 etc..... If larger values are needed.

I set mine to min.1 mid 5 and max 50, default 0..... Because most of the stuff I work on will be smaller stuff. This gives me a .1 to 5 with half the slider and 5 to 50 with the other half.

EDITED: 6 Sep 2015 by BURRMAN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7594.10 
Fixed default value

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
7594.11 In reply to 7594.10 
Hi Max,

Had a play with the FatLine Script for some reason when I apply to a line sequence generated out of the Voronoi Script does not weld the items - they are all sitting on the same plane.

I have included test file.

thanks

Alex.



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7594.12 In reply to 7594.11 
Hi Alex,

There something wrong with Boolean Union factory. You need to deselect a border and run the script again.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
7594.13 In reply to 7594.12 
thanks AOK>
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  chippwalters
7594.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!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  chippwalters
7594.15 In reply to 7594.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?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  AlexPolo
7594.16 In reply to 7594.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  chippwalters
7594.17 In reply to 7594.16 
Thanks Alex for getting back. Interesting technique!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7594.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



EDITED: 7 Sep 2015 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7594.19 
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Metin Seven (SEVENSHEAVEN)
7594.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:

———————

http://metinseven.com — 3D modeling • design • images


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7594.21 In reply to 7594.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Metin Seven (SEVENSHEAVEN)
7594.22 In reply to 7594.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

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7594.23 In reply to 7594.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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7594.24 In reply to 7594.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

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-4  5-24  25-44  45-48