[Plugin] Extrude Edges by Face

[Plugin] Extrude Edges by Face

Postby TIG » Fri Feb 12, 2010 2:30 pm

EEbyFaceExamples.jpg

    Copyright 2010 (c), TIG
    All Rights Reserved.
    THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
    WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
    ###
    extrudeEdgesByFace.rb
    ###
    Extrudes a Face along a set of curves/edges to form a FollowMe-like
    extrusion in a group.
    ###
    Usage:
    Draw [or use] a Face that is 'flat'.
    [on the ground or facing-up/down is not important]
    Faces that are not 'flat' are not allowed...
    The Face's rotation around the Z_AXIS is reflected in the final
    extrusion - noticeable if the shape is asymmetrical.
    The Face's Y_AXIS is taken as the Face's initial vertical [Z_AXIS]
    alignment.
    If the Path's first-edge is vertical then the Face is left aligned to
    its Y_AXIS.
    You can also use an optional Cpoint [Guide] to be used as an
    alternative "snap-point"**.
    Preselect the Face [and Cpoint if desired] and a set of Curves/Edges
    that are joined end to end [note that the Face's edges will be
    ignored if they were also selected, as will any other selected faces]
    - these edges will form the extrusion's Path.
    The Face will be extruded along the Path from the Path's end vertex
    that is nearest the Face's 'snap-point'** - this only becomes
    important if the Face is asymmetrical about the Y_AXIS center/snap-
    point, as there are then two possible extruded forms - which will be
    mirror images of each other: so place the Face nearest the required
    end in such cases...
    Having made the Selection Run the Tool: 'Extrude Edges by Face',
    from the Plugins Menu, or its button on the Extrusions Toolbar...
    If the selected edges 'branch' or are disconnected then there is a
    warning dialog: answer 'Yes' to try and make some sensible paths from
    the selection [each Path will then be processed separately] or answer
    'No' to reselect a suitable single path.
    The edge-set is copied into a group as the extrusion's 'Path'.
    A copy of the Face is added to the end** of the Path, it is rotated
    so that its normal is parallel to the vector of the first edge in the Path.
    If the Path is looped its nearest vertex is used as the start.
    Note that convoluted looped paths using an asymmetrical face may not
    join the extrusion's 'ends' back together as expected [just as with a
    normal 'FollowMe']...
    The Face's 'snap-point' is moved to the Path's end [this is the Face's
    bounding-box center or if in selected the Cpoint#* as appropriate].
    #*Note that a Cpoint placed non-planar with the Face or remote from it
    may give unexpected extrusions - perhaps even Bugsplats !
    Finally the extrusion/s is/are made in a single step: if the Face is
    not oriented as desired, then one-step undo and Rotate/Flip Face or
    move it t nearer the other end of the path or add/move the Cpoint etc
    as needed: then re-run...

    Donations:
    Are welcome [by PayPal], please use 'TIGdonations.htm' in the
    ../Plugins/TIGtools/ folder.
    OR


    Version:
    1.0 20100212 First release.
    1.1 20100212 Typo db fixed in def().
    1.2 20100215 Extrusion form now consistent, Pilou updated FR lingvo.
    1.3 20100216 Now in own sub-menu 'Extrusion Tools...' in Plugins menu.
    1.4 20100220 Glitch on some text in db fixed.
    1.5 20100312 Edge variables changed for EEbyRailsByFace compatibility.
    1.6 20100330 Rare glitch with self.xxx fixed.
    1.7 20101027 No suitable face in selection trapped with error message.

To download the files for this tool go to this thread http://forums.sketchucation.com/viewtop ... 63#p217663
1
Last edited by TIG on Tue Feb 16, 2010 12:58 pm, edited 2 times in total.
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Fri Feb 12, 2010 7:01 pm

TIG thanks. exelentes contributions.
I found a little mistake.
could correct this?
thank you very much

0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby chrisjk » Fri Feb 12, 2010 7:07 pm

TIG,
I guess you never sleep! Or perhaps you do..

You left Manifold stuff out of the TIGtools folder. :D

OK - I know it wasn't really a mistake , I just did a wholesale replace of the folder - me being lazy.


Now and then, I find myself thinking, "I should use XYZ program, it's easier to do XXX" then another plugin arrives that mostly addresses my problem and I save $500. :berserk:
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Fri Feb 12, 2010 7:20 pm

DIEGO-RODRIGUEZ wrote:TIG thanks. Exelentes contributions.
I found a little mistake...
I see the problem... a strange scaling of the extruded face when it starts on a downwards curve ???
I will investigate and report back... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Fri Feb 12, 2010 8:40 pm

if tig.

I did a test with the same curve at different positions.
And they generate deformations of the face, and rotations of the face

0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby xrok1 » Fri Feb 12, 2010 10:19 pm

here's what i get:
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: [Plugin] Extrude Edges by Face

Postby charly2008 » Fri Feb 12, 2010 11:24 pm

A promising tool, thanks TIG
0
He who makes no mistakes, makes nothing
User avatar
charly2008 
 

Re: [Plugin] Extrude Edges by Face

Postby charly2008 » Sat Feb 13, 2010 4:09 pm

Another Profile. Maybe interesting for Woodworkers.
0
He who makes no mistakes, makes nothing
User avatar
charly2008 
 

Re: [Plugin] Extrude Edges by Face

Postby charly2008 » Sat Feb 13, 2010 5:10 pm

The first experiments reminded me of the plug-ins "Convert arcs, circles ..... to cylinders" and "tube along path". But the fact that you can use different profiles I see it as a powerful extension of the possibilities which the above mentioned plugins have.
0
He who makes no mistakes, makes nothing
User avatar
charly2008 
 

Re: [Plugin] Extrude Edges by Face

Postby charly2008 » Sat Feb 13, 2010 6:10 pm

Here are a few experiments with different geometric bodies.
0
He who makes no mistakes, makes nothing
User avatar
charly2008 
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Mon Feb 15, 2010 7:57 pm

TIG excellent update. thank you very much for the speed at which fixes plugins

can you add, optional, the orientation of the face?
similar to the file attachment, or other options for rotation of the face
maybe
align with curved or aligned with the axis, or random alignment






TIG is possible?
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Wed Feb 17, 2010 11:25 pm

hi tig.
a question.
This plugins can work with 2 face and 1 rail?



for example
initial one face (circle), and a final face (square)

or

initial one face (rectangle), and a final face (square)

or just the same face but with a different scale.

for example

face 1 rectangle of 10cm x 15cm

face 2 rectangle 20cm x 30cm
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Thu Feb 18, 2010 1:05 am

Yes it can.
Make sure the two Profiles' edges - the circle and the square [welded] - are both Curves.
Make the Rail a Curve too - even if it's only one segment long !
Pick Rail-1 and re-pick it as Rail-2 when prompted...
:?:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby xrok1 » Thu Feb 18, 2010 1:50 am

xrok1 wrote:here's what i get:


????
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: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Thu Feb 18, 2010 3:30 am

TIG wrote:Yes it can.
Make sure the two Profiles' edges - the circle and the square [welded] - are both Curves.
Make the Rail a Curve too - even if it's only one segment long !
Pick Rail-1 and re-pick it as Rail-2 when prompted...
:?:


you say use the extrude edgesbayrailes plugins?

my question is can you do with your extrude edges by face.
that automatically positions the face about the curve

the idea is that works like this plugins
http://www.drawmetal.com/tapermaker

is it possible?
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Thu Feb 18, 2010 11:04 am

It's the Extrude Edges By Rails By Face plugin that does this.
That works very similarly to EEbyRails BUT it makes the ribs from a preselected face - like the individual 'rib' made with EEbyFace..............
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Thu Feb 18, 2010 5:26 pm

tig apologize. not understand well what you say.
My idea was that the plugins Extrude Edges by Face, work with both sides and a rail.

like the example attached. ( picture + file )



Operating:

select two sides + a curved edge
run the plugins
generates geometria

this is possible?
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Thu Feb 18, 2010 5:47 pm

OK you can already do this with EEbyRails IF the edges of the two faces are Curves and you make the 'path' curve as the two Rails...
You want a tool Extrude Face to Face By Rails ?
You pick Face1 then Face2 then Rail1 and Rail2 [or Rail1 again].
It'd work just like EEbyRails but the Profile and the Melding-Profile are made from the edges forming the two faces' outer_loop...
I'll think about it but I think it's been done :idea:
0
Last edited by TIG on Thu Feb 18, 2010 5:49 pm, edited 1 time in total.
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby pilou » Thu Feb 18, 2010 5:48 pm

this is possible?

2 faces + path by Kirill2008 ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Extrude Edges by Face

Postby DIEGO-RODRIGUEZ » Thu Feb 18, 2010 5:58 pm

if Tig. It has done something similar.
2 faces + path but it can do, but is more complex.

other plugins that generates something like this is tapermaker. but is limited
only use preset faces in a dialog box

but

Extrude Edges by Face is fantastic plugins. is simple and fast
0

DIEGO-RODRIGUEZ 
Banned
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Fri Feb 19, 2010 2:27 pm

See here viewtopic.php?p=226249#p226249 for Extrude Edges by Faces...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Sat Feb 20, 2010 6:08 pm

Tool has been updated
1.4 20100220 Glitch on some text in db fixed.
1.5 20100220 Glitch with number of Rail-Ribs fixed.
Color coding of picked curves added.
Profile=Cyan
Rail1=Magenta
Rail2=DarkVioletRed
MeldingProfile=DarkCyan
FaceEdges=Orange
See here for download link viewtopic.php?p=224218#p224218
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby chrisjk » Sat Feb 20, 2010 7:03 pm

TIG, there now seems to be a problem with your latest EEBRF:-



so far so good..



It just stops working here after clicking OK.
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] Extrude Edges by Face

