[Plugin] SplitUp

[Plugin] SplitUp

Postby Rich O Brien » Mon Jan 09, 2012 12:17 am

Here's a tool you might find useful for displacement.



(c) TIG 2011-2016
Usage:
Splits selected 'quad faces' into the specified number of parts.
Use in Ruby Console or other code, thus:
SplitUp.new(2) [or more sloppily SplitUp.new 2]
as shown here 2 is the number of divisions wanted.
OR use Tools > Split Tools... > submenu item SplitUp and enter the
division number in the dialog [default=1 >> NO splits]
[The Plugins menu item is now disabled by default from v1.5 but see end
of the main code IF you want to re-enable it...]
If any selected face is not a quad OR a quad with one quad-hole - then the face and probably all of its connected neighbours should first be 'Quadrilateralized' - i.e. split up into quads - a message tells you this, but you may still continue...
New edges are softened/smoothed.
It returns the number of faces processed and made [n,nn]
It's one step undoable.

Donations:
By PayPal.com to info @ revitrev.org

Version:
1.0 20110717 First issue. [Alpha]
1.1 20110718 Now works on quads and quads with one quad hole. Plugins menu item and dialog added.
1.2 20110718 Softened/smoothed new edges.
1.3 20110719 Glitches with smoothing etc fixed.
1.4 20111111 Overhauled and less error prone.
1.5 20120219 Plugins menu item disabled; now in Tools > Split Tools submenu.
2.0 20160818 Now comes within the SplitTOOLS RBZ, do not install separately. Signed for v2016


http://forums.sketchucation.com/viewtop ... 58#p386658
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]SplitUp v1.4

Postby Rich O Brien » Mon Jan 09, 2012 12:19 am

Thanks to TIG for the code. I only bugged him to make it happen :roll:
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]SplitUp v1.4

Postby driven » Mon Jan 09, 2012 1:26 am

Excellento...

I've been waiting for this one, cheers to bringing it to fruition. [and/or bugging TIG]

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin]SplitUp v1.4

Postby ktslambieng » Mon Jan 09, 2012 10:05 am

woa... thank u verry much.
I have found,
I asked,
I have now found
:fecstatic: :fecstatic:
0

ktslambieng 
 

Re: [Plugin]SplitUp v1.4

Postby massimo » Mon Jan 09, 2012 1:03 pm

Thanks Rich&TIG. :thumb: Will test it.
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby numerobis » Mon Jan 09, 2012 2:32 pm

:thumb: looks VERY useful! Thanks! 8-)
0

numerobis 
 

Re: [Plugin]SplitUp v1.4

Postby andybot » Mon Jan 09, 2012 2:52 pm

:berserk:

THANK YOU!!! I've been doing this manually for the longest time. This is perfect!!!
0
User avatar
andybot 
Premium Member
Premium Member
 

Re: [Plugin]SplitUp v1.4

Postby JGA » Mon Jan 09, 2012 9:09 pm

Thanks for sharing the ruby & providing the clear video, but can I ask what this would be used for?
I thought the mantra for SKUP was to minimise the numbers of edges & faces.
0
Regards,
JGA

JGA 
 

Re: [Plugin]SplitUp v1.4

Postby massimo » Mon Jan 09, 2012 9:10 pm

From Rich's first post...
Here's a tool you might find useful for displacement.

:)
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby Rich O Brien » Mon Jan 09, 2012 9:13 pm

You could also use it for crosswords or sudoku. It has a myriad of uses :thumb:
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]SplitUp v1.4

Postby massimo » Mon Jan 09, 2012 9:19 pm

:roflmao:
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby JGA » Mon Jan 09, 2012 9:23 pm

:roflmao:
Still none the wiser though...
0
Regards,
JGA

JGA 
 

Re: [Plugin]SplitUp v1.4

Postby massimo » Mon Jan 09, 2012 9:29 pm

Well JGA it's useful if you want to subdivide a surface in order to use it in a rendering software which supports displacement. ;)
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby Rich O Brien » Mon Jan 09, 2012 9:35 pm

massimo wrote:Well JGA it's useful if you want to subdivide a surface in order to use it in a rendering software which supports displacement. ;)


...and displacement is like bumps on steroids.
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]SplitUp v1.4

Postby TIG » Mon Jan 09, 2012 9:39 pm

I know nothing...
I was only acting on orders.
:shock:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin]SplitUp v1.4

Postby massimo » Mon Jan 09, 2012 9:40 pm

:lol:
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby Rich O Brien » Mon Jan 09, 2012 9:41 pm

He's been a good pupil. Bit cranky but certainly has potential. :thumb:
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]SplitUp v1.4

Postby Fletch » Sun Jan 15, 2012 12:44 am

Very nice, thank you gentlemen!
0

Fletch 
Twilight Render
 

Re: [Plugin]SplitUp v1.4

Postby Panga » Mon Jan 16, 2012 11:11 am

Thanks a lot for this one !!! :thumb:
0

Panga 
Premium Member
Premium Member
 

