Author Topic: How to draw circular arc subtending angle T with radius R?  (Read 5309 times)

0 Members and 1 Guest are viewing this topic.

phillip.from.oz

  • Newbie
  • *
  • Posts: 2
Hi,
There was a great solution on "How to draw circular arc subtended angle T with radius R?" posted to this forum back in 2012 (Wapperdude - Jan 06, 2012 @ 13:25) and the solution works great!

However I want concentric circles so with this shape can I see the centre of the circle; at the moment I line it up by "eye".

I'm assuming this shape is a custom shape - is there a way I can debug it/change it; would the code be written in a special macro language?

Thanks for any help!

Surrogate

  • Hero Member
  • *****
  • Posts: 1836
    • ShapeSheet™ Knowledge Base
Re: How to draw circular arc subtending angle T with radius R?
« Reply #1 on: May 22, 2017, 02:20:53 AM »
great solution on "How to draw circular arc subtended angle T with radius R?" posted to this forum back in 2012 (Wapperdude - Jan 06, 2012 @ 13:25)
Can't find this thread

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #2 on: May 22, 2017, 04:28:40 PM »
For reference, the link is:  http://visguy.com/vgforum/index.php?topic=3640.msg14211#msg14211

For convenience, attached has two "arc" shapes with hide-able origin dot.  I've also added this file to the above link.  Adding the origin dot done via inserting additional geometry section.  There is no code, everything is done thru the shapesheet.  Yes, it is user editable.

Wapperdude
« Last Edit: May 22, 2017, 07:41:00 PM by wapperdude »
Visio 2019 Pro

phillip.from.oz

  • Newbie
  • *
  • Posts: 2
Re: How to draw circular arc subtending angle T with radius R?
« Reply #3 on: May 22, 2017, 09:27:51 PM »
Thanks for the work in preparing this solution.

However the dot for the centre although it appears does not indicate the centre.

I'm sorry that I cannot attach the *.vsd file as the reply screen does not support file attachment

I am doing something wrong?

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #4 on: May 22, 2017, 10:44:33 PM »
Whoa!  My bad.  :o   Here's corrected.   :-[

Where's that quality control inspector???   >:(
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 3236
Re: How to draw circular arc subtending angle T with radius R?
« Reply #5 on: May 23, 2017, 11:47:43 AM »
still not correct
Yacine

RudySchneider

  • Full Member
  • ***
  • Posts: 95
  • Old Dog Learns New Tricks
Re: How to draw circular arc subtending angle T with radius R?
« Reply #6 on: May 23, 2017, 01:25:07 PM »
still not correct

Hmmm, time for beta testers...
There are no problems, only opportunities

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #7 on: May 23, 2017, 02:22:57 PM »
@Yacine:  explain what's incorrect?  The origin dot is at the center of the arc...not the center of the shape.  When all of the dots are aligned, then, all of the arcs rotate around a common point.  Where's the problem?   Is the expectation both???

Oh, ignore Page-1, I did forget to delete it.

Thanks.
Wapperdude
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 3236
Re: How to draw circular arc subtending angle T with radius R?
« Reply #8 on: May 23, 2017, 03:17:04 PM »
Dear Wayne, I deeply apologize for the harshness of my short reply. You did ask for a quality control. So I tried to help. ;)
Sorry.

So the dot is not always on the rotation center (PinX and Y) of the shape. This appears specially when the angle is small. I did check it with every shape, presuming you may had corrected only one of them.

I may (should) have checked the smart-shape as well. But it's always delicate to criticise the work of a "senior" contributor. So I limited my contribution to this concise remark.

By the way, I'm having a real hard time: you're the 3dr person I really offended today. I should hide somewhere - deep in the mountains - until this phase passes out.
« Last Edit: May 23, 2017, 03:31:37 PM by Yacine »
Yacine

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #9 on: May 23, 2017, 05:31:37 PM »
@Yacine:  No offense was taken.  You'll have to reduce your count by one, or try harder.   :o  Sorry if my response implied that.  I was, like you, trying to be cryptic in my answer.  I was surprised about an error existing, since the approach did leverage an existing shape, and I had tried some minimal error checking.

However, your comment did make me re-think the shape, especially in light of making concentric circles.  So, I decided to rework from the ground up.  Now the origin is both at the center of the arc and the center of the shape.  This eases and facilitates concentric alignment.  The shape does accept positive or negative angles.  Did not try negative radius.  I don't think I want to know.

Oh, no, I didn't try a lot of variations, but the math should be correct by design...I hope!   ;D

Cheers.
Wapperdude

Edit: 5/24-- tried really tiny radius, remains centered.  Did not try extremely large, but expect to be ok.  Negative radius should be avoided, think of mirror image...flips the arc and offsets it.
« Last Edit: May 24, 2017, 10:51:29 AM by wapperdude »
Visio 2019 Pro

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #10 on: May 25, 2017, 09:17:26 PM »
OK.  So I don't know when to quit.

Latest update has some cool features.

Wapperdude
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 3236
Re: How to draw circular arc subtending angle T with radius R?
« Reply #11 on: May 26, 2017, 03:48:43 AM »
molto bene ;)
Yacine

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4882
  • Ideas Visio-lized into solutions
Re: How to draw circular arc subtending angle T with radius R?
« Reply #12 on: May 26, 2017, 09:30:14 AM »
 :)  Did you move?   ;D  ;D  ;D
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 3236
Re: How to draw circular arc subtending angle T with radius R?
« Reply #13 on: May 27, 2017, 02:45:45 AM »
No, it was just the appreciation to the Maestro ;) ;D .
« Last Edit: May 27, 2017, 06:50:41 AM by Yacine »
Yacine