Modeling using Foreign Geometry   

<<< Implementing an FG System Chapters FG Fault Reporting Procedure >>>

Contents

[back to top]


3.1 Introduction

This chapter explains how to model using Foreign Geometry. This chapter forms a supplement to the Parasolid Programming Reference Manuals since all modeling operations are performed using Parasolid functions. Sections of this chapter are:

[back to top]


3.2 Functions specific to foreign geometry

Four functions exist at the interface specifically for dealing with foreign geometry. The headers for these functions are contained in the PK Interface Programming Reference Manual.

[back to top]

3.2.1 PK_FSURF_create - Create foreign geometry surface

Receives:

Returns:

Example using "EDS/corrugated" surface.

The evaluator requires three real values to uniquely define the surface. The first is the amplitude of the waves on the surface, the second is the number of wave cycles in the surface and the third is the width of the surface.

Receives:

Returns:

 

Figure 3-1 "EDS/corrugated" foreign geometry surface

[back to top]

3.2.2 PK_FSURF_ask - Output foreign geometry surface data

Receives:

Returns:

Example using "EDS/corrugated" surface.

Receives:

Returns:

[back to top]

3.2.3 PK_FCURVE_create - Create foreign geometry curve

Similar arguments and procedure exist for creating a foreign geometry curve.

[back to top]

3.2.4 PK_FCURVE_ask - Output foreign geometry curve data

Similar arguments and procedure exist for outputting foreign geometry curve data.

[back to top]


3.3 Modeling

Once successfully created Foreign Geometry entities may be employed in modeling operations in the same way as any standard Parasolid geometry.

Following are details of three modeling sessions employing Foreign Geometry. In these example sessions the evaluators used are defined in the supplied example FG module.

[back to top]

3.3.1 Creation of EDS/corrugated surface followed by sheet boolean

The following example illustrates how a surface may be created from an external evaluator with key name "EDS/corrugated". The evaluator requires three items of real data to uniquely define the surface. A sheet body is made from the surface which is copied and translated such that the two sheets may be united as one using boolean unite operation. The function PK_FSURF_ask is also used to output details about the surface.

Creation of a sheet body using an external evaluator "EDS/corrugated".

Function call:

 

Figure 3-2 Sheet body with underlying foreign geometry

Copying, transforming and uniting sheet bodies

Function calls

 

Figure 3-3 Result of uniting two "EDS/corrugated" sheet bodies

[back to top]

3.3.2 Creation of an "EDS/incline" foreign surface followed by boolean operations

The second example uses a foreign geometry surface "EDS/incline", requiring no real or integer data in its construction, in sheet body unite operations. The resulting body has a portion removed by boolean subtraction with a cylindrical solid.

Creation of sheet body using an external evaluator EDS/incline

Function calls

 

Figure 3-4 View of foreign geometry surface "EDS/incline" (with parametric hatching)

Uniting sheet bodies

Function calls

 

Figure 3-5 View of resultant of uniting sheet bodies (foreign geometry parametrically hatched)

Subtract a cylindrical portion from the current body

Function calls

 

Figure 3-6 Fig. 3-6 Result of cylindrical solid subtraction (foreign geometry parametrically hatched)

[back to top]

3.3.3 Creation of "EDS/franke" sheet body used in Boolean Operations

The final example uses the foreign geometry with key "EDS/franke" to cut a solid block. One half of the block is then used in a boolean subtract operation with a cylindrical solid.

Creation of Sheet Body

Function calls

 

Figure 3-7 Sheet body of "EDS/franke" surface (with parametric hatching)

Use "EDS/franke" sheet body to "cut" solid block

Function calls

 

Figure 3-8 One of the bodies resulting from the block/"EDS/franke" boolean

Subtract a cylindrical solid from current body

Function calls

 

Figure 3-9 Current body with cylindrical subtraction (foreign geometry parametrically hatched)

 

[back to top]

<<< Implementing an FG System Chapters FG Fault Reporting Procedure >>>