[Plugin] Multi face offset
49 posts
• Page 1 of 2 • 1, 2
[Plugin] Multi face offsetAs per this request: viewtopic.php?f=180&t=20193 version 3 now up. You'll need offset.rb, courtesy of RickW. How it works: 1. select the faces you want to offset 2. Plugins->Multi face Offset 3. Put in the distance 4. ...and away you go Stuff id like to change but probably wont: -condense it in to one script with a choice of units. Added, sort of. See thoms post. Last edited by thomthom on Tue Dec 08, 2009 9:46 pm, edited 1 time in total.
Reason: Just cleaning up and organizing the Plugin forum. Correcting [Plugin] tag Re: [plugin] Multi face offsetWhy all the different versions? .to_l http://code.google.com/intl/nb/apis/ske ... .html#to_l should take care of the units for you.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [plugin] Multi face offsetthats a rather handy tip, thanks.
Re: [plugin] Multi face offsetBtw, .to_l might give different result from what you expect - depending on that object you convert.
If you have a number - 30.to_l <- that means 30 inches. If you have a String - "30".to_l <- that means 30 model units, so if your model units are mm - then you'll get mm. And then with a string, users can override the model units. If the model units are mm and a user type "30m" you'll still get the correct length. Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [plugin] Multi face offsetWindowizer generates window components. This is just plain offset.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
Re: [plugin] Multi face offsetRemus, please, post some image in the first post so that we can have some clue what it does (and I can rip it for TDC, too)
![]() Re: [plugin] Multi face offset
A "window component" is a pure abstraction. With glass inset =0 it makes the same plain offset+ additional options (i.e. materials assignment, edit and eraze in the future) Re: [plugin] Multi face offsetNo, the faces can be on any plane. It wont work on curvy things, though.
As for windowizer doing the same thing, it probably can, and i think Fred06's offset on surface could do it as well, i just fancied writing it for a bit of practice. Re: [plugin] Multi face offsetThanks, but does not work.
Using sketchup 6 and 7, windowsxp SP3 in Spanish If you have a solution, thank you
Re: [plugin] Multi face offsetCould you open the ruby console (window->ruby console), run the script and post whatever comes up in the console?
Re: [plugin] Multi face offsetError: #<NoMethodError: undefined method `offset' for #<Sketchup::Face:0x5aad818>>
C:/Archivos de programa/Google/Google SketchUp 6/Plugins/multi face offset.rb:23:in `multi_face_offset' C:/Archivos de programa/Google/Google SketchUp 6/Plugins/multi face offset.rb:21:in `each' C:/Archivos de programa/Google/Google SketchUp 6/Plugins/multi face offset.rb:21:in `multi_face_offset' C:/Archivos de programa/Google/Google SketchUp 6/Plugins/multi face offset.rb:34 C:/Archivos de programa/Google/Google SketchUp 6/Plugins/multi face offset.rb:33:in `call'
Re: [plugin] Multi face offsetmost unusual, i'll have a look in to it and see if i can find out whats going on.
Re: [plugin] Multi face offsetRemus - do you have RickW's [free from Smustard] 'offset.rb' and elcorto doesn't ?
TIG
Re: [plugin] Multi face offsetI havent got it, but im guessing its included in some other script. Thanks for the pointer by the way, i'll add it to the 1st post.
Re: [plugin] Multi face offsetIt's the simple things that are often the most complicated !
[¡Se trata de las cosas simples que a menudo son las más complicadas!] TIG
Re: [plugin] Multi face offsetA veritable Smörgåsbord of repeated functionality
![]()
Re: [plugin] Multi face offsetBe possible. After applying offset. be selected the new drawing?
then able to apply, for example, multiple Push Pull sorry for my English. Thank you
Re: [plugin] Multi face offset
Protrude above can make that , just offset= 0 after use it and enable Height = that you want ![]() Only Protrude keep the selection ![]() ![]() For Push Pull multiple in general you can also use Joint Push Pull by Fredo6 or Projection2 by Didier Bur ![]() But both lost the selection! ![]() Last edited by pilou on Mon Jun 29, 2009 11:04 pm, edited 2 times in total.
Re: [plugin] Multi face offsetHi Remus, first thanks for the useful script - i found out the offset may end reversed at times
Re: [plugin] Multi face offsetSo it does. I dont suppose youve found what causes it? Whatever it is, i suspect it is a bug in offset.rb, it would be good to be able to pass it on to rickw, though.
Re: [plugin] Multi face offsetthe hunch, says it may be something to do with the direction of the lines (start-end-front-back business..) - but i could not spot the pattern for sure yet
Re: [plugin] Multi face offsetRemus, couple of icons if needed..
Re: [plugin] Multi face offsetI dont know how to do toolbars
![]() I'll give it a go, though, those icons are too nice to waste ![]()
49 posts
• Page 1 of 2 • 1, 2
|
Who is online
Users browsing this forum: Amaury hdzs, Bombolino001, ChrisTTSI, huseyinkole, jr_rc, liao70203, MaloneXI, Nielske1998, NITHEESHJR, seoyyyyyyoung, Toufik and 9 guests