[Plugin] TIG.splitsausage

[Plugin] TIG.splitsausage

Postby TIG » Sat Feb 18, 2012 1:35 pm

Capture.PNG
(c) TIG 2012
Script:
TIG-splitsausage.rb
###
Splits a 'sausage' shaped face, made with followme etc into 'quads'
[four-sided faces].
Select ONE face and ONE edge that you want to be the 'seed' for the
'quads' vertices, typically this will be the 'end' edge.
Lines are then added between 'matching' vertices along the 'sausage' to
divide its face into 'quads'...
If the 'sausage' has an uneven number of vertices then the last facet will
be a triangle
Type into the Ruby Console: TIG.splitsausage
OR use Tools > Split Tools... submenu item.
It is one step undoable.
###
Donations: by PayPal.com to info @ revitrev.org
###
Version:
1.0 20120218 First issue.
1.1 20120219 At the end all new Edges added are selected to let you use
Entity Info to set them soft/smooth or hidden etc as desired.
Error messages added if incorrect selection.
Now in Tools > Split Tools submenu.
2.0 20160818 Now comes in the SplitTOOLS RBZ. No longer installed separately.

http://forums.sketchucation.com/viewtop ... 58#p386658
###
###
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.0 20120218

Postby Gaieus » Sat Feb 18, 2012 1:42 pm

:thumb: Now I can split my sausage... :D
0
User avatar
Gaieus 
 

Re: [Plugin] TIG.splitsausage v1.0 20120218

Postby TIG » Sat Feb 18, 2012 1:48 pm

Thought I'd keep on the 'food theme' - that started with 'donut' and now 'sausage' - to go with our sKetchup...
Maybe 'splitUp' should have been called something else - 'splitpeas' or 'splitbananas' to match ? ;)
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.0 20120218

Postby thomthom » Sat Feb 18, 2012 2:05 pm

:lol:
Love the new naming conversion!

Nice utility, I've wanted one like this.
1
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] TIG.splitsausage v1.0 20120218

Postby Rich O Brien » Sat Feb 18, 2012 3:47 pm

Is it possible that EebyOffset can morph into EebyScale. Where I select an edge/loop and extrude them leaving the original selection and having quads.

Am I making sense?
0
I never know where I'm headed, just make it up as I go - Box 22:4
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby TIG » Sun Feb 19, 2012 1:28 pm

Here is v1.1 viewtopic.php?p=386610#p386610
At the end all new Edges added are selected to let you use Entity Info to set them soft/smooth or hidden etc as desired.
Error messages added if incorrect selection.
Now in Tools > Split Tools submenu. viewtopic.php?p=386658#p386658
Capture.PNG
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Khai » Sun Feb 19, 2012 3:45 pm

oh my. you are brilliant... no more doing this by hand :mrgreen:
0

Khai 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Dave R » Sun Feb 19, 2012 5:10 pm

TIG, this is a very useful tool that I expect many people didn't even know they needed. thank you.

I can see this as a great start to dividing a molding created with Follow Me into its component parts. I have to do this sort of thing frequently. The steps I normally use after Follow Me are:

Draw in all the miter lines on the horizontal surfaces.
Select each section that, in real life, would be a single piece of molding and make it a component.

Your plugin would reduce a little of the work by eliminating the need to chase around all of the molding extrusion. It could all be achieved while zoomed in to one end of the molding.

So to look the proverbial gift horse in the mouth, is it possible to get all of the surfaces divided at the corners? I'm thinking that one might select the profile that was used for Follow Me and divide all faces where there's a direction change in the bounding edges. That probably needs some thought as to how that would work. Or, to take it a step further, suppose there was a version of Follow Me that would make those miter lines.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Dave R » Fri Feb 08, 2013 11:31 am

Hmmm... I was just experimenting with splitting a molding created with Follow Me and I got the result shown below.
Split Sausage.png

It worked fine on the opposite face.

Feature or bug?
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby TIG » Fri Feb 08, 2013 11:36 am

Isn't it already split along that surface, view with hidden geometry 'on' ?
It's use is meant to divide up a face using its vertices that only have two edges ?
Like the flat faces but not the curved surface which comprises several facets...
I don't think it's meant to [or able to] do what you wish...
What were you hoping for exactly ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Dave R » Fri Feb 08, 2013 11:43 am

split sausage2.png


No, they aren't already split. The surfaces on the top and bottom of the "molding" are single faces which is what I was hoping to have split up.

split sausage 3.png


This is what the plugin does on the top face. I was expecting a repeat performance on the bottom one.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby TIG » Fri Feb 08, 2013 11:47 am

Sorry, I misinterpreted the form, it looks like a 3d surface because you showed it 'upside down'... The other view explained it :roll:
So now I see no reason it shouldn't work on this other face.
Do you have any reversed faces ?
If you erase the face and remake it by overdrawing an edge does it split OK then ?
Is it one of these 'coincident faces' where if you erase it there's still one below it ??
Can you PM me the SKP for some testing ...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Dave R » Fri Feb 08, 2013 11:54 am

Sorry about the orientation. I was just looking at it from below.

No reversed faces--those would be obvious with the green back face color I use. It's just a simple Follow Me. No coincident faces. Deleting the face and healing it seems to take care of the problem.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby TIG » Fri Feb 08, 2013 12:13 pm

Another way to avoid the issue without even reforming the face is to select just the face and one short end edge, then it splits OK.
I think what it is, is that if you have all of the edges selected it takes the first one in the 'collection' and starts the splitting from there, because the form is 'concave' you can then get some diagonal splitting lines that don't do what you want if that first edge isn't a short 'end one'... Maybe reforming the face takes the first edge as the 'end one' and thereby running the tool with all of the face's edges selected works OK.

So the lesson is select just the face and one edge that then determines where the splitting starts from - usually at the 'end' of the sausage !
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby Dave R » Fri Feb 08, 2013 12:51 pm

Thanks, TIG.

So basically it might work if the face and all its edges are selected or it might not. And if it doesn't, select the face and only one edge. Got it.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby numerobis » Fri Feb 08, 2013 7:04 pm

oh... unbeleivable that i missed this one before... Thanks for bringing this up again, Dave. ;)
Great plugin! thank you very much! i will try it :)
0

numerobis 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby rv1974 » Sun Feb 10, 2013 10:30 am

This splitter would UNDOUBTEDLY become megahit if it additionally could align pre-applied textures along edges. :roll:
0

rv1974 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby numerobis » Sun Feb 10, 2013 11:56 pm

rv1974 wrote:This splitter would UNDOUBTEDLY become megahit if it additionally could align pre-applied textures along edges. :roll:

viewtopic.php?f=323&t=44552&hilit=thrupaint
;)
0

numerobis 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby smicha » Sat Mar 02, 2013 10:10 am

TIG,

When I use SplitSausage on arcs I get strange results - see the screenshot. Is it possible to fix it?

Sebastian


0

smicha 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby smicha » Sat Mar 02, 2013 10:17 am

Sorry TIG,

I just didn't select the edge - it works like a charm.
0

smicha 
 

Re: [Plugin] TIG.splitsausage v1.1 20120219

Postby bhbarchitects » Thu Oct 10, 2013 4:49 pm

Cheers Tig

Donation sent

Have been having fun with uv mapping a curb - your plugin was the missing link.

Thank you.
0

bhbarchitects 
 

Re: [Plugin] TIG.splitsausage

Postby Drachenbauer » Wed May 23, 2018 3:06 pm

Where is the download-Button?
0

Drachenbauer 
 

Re: [Plugin] TIG.splitsausage

Postby TIG » Thu May 24, 2018 2:16 pm

This tool was combined into SplitTools with other similar ones...
https://sketchucation.com/pluginstore?p ... splitTOOLS
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] TIG.splitsausage

Postby pasha bell » Sat Oct 10, 2020 5:07 pm

Hi there!
So as i was learning my way into this amazing tool, but i failed to implement it with my shape - over and over again.
It works perfect on archs and circles, but i couldn't make it work on my segmented shape. I just don't understand how to devide my (not so curvy) shape to equal segments in order to get a bick size quades...

Can you please try and help me?

I have this shape that i need to create a 1M frame and texture it with perpendicular bricks texture.
I'm gonna use the FredoTools for that (workes perfect for this purpose, https://sketchucation.com/resources/tut ... -thrupaint). but i need to devide the buffer zone properly beforhand, and I thought of using splitsausage for that.
But I can make it splite correctly...

The polygon and it's buffer:


The desired segmentation (exampled on a circle):


The desired, end result (using FredoTools):


The best way i succeded to segment the polygon:


And thus the result:


I have attached the file.
Thanks in advance!!
0

pasha bell 
 

Re: [Plugin] TIG.splitsausage

Postby rv1974 » Sun Oct 11, 2020 11:46 am

No need in sausage. Take your border, divide it the way you want with one of Fredo's dividers, then extrude it downwards and then extrude side faces with JPP.
0

rv1974 
 

Re: [Plugin] TIG.splitsausage

Postby pasha bell » Tue Oct 13, 2020 4:06 pm

hi rv1974. thanks for replying.
I must admit i did not understand. why would i extrude anything?
what do you mean?
0

pasha bell 
 

Re: [Plugin] TIG.splitsausage

Postby rv1974 » Wed Oct 14, 2020 6:50 am

Search extrude line in plugin store. It's in Top 3 most used tools inside SU.
Extrude line is needed to get faces for JPPing.
0

rv1974 
 

Re: [Plugin] TIG.splitsausage

Postby pasha bell » Thu Oct 15, 2020 1:43 am

Forgive me, but what's JPP?
0

pasha bell 
 

Re: [Plugin] TIG.splitsausage

Postby pbacot » Thu Oct 15, 2020 7:34 am

pasha bell wrote:Forgive me, but what's JPP?

JPP is joint push pull plugin but I don't know how it relates to your problem. You may want to push-pull the top surface of the border a little before you split it into more faces to give it some definition in a rendering.

You may use other divide tools to add points along the curves before using split tools. if you do this before offsetting the second edge, the number of divisions should relate mostly. Your shape has different forms. It may take some tries to get it right. Tight corners will probably take special work.

You can work on half of a symmetrical shape and mirror it.

On a large radius curves the bricks are laid with adjustments to grout joints. This can be simulated with ThruPaint and a surface with radial divisions. Or a tighter curve may involve tapered pavers, and this could be shown the same way like the brick archway examples. For straight runs and sharp corners, I'd try to use a pattern perpendicular to the long edge and the pattern gets mitered at the corner, as they would cut bricks on the diagonal to fit. ThruPaint makes adjusting the pattern angle and size easier in some cases, but you can also use the native "Texture: Position" command for straight runs.

Something like this but I didn't use the best texture.
1
MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD
User avatar
pbacot 
Top SketchUcator
 

Re: [Plugin] TIG.splitsausage

Postby rv1974 » Thu Oct 15, 2020 4:51 pm

Forgive me, but what's JPP?


JPP is joint push pull plugin but I don't know how it relates to your problem.
0

rv1974 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

cron

Who is online

Users browsing this forum: Lusinkovska and 9 guests