Can I meet these project goals?

Before I ask my client to spend money on C# wrappers, support, and training, I want to be confident that I can do the job. Here is what I need to accomplish:

I want to create an app that will read an IGES file (only one such file at a time) that represents a surface. That is, for every value of x and y, there is a single value of z.

The app will allow the surface to be displayed along with x,y,z axes. The axes should be annotated in either inches or MM. The following operations should be supported:

- zoom in and out, rotate the view.
- resize the surface - that is change its size without changing the axes.
- provide a function available to another program that will, given a value of x and y, return the corresponding value of z.

Hopefully this can be done fairly simply. I intend to write my code in C# and I understand that I will need C# wrappers (which I may purchase for OpenCascade S A S.)

Are these goals reasonable?

The sample C# program does some of this (read and display an .IGES file) but does not provide a way to display any axes.

Thanks in advance for any help.

Michael Bate

Pawel's picture

Hi Michael,

yes, your goals are reasonable.

Not 100% sure what you mean by "axes", but you can use some means provided by OCCT to display those (AIS services, AIS_Trihedron etc.)


MichaelBate_98386's picture


Thank you!

Regarding "Not 100% sure what you mean by "axes"":

I want to display the X axis, the Y axis, and the Z axis (of course in top view the Z axis will not be visible). These axes should have tic marks and some annotation in inches or MM. It might be adequate to only show these when in top view.

Hopefully OCCT provides a mechanism for displaying these.