With v2 it's been renamed as 'extrudeEdgesByLathe' - it's been deBabelized and appears on a combined Toolbar - 'Extrusion Tools', plus various minor tweaks...
- (c) TIG 2009
extrudeEdgesByLathe.rb
First Select a 'polyline', i.e. an arc of welded curves/arcs/lines etc.
OR a Face [then the Face's Edges will be used]
Choose the tool 'Extrude Edges by Lathe' on the Plugins menu
or type 'extrudeEdgesByLathe' in the Ruby Console
or use the 'Extrude Edges By Lathe' on the 'Extrusion Tools' Toolbar.
You are prompted to pick the arc's center-point.
The VCB reports the dynamic point -e.g. [1.234,56.789,0.0].
You must then pick a second-point to set the axis-of-rotation -
for example, picking a second-point vertically above the center-point
(using inference and shift when blue etc) it would be the Z-axis [blue].
The VCB reports the dynamic vector - e.g. [0.0,0.0,1.0] == Z-axis.
Input the arc's swept-angle in degrees (-ve=clockwise) e.g. '90' or '-90'
and/or the number of the arc's segments with an 's' suffix e.g. '24s' ...
the initial defaults are 45.0 & 9s.
The 'ghost' display changes to show what you've set...
Any changes are remembered for that model, across sessions.
IF you enter '0' [zero] as the swept angle you are then prompted to
pick two points to set the rotation angle dynamically - typically the
first one will be on the 'profile' and the second where you want the
sweep to end.
A guide 15 degree-step 'protractor' is drawn at the center-point.
To pick swept-angles greater <> 180 degrees toggle <Alt> key.
To pick swept-angles 'c/clockwise' toggle <Shift> key.
These toggles may be used together.
The 'ghost' display changes to show what you've picked...
You can keep changing settings etc until you are happy with the result.
To confirm press 'Ctrl' or double-click the mouse to make the mesh...
The selected polyline's [or face's] edges are then swept around an arc:
using the picked center, about the selected axis-of-rotation.
The edges are divided and 'faced'.
The faces will be triangulated if necessary.
If a Face is the source then the geometry has 'end-faces' -
unless the swept arc >=360 degrees.
If a 'looped' polyline curve is the source there are no 'end-faces'.
You are asked if you want to remove coplanar faces, Yes/No...
Faces are auto-oriented.
You are asked if you want to reverse the faces, Yes/No...
You are asked if you want to smooth-edges, Yes/No...
The faced geometry is made inside a group.
The original face/edges remain unchanged.
The result is a 'true' 'Followme' swept shape unlike the built-in
'FollowMe' tool's results...
Donations:
Are welcome [by PayPal], please use 'TIGdonations.htm' in the
../Plugins/TIGtools/ folder.
Version:
20090915 1.0 First issue
20090916 1.1 Pick cursor/inferencing improved, choose 'axis' added.
20090917 1.2 'Round' error fixed. Operation optimized for v7 users.
20090918 1.3 Soft/Smooth Edges option added.
20090919 1.4 Inference-locking glitch fixed on repeated lathes.
20090920 1.5 Smooth bug with Reverse Faces fixed.
20090924 1.6 Removal of Coplanar Edges now Optional. Superfluous face removal improved.
20100114 2.0 Rename extrudeEdgesByLathe, Final Explode Group and Toolbar added.
DeBabelized and 'Extrusion Tools' Toolbar added.
20100120 2.1 ES lingvo file updated by Defisto.
20100121 2.2 Typo preventing Plugin Menu item working corrected.
20100121 2.3 FR lingvo file updated by Pilou.
20100123 2.4 FR lingvo file updated by Pilou.
20100206 2.5 Resume VCB text improved.
20100216 2.6 All extrusion-tools now in one in Plugins sub-menu.
20100222 2.7 Tooltips etc now deBabelized properly.
20100609 2.8 Glitch fixed on completion stages.
20100330 2.9 Dialog replaced with VCB input, e.g. 45 or 9s - soft @end
ability to select rotation angle by picking 2 points added.
Settings now remembered properly with model across sessions.
20100330 3.0 Lingvo files updated to match recent changes.
NOTE: from 20100212 the latest versions of these files is in the zipped set downloaded from here viewtopic.php?p=217663#p217663
