SketchUcation Premium Membership

 

 

[REQ] Edge 2 Groove

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 2:05 pm

like this ;)

Red and Green prism volumes are equal
Groove is constant
Click for all image
Kill_Add.jpg
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby TIG » Sun Apr 29, 2012 2:47 pm

That only works for parallel faced boxes - it won't work if it has non-parallel facets or only some faces are to be grooved... :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 2:53 pm

That is the case of the EartMover example asked
Just angle change between elements so the prism will be not always the same
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby EarthMover » Sun Apr 29, 2012 3:04 pm

Pilou wrote:@ EarthMover
Why your model has no bottom faces?
That will not solids! So possibilitiy to use boolean operation will be forbidden!


Sorry Pilou, I forgot I deleted the bottom faces while playing with Profile Builder. Forgot to add them back. If you close the bottom face, you can add the edges back using "Split Sausage".

The shape was made by drawing 2 curves, then using BZ Convert to Polyline Divider to regulate the segments. (Or SDMitch's EqSegCurve would work) I think I then used Extrude Edges by Vector in the Z direction and JPP to add volume. (Or you could go Extrude Edges by Offset, JPP) Thus maintaining the segments throughout the process.

Not sure why select edges by length doesn't work for you. Quad Face tools, select loops and rings should work fine as it's all quads. Also , with Selection Toys > Selected Quad Face Loops to select the faces in loop. Also easy to drag select all and Selection Toys > Select only edges or faces.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby EarthMover » Sun Apr 29, 2012 3:25 pm

TIG wrote:As sdmitch has found, doing it programmatically is fraught with challenges...


I see. The distance changes between the perpendicular offsets. I guess ideally would be to move the offset edges via their verticies, essentially moving four verts and connecting them, instead of four edges and trying to align them. Of course I have no idea if this is possible, just thinking out loud!

What if the top and sides were run with separate operations? Or if corners were restricted to only 90 degrees? My example is a bit extreme for most users who would need a tool like this. Things like furniture, buildings and other wood structures are typically square. I do a lot curved step treads, curved knee walls, pool copings, brick banding, arches, etc. However, what I do might be too generalized for what would benefit the masses. I just don't want to put my needs ahead of others.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 3:41 pm

What is the "Split Sausage" function and where i can find it ?


No problem for push the top and botton face with normal PushPull

Joint Push Pull don't make these vertical faces Pushed
The Smart Puspull make the good internal Push face alas it don't make the erasing!

smart.jpg
Please, register (free) to access all the attachments on the forums.
Last edited by Pilou on Sun Apr 29, 2012 4:57 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby massimo » Sun Apr 29, 2012 3:46 pm

What is the "Split Sausage" function

viewtopic.php?p=386610#p386610
User avatar
massimo
Global Moderator
 
Posts: 1371
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: Massimo Siracusa
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 4:55 pm

Many thanks : An another one that I had missed when i was absent :thumb:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 6:02 pm

Seems easy :)
Just code the repeat process :enlight:

Push.jpg
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby TIG » Sun Apr 29, 2012 7:04 pm

Pilou... you faked the image !
Tinker!
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby EarthMover » Sun Apr 29, 2012 10:15 pm

I think Pilou is suggesting first and second push both on the Z. The second push requiring another offset first.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby TIG » Sun Apr 29, 2012 10:23 pm

EarthMover wrote:I think Pilou is suggesting first and second push both on the Z. The second push requiring another offset first.
All PushPulls are made perpendicular to their the face... BUT if the original faces of the edge defining the second groove are non-coplanar then PushPull will be square to each of them NOT align with the 'vertical' sides of the first groove we've made, so that PushPull is blocked by the impending geometry clash; if we were to 'force' it in code then the perpendicular sides of the different grooves would not be guaranteed to align where they meet, and we then need either 'mitered' angles at their junctions, or awkward 'ledges'... :?
I see that Pilou is PushPulling the second groove in the length not the depth, BUT if the base of the groove is not parallel with the top then it won't form a clean hole either :roll:
It needs more of a JPP solution...
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 10:27 pm

first and second push both on the Z

Yes ;)
Line of the left element is an offset or a copy move along the side of left element
Line of the right element is an offset or a copy move along the side of left element

then you can push down on Z


It needs more of a JPP

the jpp don't make negative push :(
Smart PushPull yes as shown above but don't erase the inside !
Last edited by Pilou on Sun Apr 29, 2012 10:57 pm, edited 2 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby TIG » Sun Apr 29, 2012 10:30 pm

But as I closed... That's fine only if the second groove's faces have no further faces at their end OR the further faces are in the same plane as the base of the first groove. These are special cases.
The general case where there are other face angles etc will NOT PushPull cleanly and fail to end the groove neatly... :?
Please, register (free) to access all the attachments on the forums.
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby Pilou » Sun Apr 29, 2012 10:36 pm

BUT if the original faces of the edge defining the second groove are non-coplanar


That is not the case of the EarthMover example


But i believe that will be the same in the no coplanar face of elements
I come back with an example ;)

no_coolanar.jpg

And no problem for make the groove with normal push


Ps Crossing posts
your example is a double non coplanar face element ;)
but I believe that another will be the same
I come back with your vicious example ;)
Please, register (free) to access all the attachments on the forums.
Last edited by Pilou on Sun Apr 29, 2012 11:04 pm, edited 10 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby TIG » Sun Apr 29, 2012 10:37 pm

It's relatively easy to make the special case orthogonal grooves but the general case is more tricky... :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby Pilou » Mon Apr 30, 2012 12:08 am

In fact that is more easy than all previus! :idea: :roll: :mrgreen: :fro: :enlight:
Must have internal faces for make the Offset Pulling and close faces!
And must work in any cases not too vicious ;)
There is an optic effect on the result on this image : groove and section seem sometime slaloming! :)

