tencentcloud-sdk-python-ai3d 3.0.1466__tar.gz → 3.0.1470__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.
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/setup.py +1 -1
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/ai3d/v20250513/models.py +40 -2
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud_sdk_python_ai3d.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ai3d-3.0.1470/tencentcloud_sdk_python_ai3d.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ai3d-3.0.1466/tencentcloud_sdk_python_ai3d.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/README.rst +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/ai3d/__init__.py +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/ai3d/v20250513/__init__.py +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/ai3d/v20250513/ai3d_client.py +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud/ai3d/v20250513/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud_sdk_python_ai3d.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud_sdk_python_ai3d.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ai3d-3.0.1466 → tencentcloud-sdk-python-ai3d-3.0.1470}/tencentcloud_sdk_python_ai3d.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ai3d',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1470,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ai3d SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -700,7 +700,7 @@ back:后视图;
|
|
|
700
700
|
:param _EnablePBR: 是否开启 PBR材质生成,默认 false。
|
|
701
701
|
:type EnablePBR: bool
|
|
702
702
|
:param _FaceCount: 生成3D模型的面数,默认值为500000。
|
|
703
|
-
可支持生成面数范围,参考值:40000-
|
|
703
|
+
可支持生成面数范围,参考值:40000-1500000。
|
|
704
704
|
:type FaceCount: int
|
|
705
705
|
:param _GenerateType: 生成任务类型,默认Normal,参考值:
|
|
706
706
|
Normal:可生成带纹理的几何模型。
|
|
@@ -708,6 +708,12 @@ LowPoly:可生成智能减面后的模型。
|
|
|
708
708
|
Geometry:可生成不带纹理的几何模型(白模),选择此任务时,EnablePBR参数不生效。
|
|
709
709
|
Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。
|
|
710
710
|
:type GenerateType: str
|
|
711
|
+
:param _PolygonType: 该参数仅在GenerateType中选择LowPoly模式可生效。
|
|
712
|
+
|
|
713
|
+
多边形类型,表示模型的表面由几边形网格构成,默认为triangle,参考值:
|
|
714
|
+
triangle: 三角形面。
|
|
715
|
+
quadrilateral: 四边形面与三角形面混合生成。
|
|
716
|
+
:type PolygonType: str
|
|
711
717
|
"""
|
|
712
718
|
self._Prompt = None
|
|
713
719
|
self._ImageBase64 = None
|
|
@@ -716,6 +722,7 @@ Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl
|
|
|
716
722
|
self._EnablePBR = None
|
|
717
723
|
self._FaceCount = None
|
|
718
724
|
self._GenerateType = None
|
|
725
|
+
self._PolygonType = None
|
|
719
726
|
|
|
720
727
|
@property
|
|
721
728
|
def Prompt(self):
|
|
@@ -791,7 +798,7 @@ back:后视图;
|
|
|
791
798
|
@property
|
|
792
799
|
def FaceCount(self):
|
|
793
800
|
r"""生成3D模型的面数,默认值为500000。
|
|
794
|
-
可支持生成面数范围,参考值:40000-
|
|
801
|
+
可支持生成面数范围,参考值:40000-1500000。
|
|
795
802
|
:rtype: int
|
|
796
803
|
"""
|
|
797
804
|
return self._FaceCount
|
|
@@ -815,6 +822,21 @@ Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl
|
|
|
815
822
|
def GenerateType(self, GenerateType):
|
|
816
823
|
self._GenerateType = GenerateType
|
|
817
824
|
|
|
825
|
+
@property
|
|
826
|
+
def PolygonType(self):
|
|
827
|
+
r"""该参数仅在GenerateType中选择LowPoly模式可生效。
|
|
828
|
+
|
|
829
|
+
多边形类型,表示模型的表面由几边形网格构成,默认为triangle,参考值:
|
|
830
|
+
triangle: 三角形面。
|
|
831
|
+
quadrilateral: 四边形面与三角形面混合生成。
|
|
832
|
+
:rtype: str
|
|
833
|
+
"""
|
|
834
|
+
return self._PolygonType
|
|
835
|
+
|
|
836
|
+
@PolygonType.setter
|
|
837
|
+
def PolygonType(self, PolygonType):
|
|
838
|
+
self._PolygonType = PolygonType
|
|
839
|
+
|
|
818
840
|
|
|
819
841
|
def _deserialize(self, params):
|
|
820
842
|
self._Prompt = params.get("Prompt")
|
|
@@ -829,6 +851,7 @@ Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl
|
|
|
829
851
|
self._EnablePBR = params.get("EnablePBR")
|
|
830
852
|
self._FaceCount = params.get("FaceCount")
|
|
831
853
|
self._GenerateType = params.get("GenerateType")
|
|
854
|
+
self._PolygonType = params.get("PolygonType")
|
|
832
855
|
memeber_set = set(params.keys())
|
|
833
856
|
for name, value in vars(self).items():
|
|
834
857
|
property_name = name[1:]
|
|
@@ -1053,9 +1076,12 @@ class ViewImage(AbstractModel):
|
|
|
1053
1076
|
:type ViewType: str
|
|
1054
1077
|
:param _ViewImageUrl: 图片Url地址
|
|
1055
1078
|
:type ViewImageUrl: str
|
|
1079
|
+
:param _ViewImageBase64: 图片base64地址
|
|
1080
|
+
:type ViewImageBase64: str
|
|
1056
1081
|
"""
|
|
1057
1082
|
self._ViewType = None
|
|
1058
1083
|
self._ViewImageUrl = None
|
|
1084
|
+
self._ViewImageBase64 = None
|
|
1059
1085
|
|
|
1060
1086
|
@property
|
|
1061
1087
|
def ViewType(self):
|
|
@@ -1080,10 +1106,22 @@ class ViewImage(AbstractModel):
|
|
|
1080
1106
|
def ViewImageUrl(self, ViewImageUrl):
|
|
1081
1107
|
self._ViewImageUrl = ViewImageUrl
|
|
1082
1108
|
|
|
1109
|
+
@property
|
|
1110
|
+
def ViewImageBase64(self):
|
|
1111
|
+
r"""图片base64地址
|
|
1112
|
+
:rtype: str
|
|
1113
|
+
"""
|
|
1114
|
+
return self._ViewImageBase64
|
|
1115
|
+
|
|
1116
|
+
@ViewImageBase64.setter
|
|
1117
|
+
def ViewImageBase64(self, ViewImageBase64):
|
|
1118
|
+
self._ViewImageBase64 = ViewImageBase64
|
|
1119
|
+
|
|
1083
1120
|
|
|
1084
1121
|
def _deserialize(self, params):
|
|
1085
1122
|
self._ViewType = params.get("ViewType")
|
|
1086
1123
|
self._ViewImageUrl = params.get("ViewImageUrl")
|
|
1124
|
+
self._ViewImageBase64 = params.get("ViewImageBase64")
|
|
1087
1125
|
memeber_set = set(params.keys())
|
|
1088
1126
|
for name, value in vars(self).items():
|
|
1089
1127
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1470
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1466
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|