by TIG » Tue Sep 15, 2009 4:55 pm
After requests for a tool that mimics 'followme' around an arc without distortion I made 'lathe'... 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. OR 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. 20100331 3.1 Beep removed at start. 20101027 3.2 Undoes better. 20111020 3.3 Start_operation now deBabelized. 20111023 3.4 Smooth now ignores edges with only one face. 20111102 3.5 Fixed Picked-Angle's messy undo. Smoothed-edges stop @90º. lathe_examples.png NOTE: from 20100212 the latest versions of these files is in the zipped set downloaded from here http://forums.sketchucation.com/viewtop ... 63#p217663
Last edited by TIG on Tue Feb 16, 2010 12:56 pm, edited 19 times in total.
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Khai » Tue Sep 15, 2009 5:31 pm
oooh yus. working great so far 
-
Khai
-
- Posts: 618
- Joined: Sun Mar 15, 2009 4:53 pm
- Location: Onboard his TARDIS
- Name: Khai
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by ken » Tue Sep 15, 2009 5:32 pm
Tig
Am I missing something? Is there a difference between your lath tool and 1001bits lath tool? I have used both, and I cannot see any difference in the final product after smoothing.
Both seemed to do the job, I am just wondering what I am missing.
Ken
Fight like your the third monkey on Noah's Ark gangway.
-

ken
- Premium Member

-
- Posts: 989
- Joined: Thu Nov 15, 2007 1:38 pm
- Location: Fort Mill, SC
- Name: Ken
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
by thomthom » Tue Sep 15, 2009 5:47 pm
This one is free. 
-

thomthom
- PluginStore Author

-
- Posts: 19334
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by Ben Ritter » Tue Sep 15, 2009 5:59 pm
TIG,
Thank you!
-
Ben Ritter
-
- Posts: 461
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by nektares » Tue Sep 15, 2009 6:03 pm
nice!! i can sure use this plug-in! thanks!
-
nektares
-
- Posts: 145
- Joined: Fri Jun 20, 2008 3:38 pm
by Edson » Tue Sep 15, 2009 6:13 pm
Ken wrote:Tig
Am I missing something? Is there a difference between your lath tool and 1001bits lath tool?
Ken
is there a tool called lath in the 1001bit set of tools? the only one that i found that does a similar thing is Extrude along curved sloping path.
-

Edson
- Global Moderator
-
- Posts: 2810
- Joined: Mon Oct 22, 2007 1:46 pm
- Location: Porto Alegre, Brasil
- Name: Edson Mahfuz
- Operating system: Mac
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by Edson » Tue Sep 15, 2009 6:16 pm
tig,
thanks for one more wonderful tool. it works fine in my mac. but forgive my dumbness: i have not understood how to set it up, that is, how to position the curve or face in relation to the center of the curve. could explain it a little further?
-

Edson
- Global Moderator
-
- Posts: 2810
- Joined: Mon Oct 22, 2007 1:46 pm
- Location: Porto Alegre, Brasil
- Name: Edson Mahfuz
- Operating system: Mac
- SketchUp version: 2019
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by mike d » Tue Sep 15, 2009 6:17 pm
thanks tig
The grass is always GREENER on the roof.
-
mike d
-
- Posts: 242
- Joined: Mon Oct 22, 2007 1:30 pm
by Rich O Brien » Tue Sep 15, 2009 7:01 pm
Thanks for sharing Tig. Very much appreciated and needed
There's a frontroom and a backroom....reverse faces
-

Rich O Brien
- Administrator
-
- Posts: 12683
- Joined: Fri Oct 31, 2008 9:05 am
- Location: Broadford, Clare, Ireland
- Name: Rich O'Brien
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
-
by boofredlay » Tue Sep 15, 2009 7:50 pm
Thanks TIG.
When prompted to pick a center point I am not getting the option to pick a specific point, rather a general area. There is no indication that I am picking an endpoint or midpoint of another line etc. that I may have placed for my center point.
Edit: Ok if I hover long enough I see the tool tip say "endpoint" or "midpoint". If a visual clue could be added that would be great.
Thanks again for this.
-

boofredlay
- Global Moderator
-
- Posts: 9529
- Joined: Mon Oct 22, 2007 1:50 pm
- Location: Huntsville/Madison Alabama
- Name: Eric Lay
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by mitcorb » Tue Sep 15, 2009 8:02 pm
Thank you, TIG. I will give this a run through and let you know.
I take the slow, deliberate approach in my aimless wandering.
-

mitcorb
- Top SketchUcator
-
- Posts: 4007
- Joined: Sat Mar 22, 2008 2:32 pm
- Location: USA
- Name: mitcorb
- Operating system: Windows
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Dan » Tue Sep 15, 2009 8:16 pm
Thank you, Tig! A really useful plugin. And it works perfectly  . A question, though: the cursor isn't supposed to snap to a given point when asked for the lathe center? I noticed the tooltip telling me where my cursor points, but a more consistent visual feedback seems necessary, IMHO. Thanks again, great work!
-
Dan
-
- Posts: 33
- Joined: Mon Nov 19, 2007 7:54 pm
by TIG » Tue Sep 15, 2009 9:47 pm
Ken wrote:Tig
Am I missing something? Is there a difference between your lath tool and 1001bits lath tool? I have used both, and I cannot see any difference in the final product after smoothing.
Both seemed to do the job, I am just wondering what I am missing.
Ken
1001 tools ? This is a separate tool written entirely from scratch. 
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Tue Sep 15, 2009 9:52 pm
The 'pick center-point' prompt/point_pick will 'infer' to any suitable point - e.g. intersection/midpoint/end/on_edge/center etc... but it you have a specific point that you want the arc to sweep from then I suggest you make some cline/guides-intersections or cpoints etc to snap to during the tool - before using it... 
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by TIG » Tue Sep 15, 2009 9:55 pm
You can pick the center anywhere - 'off-center' skews stuff BUT you might want that... Set up with guides or cpoints if you want to 'lathe' about a definite center... Thanks for the feedbacks... you should know that I wrote it 'from scratch' during today... so there might be [probably are] some improvements possible... Let me know of anything you think might improve it... 
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by ken » Tue Sep 15, 2009 10:01 pm
[/quote] 1001 tools ? This is a separate tool written entirely from scratch.  [/quote] TIG I certainly did not mean to imply that you plugin was anything but your own creation. I was just wondering if your plugin handled the arc or circle segments or finish the lath function differently. I only ask that question because of the way Sketchup make circles and arcs with segments. Again thanks for all you scripts. Ken
Fight like your the third monkey on Noah's Ark gangway.
-

ken
- Premium Member

-
- Posts: 989
- Joined: Thu Nov 15, 2007 1:38 pm
- Location: Fort Mill, SC
- Name: Ken
- Operating system: Windows
- SketchUp version: 2017
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
by TIG » Tue Sep 15, 2009 10:07 pm
Ken
My 'lathe' uses NO arcs at all - all of the edges that are created are pseudo-arcs - i.e. edges that might make an arc BUT aren't actually part of an arc... It simply makes a 'followme' of a face [or any polyline !!!] around a supposed arc shaped path, that is correct without any distortions of the geometry - unlike the built-in 'followme' < 360 degrees...
.
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by dtrarch » Tue Sep 15, 2009 11:09 pm
TIG  This is a long needed tool and thanks a bunch for taking the trouble. Long time ago there was one with the same ruby name so good idea to flush the old one if exist before install. Much needed and appreciated by all. Cheers dtr
-
dtrarch
- Premium Member

-
- Posts: 510
- Joined: Tue Nov 13, 2007 8:03 pm
by simon le bon » Tue Sep 15, 2009 11:12 pm
dear Tig, This tool is so great It compensate something we can tell it is an irritating kind of bug of FollowMe Tool when we need to draw a "piece of cake". But it can do much more, and it is so easy to use.. Super   You surf so easily with ruby that you are a sort of Yoda jedaï in the SketchUpSpace... Thank again, thank for this... simon.
-

simon le bon
-
- Posts: 1070
- Joined: Sat Jan 26, 2008 10:22 am
- Location: Chouy/ Picardie/ France
- Name: Simon Bonnet
by pilou » Wed Sep 16, 2009 12:33 am
Seems you must say that the "path" or the "face" must be on a vertical plan else maybe result will be not that you want  Cool plug as always 
-

pilou
- Top SketchUcator
-
- Posts: 19576
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by notareal » Wed Sep 16, 2009 9:16 am
Thanks!
-
notareal
- Thea Render Support

-
- Posts: 1075
- Joined: Tue Nov 13, 2007 9:54 pm
- Location: Oulu, Finland
- Name: notareal
-
by thomthom » Wed Sep 16, 2009 9:21 am
Pilou wrote:Seems you must say that the "path" or the "face" must be on a vertical plan else maybe result will be not that you want  Cool plug as always 
TIG wrote:The selected polyline's edges are swept around in an arc, about the Z-axis [blue] and are faced.
-

thomthom
- PluginStore Author

-
- Posts: 19334
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2013
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by Frederik » Wed Sep 16, 2009 9:25 am
Thanks, Tig...! simon le bon wrote:You surf so easily with ruby that you are a sort of Yoda jedaï in the SketchUpSpace...
+1
Cheers Kim Frederik
-

Frederik
- Thea Render Support

-
- Posts: 2945
- Joined: Mon Nov 12, 2007 8:13 pm
- Location: Denmark
- Name: Kim Frederik
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Advanced
by massimo » Wed Sep 16, 2009 10:34 am
Many thanks TIG, it works like a charm. 
-

massimo
-
- Posts: 2053
- Joined: Thu Mar 19, 2009 10:52 am
- Location: Italy
- Name: Massimo Siracusa
- Operating system: Windows
- SketchUp version: 2014
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Intermediate
by TIG » Wed Sep 16, 2009 1:23 pm
v1.1 is here viewtopic.php?p=184477#p184477Improved inferencing of pick cursor and tooltips. Added second point pick to set axis of rotation. Thanks for the kind comments so far... 
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ben Ritter » Wed Sep 16, 2009 3:09 pm
I am not able to create a "donut" shape. My shape is oriented in the vertical direction and I select the blue axis for axis of rotation. What am I doing wrong?
-
Ben Ritter
-
- Posts: 461
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Panga » Wed Sep 16, 2009 3:58 pm
Thanks a lot for this one, definitly needed !!
-
Panga
- Premium Member

-
- Posts: 368
- Joined: Fri Dec 14, 2007 11:04 am
- Location: FRANCE
-
by TIG » Wed Sep 16, 2009 4:37 pm
Ben Ritter wrote:I am not able to create a "donut" shape. My shape is oriented in the vertical direction and I select the blue axis for axis of rotation. What am I doing wrong?
Try this... 1-2_donut.png
TIG
-

TIG
- Global Moderator
-
- Posts: 19914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ben Ritter » Wed Sep 16, 2009 7:04 pm
TIG,
That is the process I used, however, without having a short line to define the radius point.
In my attachment, you can see the result with and without a reference line for the radius point. The inference was indicating that I was going up in the blue axis direction, but I still got the result shown.
Thanks. Ben
-
Ben Ritter
-
- Posts: 461
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|