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.

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.

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=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=323&t=6708&p=342359#p342359]http://sketchucation.com/click.php?url=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=//sketchucation.com/click.php?url=http:http://forums.sketchucation.com/viewtopic.php?f=15&t=36403&view=unread#p325069]http://sketchucation.com/click.php?url=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.

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....

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.

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!

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...

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 canvisually adjust the distance by reference to a particular point in your model, as in mostSketchup tools. However, when you drag, you may want to skip some inferences. Forthis, 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.

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!?

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?

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.

JClements wrote:"The editor makes full usage of the Sketchup inference mechanism so that you canvisually adjust the distance by reference to a particular point in your model, as in mostSketchup tools. However, when you drag, you may want to skip some inferences. Forthis, 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.

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.

[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..

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.

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.