Re: [Plugin]SplitUp v1.4

Postby simon le bon » Mon Jan 16, 2012 11:55 am

Hi Rich and all,

Your ruby tools collection is growing very nicely (I'm using your pen tools for a little while and like it a lot ;) )

Concerning SplitUp, I am in limbo :?
I know what is a displacement map but I can't figure out how SplitUp can help :oops:
Could you give the idea ?







Cheers,
Simon
0
User avatar
simon le bon 
 

Re: [Plugin]SplitUp v1.4

Postby massimo » Mon Jan 16, 2012 12:58 pm

Displacement needs subdivision of the mesh to work better since it does a real "shift" of the geometry. It's something like, for example, the Smoove tool in SU which needs subdivisions in order to work properly. The Thea mat preview is already subdivided. This plugin is useful when you have to apply displacement to a face (lets say a wall or a roof) which in SU is a single and not subdivided surface.
0
User avatar
massimo 
 

Re: [Plugin]SplitUp v1.4

Postby simon le bon » Mon Jan 16, 2012 2:27 pm

Ah OK!

The explanation is very clear and makes sense. Thank you Massimo ;)

The other tools I know which are able to subdivide are Artisan and FFD1 and FFD2



In this occurrence, SplitUp is widely the better one :thumb: ;) thank you Rich and TIG++

Simon
0
User avatar
simon le bon 
 

Re: [Plugin]SplitUp v1.4

Postby notareal » Mon Jan 16, 2012 5:07 pm

This is a neat little helper! Useful specially when preparing a model for rendering with displacement.
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [Plugin]SplitUp v1.4

Postby JGA » Tue Jan 17, 2012 10:16 am

massimo wrote:Displacement needs subdivision of the mesh to work better ...
Thanks, got it now!
0
Regards,
JGA

JGA 
 

Re: [Plugin]SplitUp v1.4

Postby keyston » Sun Feb 05, 2012 2:53 am

awesome script, thanks
0

keyston 
 

Re: [Plugin]SplitUp v1.4

Postby nils-petter » Fri Feb 10, 2012 9:18 am

thank you so much.
0

nils-petter 
 

Re: [Plugin] SplitUp v1.5 20120219

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

Here's v1.5 viewtopic.php?p=377338#p377338
The Plugins menu item is now disabled; it is now in Tools > Split Tools submenu / Toolbar.
Install TIG-splitTOOLS.rb to add this Toolbar/Tools-submenu...
viewtopic.php?p=386658#p386658
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] SplitUp v1.5 20120219

Postby Jeggebis » Sun Apr 29, 2012 10:09 pm

Hi

Im trying to smoothe out a part of my terrain (Sandbox "from contours") with the artisan plugin. My problem is that the terrain has huge triangles which makes the cross over from the field to the flattened site hard to do (flattened part made by substracting a solid from the solid terrain):
Skærmbillede 2007-04-29 kl. 22.47.12.png


I have tried to split the large triangles into smaller ones with the artisan tool:
Skærmbillede 2007-04-29 kl. 22.48.34.png


But the result is not satisfying:
Skærmbillede 2007-04-29 kl. 22.54.56.png


I now wanted to try the SplitUp plugin to get the large faces divided into squares to get a better result using the Artisan "smoove". But SU (v. 8.0.3161 OSX) crashes every time i try to use this plugin in this model. Same result with TIGs Quadrilateralizer plugin. SU just crashes.
I tried to create a small terrain from contours in a new file and here both plugins worked just fine.
In my big model I also tried to explode the surface of the terrain so it wasnt a solid, but that changed nothing. Still crashed.

Interesting enough, I can get SU to crash (this time it just stops responding) if i draw a contour grid from the Sandbox toolset too! But again, its only in my large landscape file. In a new file, that tool works just fine too.

Ive attached the large landscape here if some one wanted to test it out.
0

Jeggebis 
 

Re: [Plugin] SplitUp v1.5 20120219

Postby baiduaiya » Thu Jan 24, 2013 8:09 am

Thanks a lot!but, why can't I download this thing?
0

baiduaiya 
 

Re: [Plugin] SplitUp v1.5 20120219

Postby TIG » Thu Jan 24, 2013 11:16 am

baiduaiya wrote:Thanks a lot!but, why can't I download this thing?
Why can't I lick my elbow ?
You tell me why you can't download it - or at least what difficulties you are experiencing...
Can you see the .rb file link on the first page ?
Click it and download the one file and then install it, as per the instructions...
If you cannot see the link but there's a note about Ad-Blockers... disable 'ad-blocking' and/or 'do-not-follow' add-ons for SCF site so that you can see attachments - in the members' ToS that you agreed to when you joined one of your promise was not to use ad-blockers when visiting the site. This is because we are almost entirely funded by advertising and no one will pay to place ads if no one is reading them!
Let us know what was wrong...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: 123qwerty123qwe, Aashish977, andrazzh, enggar, kempftomas, malik ali, shake1, SkyChing, yuyopan and 14 guests