Postby pilou » Sat Feb 20, 2010 7:17 pm

Are you sure?
Just wait end calculation ?
Do you see something bottom screen left corner screen line help?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Extrude Edges by Face

Postby chrisjk » Sat Feb 20, 2010 8:04 pm

Frenchy,

I am sure. I replaced the latest version with a version from 18 Feb and that works fine. Changing the older one out for the newer again and it still hangs at the same point.

I am on a Mac - maybe there's a difference?
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Sat Feb 20, 2010 8:06 pm

There are two tools EEbyFace and EEbyRailsByFace - you are jumbling the threads. :?
EEbyFace - you pre-pick a Face and a path of Edges and run the tool there are no prompts to pick curves etc
EEbyRailsbyFaces
Pre-pick the ProfileFace
- you run the tool
Pick the profiles as with EEbyRails...

BUT it shouldn't dump out like that.
I have tried to replicate this and got it too...

I have a fix - publishing it soonest... :roll:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby chrisjk » Sat Feb 20, 2010 8:32 pm

TIG,
True, I was jumbling the threads, I got confused here :-
Screen shot 2010-02-20 at 19.26.48.png


Face - Faces..

and went on to see which of the plugins was actually giving me colours and got hung up on EEBRF. A different naming scheme would make it easier for us mortals! After all, EEBRBF extrudes a selected face along chosen edges, so something like "ExtrudeaFacebyRails" could help differentiate it better.
0
Chris

chrisjk 
Premium Member
Premium Member
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Sat Feb 20, 2010 9:59 pm

I puzzled long about the names :roll:
I have a fix for that glitch but it's made another - offsetting the colored lines !
I'll fix it tomorrow... :idea: :arrow:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Extrude Edges by Face

Postby pilou » Sun Mar 14, 2010 4:53 am

about a quarter circle
there is a divergence: I understant that is perpendicular to the last segment,
but it is annoying for make a perfect quarter volume! :?:
quartercircle.jpg
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Extrude Edges by Face

Postby TIG » Sun Mar 14, 2010 11:10 pm

EEbyFace is a kind of 'FollowMe' and you will get un-square ends - use EEbyLathe to be perfect solid by revolution - simply select the face+edges and an axis centered on the arcs cpt... :?
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: elmarca, soquer10 and 6 guests

Visit our sponsors: