[Obsolete] Joint Push Pull
-
Here is a very first version of what I call Joint Push Pull, which is a compromise between the classic Sketchup push pull along individual face normals and the Vector Push pull whihc keeps faces contiguous. In other terms, how to extrude faces along their normal, but generate a contiguous shape.
I guess the pictures attached are self-explanatory on what the script tries to achieve.
The ZIP archive should be unzipped in the Plugins folder and create in the Plugins folder:
- jointpushpull.rb, the main macro
- LibPlaneSelectorTool.rb, to select a custom plane
- LibVectorSelectorTool.rb, to select a custom vector
- LibTraductor.rb, for language translation and dialog boxes. This is a new version (you must use this one, but it is compatible with the previous version published with Bezierspline)
- LibTraductor.def, an optional configuration file allowing override of language
- A folder JPP_Dir, which contains the 2 icons for the toolbar
The script creates 2 menu entries in the Tools menu
The script also implements Classic Push Pull and Vector Push pull
There is a full doc in PDF, but it is too large to upload on this site. So I put it on the Google forum at http://groups.google.com/group/Ruby-API/browse_thread/thread/6ae80c5c688083fb.
to unzip in the Plugins folder - Update with smooth / soft edges
-
a wicked script indeed! this will be very useful for a lot of things, your hard work is much appreciated.
-
Thank you Fredo!!
I didn´t know that this can be done with ruby.
Give thickness to surfaces it´s a feature that I was hoping for Sketchup 7. I tried this plugin with a lot of different surfaces and works fantastic.
Thank you again!!
Daniel S
Edit:PS. Yes.. like bellwells says... there are hidden edges.. in a lot of cases don´t looks good... would be better to use "soften edges"
Offtopic: Have you tried to make a bevel/round edges tool? -
Wow, great plugin! You must have spent many hours working on it. Thank you.
-
Thank you Fredo. You think you've seem it all and then....WHAM!!! There have been many times I could have used this. Most recently, yesterday while trying to increase the overhang of an octagonal roof.
Edit: I got a kick out of your "Seidel-Gauss algorithm and the Choleski linear resolution matrix" footnote in the tutorial PDF.....LOL.
I would LOVE if this could work in version 5. It almost does now.
Edit: I noticed that after running the script some of the edges of the extrusions are hidden and the sides of some extrusions are not perpendicular to the face. These 3 faces were selected at the same time. This only seems to happen with polygons. See image below:
Edit: I now understand why there are hidden edges. When extruding multiple contiguous faces, the common edges are hidden to give a smooth look. You can see this when you select Hidden Geometry or explode the group. I guess when you extrude only one face or non-contiguous faces (like in my example), the script "wants" to hide an edge.
-
Great script! It's like offsetting whole faces instead of just lines.
I just wonder why all these functions are not included in SU!Thanks a lot!
-
Thanks! I was just wondering how to do this.
-
@daniel s said:
Edit:PS. Yes.. like bellwells says... there are hidden edges.. in a lot of cases don´t looks good... would be better to use "soften edges"
Actually, I did not know what was the most appropriate, hidden or soft, because there are advantages for both in any situation.
This is easy to fix (see attached file modified).
The question is whether I leave this as an option
-
thanks a lot! the tutorial by itself is a masterpiece, and you are definitely breaking new ground with your Choleski linear resolution matrix
-
Fredo, t'es trop fort !
-
Fredo, Thanks
-
Error; #<NoMethodError; undefined method `classify_point' for #<Sketchup;;Face;>>
SU5/Win
Later Edit: my bad, didn't read the complete tutorial where it said that it is not SU5 compatible
-
I still can´t believe this! It works great with high poly models and makes brillants results. Incredible to make this inside SketchUp.
1655 faces in 160 secondsDaniel S
-
Fantastic, enjoyed playing with it. Now I need to find a place to use it.
Thanks, Bob
PS Confirming bellwells image earlier, if you use Joint push-pull on non-contiguous faces of an polygon block then the side of the extrusions have a mix of angles, some are rectilinear (as from the Vector extrusion) some are aligned to the center of the block.
-
Fredo,
Just been having a quick go with your Joint Push Pull Script.
First impressions - Very impressive. Will be really useful.
...
Joint Push Pull - Excellent
Vector Push Pull - a really good idea to include this also - Excellent
Manual / Tutorial PDF - Very Comprehensive / Well written and easy to understand.
...
I'm not too sure about the "Reverse Green Axis (-Y)" - you've assumed that the Green axis will be orientated away from the observer.
IMHO I wouldn't assume that.
I think it would be best if it was "Green Axis (+Y)" - like the other axes.
(Crops up in a couple of dialog boxes / dropdowns).
For the Vector Push Pull Method, it might be useful to somehow include an option for "interactive" - so users can push pull on screen (eg along the red axis for example).
(I'm not sure if this is possible).
...
Fantastic Script.
...
Belated Thanks for your BezierSpline Script - also excellent
Used in this Tutorial:
http://www.sketchucation.com/forums/scf/viewtopic.php?f=22&t=4208
...
Regards
Howard Leslie -
hi fredo,
fantastic! what can i say that the others have not said? anyway, just want to thank you once more for a great script which will be of great usefulness to all of us.
and congratulations on your generosity.
regards,
-
@daniel s said:
I still can´t believe this! It works great with high poly models and makes brillants results. Incredible to make this inside SketchUp.
1655 faces in 160 secondsDaniel S
Hey Daniel how did you do that chair? With soap skin and bubble?
-
Wo... (didn't even finish the word playing with Didier's component spray that something else comes up!) ...oW
thanks Fredo
(now i just need a dialog box to automate english weather control and embed that in SU)..
-
This is very generous, thank you.
-
@greyhead said:
Fantastic, enjoyed playing with it. Now I need to find a place to use it.
Thanks, Bob
PS Confirming bellwells image earlier, if you use Joint push-pull on non-contiguous faces of an polygon block then the side of the extrusions have a mix of angles, some are rectilinear (as from the Vector extrusion) some are aligned to the center of the block.
GreyHead
Thanks for appreciation.
Regarding the non contiguous faces, what you get is normal, because it depends on what you want to achieve. If you wish the borders to be perfectly normal, you must select NO in the option "Extent influence to non-selected neighbors", as explained in the Tutorial, in section 1.7, p.12. Otherwise, the macro compute the direction as if you would also extrude the neighbouring face. Unless I missed something....Fredo
Advertisement