pyvxray | ABAQUS plug-in for the creation of virtual x
kandi X-RAY | pyvxray Summary
kandi X-RAY | pyvxray Summary
pyvxray is a Python library. pyvxray has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. However pyvxray has 1 bugs. You can install using 'pip install pyvxray' or download it from GitHub, PyPI.
Copyright 2013, Michael Hogg (michael.christopher.hogg@gmail.com). MIT license - See LICENSE.txt for details on usage and redistribution.
Copyright 2013, Michael Hogg (michael.christopher.hogg@gmail.com). MIT license - See LICENSE.txt for details on usage and redistribution.
Support
Quality
Security
License
Reuse
Support
pyvxray has a low active ecosystem.
It has 7 star(s) with 5 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 3 have been closed. On average issues are closed in 479 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of pyvxray is 0.2.1
Quality
pyvxray has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 207 code smells.
Security
pyvxray has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
pyvxray code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
pyvxray is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
pyvxray releases are available to install and integrate.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
It has 751 lines of code, 41 functions and 7 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed pyvxray and discovered the below as its top functions. This is intended to give you an instant insight into pyvxray implemented functionality, and help decide if they suit your requirements.
- Performs custom checks
- Gets the list of element sets
- Get list of odb list
- Process updates
- Get the scalar list
- Populates the combo box
- Return the list of csys csyses
- Returns a list of all steps
- Populates the element list
- Sets the odb name for the odbName
- Pop the step list
- Create a dialog box dialog box
- Gets the first ODB in the list
- Evaluate the interpolation function
- Evaluate the covariance matrix
Get all kandi verified functions for this library.
pyvxray Key Features
No Key Features are available at this moment for pyvxray.
pyvxray Examples and Code Snippets
No Code Snippets are available at this moment for pyvxray.
Community Discussions
No Community Discussions are available at this moment for pyvxray.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyvxray
The model must contain only linear or quadrilateral tetrahedral elements (ABAQUS element types C3D4, C3D4H, C3D10, C3D10H, C3D10I, C3D10M, and C3D10MH are all supported). The model must have a scalar fieldoutput variable representing bone density. This is typically a state variable such as SDV1. This scalar variable must be available in the last frame of each step to be analysed, as only the last frame is used.
The model must contain only linear or quadrilateral tetrahedral elements (ABAQUS element types C3D4, C3D4H, C3D10, C3D10H, C3D10I, C3D10M, and C3D10MH are all supported).
The model must have a scalar fieldoutput variable representing bone density. This is typically a state variable such as SDV1. This scalar variable must be available in the last frame of each step to be analysed, as only the last frame is used.
####1. Installation of pyvXRAY plug-in. pyvXRAY is an ABAQUS plug-in. ABAQUS plug-ins may be installed in several ways. Only one of the ways is discussed here. For other options the user is referred to the ABAQUS user manuals. ####2. Installation of pyvXRAY dependencies. The ABAQUS GUI is built on Python, and has its own Python installation. This Python installation is not the typically Python setup, so some guidance is provided here on how to install pyvXRAY's dependencies.
Releases with pre-built modules Download the latest pyvXRAY release with pre-built modules. This is available for 32-bit and 64-bit Windows from releases page Unpack this to a convenient location Move the abaqus_plugins\pyvXRAY folder to the correct location of the abaqus_plugins directory within your ABAQUS installation. The location of this directory depends on your ABAQUS version. Some possible locations are: v6.11-x: C:\SIMULIA\Abaqus\6.11-x\abaqus_plugins v6.12-x: C:\SIMULIA\Abaqus\6.12-x\code\python\lib\abaqus_plugins v6.13-x: C:\SIMULIA\Abaqus\6.13-x\code\python\lib\abaqus_plugins
Installation from source Download the latest pyvXRAY source, typically called pyvXRAY-x.x.x.zip or pyvXRAY-x.x.x.tar.gz, where x.x.x is the version number Unpack this to a convenient location Open a command prompt and browse to directory pyvXRAY-x.x.x (containing file setup.py) Run the following command: abaqus python setup.py build_ext --inplace which will build the Cython modules. If Cython is available, it will be used. Otherwise the .cpp files previously generated using Cython will be compiled directly. Copy the pyvXRAY sub-folder to the abaqus_plugins directory within your ABAQUS installation, following the instructions above for pre-built distribution
ABAQUS Python is typically not registered in the Windows registry, and therefore installation with binary installers will not work by default because the ABAQUS Python installation does not appear in the list of available Python installations
PIL binaries are available only for Python 2.6 on 32-bit Windows at pythonware.com, but not 64-bit Windows. However, Pillow binaries for Python 2.6 on both 32-bit and 64-bit Windows are available on PyPi.
Use a separate Python installation and binary installer The SIMULIA support site suggests that a separate Python installation be setup. The dependencies can be installed easily into this separate Python installation, after which they can then be used by ABAQUS Python. This separate Python installation version must match the ABAQUS Python version, which has been 2.6.x for the following few ABAQUS versions. This method is the best solution if you do not feel comfortable modifying the Windows registry (as recommended next). Download and install Python 2.6 (i.e. the plain vanilla version from www.python.org/download is recommended) Download and run the corresponding binary installer for PIL or Pillow. Create an environment variable PYTHONPATH=C:\Python26\Lib\site-packages that tells ABAQUS Python where these packages are installed, assuming that C:\Python26 is the installation directory.
Edit the Windows registry and use a binary installer (Windows only) By editing the Windows registry the binary installers will be able to detect the ABAQUS Python version and install as usual. Use caution when editing the Windows registry or backup your registry before hand. Download and run the corresponding binary installer for PIL or Pillow. Edit the Windows registry to create key HKEY_LOCAL_MACHINE\Software\Python\Pythoncore\2.6\InstallPath with data name "(Default)" and data value containing the location of your ABAQUS Python directory location. Registry key HKEY_CURRENT_USER also works. This location depends on the ABAQUS version. For the default ABAQUS installation location, possible locations are: v6.11-x: C:\\SIMULIA\\Abaqus\\6.11-x\\External\\Python v6.12-x: C:\\SIMULIA\\Abaqus\\6.12-x\\tools\\SMApy v6.13-x: C:\\SIMULIA\\Abaqus\\6.13-x\\tools\\SMApy\\python2.6 Editing the Windows registry can be done using the regedit utility. You can load regedit by typing "regedit" at the command prompt. Install PIL / Pillow using the binary installer. Follow the instructions and make sure to select the ABAQUS Python version if you have multiple Python versions installed. If ABAQUS Python is not in the list of available Python 2.6 versions, then the Windows registry was not edited correctly.
The model must contain only linear or quadrilateral tetrahedral elements (ABAQUS element types C3D4, C3D4H, C3D10, C3D10H, C3D10I, C3D10M, and C3D10MH are all supported).
The model must have a scalar fieldoutput variable representing bone density. This is typically a state variable such as SDV1. This scalar variable must be available in the last frame of each step to be analysed, as only the last frame is used.
####1. Installation of pyvXRAY plug-in. pyvXRAY is an ABAQUS plug-in. ABAQUS plug-ins may be installed in several ways. Only one of the ways is discussed here. For other options the user is referred to the ABAQUS user manuals. ####2. Installation of pyvXRAY dependencies. The ABAQUS GUI is built on Python, and has its own Python installation. This Python installation is not the typically Python setup, so some guidance is provided here on how to install pyvXRAY's dependencies.
Releases with pre-built modules Download the latest pyvXRAY release with pre-built modules. This is available for 32-bit and 64-bit Windows from releases page Unpack this to a convenient location Move the abaqus_plugins\pyvXRAY folder to the correct location of the abaqus_plugins directory within your ABAQUS installation. The location of this directory depends on your ABAQUS version. Some possible locations are: v6.11-x: C:\SIMULIA\Abaqus\6.11-x\abaqus_plugins v6.12-x: C:\SIMULIA\Abaqus\6.12-x\code\python\lib\abaqus_plugins v6.13-x: C:\SIMULIA\Abaqus\6.13-x\code\python\lib\abaqus_plugins
Installation from source Download the latest pyvXRAY source, typically called pyvXRAY-x.x.x.zip or pyvXRAY-x.x.x.tar.gz, where x.x.x is the version number Unpack this to a convenient location Open a command prompt and browse to directory pyvXRAY-x.x.x (containing file setup.py) Run the following command: abaqus python setup.py build_ext --inplace which will build the Cython modules. If Cython is available, it will be used. Otherwise the .cpp files previously generated using Cython will be compiled directly. Copy the pyvXRAY sub-folder to the abaqus_plugins directory within your ABAQUS installation, following the instructions above for pre-built distribution
ABAQUS Python is typically not registered in the Windows registry, and therefore installation with binary installers will not work by default because the ABAQUS Python installation does not appear in the list of available Python installations
PIL binaries are available only for Python 2.6 on 32-bit Windows at pythonware.com, but not 64-bit Windows. However, Pillow binaries for Python 2.6 on both 32-bit and 64-bit Windows are available on PyPi.
Use a separate Python installation and binary installer The SIMULIA support site suggests that a separate Python installation be setup. The dependencies can be installed easily into this separate Python installation, after which they can then be used by ABAQUS Python. This separate Python installation version must match the ABAQUS Python version, which has been 2.6.x for the following few ABAQUS versions. This method is the best solution if you do not feel comfortable modifying the Windows registry (as recommended next). Download and install Python 2.6 (i.e. the plain vanilla version from www.python.org/download is recommended) Download and run the corresponding binary installer for PIL or Pillow. Create an environment variable PYTHONPATH=C:\Python26\Lib\site-packages that tells ABAQUS Python where these packages are installed, assuming that C:\Python26 is the installation directory.
Edit the Windows registry and use a binary installer (Windows only) By editing the Windows registry the binary installers will be able to detect the ABAQUS Python version and install as usual. Use caution when editing the Windows registry or backup your registry before hand. Download and run the corresponding binary installer for PIL or Pillow. Edit the Windows registry to create key HKEY_LOCAL_MACHINE\Software\Python\Pythoncore\2.6\InstallPath with data name "(Default)" and data value containing the location of your ABAQUS Python directory location. Registry key HKEY_CURRENT_USER also works. This location depends on the ABAQUS version. For the default ABAQUS installation location, possible locations are: v6.11-x: C:\\SIMULIA\\Abaqus\\6.11-x\\External\\Python v6.12-x: C:\\SIMULIA\\Abaqus\\6.12-x\\tools\\SMApy v6.13-x: C:\\SIMULIA\\Abaqus\\6.13-x\\tools\\SMApy\\python2.6 Editing the Windows registry can be done using the regedit utility. You can load regedit by typing "regedit" at the command prompt. Install PIL / Pillow using the binary installer. Follow the instructions and make sure to select the ABAQUS Python version if you have multiple Python versions installed. If ABAQUS Python is not in the list of available Python 2.6 versions, then the Windows registry was not edited correctly.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page