3e319e4987
Two agent-SDK quality rulings from the u_link misrender review: - zero-hit guard: requesting a highlight tag that matches no geometry now raises with the missing tag names and likely causes (typo / wrong build stage) instead of silently labelling empty air — the guard immediately caught two real misuses (S1 blank labelled with S3-stage tags; flange fillet tag lost to a downstream feature rewrite) - label typography: all font sizes move to final-image-pixel semantics scaled by supersample; callout lower bound 12->18, legend 10->12 with wider cap, panel title floor raised; margins scale with font size so large text does not overflow panels - fix surfaced while verifying: candidate dataset names referenced by callouts did not survive the macOS worker hop (surface_group_N vs surface_groups_N) — re-anchoring silently no-op'd on darwin; naming aligned and verified end-to-end (occluded rim-fillet anchor re-anchors onto the visible lower half of the same ring)
SimpleCAD API Index
This index includes generated docs for the public SimpleCAD API surface, including geometry operations, graph/model JSON workflows, durable product builds, persistent cache controls, inspection tools, expressions, QL, and export helpers.
Import Surfaces
- Entries marked
top-levelare exported fromsimplecadapiand can be imported withfrom simplecadapi import <name>. - Entries marked
submoduleare public through the listed submodule, such assimplecadapi.ql. - Entries marked
inspection namespaceare available throughsimplecadapi.inspect.brepand cannot run insideGraphSession. - Entries marked
translator backendare public only throughsimplecadapi.translator.<backend>. - Entries marked
reverse-engineering evaluatorare available throughsimplecadapi.inverse_engineer.brep; their acceptance inputs and reports belong to the trusted harness, not participant code.
Basic Creation
- make_2d_cut_rface (from operators/boolean.py)
top-level - make_2d_intersect_rface (from operators/boolean.py)
top-level - make_2d_union_rface (from operators/boolean.py)
top-level - make_angle_arc_redge (from operators/geometry.py)
top-level - make_angle_arc_rwire (from operators/geometry.py)
top-level - make_assembly_rassembly (from operators/product.py)
top-level - make_bezier_surface_rface (from operators/geometry.py)
top-level - make_box_rsolid (from operators/geometry.py)
top-level - make_circle_redge (from operators/geometry.py)
top-level - make_circle_rface (from operators/geometry.py)
top-level - make_circle_rwire (from operators/geometry.py)
top-level - make_compound_from_assembly_rcompound (from operators/product.py)
top-level - make_cone_rsolid (from operators/geometry.py)
top-level - make_connector_ref_rconnectorref (from operators/product.py)
top-level - make_cylinder_rsolid (from operators/geometry.py)
top-level - make_cylindrical_surface_rface (from operators/geometry.py)
top-level - make_edge_connector_rconnector (from operators/product.py)
top-level - make_ellipse_redge (from operators/geometry.py)
top-level - make_ellipse_rface (from operators/geometry.py)
top-level - make_ellipse_rwire (from operators/geometry.py)
top-level - make_face_connector_rconnector (from operators/product.py)
top-level - make_face_from_sketch_rface (from operators/sketch.py)
top-level - make_face_from_wire_rface (from operators/geometry.py)
top-level - make_face_from_wires_rface (from operators/geometry.py)
top-level - make_gordon_surface_rface (from operators/geometry.py)
top-level - make_helix_redge (from operators/geometry.py)
top-level - make_helix_rwire (from operators/geometry.py)
top-level - make_interpolated_spline_redge (from operators/geometry.py)
top-level - make_interpolated_spline_rwire (from operators/geometry.py)
top-level - make_line_redge (from operators/geometry.py)
top-level - make_material_rmaterial (from operators/product.py)
top-level - make_part_rpart (from operators/product.py)
top-level - make_periodic_spline_rwire (from operators/geometry.py)
top-level - make_placement_connector_rconnector (from operators/product.py)
top-level - make_placement_rplacement (from operators/product.py)
top-level - make_point_rvertex (from operators/geometry.py)
top-level - make_polyline_rwire (from operators/geometry.py)
top-level - make_rectangle_rface (from operators/geometry.py)
top-level - make_rectangle_rwire (from operators/geometry.py)
top-level - make_ruled_surface_rface (from operators/geometry.py)
top-level - make_scalar_limit_rscalarlimit (from operators/product.py)
top-level - make_segment_redge (from operators/geometry.py)
top-level - make_segment_rwire (from operators/geometry.py)
top-level - make_sketch_rsketch (from operators/sketch.py)
top-level - make_solid_from_shell_rsolid (from operators/geometry.py)
top-level - make_sphere_rsolid (from operators/geometry.py)
top-level - make_spline_redge (from operators/geometry.py)
top-level - make_spline_rwire (from operators/geometry.py)
top-level - make_surface_patch_rface (from operators/geometry.py)
top-level - make_three_point_arc_redge (from operators/geometry.py)
top-level - make_three_point_arc_rwire (from operators/geometry.py)
top-level - make_vertex_connector_rconnector (from operators/product.py)
top-level - make_wire_from_edges_rwire (from operators/geometry.py)
top-level - make_wire_from_sketch_rwire (from operators/sketch.py)
top-level
Transforms
- mirror_shape (from operators/transform.py)
top-level - rotate_shape (from operators/transform.py)
top-level - translate_shape (from operators/transform.py)
top-level
3D Operations
- extrude_rsolid (from operators/features.py)
top-level - loft_rshell (from operators/geometry.py)
top-level - loft_rsolid (from operators/features.py)
top-level - revolve_rsolid (from operators/features.py)
top-level - sweep_rsolid (from operators/features.py)
top-level
Tagging and Selection
- apply_tag (from operators/selection.py)
top-level - apply_tag_rselection (from operators/selection.py)
top-level - list_tags (from operators/selection.py)
top-level - select_edges_by_tag (from operators/selection.py)
top-level - select_faces_by_tag (from operators/selection.py)
top-level
Boolean Operations
- cut_rsolid (from operators/boolean.py)
top-level - intersect_rsolid (from operators/boolean.py)
top-level - union_rsolid (from operators/boolean.py)
top-level
Export
- ProductMJCFExportReport (from exporter/mjcf.py)
exporter namespace - ProductOBJExportReport (from exporter/obj.py)
exporter namespace - ProductSTEPExportReport (from exporter/step.py)
exporter namespace - ProductSTLExportReport (from exporter/stl.py)
exporter namespace - export_product_package_to_mjcf (from exporter/mjcf.py)
exporter namespace - export_product_package_to_obj (from exporter/obj.py)
exporter namespace - export_product_package_to_step (from exporter/step.py)
exporter namespace - export_product_package_to_stl (from exporter/stl.py)
exporter namespace
Translator Backends
- FreeCADTranslator (from translator/freecad_translator/translator.py)
translator backend - Fusion360Translator (from translator/fusion360_translator/translator.py)
translator backend - SolidWorksTranslator (from translator/solidworks_translator/translator.py)
translator backend - translate_product_package_to_fcstd (from translator/freecad_translator/api.py)
translator backend - translate_product_package_to_freecad_script (from translator/freecad_translator/api.py)
translator backend - translate_product_package_to_fusion360_script (from translator/fusion360_translator/api.py)
translator backend - translate_product_package_to_solidworks_script (from translator/solidworks_translator/api.py)
translator backend
Math Helpers
- BSplineFitResult (from math.py)
top-level - fit_cubic_bspline_control_points (from math.py)
top-level
Modeling Graph and Replay
- GraphSession (from recording/graph.py)
top-level - export_graph_json (from recording/serializer.py)
top-level - export_model_json (from recording/serializer.py)
top-level - export_session_json (from recording/serializer.py)
top-level - get_active_session (from recording/graph.py)
top-level - import_graph_json (from recording/serializer.py)
top-level - import_model_json (from recording/serializer.py)
top-level - import_session_json (from recording/serializer.py)
top-level - replay_graph (from recording/serializer.py)
top-level - replay_model_json (from recording/serializer.py)
top-level - suspend_graph_recording (from recording/graph.py)
top-level
Expressions and Parameters
- Const (from params/expr.py)
top-level - DimensionTolerance (from params/expr.py)
top-level - Expr (from params/expr.py)
top-level - ExpressionGraph (from params/expr.py)
top-level - ToleranceAnalysis (from params/tolerance.py)
top-level - ToleranceAnalysisError (from params/tolerance.py)
top-level - ToleranceCheck (from params/tolerance.py)
top-level - ToleranceContribution (from params/tolerance.py)
top-level - ToleranceGraph (from params/tolerance.py)
top-level - ToleranceReport (from params/tolerance.py)
top-level - ToleranceRequirement (from params/tolerance.py)
top-level - ToleranceValidationError (from params/tolerance.py)
top-level - Var (from params/expr.py)
top-level - analyze_tolerance (from params/tolerance.py)
top-level - check_tolerance (from params/tolerance.py)
top-level - const (from params/expr.py)
top-level - var (from params/expr.py)
top-level
Physical Units
- Dimension (from params/units.py)
top-level - Unit (from params/units.py)
top-level - UnitValidationError (from params/units.py)
top-level - canonical_unit_for_dimension (from params/units.py)
top-level - convert_value (from params/units.py)
top-level - expression_uses_units (from params/units.py)
top-level - get_unit (from params/units.py)
top-level - infer_dimension (from params/units.py)
top-level
Types and Errors
- SimpleCADError (from errors.py)
top-level - Sketch (from sketch.py)
top-level - SketchConstraint (from sketch.py)
top-level - SketchConstraintDiagnostic (from sketch.py)
top-level - SketchRef (from sketch.py)
top-level - SketchSolveResult (from sketch.py)
top-level
Advanced Features
- chamfer_rsolid (from operators/features.py)
top-level - fillet_rsolid (from operators/features.py)
top-level - helical_sweep_rsolid (from operators/features.py)
top-level - shell_rsolid (from operators/features.py)
top-level
STEP/BREP Inspection
- BRepComparison (from inspect/brep/compare.py)
inspection namespace - BRepEntityError (from inspect/brep/model.py)
inspection namespace - BRepInspection (from inspect/brep/inspect.py)
inspection namespace - BRepModel (from inspect/brep/model.py)
inspection namespace - EntityInspectionParity (from inspect/brep/parity.py)
inspection namespace - InspectionSummaryComparison (from inspect/brep/compare.py)
inspection namespace - SliceSpec (from inspect/brep/slices.py)
inspection namespace - clear_step_model_cache_rnone (from inspect/brep/model.py)
inspection namespace - compare_boundary_distance_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_entities_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_global_properties_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_inspections_rinspectionsummarycomparison (from inspect/brep/compare.py)
inspection namespace - compare_material_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_material_region_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_model_to_inspection_rentityinspectionparity (from inspect/brep/parity.py)
inspection namespace - compare_sections_batch_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_sections_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - compare_shape_slices_rslicecomparison (from inspect/brep/slices.py)
inspection namespace - compare_shapes_rbrepcomparison (from inspect/brep/compare.py)
inspection namespace - compare_step_slices_rslicecomparison (from inspect/brep/slices.py)
inspection namespace - compare_step_to_inspection_rentityinspectionparity (from inspect/brep/parity.py)
inspection namespace - compare_steps_rbrepcomparison (from inspect/brep/compare.py)
inspection namespace - copy_step_region_rpath (from inspect/brep/snapshots.py)
inspection namespace - evaluate_reconstruction_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - fit_face_analytic_rdescriptor (from inspect/brep/fitting.py)
inspection namespace - index_shape_rbrepmodel (from inspect/brep/model.py)
inspection namespace - inspect_difference_regions_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - inspect_face_boundaries_rdescriptor (from inspect/brep/queries.py)
inspection namespace - inspect_manufacturing_hints_rdescriptor (from inspect/brep/manufacturing.py)
inspection namespace - inspect_nearby_entities_rdescriptor (from inspect/brep/diagnostics.py)
inspection namespace - inspect_point_rdescriptor (from inspect/brep/queries.py)
inspection namespace - inspect_section_rdescriptor (from inspect/brep/queries.py)
inspection namespace - inspect_shape_rbrepinspection (from inspect/brep/inspect.py)
inspection namespace - inspect_step_components_rdescriptorlist (from inspect/brep/render.py)
inspection namespace - inspect_step_entity_rdescriptor (from inspect/brep/model.py)
inspection namespace - inspect_step_rbrepinspection (from inspect/brep/inspect.py)
inspection namespace - inspect_step_rsummary (from inspect/brep/model.py)
inspection namespace - inspect_topology_neighborhood_rdescriptor (from inspect/brep/queries.py)
inspection namespace - inspect_topology_rdescriptor (from inspect/brep/topology_inspection.py)
inspection namespace - load_step_rbrepmodel (from inspect/brep/model.py)
inspection namespace - load_step_rshape (from inspect/brep/io.py)
inspection namespace - make_center_slice_specs_rslicespeclist (from inspect/brep/slices.py)
inspection namespace - measure_entity_relation_rdescriptor (from inspect/brep/queries.py)
inspection namespace - measure_shape_mass_rtuple (from inspect/brep/io.py)
inspection namespace - render_entity_kind_maps_rpath (from inspect/brep/render.py)
inspection namespace - render_entity_map_rpath (from inspect/brep/render.py)
inspection namespace - render_manufacturing_hints_rpath (from inspect/brep/manufacturing.py)
inspection namespace - render_region_rpath (from inspect/brep/render.py)
inspection namespace - render_shape_views_rpath (from inspect/brep/render.py)
inspection namespace - render_step_comparison_rpath (from inspect/brep/render.py)
inspection namespace - render_step_components_colored_rpath (from inspect/brep/render.py)
inspection namespace - render_step_components_rpath (from inspect/brep/render.py)
inspection namespace - render_step_views_rpath (from inspect/brep/render.py)
inspection namespace - select_region_entities_rdescriptor (from inspect/brep/queries.py)
inspection namespace - track_section_contours_rdescriptor (from inspect/brep/section_tracking.py)
inspection namespace - validate_step_roundtrip_rdescriptor (from inspect/brep/persistence.py)
inspection namespace
Product Build and Cache
- AssemblyBuildResult (from build/results.py)
top-level - AssemblySolveReport (from build/incremental_solver.py)
top-level - CacheEntry (from cache/store.py)
top-level - CacheLockTimeout (from cache/store.py)
top-level - CacheMode (from cache/policy.py)
top-level - CachePolicy (from cache/policy.py)
top-level - CacheRecord (from cache/records.py)
top-level - CacheReport (from build/results.py)
top-level - CacheStats (from cache/store.py)
top-level - ComponentSolveResult (from build/incremental_solver.py)
top-level - ContentAddressedStore (from cache/store.py)
top-level - FileInput (from build/dependencies.py)
top-level - PartBuildResult (from build/results.py)
top-level - assemble (from build/assembly_builder.py)
top-level - file_input (from build/dependencies.py)
top-level - part (from build/part_builder.py)
top-level - resolve_cache_policy (from cache/policy.py)
top-level
Reconstruction Evaluation
- EvaluationConfig (from inverse_engineer/brep/evaluation.py)
reverse-engineering evaluator - SectionEvaluationConfig (from inverse_engineer/brep/evaluation.py)
reverse-engineering evaluator - classify_benchmark_result (from inverse_engineer/brep/evaluation.py)
reverse-engineering evaluator - inspect_benchmark_step (from inverse_engineer/brep/evaluation.py)
reverse-engineering evaluator - run_comparison_bundle (from inverse_engineer/brep/evaluation.py)
reverse-engineering evaluator
Engineering Drawings
- CenterDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - DatumDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - DimDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - LeaderDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - Resolved (from dxf_engine/planner.py)
submodule:dxf_engine/planner - SheetDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - SheetPlan (from dxf_engine/planner.py)
submodule:dxf_engine/planner - ViewDecl (from dxf_engine/model.py)
submodule:dxf_engine/model - render_plan (from dxf_engine/render.py)
submodule:dxf_engine/render
Other
- Assembly (from product/assembly.py)
top-level - CaptureResult (from product/capture.py)
top-level - Component (from product/assembly.py)
top-level - Connector (from product/connector.py)
top-level - ConnectorAnchor (from product/connector.py)
top-level - ConnectorRef (from product/connector.py)
top-level - Constraint (from product/constraint.py)
top-level - ConstraintReport (from product/constraint.py)
top-level - ConstraintResidual (from product/constraint.py)
top-level - GeometryRef (from product/connector.py)
top-level - Material (from product/material.py)
top-level - Part (from product/part.py)
top-level - Placement (from product/placement.py)
top-level - ProductPackage (from product/packages.py)
top-level - ProductPackageError (from product/packages.py)
top-level - PublicConnectorRef (from product/assembly.py)
top-level - ScalarLimit (from product/constraint.py)
top-level - SemanticDelta (from topology/model.py)
top-level - SemanticRef (from topology/model.py)
top-level - SurfaceBoundary (from operators/geometry.py)
top-level - SurfaceFillingSettings (from operators/geometry.py)
top-level - add_arc_rsketch (from operators/sketch.py)
top-level - add_belt_constraint_rassembly (from operators/product.py)
top-level - add_bspline_rsketch (from operators/sketch.py)
top-level - add_circle_rsketch (from operators/sketch.py)
top-level - add_component_rassembly (from operators/product.py)
top-level - add_connector_rpart (from operators/product.py)
top-level - add_ellipse_rsketch (from operators/sketch.py)
top-level - add_fixed_constraint_rassembly (from operators/product.py)
top-level - add_gear_constraint_rassembly (from operators/product.py)
top-level - add_line_rsketch (from operators/sketch.py)
top-level - add_point_rsketch (from operators/sketch.py)
top-level - add_prismatic_constraint_rassembly (from operators/product.py)
top-level - add_rack_pinion_constraint_rassembly (from operators/product.py)
top-level - add_revolute_constraint_rassembly (from operators/product.py)
top-level - and_ (from ql.py)
submodule:ql - assign_material_rpart (from operators/product.py)
top-level - capture (from product/capture.py)
top-level - constrain_angle_rsketch (from operators/sketch.py)
top-level - constrain_coincident_rsketch (from operators/sketch.py)
top-level - constrain_collinear_rsketch (from operators/sketch.py)
top-level - constrain_concentric_rsketch (from operators/sketch.py)
top-level - constrain_connect_rsketch (from operators/sketch.py)
top-level - constrain_diameter_rsketch (from operators/sketch.py)
top-level - constrain_distance_rsketch (from operators/sketch.py)
top-level - constrain_distance_x_rsketch (from operators/sketch.py)
top-level - constrain_distance_y_rsketch (from operators/sketch.py)
top-level - constrain_equal_length_rsketch (from operators/sketch.py)
top-level - constrain_equal_radius_rsketch (from operators/sketch.py)
top-level - constrain_fix_rsketch (from operators/sketch.py)
top-level - constrain_horizontal_rsketch (from operators/sketch.py)
top-level - constrain_length_rsketch (from operators/sketch.py)
top-level - constrain_line_distance_rsketch (from operators/sketch.py)
top-level - constrain_major_radius_rsketch (from operators/sketch.py)
top-level - constrain_midpoint_points_rsketch (from operators/sketch.py)
top-level - constrain_midpoint_rsketch (from operators/sketch.py)
top-level - constrain_minor_radius_rsketch (from operators/sketch.py)
top-level - constrain_mirror_rsketch (from operators/sketch.py)
top-level - constrain_normal_rsketch (from operators/sketch.py)
top-level - constrain_parallel_rsketch (from operators/sketch.py)
top-level - constrain_perpendicular_rsketch (from operators/sketch.py)
top-level - constrain_point_on_rsketch (from operators/sketch.py)
top-level - constrain_points_horizontal_rsketch (from operators/sketch.py)
top-level - constrain_points_vertical_rsketch (from operators/sketch.py)
top-level - constrain_radius_rsketch (from operators/sketch.py)
top-level - constrain_symmetric_rsketch (from operators/sketch.py)
top-level - constrain_tangent_rsketch (from operators/sketch.py)
top-level - constrain_vertical_rsketch (from operators/sketch.py)
top-level - explain_tag (from operators/selection.py)
top-level - fill_holes_rshell (from operators/geometry.py)
top-level - fit_point_grid_rface (from operators/geometry.py)
top-level - free_boundaries_rwirelist (from operators/geometry.py)
top-level - geo (from ql.py)
submodule:ql - get_sketch_entity_rsketchref (from operators/sketch.py)
top-level - get_sketch_point_rsketchref (from operators/sketch.py)
top-level - ground_component_rassembly (from operators/product.py)
top-level - identity_placement_rplacement (from operators/product.py)
top-level - inspect_assembly_constraints_rconstraintreport (from operators/product.py)
top-level - inspect_sketch_rsketchresult (from operators/sketch.py)
top-level - linear_pattern_rsolidlist (from operators/transform.py)
top-level - load_brep_region_rshell (from operators/geometry.py)
top-level - load_brep_region_rsolid (from operators/geometry.py)
top-level - measure_constraint_residual_rconstraintresidual (from operators/product.py)
top-level - meta (from ql.py)
submodule:ql - not_ (from ql.py)
submodule:ql - operation_event (from ql.py)
submodule:ql - or_ (from ql.py)
submodule:ql - origin_role (from ql.py)
submodule:ql - output_role (from ql.py)
submodule:ql - place_component_rassembly (from operators/product.py)
top-level - radial_pattern_rsolidlist (from operators/transform.py)
top-level - render_screenshot_rpath (from operators/features.py)
top-level - select (from ql.py)
submodule:ql - set_public_connector_rassembly (from operators/product.py)
top-level - sew_faces_rshell (from operators/geometry.py)
top-level - shells (from ql.py)
submodule:ql - solve_assembly_constraints_rassembly (from operators/product.py)
top-level - source_binding (from ql.py)
submodule:ql - source_topology (from ql.py)
submodule:ql - tag (from ql.py)
submodule:ql - trim_surface_rface (from operators/geometry.py)
top-level - twisted_sweep_rsolid (from operators/features.py)
top-level - unground_component_rassembly (from operators/product.py)
top-level - value (from ql.py)
submodule:ql