Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.


design3d

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

Description

design3d is a python 3d design package enabling CAD automations. With it, you can easily create 3D models from python code. Check the examples to see what you can do with this library. A hard fork of the discontinued volmdlr project.

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 split 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 design3d
# or
pip3 install design3d

Dev Installation

Before using design3d, 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 design3d repository. Finally, develop the setup.py file, and you are good to go !

git clone https://github.com/masfaraud/design3d.git

cd design3d

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

Yet to be uploaded Can be built from docs folder

License

100% opensource on LGPL license. See LICENSE for more details.

Team and contributors

Credits to the volmdlr project team.

Metadata

Release files for design3d 0.1.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for design3d 0.1.0a5
File Size Uploaded
design3d-0.1.0a5.tar.gz 1.8 MB Details

Release files / design3d-0.1.0a5.tar.gz

Download URL design3d-0.1.0a5.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
e70e8488d9586225d6e8f9e057b2d824d255f490af6e62dd011ee0c8a3688012
BLAKE2b-256 checksum
How to use checksums
e2556bc0fea775f2333cfac0b8c6456ffde391eb31a97a8f3a941d4bcc2b1163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 12, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page