[Plugin] Circle from edge (2-pt circle,Updated 15/02/2016)

[Plugin] Circle from edge (2-pt circle,Updated 15/02/2016)

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

Draw a circle on the edge.

Menu is located Draw >> Circle from edge and Toolbar Circle from edge

<- Left Arrow - Draw a circle perpendicular to y axis
-> arrow to the right - Draw a circle perpendicular to x axis
Up arrow - Draw a circle perpendicular to z axis
Down arrow - Fixes the plane
SHIFT-left - Clear plane and Fixes the plane

2
Last edited by sahi on Mon Feb 15, 2016 11:09 pm, edited 20 times in total.

sahi 
PluginStore Author
PluginStore Author
 

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:
0
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
 

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

sahi 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Circle from edge

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

Thanks this will come in handy. :thumb:
0
User avatar
Pixero 
 

Re: [Plugin] Circle from edge

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

as genial as simply... :thumb:
thanks for sharing
0
User avatar
tridem 
 

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?
0
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
 

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 ;)
0
User avatar
tridem 
 

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

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...
0
TIG
User avatar
TIG 
Global Moderator
 

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
0

sahi 
PluginStore Author
PluginStore Author
 

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
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
Ken 
Premium Member
Premium Member
 

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
0

sahi 
PluginStore Author
PluginStore Author
 

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

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

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

This is looking great, thanks.
0
User avatar
boofredlay 
Global Moderator
 

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
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
Ken 
Premium Member
Premium Member
 

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

boilingsnow 
 

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)
0

sahi 
PluginStore Author
PluginStore Author
 

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

boilingsnow 
 

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)
0

sahi 
PluginStore Author
PluginStore Author
 

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

boilingsnow 
 

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
0

sahi 
PluginStore Author
PluginStore Author
 

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?
0

boilingsnow 
 

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?
0
User avatar
mitcorb 
Top SketchUcator
 

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

sahi 
PluginStore Author
PluginStore Author
 

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

boilingsnow 
 

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

Michaelv 
 

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
0

sahi 
PluginStore Author
PluginStore Author
 

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
0

Michaelv 
 

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

Postby sahi » Mon Feb 15, 2016 8:57 pm

Updated the plug-in in the first message
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: Clue, Floriannn and 7 guests

Visit our sponsors: