SketchUcation Premium Membership

 

 

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

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

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

In response to viewtopic.php?f=323&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
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.

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.
Please, register (free) to access all the attachments on the forums.
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
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

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
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

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: ;)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Multiple Offsets

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

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

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Multiple Offsets

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

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

sdmitch01.jpg
Please, register (free) to access all the attachments on the forums.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Multiple Offsets

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

Sam

Good stuff and thank you. :thumb:

dtr
dtrarch
Premium Member
Premium Member
 
Posts: 343
Joined: Tue Nov 13, 2007 8:03 pm

Re: [Plugin] Multiple Offsets

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

sdmitch, Thank you!
Ben Ritter
 
Posts: 356
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

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.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

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
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

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 ;)
Last edited by Pilou on Tue Feb 28, 2012 11:40 am, edited 2 times in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

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:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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) ;)
Last edited by Pilou on Tue Feb 28, 2012 1:12 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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:
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

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:
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

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:
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

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:
Last edited by Pilou on Tue Feb 28, 2012 5:26 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10216
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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.
blajnov
 
Posts: 45
Joined: Sat Jan 05, 2008 2:58 am
Name: yura

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
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

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.
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

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
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 747
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

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

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

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

http://sdmitch.blogspot.com/
User avatar
sdmitch
 
Posts: 617
Joined: Wed Mar 02, 2011 9:21 pm
Name: Sam
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

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

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

:berserk: Great plugin~
paranoia is a higher form of awareness...
mirale999
 
Posts: 24
Joined: Wed Oct 28, 2009 4:14 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: 3dsmax9, awhite344, Extractor, jacksmith, martunczyk, molly1125, monguisho, pilger and 10 guests