Imported Bezier Spline Circles

Next
 From:  futagoza (STEFAN)
7174.1 
Hi Michael and all,

when importing 2D circles from .ai format i can not get to click on the center of the circle, like when i do with MoI's internal circles.
I believe this has somtheing to do that they are made of Bezier spline segments and not a control point spline?

Is there any way via a script that can convert imported .ai circles to circles like MoI uses, in order to get the center of them?

Regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7174.2 In reply to 7174.1 
Hi Stefan, yes unfortunately that's a limitation of simple bezier splines - there isn't really any way to get a fully exact circle with them. That's one of the reasons why NURBS curves were invented which are sort of built on top of some of the same concepts as Beziers but with additional capabilities one of which is the ability to have shapes that are completely exact conic sections.

So the circles that you are importing are not true circles at all, they are just a general squishy curve that is fairly close to resembling a circle but off by some amount from a true circle like say 0.02 units of deviation or something like that.

MoI's center snap will only snap on to an exact circle or also a general curve which is very tightly close to being a circle (within about 0.000001 units of being a circle), these curves you are dealing with must have much more error than that.

There is not any built in way in MoI to take nearly circular curves and build exact circles from them. But you could do something like draw a new exact circle using circle 3pt and snap the 3 points onto spots on the approximate circle to get an exact one.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  futagoza (STEFAN)
7174.3 
Hi Michael,

thank you for your explaination, much appreciated. I will try the 3 point method you mentioned.

Best regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
7174.4 In reply to 7174.2 
So if he had several, he may be able to automate it faster with BoundingBoxCenter.....

Can you speak to that michael? As a means to get the center of the bezier vs. Drawing a new arc.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
7174.5 In reply to 7174.4 
Hi Burr,

> Can you speak to that michael? As a means to get the center of the bezier vs. Drawing a new arc.

Yeah that should be fine too I would think... Since the original curve is not actually an exact circle there probably isn't any one "right" answer for finding the center point.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All