Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

Joint Push Pull Classic (Old version) - v2.2a - 26 Apr 17

Postby fredo6 » Sat Feb 23, 2008 11:11 am

This is a resurrection of the OLD version of the plugin, published in 2008 and last updated in 2011. It works in all versions of SketchUp and is certified for SU2016 and SU2017. It does NOT require LibFredo6.

Note: There is a new version of JointPushPull, called JointPushPull Interactive Edition 3.0. It includes new extrusion tools and is more interactive.
So you should consider migrating to this new version.
See this post.

Here is the link to the starting post of this new resurrected plugin.


JointPushPull Classic is a script that performs push pull on multiple faces in one operation. Unlike the native Sketchup push-pull tool, JPP Classic can maintain the continuity of the offset surfaces (mode joint push pull). This is useful to thicken non-planar surfaces.
JPP also includes two additional modes: Vector and Normal working with multiple faces.
JPP_visual.jpg



Tutorial Joint Push Pull Classic - English - v1.1 - 20 Feb 08.pdf

  • Language: English, French, Spanish (Defisto), Italian (Defisto / COSEDIMARCO)
  • Menus: by default, it is installed in Tools > Join Push Pull. There is also a Joint Push Pull menu in the selection contextual menu when one or several faces are selected
  • Icon toolbar: Joint Push Pull (5 icons are available)
  • The plugin is free, for private and commercial usage.


Although the plugin is obsolete now, this old version is published on the Sketchucation PluginStore under the name JointPushPull Classic.

IMPORTANT: This version can co-exist with the NEW version JointPushPull Interactive.

It is advised to
- install the rbz extension from the Sketchucation PluginStore page for JointPushPull Classic
- or Auto-install JointPushPull Classic with the ExtensionStore plugin distributed by Sketchucation

The footprint in the SU Plugins Directory must be:
- Fredo6_JointPushPullClassic.rb file
- Fredo6_JointPushPullClassic folder

In case you had the old JoinPushPull v2.1 already installed on your computer, it is advised to remove:
- the folder JPP_Dir_21
- the file jointpushpull.rb
- the file LibTraductor.rb


CAUTION: NEVER rename or move files from their folders. If you are unsure of your unzip operation, do it in a neutral folder and check that you reconstruct the right footprint. Then transfer the folders and files to the SU Plugin Directory.



  • Select one or several objects (faces, edges, groups or components). Only faces are taken into account.
  • Click on the icon of one tool, for instance Joint Push Pull
  • Pick a face and gently move the mouse to visualize the offset in wireframe. Keep SHIFT pressed to skip inferencing
  • You can type the offset value in the VCB (in model units)
  • Type TAB to access options (thickening, continuity parameter, etc…)
  • When OK with the parameters, Double-click or press Return to launch the calculation
  • The calculation cannot be interrupted. On large models, you may thus get a blank screen for the time the script is computing. Do not panic, just wait, it may take several minutes!

JPP also includes 2 additional buttons:
- Undo - reselect faces (as precisely the original faces could have been erased)
- Redo last Push Pull, allowing executing the last push pull on a new set of faces, with the same parameters.



version 2.2a - 26 Apr 17: same as version 2.1a but certified for all SU version, including SU2017. Published on PluginStore as JointPushPull Classic

version 2.0b - 17 Jul 11: same as version 2.0a but with Italian translation. This version does not work beyond SU13.
Here is the file, just in case

See [url=http:http://forums.sketchucation.com/viewtopic.php?f=323&t=6708&p=342359#p342359]http:http:http:http:http:http:http:http:http:http:http:http:http:http:this illustration[/url].

version 2.0a - 16 Jul 11: refix a bug signaled by Thomthom for some complex shapes (typically with vertices having 5 edges or more). Version 1.9 had some problems left.

version 1.9a - 12 Jul 11: fix a bug signaled by Thomthom for some complex shapes (typically with vertices having 5 edges or more).

version 1.8a - 01 May 11: Better respect of specified distance now working when doing a Joint Push Pull with an imposed plane direction. See discussion in [url=http:http://forums.sketchucation.com/viewtopic.php?f=15&t=36403&view=unread#p325069]http:http:http:http:http:http:http:http:http:http:http:http:http:http:this thread[/url].
Here is the previous version, just in case


version 1.7a - 25 Apr 11: Fix a major bug (causing a freeze of SU in some situations).

version 1.6 - 22 Apr 11: Updated the algorithm to better respect the value of the offset when the surface is composed of sharp angles. THIS VERSION HAD A FREEZE PROBLEM.

version 1.5 - 02 Sep 10: maintenance release for SU8
  • Suppress some warning (though harmless) messages in the Ruby console
  • JPP now installs itself as an extension of Sketchup (can be disabled / enabled via the Windows > Preferences > Extension dialog
  • Spanish translation - Thanks to Defisto

12 Jun 10: stable version, with encapsulation of calculation to skip some known problems on texturing.
37
Last edited by fredo6 on Wed Apr 26, 2017 3:14 pm, edited 46 times in total.
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby a4chitect » Sat Feb 23, 2008 3:57 pm

Perfect, perfect!!!!

one of the best integrated script
perfect 'sketchup' feeling
fantastic results!!

thank you very much!
2

a4chitect 
PluginStore Author
PluginStore Author
 

Re: Joint Push Pull - Visual Edition

Postby remus » Sat Feb 23, 2008 4:34 pm

Thanks very much, this plugin feels more like a stanard SU tool tha a ruby.
2

remus 
 

Re: Joint Push Pull - Visual Edition

Postby daniel s » Sat Feb 23, 2008 5:44 pm

Totally Amazing!!
How can i set for default for Joint, Vector and Normal Push pull in the finishing options "thickening" instead "erase original faces"?? it´s easy with the TAB or F5 keys... but when i restart SketchUp i have to set my defaults again.

Thank you,
Daniel S

PS. It´s possible to make the plugin work like the SketchUp push/pull? I mean... now you must select at least one face before running the plugin... and after doing the PP you have to select the icon again to PP another face....
0

daniel s 
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Sat Feb 23, 2008 5:57 pm

Daniel S wrote:Totally Amazing!!
How can i set for default for Joint, Vector and Normal Push pull in the finishing options "thickening" instead "erase original faces"?? it´s easy with the TAB or F5 keys... but when i restart SketchUp i have to set my defaults again.

Edit the rb file, line 334, and change @option_finishing = 'D' to @option_finishing = 'K'
Daniel S wrote:PS. It´s possible to make the plugin work like the SketchUp push/pull? I mean... now you must select at least one face before running the plugin... and after doing the PP you have to select the icon again to PP another face....

This would only work in single-face push pull (but there would be no difference compared to the Sketchup tool). Because you need to be multi-face, you have to select the faces first. Remember that 2 successive JPP may not be equivalent to a single one on the total set of faces!
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby jeff hammond » Sat Feb 23, 2008 6:47 pm

that's great.. i like the feel much better than the first one.. it's faster and more intuitive for me..

a couple of the tool bar icons are showing up blurry.. any idea why?


Picture 2.jpg
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby daniel s » Sat Feb 23, 2008 8:10 pm

Fredo6 wrote:Edit the rb file, line 334, and change @option_finishing = 'D' to @option_finishing = 'K'

Thank you! it´s working like i wanted!

Fredo6 wrote:This would only work in single-face push pull (but there would be no difference compared to the Sketchup tool). Because you need to be multi-face, you have to select the faces first. Remember that 2 successive JPP may not be equivalent to a single one on the total set of faces!


i understand... the problem is single-face or multi-face...
it´s like the SketchUp push/pull vs your normal push/pull.
In theory is better your normal push/pull because you can extrude single and multi faces... but the SU push/pull is faster... because it auto-selects faces on hover instead having to select faces first. Of course that are used in different situations but i think that you understand what i try to say.
SketchUp has a lot of problems with curves faces (including no offset) ... This is one of the features that i was waiting for SU7... use the SU push/pull for curved faces... that is exactly your JPP for single faces.
I attach a video example of what i´m trying to say...

Daniel S
1

daniel s 
 

Re: Joint Push Pull - Visual Edition

Postby JClements » Sat Feb 23, 2008 8:46 pm

As mentioned by others, this really is an incredibly well thought out/well executed/all inclusive/well documented script. Thank you for your superb effort, Fredo

===============================================

Curved Offset.

Yes, I was hoping there would be a way to use a combination of the existing JPP options to trick it into producing a "multi-facet"-offset.

===============================================

There is a small typo. There is a right-parenthesis following "Thickening" in the Create Border Faces drop-down list.

===============================================

"The editor makes full usage of the Sketchup inference mechanism so that you can
visually adjust the distance by reference to a particular point in your model, as in most
Sketchup tools. However, when you drag, you may want to skip some inferences. For
this, just keep the SHIFT key pressed down, while dragging faces."


For me, keeping the SHIFT key depressed doesn't appear to do anything. The black triangle at the cursor seems to be inferencing to other geometry. Perhaps I am misinterpreting its usage?
0
Last edited by JClements on Sun Feb 24, 2008 1:57 am, edited 7 times in total.

JClements 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby Whaat » Sat Feb 23, 2008 9:41 pm

I am really impressed by this script! Outstanding work!
0

Whaat 
PluginStore Author
PluginStore Author
 

Re: Joint Push Pull - Visual Edition

Postby bellwells » Sun Feb 24, 2008 2:28 am

Fredo, this is a SIGNIFICANT improvement over the last version. What a tremendously useful tool. Thank you very much!!
0
Ron

bellwells 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby boofredlay » Sun Feb 24, 2008 7:19 am

Brilliant new interface, thanks. :ecstatic:
0
User avatar
boofredlay 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby boofredlay » Sun Feb 24, 2008 7:31 am

Is it possible for this script to explode the curve after it is run? Or at least segment it into parts. It would cut down on a step if you are trying to erase lines for a cleaner face. See image.
0
User avatar
boofredlay 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby Gaieus » Sun Feb 24, 2008 7:53 am

Coen Naninck wrote:...I also very much want to see an offset tool for curved surfaces.
Can it be done?

Well, to me this is practically the offset tool for curved surfaces. Or am I missing something?
0
User avatar
Gaieus 
 

Re: Joint Push Pull - Visual Edition

Postby solo » Sun Feb 24, 2008 1:35 pm

Thank you so very much for this amazing plugin.

This is another step towards SU being able one day to model organic shapes with ease.

The idea of an offset tool for curved surfaces would be fantastic.

We have so many talented coders here that I believe Google is sitting back watching how SU is upgrading itself without much input from them as the users have given this amazing app a life of it's own.

OT: Now if only we can get some uber geek help on the texture mapping thing.
0
If you see a toilet in your dreams do not use it.
User avatar
solo 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Sun Feb 24, 2008 6:30 pm

On offset tool for curved surfaces:

I am not totally clear on what several of you are targeting. Personally, I see 2 categories of such surface offset tool:

1) Only offsets the external border edges of the surface. This means for instance that all interior faces are left untouched. This does not exist in native Sketchup but can easily be done by a script. Actually the faces are just there to give the overall contour the planes for offsetting and the direction interior / exterior.
Offset surface borders only.jpg


2) Deform continuously all faces of the model to accommodate the offset of the contour. In such a case, I think it would always change (even slightly) the shape of the overall surface. The best is probably to Scale the surface in all directions, and then move it to the closest position to fit the original surface. This can also easily be automated by a script.
offset surface by scaling.jpg


Maybe I lack imagination and there are other forms of surface offset someone would think of!?
0
Last edited by fredo6 on Sun Feb 24, 2008 6:45 pm, edited 2 times in total.
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Sun Feb 24, 2008 6:35 pm

Boofredlay wrote:Is it possible for this script to explode the curve after it is run? Or at least segment it into parts. It would cut down on a step if you are trying to erase lines for a cleaner face. See image.


I put precisely some code to keep curves on the original surface (to be as less destructive as possible). Note however that the generated corresponding contour is not welded as a curve. Is it the situation you have?
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Sun Feb 24, 2008 6:42 pm

Jeff Hammond wrote:that's great.. i like the feel much better than the first one.. it's faster and more intuitive for me..

a couple of the tool bar icons are showing up blurry.. any idea why?


I guess you are on Mac.
No idea of what happens with the PNG files, especially because only 2 of them appears in the 'fog'. They all come from the same source (thanks to Daniel S. who designed them). One idea, make sure you got all 5 icons of the latest version (they are all 24 x 24). The two I designed and published in the initial version were 32x32.
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Sun Feb 24, 2008 7:00 pm

JClements wrote:"The editor makes full usage of the Sketchup inference mechanism so that you can
visually adjust the distance by reference to a particular point in your model, as in most
Sketchup tools. However, when you drag, you may want to skip some inferences. For
this, just keep the SHIFT key pressed down, while dragging faces."


For me, keeping the SHIFT key depressed doesn't appear to do anything. The black triangle at the cursor seems to be inferencing to other geometry. Perhaps I am misinterpreting its usage?


The black triangle will seem to 'block' on other geometry, but it position will be ignored when you drag the faces. So inference is skipped 'geometrically', but I did not find a way to skip it 'visually'. Hope this answers your question.
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby daniel s » Sun Feb 24, 2008 8:42 pm

About the icons.. i made the two that are blurry on mac on a different day.. so perhaps i export the icons with different settings...
Jeff here i attach the two icons again... tell me if this fixes the problem (i don´t have a Mac for testing).

And about the offset the best method for me will be option nº 1: Only offsets the external border edges of the surface.

Daniel S
0

daniel s 
 

Re: Joint Push Pull - Visual Edition

Postby urs0815 » Sun Feb 24, 2008 9:25 pm

hallo Daniel,

I´ve tested the 2 icons on my mac -> same problem as before :?

but the icon of the very first edition of jpp were OK, so we can use them ;)

