Curves and surfaces exact definitions (as parametric formulas)

Curves and surfaces exact definitions (as parametric formulas)

Anonymous
Not applicable
533 Views
1 Reply
Message 1 of 2

Curves and surfaces exact definitions (as parametric formulas)

Anonymous
Not applicable

I need to extract full geometrical information about all the faces in a part using Inventor API. Unfortunately, the official documentation is very scarse in many important details.

 

Here are examples of things not defined in the manual:

  1. Completely no info about parametrizations of curves and surfaces.
  2. Arc3d Object: sign of Normal is not defined (it may look into any of two opposite directions), it is not clear what direction the arc goes from the starting point (positive angle change or negative). Can SweepAngle be negative or greater than one full round? Is it in radians or in degrees?
  3. Circle Object: sign of Normal is again unclear. Moreover, start point is not defined (though it can be calculated with Evaluator), orientation of the circle is not clear.
  4. Plane Object: how are X and Y axes obtained to parametrize the plane (they are U and V tangents to the plane) ?
  5. Cylinder Object: again, how are X and Y axes determined? Which side does the natural normal looks into (inwards or outwards) ?
  6. Cone Object: can HalfAngle be 90 degrees? Which half of the cone is used to define the face? Is it true that only the half which contains BasePoint is used for the face? Where does the natural normal looks to?

So you see that right now I have to guess a lot, or rely on many unconfirmed assumptions. Some of the questions can be guessed from doing experiments on Evaluator, but no number of experiments can make me absolutely sure that the answer is the same every time and does not depend on something else, for example.

Right now I'm trying to guess how are cones oriented, and it looks like orientation cannot be derived from the data I can get via API. So I'm going to write some stupid numeric code to ensure that I know where the normal looks to.

 

The question is: is there any better documentation of geometry (curves and surfaces) used in Inventor? Maybe some unofficial sources.

 

Ideally, there should be precise definition of curves and surfaces in parametric form with all the limitations. For example, I suppose that Arc3d curve is defined as:

  Arc3d(t) = Center + ReferenceVector * cos(t) + [Normal x ReferenceVector] * sin(t);

  for parameter t in [0; SweepAngle];

  where (ReferenceVector, Normal) are always orthonormal, 0 < sweepAngle <= 2 PI;

Note that such definition answers all the questions.

534 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

5 years later and no improvements!

Please Autodesk, please please please just fill these sections in, in the documentation. Surely this shouldn't take 5 more years.

Just do it. It's not even a full days work to write some paragraphs.

 

This post is the closest thing I found to proper values and still had to test for myself. Kind of sad.