mdolab / pysurf

pySurf provides geometric operations for triangulated surfaces.
Apache License 2.0
2 stars 4 forks source link

Python 3 #4

Closed sseraj closed 3 years ago

sseraj commented 3 years ago

Purpose

These changes are to get the imports for DVGeoMulti working in Python 3 and with the current MACH repos. I changed all of the Python code for consistency, but I did not test anything other than the DVGeoMulti import.

@anilyil It would be great if you could test this on one of your cases.

I also added what I could of the API, but autodoc did not work in many cases because of various problems with the Python layer.

Closes #3

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

sseraj commented 3 years ago

Update: I successfully ran one of Anil's DLR-F6 surface mesh deformation scripts, so it looks like these changes are working as expected.

anilyil commented 3 years ago

Can you also approve the review @yqliaohk? I don't think you need to review the code because its mostly automated changes and we currently do not use the python layer anyways. Also, if you dont use py3 now, these changes probably wont work for you.