[Plugin] Axis components (Updated 6/12/2010)

[Plugin] Axis components (Updated 6/12/2010)

Postby sahi » Thu Sep 03, 2009 10:51 am

comp.jpg


axiscomp5.zip
1
Last edited by sahi on Mon Dec 06, 2010 2:44 pm, edited 5 times in total.

sahi 
PluginStore Author
PluginStore Author
 

Re: Axis components

Postby dedmin » Thu Sep 03, 2009 5:02 pm

Yee, i was about to ask for something like this when i saw your plugin!!! Thanks!! Is there a way to position component axes on the edges of the bounding box and the centers of their sides - there is a command in Rhino that makes a bounding box of an object or group of objects that i used for centers of the blocks!
Б :berserk: :sketchstatic: ольшое спасибо!
0

dedmin 
 

Re: [plugin] Axis components

Postby Chris Fullmer » Thu Sep 03, 2009 5:20 pm

Great plugin idea Sahi! I'll check it out when I get a chance. Thanks for contributing it here,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [plugin] Axis components

Postby urgen » Fri Sep 04, 2009 7:58 pm

....А-а-атлично! :thumb: :thumb: :thumb: :D
0
--pupil forever...------
User avatar
urgen 
 

Re: [plugin] Axis components

Postby mitcorb » Fri Sep 04, 2009 11:00 pm

Do my eyes deceive me?
Does this reset the origin of the component where you please?
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [plugin] Axis components

Postby sahi » Sat Sep 05, 2009 1:39 am

comp.jpg
0

sahi 
PluginStore Author
PluginStore Author
 

Re: [plugin] Axis components

Postby dedmin » Sat Sep 05, 2009 12:11 pm

It's Christmas!!! :ecstatic: :ecstatic: :ecstatic: :ecstatic: :ecstatic:
0

dedmin 
 

Re: [plugin] Axis components

Postby MALAISE » Sun Sep 06, 2009 6:56 am

Thanks for the gift. May be could you translate or give us the file to translate Axis positionning names( it's still cyrillic written :mrgreen: )

MALAISE :thumb:
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: [plugin] Axis components

Postby sahi » Sun Sep 06, 2009 7:45 am

MALAISE wrote:May be could you translate or give us the file to translate Axis positionning names

Did I translate correctly?
Code: Select all
Центра компонента>>>      Center of component>>> 
"Центр компонента  "            "Center of component  "
"Низ центра компонента  "      "Bottom of center of component  "
"Верх центра компонента  "     "Top of center of component  "
"Левый дальний угол  "         "Left distant corner  "
"Левый ближний угол  "         "Left near corner  "
"Правый дальний угол  "        "Right distant corner  "
"Правый ближний угол  "          "Right near corner  "
"Центр на левой стороне   "      "Left center   "
"Центр на передней стороне  "    "Front center   "
"Центр на правой стороне         "Right center   "
"Центр сзади                     "Back center  "

axiscomp4.zip
0

sahi 
PluginStore Author
PluginStore Author
 

Re: [plugin] Axis components

Postby marne » Sun Sep 06, 2009 12:08 pm

A plugin like this was overdue. Thank you so for this productivity increasing plugin. Creating lots of face me components was always annoying a bit because of centering the axis, now its fun - :thumb: you're great!!!!!
0

marne 
 

Re: [plugin] Axis components

Postby Jim » Sun Sep 06, 2009 12:19 pm

Ok, now I understand! - it seemed no different than the built-in Change-axis feature. But the preset positions are nice!
0
Hi

Jim 
Global Moderator
 

Re: [plugin] Axis components

Postby NewOne » Mon Sep 14, 2009 5:42 pm

Nice tool! You might think to change the icon, because is already one in SU and this can be confusing. :D
0

NewOne 
 

Re: [plugin] Axis components

Postby CADAddict » Tue Nov 10, 2009 6:01 pm

Doesn't Right clicking the axes of the component and selecting "change axes" already do what this plugin does?
I don't see the difference or the need for it. Anyone can enlighten me?
0

CADAddict 
 

Re: [plugin] Axis components

Postby Chris Fullmer » Tue Nov 10, 2009 11:07 pm

This plguin adds some pre-defined axis locations, so you don't have to set the axis manually. If you know you want the axis set to the middle, bottom of the component, then this plugin will do it for you. Otherwise it could be tough to do, like in his first image example. That one would require drawing construction lines or temporary geometry in place to then align the axis to.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [plugin] Axis components

Postby pilou » Wed Nov 11, 2009 1:01 am

Центра компонента>>> Centre du composant>>>
"Центр компонента " "Centre du composant "
"Низ центра компонента " "Centre Bas du composant "
"Верх центра компонента " "Centre Haut du composant "
"Левый дальний угол " "Left distant corner "
"Левый ближний угол " "Left near corner "
"Правый дальний угол " "Right distant corner "
"Правый ближний угол " "Right near corner "
"Центр на левой стороне " "Left center "
"Центр на передней стороне " "Front center "
"Центр на правой стороне "Right center "
"Центр сзади "Back center "
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [plugin] Axis components

Postby pilou » Wed Nov 11, 2009 1:01 am

In French ;)
Code: Select all
    Центра компонента>>>      Centre du composant>>>
    "Центр компонента  "            "Centre du composant  "
    "Низ центра компонента  "      "Centre Bas du composant  "
    "Верх центра компонента  "     "Centre Haut du composant  "
    "Левый дальний угол  "         "Coin Gauche distant  "
    "Левый ближний угол  "         "Coin Gauche proche  "
    "Правый дальний угол  "        "Coin Droit distant  "
    "Правый ближний угол  "          "Coin Droit proche  "
    "Центр на левой стороне   "      "Centre Gauche   "
    "Центр на передней стороне  "    "Centre Face   "
    "Центр на правой стороне         "Centre Droit   "
    "Центр сзади                     "Centre Arrière  "
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Axis components

