This repository contains the rwsat
project and it contains 2 modules
sat2json
for extracting spline geometries and trim curves from ACIS .SAT filessatgen
for generating sample geometries to testsat2json
The rwsat
project is based on the work of Dr. Adarsh Krishnamurthy
with various improvements and new features.
- Clone the repository:
git clone https://github.com/orbingol/rwsat.git
- Enter the directory:
cd rwsat
- Update submodules:
git submodule update --init
- Use CMake to generate make files
- Use
make install
to compile and install into the build directory
The simplest way to use sat2json
is as follows:
$ sat2json MODEL.sat licence_file=license.dat
This command will convert MODEL.sat
into a JSON file which is directly readable by
geomdl via exchange.import_json
API call.
The license.dat
contains your unlock_key which can be found inside your license
source file at the following location:
Run sat2json
without any command-line arguments for more details on using the application.
The simplest way to use satgen
is as follows:
$ satgen SAMPLE.sat licence_file=license.dat
The arguments are very similar to sat2json
command. Please note that the SAMPLE.sat
file
is the output of the satgen
command.
- Onur Rauf Bingol (@orbingol)
- RWSAT is licensed under the terms of the BSD 3-Clause License
- JsonCpp is licensed under the terms of the MIT License
- ACIS and SAT are registered trademarks of Spatial Corporation