aspose-cad


Nameaspose-cad JSON
Version 24.11 PyPI version JSON
download
home_pagehttps://products.aspose.com/cad/python
SummaryAspose.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.
upload_time2024-12-01 16:59:55
maintainerNone
docs_urlNone
authorAspose
requires_python<3.13,>=3.5
licensehttps://company.aspose.com/legal/eula
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
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CAD/BIM Drawings conversion and publish API for Python

![Version 24.11](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.11](https://img.shields.io/badge/pypi-v24.11-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.11 - 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.11](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.11](https://img.shields.io/badge/pypi-v24.11-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.11 - 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.11",
    "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": "0ecdafbf5dac92d464a60726813b5dbe7d32b381aba923fca94abc48d0e2484c",
                "md5": "d3f897b4dd574d43145a0acc19c269f3",
                "sha256": "58468a14c43b8eb19f97b1a420667c5bc8d1cc7ae3ecb4d17830c58251e32fbe"
            },
            "downloads": -1,
            "filename": "aspose_cad-24.11.0-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d3f897b4dd574d43145a0acc19c269f3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.5",
            "size": 226556289,
            "upload_time": "2024-12-01T16:59:55",
            "upload_time_iso_8601": "2024-12-01T16:59:55.098728Z",
            "url": "https://files.pythonhosted.org/packages/0e/cd/afbf5dac92d464a60726813b5dbe7d32b381aba923fca94abc48d0e2484c/aspose_cad-24.11.0-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3a4b02946e30d9642f1db6759271d7d19e333b333ef9b947a5c859621e5800d",
                "md5": "699aa1fa87208731ea6dcae217c3b275",
                "sha256": "cfd1ec7551297ea00176f25457766d25e81b64abd12aec2d4a27df462ff3a8e4"
            },
            "downloads": -1,
            "filename": "aspose_cad-24.11-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "699aa1fa87208731ea6dcae217c3b275",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.13,>=3.5",
            "size": 127173994,
            "upload_time": "2024-12-01T16:59:03",
            "upload_time_iso_8601": "2024-12-01T16:59:03.546668Z",
            "url": "https://files.pythonhosted.org/packages/d3/a4/b02946e30d9642f1db6759271d7d19e333b333ef9b947a5c859621e5800d/aspose_cad-24.11-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-01 16:59:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-cad"
}
        
Elapsed time: 0.50100s