Skip to main content

A wrapper for the build123d library, designed for AI agents.

Project description

[!TIP]
This project is one of the THOUGHT OF THE DAY projects.
该项目是“每日灵感记录”系列项目之一。
The development of these project may not be active.
这些项目的开发可能不会活跃。

IgnisCAD

PyPI version Python versions License Downloads

使用 Python 封装 build123d 进行 CAD 开发,让 AI 智能体可以使用纯文本建模。
A wrapper for the build123d library, designed for AI agents.

使用 Usage

使用 PyPI 下载该包:
Download the package via PyPI:

python -m pip install igniscad

由于项目正在快速更新,因此不建议您使用镜像源。
Using mirror sources is not recommended due to the early developing of the project.

API

整个项目围绕 Entity 类构造,您可以使用 Model 类来创造一个模型,并在其中添加和改造 Entity
The whole project is based on the class Entity, you can create a model via calling the class Model, and try adding or modifying some Entity inside it.

每个 Entity 都是一个 build123d 类库的封装,有些是类,有些则是工厂函数。
Every Entity is a wrapper for build123d classes, which can be primitive functions or subclasses.

每个 Entity 在定义时都有一个 name 属性,您可以通过 name 属性来在模型中快速查找一个特定的 Entity
Each Entity has a name property while defining, you can use the name property to find a specified Entity in the model immediately.
这样可以保证上下文的统一性,也有助于进行原子性修改:
This ensures the consistency of context and facilitates atomic modifications:

from igniscad import *
with Model("Example") as model:
    model << Cylinder(5, 38, "pole")
    model.find("pole") # Returns the original Cylinder.

图表 Charts

Alt

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

igniscad-0.4.1.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

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

igniscad-0.4.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file igniscad-0.4.1.tar.gz.

File metadata

  • Download URL: igniscad-0.4.1.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for igniscad-0.4.1.tar.gz
Algorithm Hash digest
SHA256 54c9414dd89d6db33ac75055c2337c23711022b62a24dc454ad3f76d6e1f7859
MD5 5a461940fd4a274791f9b69aa9bb3887
BLAKE2b-256 eb38754e670486d79ca2dc520f3e79a53521c8950652b7d540a58c86609f81e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for igniscad-0.4.1.tar.gz:

Publisher: publish.yml on Ignis-Studio/IgnisCAD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file igniscad-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: igniscad-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for igniscad-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8590072daf78f46ff966192d63fe24b8bf152e4e43c237750a8ee10ed65a2d3
MD5 119eac0ef260dbf684efd18eefb0c9d0
BLAKE2b-256 8c71e6730eeb66e86bede323b4b580d9f79150f1a38eb735c0dba7f2ca8cef6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for igniscad-0.4.1-py3-none-any.whl:

Publisher: publish.yml on Ignis-Studio/IgnisCAD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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