This set of classes loads a CAD file using HOOPS Exchange and maps triangles to a Polygonica Solid.
- HOOPS Exchange
- Polygonica
Please goto pages.techsoft3d.com/evaluate and request an evaluation of these SKDs
Polygonica only supports up to vc140 build tools be used with the Windows SDK 8.1. It is possible to use VS2017 and VS2019 by setting these targets in your project settings. Polygonica supports older VC versions, but who uses those anymore?
It should be possible to build using Linux versions of HOOPS Exchange and Polygonica
#include "ExchangePolygonicaBridge.h"
// Assume Polygonica is initialized
ExchangePolygonicaBridge bridge(pg_environment);
PTSolid solid = NULL;
int ret = bridge.Process(filename, &solid);
.
├── src/ - (Bridge code)
|
└── samples/ - (Sample projects using the bridge)
└── simple/ - (Shows how to load a part and save to STL)
- Add support for assemblies that create multiple PTSolid objects