groove2.jpg


troc1.jpg


troc.jpg
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby TIG » Mon Apr 30, 2012 11:10 am

A clever solution... IF grooves are wanted on all faces [but it could even be adapted with coding a custom offset on selected edges only]...
IF the object is a solid group then you could simply made a sacrificial over-sized block group that is the groove thickness wide and aligned on the edges' plane, and then in pro use the solid tools to subtract it from the original form, leaving the full slot; then we'd apply the offset around the newly through cut face and pushpull it by the groove width [no mid-line is needed] to fill the gap - erasing the extra inner face left behind to maintain 'solidity' for the next groove set to work...
BUT again this only works if the selected edges are all coplanar; 'skewed' grooves will not work. :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 14310
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby EarthMover » Mon Apr 30, 2012 11:46 am

If it is a "Solid" object, the offset seems like an unnecessary step. Could you just isolate the edge itself and take a box the size of the desired groove and "follow me" it around the edge to create the cutting (Subtracting) component, thus only taking away what was necessary for the groove? Similar to Jeff's technique in this thread - viewtopic.php?f=15&t=41095&p=365238&hilit=groove#p364287

I would be okay if the tool only worked on solid objects.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby sdmitch » Tue May 01, 2012 12:47 am

Using the Edge 2 Groove model supplied, I have been able to create a plugin for this unique situation.

Last edited by sdmitch on Tue May 01, 2012 4:48 pm, edited 1 time in total.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [REQ] Edge 2 Groove

Postby pbacot » Tue May 01, 2012 2:00 am

Thanks Sam. DL'd. Can't wait to see how it works! Peter
User avatar
pbacot
Top SketchUcator
 
Posts: 2767
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [REQ] Edge 2 Groove

Postby pbacot » Tue May 01, 2012 2:08 am

Woops. Crashes SU on my Mac. Peter. No messages to report.
User avatar
pbacot
Top SketchUcator
 
Posts: 2767
Joined: Sun Jul 20, 2008 7:26 pm
Location: Sonoma
Name: pbacot
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [REQ] Edge 2 Groove

Postby Pilou » Tue May 01, 2012 4:09 pm

this only works if the selected edges are all coplanar; 'skewed' grooves will not work.


Have you an example of that ?

I will try the new SAM plug :)
Last edited by Pilou on Tue May 01, 2012 4:25 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby EarthMover » Tue May 01, 2012 4:10 pm

Works great on the example I provided which are created via "curves" where some of the edges are supporting non planar faces. :thumb: However, it curiously fails on edges which support planar or perpendicular surfaces. Also fails on the shape I provided when the bottom is added to make it solid.

Thanks for the work so far. :berserk: I wonder can the tool be further tweaked to work on a variety of different situations where grooves would be needed? (i.e. single face grooves, grooves to define cabinet drawers, grooves for concrete building facades, etc.) Thus being more useful for a variety of different users. Also, can the width and depth be defined separately?

Thanks again Sam for solving the first part of the riddle. What was the logic you ended up using for the code? I tried to decipher it, but it's a little over my head.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby sdmitch » Tue May 01, 2012 4:34 pm

Yes I'm sure much more can be done but, as I stated in the post, the plugin attached was developed and tested on that one example alone.

I just looked at it as a sidewalk, with at flat top and curved sides. I examined each edge to see if it was between coplanar faces, normals parallel, to indicate it was on top and calculated the boundary points of the three faces that I could pushpull to create the top and side grooves. In addition to the normals parallel, I need to require the the normal.z is pointing up or down. This will allow sides to be straight as well.

Adding grooves to a four sided column poses the additional problem of trying to determine "which" way is up".
Last edited by sdmitch on Tue May 01, 2012 5:14 pm, edited 1 time in total.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [REQ] Edge 2 Groove

Postby charly2008 » Tue May 01, 2012 4:45 pm

Hi,

I have tested the groove tool. The results are unusual. I do not know why.

Charly
Please, register (free) to access all the attachments on the forums.
More dangerous than ignorance is the illusion of knowledge

He who makes no mistakes, makes nothing
User avatar
charly2008
 
Posts: 1177
Joined: Wed Apr 08, 2009 12:03 pm
Location: Frankfurt a.M., Germany
Name: Karlheinz Hauser
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby sdmitch » Tue May 01, 2012 4:53 pm

Charly, Please see my last post. I knew it was a mistake to post the alpha version because people always think that, no matter what bazaar situation they can create, the plugin should be able to handle it.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [REQ] Edge 2 Groove

Postby Pilou » Tue May 01, 2012 4:58 pm

@ Charly : for the moment you must don't take solides volumes, only open surfaces as the first example shown :)

rainure1.jpg
Please, register (free) to access all the attachments on the forums.
Last edited by Pilou on Tue May 01, 2012 6:05 pm, edited 3 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [REQ] Edge 2 Groove

Postby EarthMover » Tue May 01, 2012 5:36 pm

sdmitch wrote: Adding grooves to a four sided column poses the additional problem of trying to determine "which" way is up".


This makes sense. Thanks for posting the Alpha version. It is a very promising start. I definitely understand it was adapted to a specific situation. Hopefully it will continue to evolve into a more universal solution! :D Thanks again.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [REQ] Edge 2 Groove

Postby sdmitch » Tue May 01, 2012 6:05 pm

EarthMover wrote:single face grooves, grooves to define cabinet drawers, grooves for concrete building facades.



Please provide an example of each.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Are you a Premium Member? Get your freebies here. Are you not a Premium Member yet? Upgrade your account to grab these freebies instantly.

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: boxzero, callow42, GaryGB, massimo, schnydix and 12 guests