Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PointData ctor has requires unexpected parameter syntax #276

Open
2 tasks done
drewm102 opened this issue Jun 14, 2023 · 1 comment
Open
2 tasks done

PointData ctor has requires unexpected parameter syntax #276

drewm102 opened this issue Jun 14, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@drewm102
Copy link
Collaborator

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

PointData objects must be created with the syntax geometry.PointData([x2, y2]) rather than the expected format of geometry.PointData(x2, y2)

📝 Steps to reproduce

N/A

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.7

📦 Installed packages

anyio==3.6.2
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
asttokens==2.2.1
atomicwrites==1.4.1
attrs==22.1.0
backcall==0.2.0
beautifulsoup4==4.12.0
bleach==6.0.0
cffi==1.15.1
colorama==0.4.5
comm==0.1.3
coverage==6.4.2
debugpy==1.6.6
decorator==5.1.1
defusedxml==0.7.1
executing==1.2.0
fastjsonschema==2.16.3
graphviz==0.20.1
grpcio==1.44.0
grpcio-tools==1.44.0
idna==3.4
importlib-metadata==6.1.0
importlib-resources==5.12.0
iniconfig==1.1.1
ipykernel==6.22.0
ipython==8.11.0
ipython-genutils==0.2.0
jedi==0.18.2
Jinja2==3.1.2
jsonschema==4.17.3
jupyter-events==0.6.3
jupyter_client==8.1.0
jupyter_core==5.3.0
jupyter_server==2.5.0
jupyter_server_terminals==0.4.4
jupyterlab-pygments==0.2.2
MarkupSafe==2.1.2
matplotlib-inline==0.1.6
mistune==2.0.5
nbclassic==0.5.3
nbclient==0.7.2
nbconvert==7.2.10
nbformat==5.8.0
nest-asyncio==1.5.6
notebook==6.5.3
notebook_shim==0.2.2
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
pickleshare==0.7.5
pkgutil_resolve_name==1.3.10
platformdirs==3.2.0
pluggy==1.0.0
prometheus-client==0.16.0
prompt-toolkit==3.0.38
protobuf==3.20.1
protos==0.1.0
psutil==5.9.4
pure-eval==0.2.2
py==1.11.0
pycparser==2.21
Pygments==2.14.0
pyparsing==3.0.9
pyrsistent==0.19.3
pytest==7.1.2
pytest-cov==3.0.0
pytest-mock==3.8.2
python-dateutil==2.8.2
python-dotenv==0.20.0
python-json-logger==2.0.7
pywin32==306
pywinpty==2.0.10
PyYAML==6.0
pyzmq==25.0.2
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
Send2Trash==1.8.0
six==1.16.0
sniffio==1.3.0
soupsieve==2.4
stack-data==0.6.2
terminado==0.17.1
tinycss2==1.2.1
tomli==2.0.1
tornado==6.2
traitlets==5.9.0
wcwidth==0.2.6
webencodings==0.5.1
websocket-client==1.5.1
zipp==3.15.0
@drewm102 drewm102 added the bug Something isn't working label Jun 14, 2023
@hiro727
Copy link
Contributor

hiro727 commented Jun 15, 2023

@drewm102 PointData takes any argument that is iterable.

PointData(1, 1)
PointData([1, 1])
PointData((1, 1))

are all equivalent.

maybe a matter of better documentation?

@hiro727 hiro727 added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jun 15, 2023
@bwnedrud bwnedrud changed the title PointData ctor has requires unexpeted parameter syntax PointData ctor has requires unexpected parameter syntax Oct 11, 2023
@drewm102 drewm102 assigned drewm102 and unassigned hiro727 Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants