# CAD/BIM Drawings conversion and publish API for Python
![Version 24.10](https://img.shields.io/pypi/v/aspose-cad.svg?label=PyPI) ![PyPI](https://img.shields.io/pypi/dm/aspose-cad.svg?label=PyPI%20downloads) ![GitHub](https://img.shields.io/github/license/aspose-cad/Aspose.CAD-for-Python)
[Aspose.CAD for Python](https://products.aspose.com/cad/python-net/) 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](https://docs.aspose.com/cad/python-net/supported-file-formats/) 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](https://docs.aspose.com/cad/python-net/dxf-drawings/).
- 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](https://docs.aspose.com/cad/python-net/adjusting-cad-drawing-size/).
## New Features & Enhancements ![Version 24.10](https://img.shields.io/badge/pypi-v24.10-blue)
- 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 24.10 - Release Notes](https://releases.aspose.com/cad/python-net/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](https://github.com/aspose-cad/Aspose.CAD-for-Python) or [Aspose.CAD for Python Documentation](https://docs.aspose.com/cad/python-net/) for other common use cases.
## Export DXF to PDF using C# Code
```python
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](https://www.aspose.com/) | [Product Page](https://products.aspose.com/cad/python-net/) | [Docs](https://docs.aspose.com/cad/python-net/) | [Demos](https://products.aspose.app/cad/family) | [API Reference](https://apireference.aspose.com/cad/python-net/) | [Examples](https://github.com/aspose-cad/Aspose.CAD-for-Python) | [Blog](https://blog.aspose.com/category/cad/)| [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/cad) | [Temporary License](https://purchase.aspose.com/temporary-license)
Raw data
{
"_id": null,
"home_page": "https://products.aspose.com/cad/python",
"name": "aspose-cad",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.5",
"maintainer_email": null,
"keywords": "dwg, dwg to pdf, convert, publish, export, create, write, metadata, edit, modify, cad, bim, dxf, dgn, dwf, dwfx, ifc, stl, dxb, cf2, hpgl, plt, ply, ifc, iges, pcl, pdf-3d, dwt, dxb, 3ds, u3d, stp, collada, obj, stp, jpg, png, j2k, psd, svg, pdf, wmf, dicom, webp, html5, gif",
"author": "Aspose",
"author_email": null,
"download_url": null,
"platform": "win_amd64",
"description": "# CAD/BIM Drawings conversion and publish API for Python\r\n\r\n![Version 24.10](https://img.shields.io/pypi/v/aspose-cad.svg?label=PyPI) ![PyPI](https://img.shields.io/pypi/dm/aspose-cad.svg?label=PyPI%20downloads) ![GitHub](https://img.shields.io/github/license/aspose-cad/Aspose.CAD-for-Python)\r\n\r\n[Aspose.CAD for Python](https://products.aspose.com/cad/python-net/) 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](https://docs.aspose.com/cad/python-net/supported-file-formats/) files, layouts, and layers to PDF & raster image formats.\r\n\r\n## CAD File Processing Features\r\n\r\n- 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.\r\n- Convert [CAD to PDF](https://docs.aspose.com/cad/python-net/dxf-drawings/).\r\n- Convert CAD to images.\r\n- Track files processing progress.\r\n- Manipulate drawing entities and blocks.\r\n- Select and convert specific layouts of CAD drawings.\r\n- Select and convert specific layers of CAD drawings.\r\n- [Adjust CAD drawing size before rendering](https://docs.aspose.com/cad/python-net/adjusting-cad-drawing-size/).\r\n\r\n## New Features & Enhancements ![Version 24.10](https://img.shields.io/badge/pypi-v24.10-blue)\r\n\r\n- Ability to export to the `OBJ` file format.\r\n- Support for HoloLens 2.\r\n- Support for the AutoCAD Plotter Configuration (`PC3`) files.\r\n\r\nPlease visit [Aspose.CAD for Python 24.10 - Release Notes](https://releases.aspose.com/cad/python-net/release-notes/) for the detailed notes.\r\n\r\n## Read CAD and BIM Formats\r\n\r\n**AutoCAD:** DWG, DWT, DXF, PC3\r\n**MicroStation:** DGN\r\n**Other:** STL, DXB, DWF, DWFx, CF2, IFC, PLT, HPGL, U3D, 3DS, IGS(IGES), COLLADA(DAE), STP, STEP(STP)\r\n\r\n## Save and publsih drawings As\r\n\r\n**Fixed Layout:** PDF\r\n**Vector Images** CGM, SVG, WMF, EMF, HTML5\r\n**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\r\n\r\n## Read & Write\r\n\r\n**CAD:** DXF, DWF, DWFx, FBX, STP, STEP(STP)\r\n\r\n**The Advanced Visualizer:** OBJ, DRACO(DRC), GLB, GLTF \r\n(Write features is partially supported.)\r\n\r\n**Raster Images:** BMP, GIF, JPEG, PNG, TIFF, PSD\r\n\r\n**Vector Images** CGM, SVG\r\n\r\n## Platform Independence\r\n\r\nAspose.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.\r\n\r\n## Getting Started\r\nSimply run ```pip install aspose-cad``` from the Console to fetch the package.\r\nIf 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.\r\n\r\nYou can run the following snippets in your environment to see how Aspose.CAD works, or check out the [GitHub Repository](https://github.com/aspose-cad/Aspose.CAD-for-Python) or [Aspose.CAD for Python Documentation](https://docs.aspose.com/cad/python-net/) for other common use cases.\r\n\r\n## Export DXF to PDF using C# Code\r\n\r\n```python\r\nfrom aspose.cad import *\r\nfrom aspose.cad.imageoptions import *\r\n\r\ncadImage = Image.load(\"drawing.dxf\")\r\n\r\nrasterizationOptions = CadRasterizationOptions()\r\nrasterizationOptions.page_height = 1600.0\r\nrasterizationOptions.page_width = 1600.0\r\n\r\npdfOptions = PdfOptions()\r\npdfOptions.vector_rasterization_options = rasterizationOptions\r\n\r\ncadImage.save(\"output.pdf\", pdfOptions)\r\n```\r\n\r\n[Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/cad/python-net/) | [Docs](https://docs.aspose.com/cad/python-net/) | [Demos](https://products.aspose.app/cad/family) | [API Reference](https://apireference.aspose.com/cad/python-net/) | [Examples](https://github.com/aspose-cad/Aspose.CAD-for-Python) | [Blog](https://blog.aspose.com/category/cad/)| [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/cad) | [Temporary License](https://purchase.aspose.com/temporary-license)\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "https://company.aspose.com/legal/eula",
"summary": "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.",
"version": "24.10",
"project_urls": {
"Homepage": "https://products.aspose.com/cad/python"
},
"split_keywords": [
"dwg",
" dwg to pdf",
" convert",
" publish",
" export",
" create",
" write",
" metadata",
" edit",
" modify",
" cad",
" bim",
" dxf",
" dgn",
" dwf",
" dwfx",
" ifc",
" stl",
" dxb",
" cf2",
" hpgl",
" plt",
" ply",
" ifc",
" iges",
" pcl",
" pdf-3d",
" dwt",
" dxb",
" 3ds",
" u3d",
" stp",
" collada",
" obj",
" stp",
" jpg",
" png",
" j2k",
" psd",
" svg",
" pdf",
" wmf",
" dicom",
" webp",
" html5",
" gif"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cab46a2722c28803a00e20a07c8c0c39d96d2adfbc3b63fe24f4728b8ba19daa",
"md5": "4fda3888b744f597ad53ad30f5c60bfe",
"sha256": "fad874d04d3230ca6c7e3d05a8521e3e6a63fdb226ccd1e57c825a5aac00b231"
},
"downloads": -1,
"filename": "aspose_cad-24.10.0-py3-none-manylinux1_x86_64.whl",
"has_sig": false,
"md5_digest": "4fda3888b744f597ad53ad30f5c60bfe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.5",
"size": 225730760,
"upload_time": "2024-10-28T12:41:39",
"upload_time_iso_8601": "2024-10-28T12:41:39.808246Z",
"url": "https://files.pythonhosted.org/packages/ca/b4/6a2722c28803a00e20a07c8c0c39d96d2adfbc3b63fe24f4728b8ba19daa/aspose_cad-24.10.0-py3-none-manylinux1_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cb743264ef17142f78e6beffb3c3bc4c04ce3106f6f1a25a3fdedbeabe4ee90b",
"md5": "f96a17a12394a67e0cfe50c86de44eb9",
"sha256": "42ad7e30ead1aea7b60a98cffcfe7cd1a5f0d6e9fe186cd2f803773a15e390e5"
},
"downloads": -1,
"filename": "aspose_cad-24.10-py3-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "f96a17a12394a67e0cfe50c86de44eb9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.5",
"size": 126850971,
"upload_time": "2024-10-28T12:26:43",
"upload_time_iso_8601": "2024-10-28T12:26:43.352575Z",
"url": "https://files.pythonhosted.org/packages/cb/74/3264ef17142f78e6beffb3c3bc4c04ce3106f6f1a25a3fdedbeabe4ee90b/aspose_cad-24.10-py3-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-28 12:41:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "aspose-cad"
}