Postby alz » Sun Feb 07, 2010 12:19 am

Missed this one -- nice little addition! I hated having to add temporary lines to find corner snap locations :)
0

alz 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Axis components

Postby jason_maranto » Sun Feb 07, 2010 11:20 pm

Very cool plugin -- if only someone would generate something like this that used the ease of setting axis position of this ruby combined with the align scripts function to move groups and components to each other... it's actually something I've wanted since I first started working with Sketchup but was always too afraid to try :knockout:

Anyhow I took a stab at making a clearer english version of it and while I was trying to sort that out I decided to cobble together a context menu to make switching between them quicker...
just added this stuff at the end.
if( not file_loaded?("axiscomp.rb") )

UI.add_context_menu_handler {|menu|
if(Sketchup.active_model.selection[0].typename == "ComponentInstance")
menu.add_separator
sub=menu.add_submenu("Orient Component Axis")
sub.add_item("Absolute Center") { centrcomponents1 }
sub.add_item("Bottom Center") { centrcomponents2 }
sub.add_item("Top Center") { centrcomponents3 }
sub.add_item("North-West Corner Bottom") { centrcomponentsright1 }
sub.add_item("North Side Center Bottom") { centrcomponentsrightstorona }
sub.add_item("North-East Corner Bottom") { centrcomponentsright2 }
sub.add_item("East Side Center Bottom") { centrcomponentsperedstorona }
sub.add_item("South-East Corner Bottom") { centrcomponentsleft2 }
sub.add_item("South Side Center Bottom") { centrcomponentsleftstorona }
sub.add_item("South-West Corner Bottom") { centrcomponentsleft1 }
sub.add_item("West Side Center Bottom") { centrcomponentszadstorona }
end #if ok

}

end



Thanks again.

Best,
Jason.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] Axis components

Postby alz » Mon Feb 08, 2010 11:36 pm

I actually wanted a Center East option today and realized it wasn't there.

Expanding the options shouldn't be hard, but the menu could get kinda crazy. Something like this would work:

