ACIS Importer
The ACIS importer, rwsat
uses 3D ACIS Modeler
to convert .sat files to geomdl JSON format.
rwsat
comes with the following list of programs:
sat2json
converts ACIS .sat files to geomdl JSON formatsatgen
generates sample geometries
Use Cases
Import geometry data from .sat files and use it with
exchange.import_json()
Convert ACIS file format to OBJ, STL, OFF and other formats supported by geomdl
Installation
Please refer to the rwsat repository for installation options. Due to ACIS licensing, no binary files are distributed within the repository.
Using with geomdl
The following code snippet illustrates importing the surface data converted from .sat file:
1from geomdl import exchange
2from geomdl import multi
3from geomdl.visualization import VisMPL as vis
4
5# Import converted data
6data = exchange.import_json("converted_acis.json")
7
8# Add the imported data to a surface container
9surf_cont = multi.SurfaceContainer(data)
10surf_cont.sample_size = 30
11
12# Visualize
13surf_cont.vis = vis.VisSurface(ctrlpts=False, trims=False)
14surf_cont.render()
References
Development: https://github.com/orbingol/rwsat
Documentation: https://github.com/orbingol/rwsat