urs
0

urs0815 
 

Re: Joint Push Pull - Visual Edition

Postby daniel s » Sun Feb 24, 2008 9:37 pm

Here i made them with other settings... try this ones please
0

daniel s 
 

Re: Joint Push Pull - Visual Edition

Postby jeff hammond » Sun Feb 24, 2008 9:39 pm

[EDIT] daniel posted the latest update while i was typing this reply.. iconsformac2 are correct..



i switched to the first icons and they worked ok..

Picture 1.jpg



the new pngs display as sharp in all other apps except sketchup.. i compared the blurry ones against the sharp ones in PS and found the image sizes are different.. i changed the blurry J & V files to the following size..

Picture 3.jpg



..and now the new icons look ok..
Picture 4.jpg



it's a strange thing to me because the new icons are all 24x24 px.. it's just the resolution and wxh are set different but i would have thought they would display on a monitor according to the pixel size alone..
fwiw - the blurry icons are set to 24 x 24 px... .08 x .08 inches .... resolution 299.974..
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby urgen » Sun Feb 24, 2008 11:33 pm

M-m-m-many thanks to Fredo6 ! very conveniently! :ecstatic: ...
...and let's write it in the end in "jointpushpull.rb" :
#------------------------------------------------------
UI.add_context_menu_handler do |menu|
menu.add_separator
menu.add_item("Joint Push Pull ") { JointPushPull.execute 'J' }
menu.add_item("Vector Push Pull ") { JointPushPull.execute 'V' }
menu.add_item("Normal Push Pull ") { JointPushPull.execute 'N' }
menu.add_item("Undo") { JointPushPull.undo }
menu.add_item("Redo") { JointPushPull.redo }
end
#--------------------------------------------------------------

