Skip to main content

CAD/BIM Drawings conversion and publish API for Python

Version 26.11.0 PyPI GitHub

Aspose.CAD for Python is a standalone class library with Aspose.CAD for .NET under the hood to enhance applications to process, modify, render and publish CAD and BIM drawings without requiring AutoCAD or any other rendering workflow. The CAD Class Library allows high quality conversion of DWG, DXF, DRACO(DRC), DGN, DWF, DWFx, IFC, IGS(IGES), STL, DWT, FBX, PLT, CF2, OBJ, 3DS,DXB, U3D, COLLADA(DAE), STP, STEP(STP), GLB, GLTF and CGM files, layouts, and layers to PDF & raster image formats.

CAD File Processing Features

  • Supports the latest versions of DWG, DWF, DWFX, DWT, DGN, DRACO(DRC), STL, OBJ, STP, STEP(STP), GLB, GLTF, CF2, IGS(IGES), IFC, DXB, PLT & DXF formats.
  • Convert CAD to PDF.
  • Convert CAD to images.
  • Track files processing progress.
  • Manipulate drawing entities and blocks.
  • Select and convert specific layouts of CAD drawings.
  • Select and convert specific layers of CAD drawings.
  • Adjust CAD drawing size before rendering.

New Features & Enhancements Version 26.11.0

  • Ability to export to the OBJ file format.
  • Support for HoloLens 2.
  • Support for the AutoCAD Plotter Configuration (PC3) files.

Please visit Aspose.CAD for Python 26.11.0 - Release Notes for the detailed notes.

Read CAD and BIM Formats

AutoCAD: DWG, DWT, DXF, PC3 MicroStation: DGN Other: STL, DXB, DWF, DWFx, CF2, IFC, PLT, HPGL, U3D, 3DS, IGS(IGES), COLLADA(DAE), STP, STEP(STP)

Save and publsih drawings As

Fixed Layout: PDF Vector Images CGM, SVG, WMF, EMF, HTML5 Raster Images: PNG, BMP, DIB, TIFF, TIF, JPEG, GIF, JPG, JPE, JIF, JFIF, PSD, WEBP, DCM, DICOM, JP2, J2K, JPF, JPM, JPG2, J2C, JPC, JPX, MJ2, DJVU

Read & Write

CAD: DXF, DWF, DWFx, FBX, STP, STEP(STP)

The Advanced Visualizer: OBJ, DRACO(DRC), GLB, GLTF (Write features is partially supported.)

Raster Images: BMP, GIF, JPEG, PNG, TIFF, PSD

Vector Images CGM, SVG

Platform Independence

Aspose.CAD for Python supports Python version 3.x. It supports any 32-bit or 64-bit operating system, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS, and others), and Mac OS X.

Getting Started

Simply run pip install aspose-cad from the Console to fetch the package. If you already have Aspose.CAD for Python and want to upgrade the version, please run pip install --upgrade aspose-cad to get the latest version.

You can run the following snippets in your environment to see how Aspose.CAD works, or check out the GitHub Repository or Aspose.CAD for Python Documentation for other common use cases.

Export DXF to PDF using C# Code

from aspose.cad import *
from aspose.cad.imageoptions import *

cadImage = Image.load("drawing.dxf")

rasterizationOptions = CadRasterizationOptions()
rasterizationOptions.page_height = 1600.0
rasterizationOptions.page_width = 1600.0

pdfOptions = PdfOptions()
pdfOptions.vector_rasterization_options = rasterizationOptions

cadImage.save("output.pdf", pdfOptions)

Home | Product Page | Docs | Demos | API Reference | Examples | Blog| Search | Free Support | Temporary License

Metadata

Release files for aspose-cad 26.11.0

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

Source distribution (sdist)

Source distribution for aspose-cad 26.11.0
File Size Uploaded Provenance Actions
aspose_cad-26.11.0.tar.gz 256.9 MB Without provenance Details for aspose_cad-26.11.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for aspose-cad 26.11.0
File Interpreter ABI Platform Actions
aspose_cad-26.11.0-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for aspose_cad-26.11.0-py3-none-manylinux1_x86_64.whl
aspose_cad-26.11.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for aspose_cad-26.11.0-py3-none-macosx_11_0_arm64.whl
aspose_cad-26.11-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aspose_cad-26.11-py3-none-win_amd64.whl

Total release size: 786.8 MB

Release files / aspose_cad-26.11.0.tar.gz

Download URL aspose_cad-26.11.0.tar.gz
Size 256.9 MB
Tags Source
SHA-256 checksum
How to use checksums
0b1857fe4e0767a360efc90cdb01ea5b1d47da28361789d151e7c0e58120aa59
BLAKE2b-256 checksum
How to use checksums
373e8dca1230acbd637a6704ac96fd7b5581b347cbd253640aedae20930c4fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / aspose_cad-26.11.0-py3-none-manylinux1_x86_64.whl

Download URL aspose_cad-26.11.0-py3-none-manylinux1_x86_64.whl
Size 259.7 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d043ab5acb75c74322013187b8988e24fd2c3f530ec22bc870e608e71bd96da6
BLAKE2b-256 checksum
How to use checksums
4a1dbd3354d53dc258844bfb55d8986b57e1e2d45b32565a73eb7f691d6a5090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / aspose_cad-26.11.0-py3-none-macosx_11_0_arm64.whl

Download URL aspose_cad-26.11.0-py3-none-macosx_11_0_arm64.whl
Size 141.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4b21a7b256bf0a3d27b3d1498a11d032b16d3675b5f802f9e8f613b24b5aae8a
BLAKE2b-256 checksum
How to use checksums
64a3d196e1faef37b44f521c5a86ccb306804e2c24ed70d04de431baf2f4984a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / aspose_cad-26.11-py3-none-win_amd64.whl

Download URL aspose_cad-26.11-py3-none-win_amd64.whl
Size 128.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3ac90063d4b552721ba1bc1f498a4ae2d1c593ea0917825ed7cd4f58ddcbd63f
BLAKE2b-256 checksum
How to use checksums
a22c0f79c9e39f122eacaa4c5ee3656814c9644527881e64d94814103635b1d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for aspose-cad 26.11.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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