UIKitSample consists of the Open CASCADE 3D Viewer which provides import of STEP files and toolbar with three buttons.
The first and second buttons serve for import hardcoded STEP files. The third button displays "About" dialog.
The viewer supports zoom, pan and rotate actions. The viewer supports selection of solids as well.
Installation and configuration:
- Make sure you are running Mac OS version 10.12.1 or above and properly installed XCode version 8.1 or above.
- Install Open CASCADE Technology (OCCT) and build static libraries for desired device or/and simulator on your workstation.
- Build or download Freetype2 static library for desired device or/and simulator.
- Open UIKitSample in XCode.
- Select the UIKitSample project and add the OCCT static libraries and Freetype2 static library.
- Select the UIKitSample and go to the "Build Settings" tab. After go to the section "Search Paths" and in the field "Header Search Paths" specify a path to the OCCT inc folder. Next in the field "Library Search Paths" specify a path/paths to the OCCT static libraries and Freetype2 static library folders.
- Connect device and build sample for device or choose simulator as a target and build for simulator.
- Run sample.