TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

3D Primitives with Delphi XE2
Read 2452 times
* May 09, 2012, 02:29:11 PM
The attached project shows how to create a variety of primitive solids as either TCSurfaces or as ACIS solids using Delphi XE2.

Note: The imported tlb files in this example are from TurboCAD Pro 19; you may need to re-import them from IMSIGXnn.dll and Gxextnn.dll, where nn is the version number of TurboCAD.

Solids demonstrated:
  • Cube
  • Cone
  • Sphere
  • Hemisphere
  • Extrusion (Pipe-style)
  • Extrusion (Rigid)
  • Prism
  • Revolved surface
  • Cylinder
« Last Edit: May 09, 2012, 02:50:08 PM by kchapman »

Logged


* May 10, 2012, 08:14:55 AM
#1
The attached project shows how to create a variety of primitive solids as either TCSurfaces or as ACIS solids using Delphi XE2.

Note: The imported tlb files in this example are from TurboCAD Pro 19; you may need to re-import them from IMSIGXnn.dll and Gxextnn.dll, where nn is the version number of TurboCAD.

Solids demonstrated:
  • Cube
  • Cone
  • Sphere
  • Hemisphere
  • Extrusion (Pipe-style)
  • Extrusion (Rigid)
  • Prism
  • Revolved surface
  • Cylinder

Just tried this example Kevan, which works just perfect, I am now starting to see how you handle the extra parameters, and have something to really get my teeth into.

Thank You Again!.

Regards Mike Geraghty.

Logged