资源说明:
# PLASM (Programming LAnguage for Solid Modeling) Plasm is a 'design language' for geometric and solid parametric design, developed by the CAD Group at the Universities 'La Sapienza' and 'Roma Tre' in Italy. See also: http://www.plasm.net/ Supported python versions: >=3.6 (python 2.x no longer supported). Supported OS: Windows, MacOsX, Linux. To install `pyplasm` ``` # For Linux sometimes you have to install some python libraries # sudo apt-get install python3.6 libpython3/6 # replace `python3` with your python executable path python3 -m pip install --user --upgrade pip numpy GL PyGlut PyOpenGL python3 -m pip install --upgrade pyplasm ``` Important for Big Sur users: there is a problem with PyOpenGL.So you will need to do as explained here [a link](https://stackoverflow.com/questions/63475461/unable-to-import-opengl-gl-in-python-on-macos) Then test it: ``` python3 -c "from pyplasm import *; VIEW(CUBOID([1,1,1]))" ``` ## Examples ``` [OK] resources\examples\arm2d.py [OK] resources\examples\ashtray.py [OK] resources\examples\ballorganizer.py [OK] resources\examples\basic.py [OK] resources\examples\batch.py [OK] resources\examples\bsp.py [OK] resources\examples\colors.py [OK] resources\examples\graph.py [OK] resources\examples\lathering.py [OK] resources\examples\load_obj.py [OK] resources\examples\pisa.py [OK] resources\examples\plasm.py [OK] resources\examples\rotational_solid.py [OK] resources\examples\temple.py [OK] resources\examples\threecubes.py [BROKEN] resources\examples\manipulator.py (but not important, belongs to a different object) ```
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。