ansys-api-acp 0.1.0.dev9__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ansys_api_acp-0.1.0.dev9/src/ansys_api_acp.egg-info → ansys_api_acp-0.2.0}/PKG-INFO +1 -1
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/pyproject.toml +1 -1
- ansys_api_acp-0.2.0/src/ansys/api/acp/VERSION +1 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/butt_joint_sequence.proto +65 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/cad_component.proto +0 -2
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/cut_off_geometry.proto +65 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/enum_types.proto +11 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/extrusion_guide.proto +72 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/fabric.proto +8 -3
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/field_definition.proto +62 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/imported_analysis_ply.proto +51 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/imported_modeling_group.proto +53 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/imported_modeling_ply.proto +98 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/imported_production_ply.proto +49 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/imported_solid_model.proto +101 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/interface_layer.proto +60 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/layup_mapping_object.proto +114 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/material.proto +12 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/mesh_query.proto +13 -10
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/model.proto +87 -11
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/modeling_ply.proto +1 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/ply_geometry_export.proto +1 -7
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/sampling_point.proto +74 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/section_cut.proto +126 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/snap_to_geometry.proto +66 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/solid_element_set.proto +48 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/solid_model.proto +8 -0
- ansys_api_acp-0.2.0/src/ansys/api/acp/v0/solid_model_export.proto +40 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0/src/ansys_api_acp.egg-info}/PKG-INFO +1 -1
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys_api_acp.egg-info/SOURCES.txt +16 -0
- ansys_api_acp-0.1.0.dev9/src/ansys/api/acp/VERSION +0 -1
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/AUTHORS +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/LICENSE +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/README.md +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/setup.cfg +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/setup.py +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/__init__.py +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/py.typed +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/analysis_ply.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/array_types.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/base.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/boolean_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/cad_geometry.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/control.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/cut_off_material.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/cutoff_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/cylindrical_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/drop_off_material.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/edge_set.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/element_set.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/geometrical_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/linked_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/lookup_table_1d.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/lookup_table_1d_column.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/lookup_table_3d.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/lookup_table_3d_column.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/lookup_table_column_type.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/modeling_group.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/oriented_selection_set.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/parallel_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/ply_material.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/production_ply.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/rosette.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/sensor.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/spherical_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/stackup.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/sublaminate.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/tube_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/unit_system.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/variable_offset_selection_rule.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys/api/acp/v0/virtual_geometry.proto +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys_api_acp.egg-info/dependency_links.txt +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys_api_acp.egg-info/entry_points.txt +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys_api_acp.egg-info/requires.txt +0 -0
- {ansys_api_acp-0.1.0.dev9 → ansys_api_acp-0.2.0}/src/ansys_api_acp.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.0
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.butt_joint_sequence;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
|
|
29
|
+
message PrimaryPly {
|
|
30
|
+
base.ResourcePath sequence = 1;
|
|
31
|
+
int64 level = 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message Properties {
|
|
35
|
+
enum_types.StatusType status = 1;
|
|
36
|
+
bool active = 2;
|
|
37
|
+
int64 global_ply_nr = 3;
|
|
38
|
+
repeated PrimaryPly primary_plies = 4;
|
|
39
|
+
repeated base.ResourcePath secondary_plies = 5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ObjectInfo {
|
|
43
|
+
base.BasicInfo info = 1;
|
|
44
|
+
Properties properties = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
48
|
+
|
|
49
|
+
message CreateRequest {
|
|
50
|
+
base.CollectionPath collection_path = 1;
|
|
51
|
+
string name = 2;
|
|
52
|
+
Properties properties = 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
service ObjectService {
|
|
56
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
57
|
+
|
|
58
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
59
|
+
|
|
60
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
61
|
+
|
|
62
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
63
|
+
|
|
64
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
65
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.cut_off_geometry;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
|
|
29
|
+
enum OrientationType {
|
|
30
|
+
UP = 0;
|
|
31
|
+
DOWN = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message Properties {
|
|
35
|
+
enum_types.StatusType status = 1;
|
|
36
|
+
bool active = 2;
|
|
37
|
+
base.ResourcePath cad_geometry = 3;
|
|
38
|
+
OrientationType orientation = 4;
|
|
39
|
+
double relative_merge_tolerance = 5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ObjectInfo {
|
|
43
|
+
base.BasicInfo info = 1;
|
|
44
|
+
Properties properties = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
48
|
+
|
|
49
|
+
message CreateRequest {
|
|
50
|
+
base.CollectionPath collection_path = 1;
|
|
51
|
+
string name = 2;
|
|
52
|
+
Properties properties = 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
service ObjectService {
|
|
56
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
57
|
+
|
|
58
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
59
|
+
|
|
60
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
61
|
+
|
|
62
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
63
|
+
|
|
64
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
65
|
+
}
|
|
@@ -77,3 +77,14 @@ enum ArrowType {
|
|
|
77
77
|
HALF_ARROW = 1;
|
|
78
78
|
STANDARD_ARROW = 2;
|
|
79
79
|
}
|
|
80
|
+
|
|
81
|
+
enum FileFormat {
|
|
82
|
+
ANSYS_H5 = 0;
|
|
83
|
+
ANSYS_CDB = 1;
|
|
84
|
+
ANSYS_DAT = 2;
|
|
85
|
+
ABAQUS_INP = 3; // currently unused
|
|
86
|
+
NASTRAN_BDF = 4; // currently unused
|
|
87
|
+
STEP = 5;
|
|
88
|
+
IGES = 6;
|
|
89
|
+
STL = 7;
|
|
90
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.extrusion_guide;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
import "ansys/api/acp/v0/array_types.proto";
|
|
29
|
+
|
|
30
|
+
enum ExtrusionGuideType {
|
|
31
|
+
BY_GEOMETRY = 0;
|
|
32
|
+
BY_DIRECTION = 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message Properties {
|
|
36
|
+
enum_types.StatusType status = 1;
|
|
37
|
+
bool active = 2;
|
|
38
|
+
base.ResourcePath edge_set = 3;
|
|
39
|
+
ExtrusionGuideType extrusion_guide_type = 4;
|
|
40
|
+
base.ResourcePath cad_geometry = 5;
|
|
41
|
+
array_types.DoubleArray direction = 6;
|
|
42
|
+
|
|
43
|
+
// MESH MORPHING PARAMETERS
|
|
44
|
+
double radius = 7;
|
|
45
|
+
double depth = 8;
|
|
46
|
+
bool use_curvature_correction = 9;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message ObjectInfo {
|
|
50
|
+
base.BasicInfo info = 1;
|
|
51
|
+
Properties properties = 2;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
55
|
+
|
|
56
|
+
message CreateRequest {
|
|
57
|
+
base.CollectionPath collection_path = 1;
|
|
58
|
+
string name = 2;
|
|
59
|
+
Properties properties = 3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
service ObjectService {
|
|
63
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
64
|
+
|
|
65
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
66
|
+
|
|
67
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
68
|
+
|
|
69
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
70
|
+
|
|
71
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
72
|
+
}
|
|
@@ -31,17 +31,22 @@ import "ansys/api/acp/v0/drop_off_material.proto";
|
|
|
31
31
|
|
|
32
32
|
message Properties {
|
|
33
33
|
enum_types.StatusType status = 1;
|
|
34
|
+
base.ResourcePath material = 9;
|
|
34
35
|
double thickness = 2;
|
|
35
36
|
double area_price = 3;
|
|
36
37
|
bool ignore_for_postprocessing = 4;
|
|
38
|
+
|
|
39
|
+
// SOLID MODEL OPTIONS
|
|
37
40
|
drop_off_material.MaterialHandlingType drop_off_material_handling = 5;
|
|
41
|
+
base.ResourcePath drop_off_material = 11;
|
|
38
42
|
cut_off_material.MaterialHandlingType cut_off_material_handling = 6;
|
|
43
|
+
base.ResourcePath cut_off_material = 12;
|
|
44
|
+
|
|
45
|
+
// DRAPING OPTIONS
|
|
39
46
|
ply_material.DrapingMaterialType draping_material_model = 7;
|
|
40
47
|
double draping_ud_coefficient = 8;
|
|
41
|
-
base.ResourcePath material = 9;
|
|
42
|
-
// todo: drop-off and cut-off material links (resource path).
|
|
43
48
|
|
|
44
|
-
//
|
|
49
|
+
// READ-ONLY PROPERTIES
|
|
45
50
|
double area_weight = 10;
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.field_definition;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
|
|
29
|
+
message Properties {
|
|
30
|
+
enum_types.StatusType status = 1;
|
|
31
|
+
bool locked = 2;
|
|
32
|
+
bool active = 3;
|
|
33
|
+
string field_variable_name = 4;
|
|
34
|
+
repeated base.ResourcePath scope_entities = 5;
|
|
35
|
+
base.ResourcePath scalar_field = 6;
|
|
36
|
+
bool full_mapping = 7;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ObjectInfo {
|
|
40
|
+
base.BasicInfo info = 1;
|
|
41
|
+
Properties properties = 2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
45
|
+
|
|
46
|
+
message CreateRequest {
|
|
47
|
+
base.CollectionPath collection_path = 1;
|
|
48
|
+
string name = 2;
|
|
49
|
+
Properties properties = 3;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
service ObjectService {
|
|
53
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
54
|
+
|
|
55
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
56
|
+
|
|
57
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
58
|
+
|
|
59
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
60
|
+
|
|
61
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
62
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.imported_analysis_ply;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
|
|
29
|
+
message Properties {
|
|
30
|
+
// Object is generated on update and all properties are read only.
|
|
31
|
+
enum_types.StatusType status = 1;
|
|
32
|
+
base.ResourcePath material = 2;
|
|
33
|
+
double thickness = 3;
|
|
34
|
+
// angle in degree
|
|
35
|
+
double angle = 4;
|
|
36
|
+
bool active_in_post_mode = 5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ObjectInfo {
|
|
40
|
+
base.BasicInfo info = 1;
|
|
41
|
+
Properties properties = 2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
45
|
+
|
|
46
|
+
service ObjectService {
|
|
47
|
+
// Object is generated on update and read-only =>
|
|
48
|
+
// only list and get endpoints.
|
|
49
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
50
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
51
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.imported_modeling_group;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
|
|
28
|
+
message Properties {}
|
|
29
|
+
|
|
30
|
+
message ObjectInfo {
|
|
31
|
+
base.BasicInfo info = 1;
|
|
32
|
+
Properties properties = 2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
36
|
+
|
|
37
|
+
message CreateRequest {
|
|
38
|
+
base.CollectionPath collection_path = 1;
|
|
39
|
+
string name = 2;
|
|
40
|
+
Properties properties = 3;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
service ObjectService {
|
|
44
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
45
|
+
|
|
46
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
47
|
+
|
|
48
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
49
|
+
|
|
50
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
51
|
+
|
|
52
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
53
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.imported_modeling_ply;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
import "ansys/api/acp/v0/ply_material.proto";
|
|
29
|
+
import "ansys/api/acp/v0/modeling_ply.proto";
|
|
30
|
+
|
|
31
|
+
enum MeshImportType {
|
|
32
|
+
FROM_H5_COMPOSITE_CAE = 0;
|
|
33
|
+
FROM_GEOMETRY = 1;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
message Properties {
|
|
37
|
+
enum_types.StatusType status = 1;
|
|
38
|
+
bool active = 2;
|
|
39
|
+
|
|
40
|
+
// IMPORTED MESH PROPERTIES
|
|
41
|
+
enum_types.OffsetType offset_type = 3;
|
|
42
|
+
// The 'FROM_H5_COMPOSITE_CAE' mesh import type can only be created
|
|
43
|
+
// via the Composite CAE H5 import. Manually created imported plies are
|
|
44
|
+
// always of type 'FROM_GEOMETRY'.
|
|
45
|
+
MeshImportType mesh_import_type = 4;
|
|
46
|
+
base.ResourcePath mesh_geometry = 5;
|
|
47
|
+
|
|
48
|
+
// REFERENCE DIRECTION
|
|
49
|
+
enum_types.RosetteSelectionMethod rosette_selection_method = 6;
|
|
50
|
+
repeated base.ResourcePath rosettes = 7;
|
|
51
|
+
base.ResourcePath reference_direction_field = 8;
|
|
52
|
+
double rotation_angle = 9;
|
|
53
|
+
|
|
54
|
+
// MATERIAL PROPERTIES
|
|
55
|
+
// Only fabrics are supported as ply material
|
|
56
|
+
base.ResourcePath ply_material = 10;
|
|
57
|
+
double ply_angle = 11;
|
|
58
|
+
|
|
59
|
+
// DRAPING-RELATED PROPERTIES
|
|
60
|
+
// The 'INTERNAL_DRAPING' draping type is not supported for imported plies
|
|
61
|
+
ply_material.DrapingType draping = 12;
|
|
62
|
+
base.ResourcePath draping_angle_1_field = 13;
|
|
63
|
+
base.ResourcePath draping_angle_2_field = 14;
|
|
64
|
+
|
|
65
|
+
// VARIABLE THICKNESS
|
|
66
|
+
// The 'FROM_GEOMETRY' thickness type is not supported for imported plies
|
|
67
|
+
modeling_ply.ThicknessType thickness_type = 15;
|
|
68
|
+
base.ResourcePath thickness_field = 16;
|
|
69
|
+
// The thickness_field_type is discarded when the thickness_field is not set
|
|
70
|
+
modeling_ply.ThicknessFieldType thickness_field_type = 17;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message ObjectInfo {
|
|
74
|
+
base.BasicInfo info = 1;
|
|
75
|
+
Properties properties = 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
79
|
+
|
|
80
|
+
message CreateRequest {
|
|
81
|
+
base.CollectionPath collection_path = 1;
|
|
82
|
+
string name = 2;
|
|
83
|
+
Properties properties = 3;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
service ObjectService {
|
|
87
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
88
|
+
|
|
89
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
90
|
+
|
|
91
|
+
rpc Put(ObjectInfo) returns (ObjectInfo);
|
|
92
|
+
|
|
93
|
+
rpc Delete(base.DeleteRequest) returns (base.Empty);
|
|
94
|
+
|
|
95
|
+
rpc Create(CreateRequest) returns (ObjectInfo);
|
|
96
|
+
|
|
97
|
+
// Custom methods
|
|
98
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
//
|
|
4
|
+
//
|
|
5
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
// in the Software without restriction, including without limitation the rights
|
|
8
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
// furnished to do so, subject to the following conditions:
|
|
11
|
+
//
|
|
12
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
// copies or substantial portions of the Software.
|
|
14
|
+
//
|
|
15
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
// SOFTWARE.
|
|
22
|
+
|
|
23
|
+
syntax = "proto3";
|
|
24
|
+
package ansys.api.acp.v0.imported_production_ply;
|
|
25
|
+
|
|
26
|
+
import "ansys/api/acp/v0/base.proto";
|
|
27
|
+
import "ansys/api/acp/v0/enum_types.proto";
|
|
28
|
+
|
|
29
|
+
message Properties {
|
|
30
|
+
// Object is generated on update and all properties are read only.
|
|
31
|
+
enum_types.StatusType status = 1;
|
|
32
|
+
base.ResourcePath material = 2;
|
|
33
|
+
double thickness = 3;
|
|
34
|
+
double angle = 4;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message ObjectInfo {
|
|
38
|
+
base.BasicInfo info = 1;
|
|
39
|
+
Properties properties = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ListReply { repeated ObjectInfo objects = 1; }
|
|
43
|
+
|
|
44
|
+
service ObjectService {
|
|
45
|
+
// Object is generated on update and read-only =>
|
|
46
|
+
// only list and get endpoints.
|
|
47
|
+
rpc List(base.ListRequest) returns (ListReply);
|
|
48
|
+
rpc Get(base.GetRequest) returns (ObjectInfo);
|
|
49
|
+
}
|