Skip to main content

Aspose.CAD for Python is a CAD and BIM drawings Processing library that allows developers to modify, convert and publish various drawing and image formats without need to have any other CAD software.

Project description

CAD/BIM Drawings conversion and publish API for Python

Version 26.6.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.6.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.6.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

Project details


Download files

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

Source Distribution

aspose_cad-26.6.0.tar.gz (142.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aspose_cad-26.6.0-py3-none-manylinux1_x86_64.whl (250.8 MB view details)

Uploaded Python 3

aspose_cad-26.6.0-py3-none-macosx_11_0_arm64.whl (144.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aspose_cad-26.6-py3-none-win_amd64.whl (130.6 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file aspose_cad-26.6.0.tar.gz.

File metadata

  • Download URL: aspose_cad-26.6.0.tar.gz
  • Upload date:
  • Size: 142.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for aspose_cad-26.6.0.tar.gz
Algorithm Hash digest
SHA256 8ff3ed303e09eba0ded4b78cfd7d3c6087ff6a015b2e5c4fefda15fd5ce06c1b
MD5 b80a590990edbeeb21edece200f24253
BLAKE2b-256 d42857f942bcf10515ceda3915466a6ec280664a96a0a9dc02efdf1d47bb2f01

See more details on using hashes here.

File details

Details for the file aspose_cad-26.6.0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_cad-26.6.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 295ea148d50567316f1331a905696c030c510d0a03c2df399d6068f73053d67d
MD5 8a1638637af67359bd693ea425b4b053
BLAKE2b-256 cf7fed9b1cb3c1a258838ca36dcf782ecf91ac21f010bc6effc0882f87b4388b

See more details on using hashes here.

File details

Details for the file aspose_cad-26.6.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aspose_cad-26.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5bb25a03831aef984b16c4d78891795e511055be00828605280cf4c125204ed
MD5 095fa5d1155fdc777ead58966021704d
BLAKE2b-256 fcad79f8a37bfaf84183eec24ae400f104e0e8b12d831042dda743e91166d752

See more details on using hashes here.

File details

Details for the file aspose_cad-26.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: aspose_cad-26.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 130.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for aspose_cad-26.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 516720c81a11be3dc22f841443e806572bce4ef8051ccd137cccf016f2be3689
MD5 84fc91029b59f32ce86b177f4c1ed66a
BLAKE2b-256 b45367ef7ac1d6a349319e282dfc23939c19656a0b68e382faf203b13a267ad3

See more details on using hashes here.

Supported by

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