Skip to main content

A volume modeler computation-oriented. Include rendering bindings.

Project description


Volmdlr

A computations-oriented python VOLume MoDeLeR with STEP support for import and export

Description

Volmdlr is a python volume modeler used as a CAD platform. It is simple to understand and operate. With it, you can easily create 3D models. Check the exemples to see what you can do with this library.

A casing is defined by a 2D contour formed with the primitive RoundedLineSegment2D. This contour is offset by the casing width.


A Sweep is pipes, created with Circle2D/Arc2D which is contained in a Contour2D. You have to create the neutral fiber, i.e., the pipe’s road, with the primitive RoundedLineSegment3D.


A polygon is defined out of points. Random points are sampled and the tested whether they are inside or outside the polygon. They are plotted with the Matplotlib binding MPLPlot with custom styles: - red if they are outside, - blue if they are inside


A 3D B-spline surface splitted by a 3D B-spline curve.


Features

  • Generate 2D and 3D geometries from python
  • Handles complexe geometries : B-spline curves and surfaces
  • Primitives provide computational tasks : distances, belonging, union, intersections, etc.
  • STEP/STL imports and exports
  • Geometries display in your web browser with babylon.js

User Installation

pip install volmdlr
# or
pip3 install volmdlr

Dev Installation

Before using Volmdlr, be sure to have a C/C++ compiler (not necessary on Linux).
N.B : With Windows you have to download one and allow it to read Python’s code.

First, clone the package. Then, enter the newly created volmdlr repository. Finally, develop the setup.py file, and you are good to go !

git clone https://github.com/Dessia-tech/volmdlr.git

cd volmdlr

python3 setup.py develop --user
# or whatever version you are using :
python3.x setup.py develop --user

Usage

See the script folder for examples

Documentation

https://documentation.dessia.tech/volmdlr/

Licence

100% opensource on LGPL licence. See LICENCE for more details.

Contributors

Project details


Release history Release notifications | RSS feed

This version

0.5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volmdlr-0.5.0.tar.gz (891.2 kB view hashes)

Uploaded Source

Built Distributions

volmdlr-0.5.0-py3.8-linux-x86_64.egg (3.8 MB view hashes)

Uploaded Source

volmdlr-0.5.0-pp39-pypy39_pp73-win_amd64.whl (1.4 MB view hashes)

Uploaded PyPy Windows x86-64

volmdlr-0.5.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

volmdlr-0.5.0-pp38-pypy38_pp73-win_amd64.whl (1.4 MB view hashes)

Uploaded PyPy Windows x86-64

volmdlr-0.5.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

volmdlr-0.5.0-pp37-pypy37_pp73-win_amd64.whl (1.4 MB view hashes)

Uploaded PyPy Windows x86-64

volmdlr-0.5.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

volmdlr-0.5.0-cp311-cp311-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

volmdlr-0.5.0-cp311-cp311-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.11 Windows x86

volmdlr-0.5.0-cp311-cp311-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

volmdlr-0.5.0-cp310-cp310-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

volmdlr-0.5.0-cp310-cp310-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.10 Windows x86

volmdlr-0.5.0-cp310-cp310-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

volmdlr-0.5.0-cp39-cp39-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

volmdlr-0.5.0-cp39-cp39-win32.whl (1.5 MB view hashes)

Uploaded CPython 3.9 Windows x86

volmdlr-0.5.0-cp39-cp39-macosx_10_9_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

volmdlr-0.5.0-cp38-cp38-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

volmdlr-0.5.0-cp38-cp38-win32.whl (1.5 MB view hashes)

Uploaded CPython 3.8 Windows x86

volmdlr-0.5.0-cp38-cp38-macosx_10_9_x86_64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

volmdlr-0.5.0-cp37-cp37m-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

volmdlr-0.5.0-cp37-cp37m-win32.whl (1.5 MB view hashes)

Uploaded CPython 3.7m Windows x86

volmdlr-0.5.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

volmdlr-0.5.0-cp36-cp36m-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

volmdlr-0.5.0-cp36-cp36m-win32.whl (1.5 MB view hashes)

Uploaded CPython 3.6m Windows x86

volmdlr-0.5.0-cp36-cp36m-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page