[Plugin] Pivot Around Axis

[Plugin] Pivot Around Axis

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

Download

0
Last edited by thomthom on Sat Jan 18, 2014 12:56 pm, edited 1 time in total.
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] 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.)
0
Hi

Jim 
Global Moderator
 

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.
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] 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!!!
0
User avatar
honoluludesktop 
In Remembrance
 

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.........

0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

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?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

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
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] 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.
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

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.
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] 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
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] 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.
0

snowflake 
 

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. :(
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] 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.
0
Hi

Jim 
Global Moderator
 

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.
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] 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
0

hsjzyangbin 
 

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.
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

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.
0
Last edited by alfort on Sat Jul 24, 2010 7:10 pm, edited 1 time in total.

alfort 
 

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.
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] 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.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

Re: [Plugin] Pivot Around Axis

Postby xiombarg » Tue Jul 01, 2014 9:16 pm

This is massively helpful for me. I wish I would have noticed it earlier.
Cookie sent! :D
1
User avatar
xiombarg 
 

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

Postby halroach » Tue Mar 08, 2016 9:14 am

thomthom wrote: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.


Hi Thom,
Nice plugin!
I can't seem to be able to select other objects when in the tool.
Also it works only after I've selected an object. If nothing is selected, and the tool is run, nothing much happens... maybe I'm missing something?

Thanks!! Many Cookies!!!
0
User avatar
halroach 
 

Re: [Plugin] Pivot Around Axis

Postby thomthom » Sat Mar 12, 2016 11:03 pm

What other objects are you trying to select? What type of entities?
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] Pivot Around Axis

Postby halroach » Sun Mar 13, 2016 7:59 am

thomthom wrote:What other objects are you trying to select? What type of entities?

components...
0
User avatar
halroach 
 

Re: [Plugin] Pivot Around Axis

Postby thomthom » Sun Mar 13, 2016 1:41 pm

Hmm... that should work, after the tool is active it should be possible to click other components (in the same context though)
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] Pivot Around Axis

Postby halroach » Sun Mar 13, 2016 5:28 pm

thomthom wrote:Hmm... that should work, after the tool is active it should be possible to click other components (in the same context though)


I click to turn the tool on. I click on any component, and it just doesn't do anything. Only if I have a component pre-selected and then activate the tool it works. But then I am limited to playing around with only that component. I cannot select other components without exiting the tool, selecting, and then running it again...

Maybe it's cause I'm using sketchup 2015 and not 2016?
0
User avatar
halroach 
 

Re: [Plugin] Pivot Around Axis

Postby thomthom » Sun Mar 13, 2016 5:57 pm

Shouldn't be any difference between SU2015 and SU2016. This extension was created years ago.

Can you video-capture what you do? Maybe share a model?
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] Pivot Around Axis

Postby halroach » Mon Mar 14, 2016 9:22 am

See attached video:
0
User avatar
halroach 
 

Re: [Plugin] Pivot Around Axis

Postby thomthom » Mon Mar 14, 2016 12:29 pm

Hm... I wasn't able to play that in WMP. What codec are you using?
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] Pivot Around Axis

Postby halroach » Mon Mar 14, 2016 1:45 pm

thomthom wrote:Hm... I wasn't able to play that in WMP. What codec are you using?

I must have messed up something with the video, here it is on youtube instead:
https://youtu.be/8T2krSYI8_w
0
User avatar
halroach 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, sketchy22, summerv31, thedaverman and 12 guests

Visit our sponsors: