SketchUcation Premium Membership

 

 

[Plugin] Circle from edge (2-pt circle,Updated 1/01/2012)

[Plugin] Circle from edge (2-pt circle,Updated 1/01/2012)

Postby sahi » Mon May 16, 2011 12:52 pm

Draw a circle on the edge.

Menu is located Plugins >> Circle from edge

<- Left Arrow - Draw a circle perpendicular to x axis
-> arrow to the right - draw a circle perpendicular to the axis of
Up arrow - adds one hemisphere at the top
Down arrow - adds one side of the bottom



krug-11.zip
Please, register (free) to access all the attachments on the forums.
Last edited by sahi on Sun Jan 01, 2012 8:48 pm, edited 16 times in total.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge

Postby mitcorb » Mon May 16, 2011 12:57 pm

Hi, sahi:
I was hoping for a little more explanation of the tool. I am not a good tester.

Edit 05/19/11. Your latest update video explains well. :thumb:
Last edited by mitcorb on Thu May 19, 2011 12:00 pm, edited 1 time in total.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3399
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Circle from edge

Postby sahi » Mon May 16, 2011 1:03 pm

In the SU draws a circle from the center. And the script draws a circle on the edge.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge

Postby Pixero » Mon May 16, 2011 5:49 pm

Thanks this will come in handy. :thumb:
User avatar
Pixero
Premium Member
Premium Member
 
Posts: 1284
Joined: Wed Nov 14, 2007 2:58 pm
Location: Halmstad, Sweden
Name: Jan Sandström
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge

Postby tridem » Mon May 16, 2011 9:13 pm

as genial as simply... :thumb:
thanks for sharing
User avatar
tridem
 
Posts: 300
Joined: Mon Aug 31, 2009 1:39 pm
Location: Italy
Name: Luca

Re: [Plugin] Circle from edge

Postby Pilou » Mon May 16, 2011 9:31 pm

Cool :fro:
Not yet tested :oops:
But are you sure that you draw the good circle?
On the video we can see that you take 2 quasi oposites points but are you sure that is a diameter?
Or have you an algorithm who avoid that?
Last edited by Pilou on Mon May 16, 2011 10:13 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10032
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge

Postby tridem » Mon May 16, 2011 9:38 pm

:ecstatic: yes it works perfectly, also with number of edges and numeric value for the diameter ;)
User avatar
tridem
 
Posts: 300
Joined: Mon Aug 31, 2009 1:39 pm
Location: Italy
Name: Luca

Re: [Plugin] Circle from edge

Postby Pilou » Tue May 17, 2011 10:36 am

Tested :enlight: (all with 24 segments as default)
Cool but don't work if you don't take an "end point" on the original circle ;)
(midpoint for example)
Circles will be not directly overlapsed ;)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10032
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge

Postby TIG » Tue May 17, 2011 10:42 am

Perhaps see my 2Dtool's 2Dcircle code for some cribs... they make circles by center+radius, three-points and diameter [two points]; with typed in dimensions and segmentation...
Its 2Dpolygon sibling is similar but also has polygon by side length option - useful for making pseudo-circles with a fixed segment length...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13929
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge

Postby sahi » Tue May 17, 2011 10:56 am

Pilou wrote:Cool but don't work if you don't take an "end point" on the original circle ;)
(midpoint for example)
Circles will be not directly overlapsed ;)


In the first report script focuses on the endpoint bindings. What kind of plane it points parallel to the plane and added to the face

In this script focuses on the initial anchor point.
krug_4.zip
Please, register (free) to access all the attachments on the forums.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge

Postby Ken » Tue May 17, 2011 10:59 am

Not sure this plugin draw a circle. I have two other plugin, draw circle by two points, and draw a circle by 3 points and both of these plugin the circles drawn will have a diameter if dimension by the dimensioning tool. Using this plugin the drawn circle is a group of straight lines in a circle an can not be dimensioned.

Useful, however not a circle. And thank you for you work.

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 702
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge

Postby sahi » Wed May 18, 2011 7:16 am

Updated the script in the first message
Added

Shift left - the direction of drawing a circle blocks
Shift right - blocking the diameter of the circle
<- Left Arrow - Draw a circle perpendicular to x axis
-> arrow to the right - draw a circle perpendicular to the axis of
Up arrow - adds one hemisphere at the top
Down arrow - adds one side of the bottom
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (Updated 18/05/2010)

Postby Pilou » Thu May 19, 2011 11:53 am

Will be nice : a circle between 2 point different in the 3D Space! :enlight:

cercle3D.jpg
Please, register (free) to access all the attachments on the forums.
Last edited by Pilou on Wed Apr 11, 2012 11:00 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10032
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge (Updated 18/05/2010)

Postby boofredlay » Thu May 19, 2011 3:14 pm

This is looking great, thanks.
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge (Updated 18/05/2010)

Postby Ken » Thu May 19, 2011 4:12 pm

This is looking like a keeper of a plugin. However, it does not make a circle or any geometry that Sketchup can input a center mark. Now, I know this does not seem important now, but later after push pulling, adding multiple circles, you will want to add dimensions or find the center and the geometry this plugin make you can not accomplish that task.

There is another 2 point circle plugin that does make geometry that you can get the dimensions and add a center point. Just pointing this out, as right now it makes more work later down the road than it should.

However, thanks for the plugin.

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 702
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby boilingsnow » Sun Jan 01, 2012 7:50 am

"Up arrow - adds one hemisphere at the top
Down arrow - adds one side of the bottom"

These two options don't work in my sketchup 8...
boilingsnow
 
Posts: 55
Joined: Sun Jul 20, 2008 9:32 pm

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby sahi » Sun Jan 01, 2012 3:13 pm

boilingsnow wrote:These two options don't work in my sketchup 8...


Updated the script in the first message (krug-10.zip)
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby boilingsnow » Sun Jan 01, 2012 7:37 pm

sahi wrote:
boilingsnow wrote:These two options don't work in my sketchup 8...


Updated the script in the first message (krug-10.zip)


That was really quick! Thanks a lot. But sadly... the problem unsolved.

Am I doing anything wrong? After drawing the circle press the up arrow key.

By the way,the left and right arrow keys are working.
boilingsnow
 
Posts: 55
Joined: Sun Jul 20, 2008 9:32 pm

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby sahi » Sun Jan 01, 2012 8:55 pm

boilingsnow wrote:Am I doing anything wrong?

In previous versions it was impossible to move the mouse, then press worked.

I fixed it in version krug-11.zip

Updated the script in the first message (krug-11.zip)
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby boilingsnow » Mon Jan 02, 2012 10:11 am

sahi wrote:
boilingsnow wrote:Am I doing anything wrong?

In previous versions it was impossible to move the mouse, then press worked.

I fixed it in version krug-11.zip

Updated the script in the first message (krug-11.zip)

Did you test it in Sketchup 8? I'm sorry I still can't get it working.
boilingsnow
 
Posts: 55
Joined: Sun Jul 20, 2008 9:32 pm

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby sahi » Mon Jan 02, 2012 10:38 am

boilingsnow wrote:Did you test it in Sketchup 8? I'm sorry I still can't get it working.

The archive video
video_krug_4.rar
Please, register (free) to access all the attachments on the forums.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (2-pt circle,Updated 18/05/201

Postby boilingsnow » Mon Jan 02, 2012 12:11 pm

sahi wrote:
boilingsnow wrote:Did you test it in Sketchup 8? I'm sorry I still can't get it working.

The archive video
video_krug_4.rar

Yes I can see it works well in your video. And the anwsers of other Members can also confirm that it works.
I know it's a little annoying now but the krug_11 also does't work by creating the hemispheres with up- and down arrow key. I've tested it in my notebook and in PC of the office, neither can work.

I also tested your krug_4, I can only draw the first circle, but none of the arrow key can work. (with krug_11 I can create the second and third circles with left and right keys but not the hemispheres.

I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right? What do you mean with your words 'In previous versions it was impossible to move the mouse'? Should I move the mouse to a certain position before I press the up arrow key?
boilingsnow
 
Posts: 55
Joined: Sun Jul 20, 2008 9:32 pm

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby mitcorb » Mon Jan 02, 2012 1:27 pm

For me, it appears that I must press the arrow keys within say 5 seconds to get the results. I can't go back to a circle and use the arrow keys. Is this correct?
User avatar
mitcorb
Top SketchUcator
 
Posts: 3399
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby sahi » Mon Jan 02, 2012 5:35 pm

mitcorb wrote:For me, it appears that I must press the arrow keys within say 5 seconds to get the results.

No. While you are using a script and did not select another tool or until set again the starting point of the circle - you can use the arrow to the left, right, up, and the bottom
mitcorb wrote: I can't go back to a circle and use the arrow keys. Is this correct?

Yes.
boilingsnow wrote: Should I move the mouse to a certain position before I press the up arrow key?

NO
boilingsnow wrote:I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right?

I think the problem is the keyboard.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby boilingsnow » Wed Jan 18, 2012 12:44 am

boilingsnow wrote:I'm using sketchup 8.0.3117 and win XP with a german keyboard. But I don't think it has anything to do with the keyboard, right?

I think the problem is the keyboard.[/quote]
Yes, you are right.

I find out that every plugin that need to use up and down arrow key doesn't work in my notebook. (Such as Artisan uses up and down key to change the displacement vector. and "edge follow me" tool of sdmich uses up+down to change the direction of the curve).

BUT finally I figured out that up and down work in all these plugins if I press ctrl+up or ctrl+down, I don't know why.

Thank you again for your plugin and your help.
boilingsnow
 
Posts: 55
Joined: Sun Jul 20, 2008 9:32 pm

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby Michaelv » Wed Jan 18, 2012 7:59 pm

Great plugin.
Crashes SU8 free on MAC (don't know why yet)
Modifiers don't work on MAC (as expected), working on it.

Check PM

Also the "add face circle" context menu doesn't seem to do anything. Is it active? What is it supposed to do?
I can trigger it picking one edge of an arc or circle, but then nothing happens.
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby sahi » Wed Jan 18, 2012 8:58 pm

Michaelv wrote:Check PM

Yes

Michaelv wrote:Also the "add face circle" context menu doesn't seem to do anything. Is it active? What is it supposed to do?
I can trigger it picking one edge of an arc or circle, but then nothing happens.


I just forgot to remove it.

But it works, watch the video archive
video_2.zip
Please, register (free) to access all the attachments on the forums.
sahi
 
Posts: 132
Joined: Wed Nov 14, 2007 4:55 pm
Location: Russia
Operating system: Windows
SketchUp version: pre-6
License type: Free
SketchUp use: architecture
Level of SketchUp: Beginner

Re: [Plugin] Circle from edge (2-pt circle,Updated 1/01/2012

Postby Michaelv » Wed Jan 18, 2012 9:26 pm

sahi wrote:But it works, watch the video archive

Got it. I didn't try to pick 2 points. In any case I use the "create face" tool from SU or it works by closing the curve or retracing one edge in the core sketchup. It works for all faces regarding of shapes (as long as they are closed and coplanar). I also tried both on your circles and it works fine. So I think it can be discarded.

Michael
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Not a Premium Member yet? Check out the great time-limited deal we are offering.

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: Bing [Bot], glro, mewia, nakazato and 12 guests