[Plugin] Multiple Offsets (Updated 09-Feb-2014)

[Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby sdmitch » Wed Feb 22, 2012 8:28 pm

In response to http://forums.sketchucation.com/viewtop ... 23&t=43426

One last update. Addressed problem of possible conflict with other plugins
and fixed a bug when using a delta values list with multiple faces.

Select one or more faces. Run the plugin and select one of three offset methods.

Constant: Input number of offsets, distance between offsets, direction to
offset, either inside, outside, or both, and whether the selected face(s) and all
created faces are to be deleted, select No to keep faces.

Formula: Enter number of offsets, distance to first offset, direction to offset,
delete faces Yes or No, select operator + or *, and value to add or multiply by.

List: Select direction of offsets, delete faces Yes or No, a list of offsets
separated by commas, choose type of offset either absolute or a delta value
to be added to the last offset value. If the offsets are a repeated sequence,
end the list with *X, where X = the number of repetitions for the offset
sequence entered.

In one test case, the offsets were placed opposite of the direction setting. Why this occurred is still a mystery. The simple solution is to undo, rerun and choose the opposite direction.

The latest version is available from the PluginStore...

Download

2
Last edited by sdmitch on Wed Feb 29, 2012 8:14 pm, edited 6 times in total.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets

Postby pilou » Wed Feb 22, 2012 10:04 pm

Maybe it will cool also to keep the surfaces ? (first and news)

Because we can't make surface with the new curves even welded! :?:
Here with the plug "create face"
surfaces.jpg
1
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets

Postby sdmitch » Wed Feb 22, 2012 10:36 pm

Retracing any segment of the closed curve with the Line Tool should create a face.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets

Postby pilou » Wed Feb 22, 2012 10:44 pm

Redraw a "big" :rectangle: above the result and intersect all make the trick and very more speedy than all redraw with the :line: ;)
0
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets

Postby sdmitch » Thu Feb 23, 2012 5:10 pm

New version has been posted
1
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets

Postby pilou » Thu Feb 23, 2012 5:39 pm

You definitly rocks!!! :thumb: :fro: :enlight:

sdmitch01.jpg
0
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets

Postby dtrarch » Thu Feb 23, 2012 10:04 pm

Sam

Good stuff and thank you. :thumb:

dtr
0

dtrarch 
Premium Member
Premium Member
 

Re: [Plugin] Multiple Offsets

Postby Ben Ritter » Thu Feb 23, 2012 11:10 pm

sdmitch, Thank you!
0

Ben Ritter 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012

Postby sdmitch » Mon Feb 27, 2012 8:29 pm

Major update posted today. Offsets can be created by three methods

Constant: Input number of offsets, distance between offsets, direction to
offset, either inside, outside, or both, and whether the selected face(s) and all
created faces are to be deleted, select No to keep faces.

Formula: Enter number of offsets, distance to first offset, direction to offset,
delete faces Yes or No, select operator + or *, and value to add or multiply by.

List: Select direction of offsets, delete faces Yes or No, a list of offsets
seperated by commas, choose type of offset either absolute or a delta value
to be added to the last offset value. If the offsets are a repeated sequence,
end the list with *X, where X = the number of repititions for the offset
sequence entered.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby simon le bon » Mon Feb 27, 2012 9:16 pm

Thank you Sam,

It's a gem. :thumb:
older version overwritten by the new one ;)

++simon
0
User avatar
simon le bon 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby pilou » Tue Feb 28, 2012 12:00 am

curious nothing append on V7 and V6! :o
All menu appear but nothing is done! Does this normal ?

Work like a charm in V8 ! :fro: (aespecially the * x with a list ! :thumb: ;)

As the "exotic Push Pull" seems have a problem maybe will be a good thing to input it inside this plug during the calculate ?

Or See my new request ;)
0
Last edited by pilou on Tue Feb 28, 2012 11:40 am, edited 2 times in total.
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby simon le bon » Tue Feb 28, 2012 11:03 am

Hi Pilou and Sam,

Multiple Offsets works for me with Su7



However problems with the List Options:

- List:Offset by * 3
Absolute and Delta choice gives the same result:
>> x3 Delta offset (see pict)
(colored after for a better watch)

- List: Offsets: + operator don't work and deletes the offseted faces

simon
0
User avatar
simon le bon 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby pilou » Tue Feb 28, 2012 11:51 am

@Simon
Curious you write 20,30,40,50*3, that must be 20,30,40,50,*3 ;)
Edit : in fact that gives the same result! :mrgreen:
0
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby pilou » Tue Feb 28, 2012 12:35 pm

I have added some plugins for another things in V8

All menus Offset Multiples are fine but nothing append! :shock:
Seems there is a conflict with another plugs! :o
Must find the the culprit(s)! (resolved see the next page for see the culprit) ;)
0
Last edited by pilou on Tue Feb 28, 2012 1:12 pm, edited 1 time in total.
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012

Postby guanjin » Tue Feb 28, 2012 12:47 pm

sdmitch wrote:Major update posted today. Offsets can be created by three methods

Constant: Input number of offsets, distance between offsets, direction to
offset, either inside, outside, or both, and whether the selected face(s) and all
created faces are to be deleted, select No to keep faces.

Formula: Enter number of offsets, distance to first offset, direction to offset,
delete faces Yes or No, select operator + or *, and value to add or multiply by.

List: Select direction of offsets, delete faces Yes or No, a list of offsets
seperated by commas, choose type of offset either absolute or a delta value
to be added to the last offset value. If the offsets are a repeated sequence,
end the list with *X, where X = the number of repititions for the offset
sequence entered.


Great tool invention
Can realize line migration, generating surface?
Perhaps we should not be too many requests
thank you sdmitch
:family:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012

Postby guanjin » Tue Feb 28, 2012 12:54 pm

guanjin wrote:
sdmitch wrote:Major update posted today. Offsets can be created by three methods

Constant: Input number of offsets, distance between offsets, direction to
offset, either inside, outside, or both, and whether the selected face(s) and all
created faces are to be deleted, select No to keep faces.

Formula: Enter number of offsets, distance to first offset, direction to offset,
delete faces Yes or No, select operator + or *, and value to add or multiply by.

List: Select direction of offsets, delete faces Yes or No, a list of offsets
seperated by commas, choose type of offset either absolute or a delta value
to be added to the last offset value. If the offsets are a repeated sequence,
end the list with *X, where X = the number of repititions for the offset
sequence entered.


Great tool invention
Can realize line migration, generating surface?
DWG files import, Is no surface of
Perhaps we should not be too many requests
thank you sdmitch
:family:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012

Postby guanjin » Tue Feb 28, 2012 12:55 pm

guanjin wrote:
guanjin wrote:
sdmitch wrote:Major update posted today. Offsets can be created by three methods

Constant: Input number of offsets, distance between offsets, direction to
offset, either inside, outside, or both, and whether the selected face(s) and all
created faces are to be deleted, select No to keep faces.

Formula: Enter number of offsets, distance to first offset, direction to offset,
delete faces Yes or No, select operator + or *, and value to add or multiply by.

List: Select direction of offsets, delete faces Yes or No, a list of offsets
seperated by commas, choose type of offset either absolute or a delta value
to be added to the last offset value. If the offsets are a repeated sequence,
end the list with *X, where X = the number of repititions for the offset
sequence entered.


Great tool invention
Can realize line migration, generating surface?
DWG files import, Is no surface of ,
Perhaps we should not be too many requests
thank you sdmitch
:family:
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby pilou » Tue Feb 28, 2012 1:04 pm

Ok for the Conflict in V8 free the culprit is "Windowizer3" ! :enlight:
0
Last edited by pilou on Tue Feb 28, 2012 5:26 pm, edited 1 time in total.
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby blajnov » Tue Feb 28, 2012 2:57 pm

Respected sdmitch, the new version of a plug-in, doesn't work in SketchUp 8 Pro M2...:cry:
The previous works perfectly well.
0

blajnov 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby guanjin » Tue Feb 28, 2012 4:01 pm

blajnov wrote:Respected sdmitch, the new version of a plug-in, doesn't work in SketchUp 8 Pro M2...:cry:
The previous works perfectly well.


I also SU8M2, no problem
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby sdmitch » Tue Feb 28, 2012 4:02 pm

blajov, sorry about that but I only have SU8 Free at my disposal so there is no way for me to determine why that is the case.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets (Updated 27-Feb-2012)

Postby ken » Wed Feb 29, 2012 1:13 am

Sam

The multiple offset does not work on my computer,none of the options, constant, formula or list. I have Sketchup, V8, M1. Here is the error message. Hope this helps.

Error: #<ArgumentError: wrong number of arguments (3 for 1)>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:76:in `offset'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:76:in `do_offsets_constant'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:74:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:74:in `do_offsets_constant'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:72:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:72:in `do_offsets_constant'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:49:in `do_offsets'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:30
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:76:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/Multiple Offsets-A.rb:76

Thanks in advance for looking at this problem and the plugin.

Ken
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
ken 
Premium Member
Premium Member
 

Re: [Plugin] Multiple Offsets (Updated 29-Feb-2012)

Postby sdmitch » Wed Feb 29, 2012 8:16 pm

One last update!!!
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Multiple Offsets (Updated 29-Feb-2012)

Postby mirale999 » Sun Mar 25, 2012 2:54 am

:berserk: Great plugin~
0
paranoia is a higher form of awareness...

mirale999 
 

Re: [Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby nmhai » Tue Feb 11, 2014 10:28 am

ERROR FOR ME:
0

nmhai 
 

Re: [Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby Dave R » Tue Feb 11, 2014 11:58 am

Thank you very much for the update, Sam. It does exactly what I needed.

nmhai: That's not an issue with the plugin. You'd get that with the native offset tool as well. The error is in the setup. You can either fix by deleting the unwanted edges or you start with the inner most profile and offset outward. You might also have a look at TIG's Smart Offset.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby cotty » Wed Feb 12, 2014 8:07 pm

Dave R wrote:update
:?:
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby darrellhaemer » Tue Nov 02, 2021 5:34 am

Can anyone confirm that this extension still works (or doesn't) in SketchUp 2020? I can't seem to get it to have an effect.
0

darrellhaemer 
 

Re: [Plugin] Multiple Offsets (Updated 09-Feb-2014)

Postby Dave R » Tue Nov 02, 2021 12:30 pm

It works for me in SketchUp 2021. I would expect it should work in 2020, too.
offsets.gif


BTW, your profile indicates you are using SU2016. Please update your profile.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: angelzerna, archgiorgos, Arisuchan, Ranura Perera and 14 guests