....right click mouse we select the face and activate skript board Simultaneously :P ...Process of drawing will be faster! :bounce:
0
--pupil forever...------
User avatar
urgen 
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Mon Feb 25, 2008 9:49 am

Urgen,

Very good idea and quite natural in Sketchup.
I updated the files in the script repository (also with non blurry icons).
http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=6708&p=42783#p42783

Thanks

Fredo
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby Pixero » Mon Feb 25, 2008 10:57 am

There is a bug in the latest version there should be a ] in this line:
menu.add_item(Traductor[DLG_MnuRedo]) { JointPushPull.redo }
0
User avatar
Pixero 
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Mon Feb 25, 2008 11:59 am

Oops...!!
Updated with correct code in Ruby repository

Fredo
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby boofredlay » Mon Feb 25, 2008 6:34 pm

Fredo6 wrote:
Boofredlay wrote:Is it possible for this script to explode the curve after it is run? Or at least segment it into parts. It would cut down on a step if you are trying to erase lines for a cleaner face. See image.


I put precisely some code to keep curves on the original surface (to be as less destructive as possible). Note however that the generated corresponding contour is not welded as a curve. Is it the situation you have?

The generated contour is not welded correct.
The original is however. I did another test after installing the latest and I get conflicting results. The top ellipse is broken into 2 welded curves that do not correspond the the new JPP created. The bottom ellipse stays completely intact.
See images.
Again, thanks for this script.
0
User avatar
boofredlay 
Global Moderator
 

Re: Joint Push Pull - Visual Edition

Postby fredo6 » Mon Feb 25, 2008 9:56 pm

Coen

If you scale uniformly a surface, it will never match the original (think of a sphere for instance). However, this is somehow an approximate way to offset its contour, while preserving the overall shape of the surface.

With the first method (only offset the borders), you just use the shape of the outer borders and ignore the ones which are inside. So if you offset by a large distance, you will certainly 'dilute' the shape of the surface.

Both methods have their own benefits and drawbacks, and both can be implemented via a script.

That's what I meant.

Fredo
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: Joint Push Pull - Visual Edition

Postby xrok1 » Tue Feb 26, 2008 1:41 am

where is this offset tool?????
0
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!

xrok1 
 

Re: Joint Push Pull - Visual Edition

Postby Fletch » Tue Feb 26, 2008 7:03 am

beautiful, Fredo... simply fantastic. Thank you so much for your generosity in sharing!
0

Fletch 
Twilight Render
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: 360royal360, jormoreno11, sumikhan and 11 guests