Files
cadSet/SimpleCADAPI/docs/api/README.md
T

18 KiB

SimpleCAD API Index

This index includes generated docs for the public SimpleCAD API surface, including geometry operations, graph/model JSON workflows, expressions, QL, and export helpers.

Import Surfaces

  • Entries marked top-level are exported from simplecadapi and can be imported with from simplecadapi import <name>.
  • Entries marked submodule are public through the listed submodule, such as simplecadapi.ql.
  • Entries marked translator backend are public only through simplecadapi.translator.<backend>.

Basic Creation

Transforms

3D Operations

Tagging and Selection

Creation-time topology-identity tags are supported by profile constructors and native feature primitives through tag_prefix. QL selectors also support shared_boundary(...), intersection(...), incident_to(...), incident_face_count(...), and solids() for relation-aware Edge selection.

Unified Tag Contract

Topology identity and user semantics share one public tag model. Every binding is inspected with list_tags(...) and explain_tag(...) and queried with ql.tag(...); one topology object may carry several tags for different uses.

tag_prefix="housing" creates topology-identity tags such as housing.face.top and housing.solid. These bindings carry topology_name evidence and project only when kernel history proves exact correspondence.

Role parameters such as top_face_tag, side_faces_tag, and generated_faces_tag, plus result_tag, create tags whose evidence identifies the kernel-proven role or result. Their tag text alone does not establish topology identity. There is one public tag parameter per target role, not a generic role-to-tag mapping.

Boolean Operations

Export

FreeCAD Translation

Math Helpers

Modeling Graph and Replay

Expressions and Parameters

Physical Units

Types and Errors

Advanced Features

Evolve

Other