Code: Select all
axis=menu.add_submenu("Orient Component Axis")

   top=axis.add_submenu("Top")
      top.add_item("Center") { function }
      top.add_separator
      top.add_item("North") { function }
      top.add_item("North-East") { function }
      top.add_item("East") { function }
      top.add_item("South-East") { function }
      top.add_item("South") { function }
      top.add_item("South-West") { function }
      top.add_item("West") { function }
      top.add_item("North-West") { function }

   middle=axis.add_submenu("Middle")
      middle.add_item("Center") { function }
      middle.add_separator
      middle.add_item("North") { function }
      middle.add_item("North-East") { function }
      middle.add_item("East") { function }
      middle.add_item("South-East") { function }
      middle.add_item("South") { function }
      middle.add_item("South-West") { function }
      middle.add_item("West") { function }
      middle.add_item("North-West") { function }

   bottom=axis.add_submenu("Bottom")
      bottom.add_item("Center") { function }
      bottom.add_separator
      bottom.add_item("North") { function }
      bottom.add_item("North-East") { function }
      bottom.add_item("East") { function }
      bottom.add_item("South-East") { function }
      bottom.add_item("South") { function }
      bottom.add_item("South-West") { function }
      bottom.add_item("West") { function }
      bottom.add_item("North-West") { function }



:P
0

alz 
PluginStore Author
PluginStore Author
 

Re: [plugin] Axis components

Postby thomthom » Tue Mar 02, 2010 3:29 pm

sahi wrote:
MALAISE wrote:May be could you translate or give us the file to translate Axis positionning names

Did I translate correctly?
Code: Select all
Центра компонента>>>      Center of component>>> 
"Центр компонента  "            "Center of component  "
"Низ центра компонента  "      "Bottom of center of component  "
"Верх центра компонента  "     "Top of center of component  "
"Левый дальний угол  "         "Left distant corner  "
"Левый ближний угол  "         "Left near corner  "
"Правый дальний угол  "        "Right distant corner  "
"Правый ближний угол  "          "Right near corner  "
"Центр на левой стороне   "      "Left center   "
"Центр на передней стороне  "    "Front center   "
"Центр на правой стороне         "Right center   "
"Центр сзади                     "Back center  "

axiscomp4.zip

Could you post all downloads in the first post please - makes it easier to locate them.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Axis components

Postby jason_maranto » Fri Oct 01, 2010 12:28 am

I am teaching some video lessons on the Dynamic Component functions of Sketchup Pro and I would like to utilize a modified version of this plugin and give it to the students as I think it could simplify the DC creation process... what is the proper protocol for passing this on to others?

Best,
Jason.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] Axis components

Postby sahi » Fri Oct 01, 2010 3:25 pm

jason_maranto wrote: what is the proper protocol for passing this on to others?

It is free.
0

sahi 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Axis components

Postby thomthom » Fri Oct 01, 2010 10:17 pm

sahi wrote:
jason_maranto wrote: what is the proper protocol for passing this on to others?

It is free.

Does not mean you can share things around as you like. You need to get the permission of the author unless you find some written statement that the author allows redistribution.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Axis components

Postby Chris Fullmer » Fri Oct 01, 2010 11:49 pm

Thanks for responding so quickly Sahi. Generally, unless the author gives permission otherwise:

The plugin should be downloaded from this site directly. People that have the plugin, should know where to go to get updates in the future, ask for help with the plugin, contact the author, etc. So for that reason, it is best if you can get people to download the plugin from here directly. Maybe sending out an email to your students with the plugin and direct links to this thread is enough? I'm not sure what the other authors would think about that.
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Axis components

Postby jason_maranto » Sat Oct 02, 2010 1:03 am

Thank-you Sahi, that is very generous -- If you'd like me to mention anything in particular or send them to this thread (or anyplace else) I will do so.

Best,
Jason.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] Axis components (Updated 6/12/2010)

Postby jeff hammond » Sun May 15, 2011 4:47 am

hi Sahi,

i think some of the locations are labeled improperly (or maybe this happened during the translation?)

if i select su's front view then choose 'right near corner' for the axis, it's actually placed on the right distant corner.. if i select 'left near corner' then the axis is placed at the right near corner.. etc.

everything is off by 90º.. (or, i'm just not properly orienting myself in the sketchup space?)

it's mostly the centers that i like about this plugin anyway and they aren't affected by this.
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] Axis components (Updated 6/12/2010)

Postby sahi » Sun May 15, 2011 11:45 am

Maybe I'm wrong with the SU oriented;
0

sahi 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: ArchangelMike, fredo6, Google Bot, JBKoto, samdowley, Yahoo Bot and 14 guests

Visit our sponsors: