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.3.1.tar.gz (15.9 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.3.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for igniscad-0.3.1.tar.gz
Algorithm Hash digest
SHA256 619629d31337f90284e0e03c482b8a4f1984cec8c2042ee08c214eaf35d3ca9f
MD5 7ab881e13f7b3ccb88031440074a6bd1
BLAKE2b-256 fc0fb49be22e6bbd8f16d7198030e771a9596fdd5070fa7ed60abfa623c673e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for igniscad-0.3.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.3.1-py3-none-any.whl.

File metadata

  • Download URL: igniscad-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7a280503474fa922e44f3beb89c382e2bbebe6b60b69b301a3fad942dd6514
MD5 2fac13fd5bbcf158e33a8f943e33bfa1
BLAKE2b-256 8f8648382ea021a347bc3c444c9b0792df1eee00bf2800700c01d6d215317f70

See more details on using hashes here.

Provenance

The following attestation bundles were made for igniscad-0.3.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