From a8d8fe7157ecce6736a16355670825dcf10146cc Mon Sep 17 00:00:00 2001 From: Maxime Rey <87315832+MaxJPRey@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:28:45 +0200 Subject: [PATCH 1/3] pyansys GitHub organization was renamed ansys. (#39) --- setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index a8547ba..a218bb5 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ package_name = "ansys-api-geometry" dot_package_name = '.'.join(filter(None, package_info)) -description = f"Autogenerated python gRPC interface package for {package_name}, built on {datetime.now().strftime('%H:%M:%S on %d %B %Y')}" +description = f"Autogenerated Python gRPC interface package for {package_name}, built on {datetime.now().strftime('%H:%M:%S on %d %B %Y')}" if __name__ == "__main__": setuptools.setup( @@ -34,7 +34,7 @@ description=description, long_description=long_description, long_description_content_type='text/markdown', - url=f"https://github.com/pyansys/{package_name}", + url=f"https://github.com/ansys/{package_name}", license="MIT", python_requires=">=3.7", install_requires=["grpcio~=1.47", "protobuf~=3.19"], @@ -49,8 +49,8 @@ }, cmdclass=CMDCLASS_OVERRIDE, project_urls={ - 'Documentation': 'https://github.com/pyansys/ansys-api-geometry/#readme', - 'Source': 'https://github.com/pyansys/ansys-api-geometry/', - 'Tracker': 'https://github.com/pyansys/ansys-api-geometry/issues/', + 'Documentation': 'https://github.com/ansys/ansys-api-geometry/#readme', + 'Source': 'https://github.com/ansys/ansys-api-geometry/', + 'Tracker': 'https://github.com/ansys/ansys-api-geometry/issues/', }, ) From b0d9a6c8fa361bc412c022d0b1673f9a844decef Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:20:07 +0200 Subject: [PATCH 2/3] Add folder content from CSharpAddins\ApiServer\DomainModel\DomainModel.Protobuffer\ansys\api\geometry\v0. (#43) --- ansys/api/geometry/v0/commands.proto | 8 ++++---- ansys/api/geometry/v0/designs.proto | 3 +-- ansys/api/geometry/v0/geometryapplication.proto | 2 +- ansys/api/geometry/v0/models.proto | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ansys/api/geometry/v0/commands.proto b/ansys/api/geometry/v0/commands.proto index b5c5d2c..83f0cda 100644 --- a/ansys/api/geometry/v0/commands.proto +++ b/ansys/api/geometry/v0/commands.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; @@ -17,10 +17,10 @@ service Commands{ rpc ProjectCurves(ProjectCurvesRequest) returns (ProjectCurvesResponse); - rpc ImprintProjectedCurves(ProjectCurvesRequest) returns (EntitiesCollection); - rpc ImprintCurves(ImprintCurvesRequest) returns (EntitiesCollection); + rpc ImprintProjectedCurves(ProjectCurvesRequest) returns (EntitiesCollection); + rpc PowerSelectFacesByAreaRange(PowerSelectFacesByAreaRangeRequest) returns (PowerSelectFacesByAreaRangeResponse); rpc CreateBeamCircularProfile(CreateBeamCircularProfileRequest) returns(CreateBeamCircularProfileResponse); @@ -222,4 +222,4 @@ message CreateTorusRequest { message CreateTorusResponse { string id=1; -} +} \ No newline at end of file diff --git a/ansys/api/geometry/v0/designs.proto b/ansys/api/geometry/v0/designs.proto index d5368bb..c688de0 100644 --- a/ansys/api/geometry/v0/designs.proto +++ b/ansys/api/geometry/v0/designs.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.Designs; @@ -67,7 +67,6 @@ message ExportResponse { message GetAsJsonRequest { string id=1; } - message GetAsJsonResponse { string json=1; } diff --git a/ansys/api/geometry/v0/geometryapplication.proto b/ansys/api/geometry/v0/geometryapplication.proto index 398d789..62ef59c 100644 --- a/ansys/api/geometry/v0/geometryapplication.proto +++ b/ansys/api/geometry/v0/geometryapplication.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0.GeometryApplication; option csharp_namespace = "Ansys.Api.Geometry.V0.GeometryApplication"; diff --git a/ansys/api/geometry/v0/models.proto b/ansys/api/geometry/v0/models.proto index fc1c0cd..2c81408 100644 --- a/ansys/api/geometry/v0/models.proto +++ b/ansys/api/geometry/v0/models.proto @@ -1,4 +1,4 @@ -// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. +// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited. syntax = "proto3"; package ansys.api.geometry.v0; From a4dd63b1f593a64a1c15fc9aec7bd14743f60ab8 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:31:59 +0200 Subject: [PATCH 3/3] Add folder content from CSharpAddins\ApiServer\DomainModel\DomainModel.Protobuffer\ansys\api\geometry\v0. (#44) --- ansys/api/geometry/v0/models.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/ansys/api/geometry/v0/models.proto b/ansys/api/geometry/v0/models.proto index 2c81408..64a8ba1 100644 --- a/ansys/api/geometry/v0/models.proto +++ b/ansys/api/geometry/v0/models.proto @@ -367,6 +367,7 @@ enum PartExportFormat { PARTEXPORTFORMAT_STEP = 4; PARTEXPORTFORMAT_FMD = 5; PARTEXPORTFORMAT_IGES = 6; + PARTEXPORTFORMAT_PMDB = 7; } message UpdateState {