SketchUcation Premium Membership

 

 

[Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

[Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Thu May 20, 2010 10:14 pm

Overview
Quickly wrote a tool to rotate components around their axis.

Access
Tools -> Pivot around Axis
(Supports ThomThom's Menu)

Usage
  • Select an Component
  • Activate the tool
  • Click an axis and drag up/down to rotate about that axis
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby Jim » Thu May 20, 2010 10:22 pm

Awesome, Thomas! Simple to use and extremely useful for positioning. (Thinking positionable figures and lego.)
Jim
Global Moderator
 
Posts: 4126
Joined: Mon Nov 12, 2007 10:13 pm
Location: NEOH
Name: Jim
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Thu May 20, 2010 10:38 pm

I'm not happy about the controls, up and down. I want the position of the cursor in 3D space to affect the rotation.
But it's one for later, this one was a quicky.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby honoluludesktop » Thu May 20, 2010 11:36 pm

Thomas, Nice. Having wrote a very limited "point a component" plugin (limited to pointing the zaxis), I am amazed at what you consider a "quickie". Thanks!!!
User avatar
honoluludesktop
In Remembrance
 
Posts: 2219
Joined: Fri Sep 12, 2008 12:08 am
Location: Hawaii

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby Rich O Brien » Thu May 20, 2010 11:45 pm

Thanks Thom :thumb:

Very useful

At this rate you turn into.........

:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8418
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby Pilou » Fri May 21, 2010 12:53 am

So add a move, & scale function and you will have an universal manipulator ;) :thumb:

No possible to adapt the mouse movement after the axe clicked with the arrow keys?
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10211
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] Pivot Around Axis (1.0.0) — 20 May 2010

Postby mitcorb » Fri May 21, 2010 2:42 am

Yeah--what Pilou says--universal manipulator.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3429
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby Chris Fullmer » Fri May 21, 2010 3:34 am

I started that plugin once, but ended stopping because I don't like to use the universal tool. Is that something that people all really want? Thom is on his way there with this one!

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6756
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby bagatelo » Fri May 21, 2010 3:43 am

Why we cannot enter number for rotation by keyboard?
The files above make me very happy too, because I set
keyboard keys... but "Pivot Around Axis" may be useful.
Please, register (free) to access all the attachments on the forums.
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Fri May 21, 2010 7:33 am

Pilou wrote:So add a move, & scale function and you will have an universal manipulator ;) :thumb:

This plugin does that: viewtopic.php?f=323&t=20346
But it does not default to the component axis unfortunately. (which was what I needed)

Pilou wrote:No possible to adapt the mouse movement after the axe clicked with the arrow keys?

Good idea.

bagatelo wrote:Why we cannot enter number for rotation by keyboard?

Another good idea.

I might just come back to this plugin and improve it. Though currently VertexEdit is my top priority. This pivot plugin was one I needed at the office.


Chris Fullmer wrote:I started that plugin once, but ended stopping because I don't like to use the universal tool. Is that something that people all really want?

Me for instance. :D I like universal gizmos. They are present in many 3d modelling packages.
But the object of this plugin was to manipulate components while anchored to their axis, something I really miss in SU.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Fri May 21, 2010 8:21 am

I wanted to test what happened if I tried to pivot a 2d cutout component...

pivot2d.png


SU just accepted it. And the face it was stuck to appeared to deform as well, without any edges appearing.

But of course when you run Fix Problems: ;)
pivotfix.png
Please, register (free) to access all the attachments on the forums.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby snowflake » Fri May 21, 2010 1:09 pm

Nice work, mate.
All those cookies, you might seriously consider a dental plan coverage.
snowflake
 
Posts: 7
Joined: Fri May 02, 2008 3:08 pm

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Fri May 21, 2010 1:21 pm

snowflake wrote:Nice work, mate.
All those cookies, you might seriously consider a dental plan coverage.

No need! This book is all I need:


Besides, virtual cookies are low on sugar. :(
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby Jim » Fri May 21, 2010 1:37 pm

It's just very natural to want to enter the exact angle in the VCB after rotating the component.
Jim
Global Moderator
 
Posts: 4126
Joined: Mon Nov 12, 2007 10:13 pm
Location: NEOH
Name: Jim
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Fri May 21, 2010 1:43 pm

Yup. I added a couple of things today, like being able to rotate groups. And click on other instances to adjust another object without existing the tool. Will hook up the VCB shortly.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby hsjzyangbin » Fri May 21, 2010 9:14 pm

It'S pity it Can not enter values
hsjzyangbin
 
Posts: 34
Joined: Tue Sep 22, 2009 10:20 am
Name: coco

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby bagatelo » Sat May 22, 2010 6:01 pm

I was thinking about a new possibility for this tool. It would be like this: we selected the object, we activated the tool, and they appear in the screen a circular menu around the object with possibilities of we can rotate the object in predefine angles , as for instance, in 45 degrees. In the image example, only the dog house is geometry, the rest is the menu. For rotate the object, we chose desired arrow.
Please, register (free) to access all the attachments on the forums.
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby alfort » Sat Jul 24, 2010 4:36 pm

I new to installing plug-ins to sketchup. I've installed your script into the plugins folder but nothing is showing up in the tools menu after restarting sketchup. I'm using SU 7.1.
Last edited by alfort on Sat Jul 24, 2010 7:10 pm, edited 1 time in total.
alfort
 
Posts: 1
Joined: Sat Jul 24, 2010 4:01 pm

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby thomthom » Sat Jul 24, 2010 7:05 pm

Have you installed "ThomThom's Menu" ? If you did - then the location is different than the default Tools menu.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17907
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: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pivot Around Axis (1.0.0) — 20 May 2010

Postby jason_maranto » Wed Jan 12, 2011 1:01 am

Thank-you -- fits a need I've had perfectly.

Best,
Jason.
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto
 
Posts: 962
Joined: Thu Feb 04, 2010 7:57 pm
Location: Temple Terrace, FL - USA
Name: Jason Maranto
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: dian chow, greenskp and 11 guests