77ad2c9440
Removes src/simplecadapi/verifier (current-pose mesh penetration checks via python-fcl), its test, and the planetary-reducer collision probe example. Collision verification now lives in an external implementation outside this SDK. The python-fcl>=0.7.0.11 dependency is dropped with it: the verifier module was its only consumer. BREAKING CHANGE: scad.verifier and check_collision_rcollisionreport are no longer exported. Workflow docs mentioning 'verifier' refer to the Verifier Planner role, not this module, and are unchanged. Full suite: 1425 passed, 5 skipped.
781 lines
19 KiB
Python
781 lines
19 KiB
Python
"""SimpleCAD API: a simplified OCP-native Python CAD modeling API."""
|
|
|
|
from . import exporter, inspect, math, ql, std, surface, translator
|
|
from .artifacts import (
|
|
ArtifactLimits,
|
|
ArtifactValidationError,
|
|
AssemblyDefinition,
|
|
BlobRef,
|
|
ConnectorInterface,
|
|
FileInputSnapshot,
|
|
FeatureGraphArtifact,
|
|
InterfaceHashes,
|
|
MaterialRef,
|
|
PartDefinition,
|
|
PartInstance,
|
|
PartInterfaceDiff,
|
|
PartInterfaceSnapshot,
|
|
SourceFileSnapshot,
|
|
PartRef,
|
|
decode_assembly_definition,
|
|
diff_part_interfaces,
|
|
encode_assembly_definition,
|
|
encode_part_definition,
|
|
encode_feature_graph_artifact,
|
|
export_assembly_definition,
|
|
export_part_definition,
|
|
geometry_interface_descriptor,
|
|
geometry_interface_fingerprint,
|
|
load_assembly_definition,
|
|
load_latest_part_state,
|
|
load_feature_graph_artifact,
|
|
load_part_definition,
|
|
materialize_definition,
|
|
update_latest_part_state,
|
|
validate_assembly_definition_graph,
|
|
write_latest_part_state,
|
|
)
|
|
from .build import (
|
|
AssemblyBuildResult,
|
|
AssemblySolveReport,
|
|
CacheReport,
|
|
ComponentSolveResult,
|
|
FileInput,
|
|
PartBuildResult,
|
|
assemble,
|
|
file_input,
|
|
part,
|
|
)
|
|
from .cache import (
|
|
CacheEntry,
|
|
CacheLockTimeout,
|
|
CacheMode,
|
|
CachePolicy,
|
|
CacheRecord,
|
|
CacheStats,
|
|
ContentAddressedStore,
|
|
resolve_cache_policy,
|
|
)
|
|
from .core import (
|
|
WORLD_CS,
|
|
AnyShape,
|
|
Compound, # 核心类; 坐标系函数
|
|
CoordinateSystem,
|
|
Edge,
|
|
Face,
|
|
Shell,
|
|
SimpleWorkplane,
|
|
Solid,
|
|
TaggedMixin,
|
|
Vertex,
|
|
Wire,
|
|
get_current_cs,
|
|
)
|
|
from .errors import SimpleCADError
|
|
from .params.expr import (
|
|
Const,
|
|
DimensionTolerance,
|
|
Expr,
|
|
ExpressionGraph,
|
|
Var,
|
|
acos,
|
|
asin,
|
|
atan,
|
|
atan2,
|
|
const,
|
|
cos,
|
|
sin,
|
|
sqrt,
|
|
tan,
|
|
var,
|
|
)
|
|
from .recording.graph import (
|
|
GraphSession,
|
|
get_active_session,
|
|
suspend_graph_recording,
|
|
)
|
|
from .math import BSplineFitResult, fit_cubic_bspline_control_points
|
|
from .operators import ( # 基础几何创建; 变换操作; 3D操作; 标签和选择; 布尔运算; 导出; 高级特征操作; 其他
|
|
add_arc_rsketch,
|
|
add_belt_constraint_rassembly,
|
|
add_bspline_rsketch,
|
|
add_circle_rsketch,
|
|
add_component_rassembly,
|
|
add_connector_rpart,
|
|
add_fixed_constraint_rassembly,
|
|
add_gear_constraint_rassembly,
|
|
add_line_rsketch,
|
|
add_point_rsketch,
|
|
add_prismatic_constraint_rassembly,
|
|
add_rack_pinion_constraint_rassembly,
|
|
add_revolute_constraint_rassembly,
|
|
apply_tag,
|
|
apply_tag_rselection,
|
|
assign_material_rpart,
|
|
chamfer_rsolid,
|
|
constrain_angle_rsketch,
|
|
constrain_coincident_rsketch,
|
|
constrain_collinear_rsketch,
|
|
constrain_concentric_rsketch,
|
|
constrain_connect_rsketch,
|
|
constrain_diameter_rsketch,
|
|
constrain_distance_rsketch,
|
|
constrain_distance_x_rsketch,
|
|
constrain_distance_y_rsketch,
|
|
constrain_equal_length_rsketch,
|
|
constrain_equal_radius_rsketch,
|
|
constrain_fix_rsketch,
|
|
constrain_horizontal_rsketch,
|
|
constrain_length_rsketch,
|
|
constrain_midpoint_rsketch,
|
|
constrain_parallel_rsketch,
|
|
constrain_perpendicular_rsketch,
|
|
constrain_point_on_rsketch,
|
|
constrain_radius_rsketch,
|
|
constrain_symmetric_rsketch,
|
|
constrain_tangent_rsketch,
|
|
constrain_vertical_rsketch,
|
|
cut_rsolid,
|
|
explain_tag,
|
|
extrude_rsolid,
|
|
fillet_rsolid,
|
|
set_public_connector_rassembly,
|
|
get_sketch_entity_rsketchref,
|
|
get_sketch_point_rsketchref,
|
|
ground_component_rassembly,
|
|
helical_sweep_rsolid,
|
|
identity_placement_rplacement,
|
|
inspect_assembly_constraints_rconstraintreport,
|
|
inspect_sketch_rsketchresult,
|
|
intersect_rsolid,
|
|
linear_pattern_rsolidlist,
|
|
list_tags,
|
|
loft_rsolid,
|
|
make_2d_cut_rface,
|
|
make_2d_intersect_rface,
|
|
make_2d_union_rface,
|
|
make_angle_arc_redge,
|
|
make_angle_arc_rwire,
|
|
make_assembly_rassembly,
|
|
make_box_rsolid,
|
|
make_circle_redge,
|
|
make_circle_rface,
|
|
make_circle_rwire,
|
|
make_compound_from_assembly_rcompound,
|
|
make_cone_rsolid,
|
|
make_connector_ref_rconnectorref,
|
|
make_cylinder_rsolid,
|
|
make_edge_connector_rconnector,
|
|
make_face_connector_rconnector,
|
|
make_face_from_sketch_rface,
|
|
make_face_from_wire_rface,
|
|
make_face_from_wires_rface,
|
|
make_helix_redge,
|
|
make_helix_rwire,
|
|
make_interpolated_spline_redge,
|
|
make_interpolated_spline_rwire,
|
|
make_line_redge,
|
|
make_material_rmaterial,
|
|
make_part_rpart,
|
|
make_periodic_spline_rwire,
|
|
make_placement_connector_rconnector,
|
|
make_placement_rplacement,
|
|
make_point_rvertex,
|
|
make_polyline_rwire,
|
|
make_rectangle_rface,
|
|
make_rectangle_rwire,
|
|
make_scalar_limit_rscalarlimit,
|
|
make_segment_redge,
|
|
make_segment_rwire,
|
|
make_sketch_rsketch,
|
|
make_sphere_rsolid,
|
|
make_spline_redge,
|
|
make_spline_rwire,
|
|
make_three_point_arc_redge,
|
|
make_three_point_arc_rwire,
|
|
make_vertex_connector_rconnector,
|
|
make_wire_from_edges_rwire,
|
|
make_wire_from_sketch_rwire,
|
|
measure_constraint_residual_rconstraintresidual,
|
|
mirror_shape,
|
|
place_component_rassembly,
|
|
radial_pattern_rsolidlist,
|
|
render_screenshot_rpath,
|
|
revolve_rsolid,
|
|
rotate_shape,
|
|
select_edges_by_tag,
|
|
select_faces_by_tag,
|
|
shell_rsolid,
|
|
load_brep_region_rsolid,
|
|
load_brep_region_rshell,
|
|
solve_assembly_constraints_rassembly,
|
|
sweep_rsolid,
|
|
translate_shape,
|
|
twisted_sweep_rsolid,
|
|
unground_component_rassembly,
|
|
union_rsolid,
|
|
)
|
|
from .product.assembly import Assembly, Component, PublicConnectorRef
|
|
from .product.connector import Connector, ConnectorAnchor, ConnectorRef, GeometryRef
|
|
from .product.constraint import Constraint, ConstraintReport, ConstraintResidual, ScalarLimit
|
|
from .product.material import Material
|
|
from .product.part import Part
|
|
from .product.placement import Placement
|
|
from .product.capture import CaptureResult, capture
|
|
from .product.packages import (
|
|
PRODUCT_PACKAGE_SCHEMA_VERSION,
|
|
ProductPackage,
|
|
ProductPackageError,
|
|
build_product_package,
|
|
encode_product_package,
|
|
load_product_package,
|
|
read_product_package,
|
|
validate_product_package,
|
|
)
|
|
from .recording.serializer import (
|
|
export_graph_json,
|
|
export_model_json,
|
|
export_session_json,
|
|
import_graph_json,
|
|
import_model_json,
|
|
import_session_json,
|
|
replay_graph,
|
|
replay_model_json,
|
|
)
|
|
from .sketch import (
|
|
Sketch,
|
|
SketchConstraint,
|
|
SketchConstraintDiagnostic,
|
|
SketchRef,
|
|
SketchSolveResult,
|
|
)
|
|
from .sketch_solver import (
|
|
SketchSolverBackend,
|
|
SketchSolverOptions,
|
|
get_default_sketch_solver_backend,
|
|
get_sketch_solver_backend,
|
|
register_sketch_solver_backend,
|
|
set_default_sketch_solver_backend,
|
|
sketch_solver_backend,
|
|
)
|
|
from .surface import (
|
|
SurfaceBoundary,
|
|
SurfaceFillingSettings,
|
|
fill_holes_rshell,
|
|
fit_point_grid_rface,
|
|
free_boundaries_rwirelist,
|
|
loft_rshell,
|
|
make_bezier_surface_rface,
|
|
make_cylindrical_surface_rface,
|
|
make_gordon_surface_rface,
|
|
make_ruled_surface_rface,
|
|
make_surface_patch_rface,
|
|
make_solid_from_shell_rsolid,
|
|
sew_faces_rshell,
|
|
trim_surface_rface,
|
|
)
|
|
from .topology import tagging # noqa: F401 (visible namespace: simplecadapi.tagging)
|
|
from .topology.tagging import (
|
|
LineageDerivation,
|
|
LineagePolicy,
|
|
TagAttachment,
|
|
TagBinding,
|
|
TagBindingScope,
|
|
TagCertainty,
|
|
TagEvidence,
|
|
TagEvidenceKind,
|
|
TagLifecycle,
|
|
TagLineageWitness,
|
|
TagProducer,
|
|
TagProducerKind,
|
|
TagPropagation,
|
|
TagScope,
|
|
TagTarget,
|
|
TagTargetKind,
|
|
TopologyPropagation,
|
|
)
|
|
from .params.tolerance import (
|
|
ToleranceAnalysis,
|
|
ToleranceAnalysisError,
|
|
ToleranceCheck,
|
|
ToleranceContribution,
|
|
ToleranceGraph,
|
|
ToleranceMethod,
|
|
ToleranceReport,
|
|
ToleranceRequirement,
|
|
ToleranceValidationError,
|
|
analyze_tolerance,
|
|
check_tolerance,
|
|
)
|
|
from .topology import SemanticDelta, SemanticRef
|
|
from .topology.tracking import TrackingPolicy
|
|
from .params.units import (
|
|
ANGLE,
|
|
AREA,
|
|
CM,
|
|
CUBIC_CM,
|
|
CUBIC_FOOT,
|
|
CUBIC_INCH,
|
|
CUBIC_M,
|
|
CUBIC_MM,
|
|
DEGREE,
|
|
DIMENSIONLESS,
|
|
FOOT,
|
|
INCH,
|
|
LENGTH,
|
|
MM,
|
|
ONE,
|
|
PERCENT,
|
|
RADIAN,
|
|
SQUARE_CM,
|
|
SQUARE_FOOT,
|
|
SQUARE_INCH,
|
|
SQUARE_M,
|
|
SQUARE_MM,
|
|
VOLUME,
|
|
Dimension,
|
|
M,
|
|
Unit,
|
|
UnitLike,
|
|
UnitValidationError,
|
|
canonical_unit_for_dimension,
|
|
convert_value,
|
|
expression_uses_units,
|
|
get_unit,
|
|
infer_dimension,
|
|
)
|
|
|
|
# Avoid advertising internal implementation submodules from the top-level package
|
|
# namespace. They remain importable as `simplecadapi.<module>` when needed.
|
|
for _name in ("topology", "recording", "params", "product", "_internal"):
|
|
globals().pop(_name, None)
|
|
|
|
__author__ = "SimpleCAD API Team"
|
|
__description__ = "Simplified OCP-native CAD modeling Python API"
|
|
|
|
# 便于使用的别名
|
|
Workplane = SimpleWorkplane
|
|
|
|
# 创建函数别名
|
|
create_angle_arc = make_angle_arc_redge
|
|
create_angle_arc_wire = make_angle_arc_rwire
|
|
create_arc = make_three_point_arc_redge
|
|
create_arc_wire = make_three_point_arc_rwire
|
|
create_box = make_box_rsolid
|
|
create_circle_edge = make_circle_redge
|
|
create_circle_face = make_circle_rface
|
|
create_circle_wire = make_circle_rwire
|
|
create_cylinder = make_cylinder_rsolid
|
|
create_face_from_wire = make_face_from_wire_rface
|
|
create_face_from_wires = make_face_from_wires_rface
|
|
create_helix = make_helix_redge
|
|
create_helix_wire = make_helix_rwire
|
|
create_interpolated_spline = make_interpolated_spline_redge
|
|
create_interpolated_spline_wire = make_interpolated_spline_rwire
|
|
create_line = make_line_redge
|
|
create_periodic_spline_wire = make_periodic_spline_rwire
|
|
create_point = make_point_rvertex
|
|
create_polyline_wire = make_polyline_rwire
|
|
create_rectangle_face = make_rectangle_rface
|
|
create_rectangle_wire = make_rectangle_rwire
|
|
create_segment = make_segment_redge
|
|
create_segment_wire = make_segment_rwire
|
|
create_sphere = make_sphere_rsolid
|
|
create_spline = make_spline_redge
|
|
create_spline_wire = make_spline_rwire
|
|
create_wire_from_edges = make_wire_from_edges_rwire
|
|
|
|
# 变换操作别名
|
|
rotate = rotate_shape
|
|
translate = translate_shape
|
|
|
|
# 3D操作别名
|
|
extrude = extrude_rsolid
|
|
revolve = revolve_rsolid
|
|
|
|
# 布尔运算别名
|
|
cut = cut_rsolid
|
|
intersect = intersect_rsolid
|
|
union = union_rsolid
|
|
|
|
|
|
__all__ = [
|
|
"exporter",
|
|
# 核心类
|
|
"CoordinateSystem",
|
|
"SimpleWorkplane",
|
|
"Workplane",
|
|
"Vertex",
|
|
"Edge",
|
|
"Wire",
|
|
"Face",
|
|
"Shell",
|
|
"Solid",
|
|
"Compound",
|
|
"AnyShape",
|
|
# Surface construction
|
|
"SurfaceBoundary",
|
|
"SurfaceFillingSettings",
|
|
"make_bezier_surface_rface",
|
|
"make_cylindrical_surface_rface",
|
|
"fit_point_grid_rface",
|
|
"make_ruled_surface_rface",
|
|
"make_gordon_surface_rface",
|
|
"make_surface_patch_rface",
|
|
"loft_rshell",
|
|
"trim_surface_rface",
|
|
"sew_faces_rshell",
|
|
"make_solid_from_shell_rsolid",
|
|
"free_boundaries_rwirelist",
|
|
"fill_holes_rshell",
|
|
"TaggedMixin",
|
|
# 坐标系
|
|
"get_current_cs",
|
|
"WORLD_CS",
|
|
# 基础几何创建
|
|
"make_angle_arc_redge",
|
|
"make_angle_arc_rwire",
|
|
"make_box_rsolid",
|
|
"load_brep_region_rsolid",
|
|
"load_brep_region_rshell",
|
|
"make_circle_redge",
|
|
"make_circle_rface",
|
|
"make_circle_rwire",
|
|
"make_cone_rsolid",
|
|
"make_cylinder_rsolid",
|
|
"make_face_from_sketch_rface",
|
|
"make_face_from_wire_rface",
|
|
"make_face_from_wires_rface",
|
|
"make_helix_redge",
|
|
"make_helix_rwire",
|
|
"make_interpolated_spline_redge",
|
|
"make_interpolated_spline_rwire",
|
|
"make_line_redge",
|
|
"make_periodic_spline_rwire",
|
|
"make_point_rvertex",
|
|
"make_polyline_rwire",
|
|
"make_rectangle_rface",
|
|
"make_rectangle_rwire",
|
|
"make_segment_redge",
|
|
"make_segment_rwire",
|
|
"make_sphere_rsolid",
|
|
"make_sketch_rsketch",
|
|
"make_spline_redge",
|
|
"make_spline_rwire",
|
|
"make_three_point_arc_redge",
|
|
"make_three_point_arc_rwire",
|
|
"make_wire_from_edges_rwire",
|
|
"make_wire_from_sketch_rwire",
|
|
"make_material_rmaterial",
|
|
"make_placement_rplacement",
|
|
"identity_placement_rplacement",
|
|
"make_part_rpart",
|
|
"assign_material_rpart",
|
|
"make_assembly_rassembly",
|
|
"add_component_rassembly",
|
|
"place_component_rassembly",
|
|
"make_compound_from_assembly_rcompound",
|
|
"make_face_connector_rconnector",
|
|
"make_edge_connector_rconnector",
|
|
"make_vertex_connector_rconnector",
|
|
"make_placement_connector_rconnector",
|
|
"add_connector_rpart",
|
|
"set_public_connector_rassembly",
|
|
"make_connector_ref_rconnectorref",
|
|
"make_scalar_limit_rscalarlimit",
|
|
"ground_component_rassembly",
|
|
"unground_component_rassembly",
|
|
"add_fixed_constraint_rassembly",
|
|
"add_revolute_constraint_rassembly",
|
|
"add_prismatic_constraint_rassembly",
|
|
"add_gear_constraint_rassembly",
|
|
"add_belt_constraint_rassembly",
|
|
"add_rack_pinion_constraint_rassembly",
|
|
"solve_assembly_constraints_rassembly",
|
|
"measure_constraint_residual_rconstraintresidual",
|
|
"inspect_assembly_constraints_rconstraintreport",
|
|
# Sketch construction and constraints
|
|
"add_point_rsketch",
|
|
"add_circle_rsketch",
|
|
"add_line_rsketch",
|
|
"add_arc_rsketch",
|
|
"add_bspline_rsketch",
|
|
"constrain_angle_rsketch",
|
|
"constrain_coincident_rsketch",
|
|
"constrain_collinear_rsketch",
|
|
"constrain_concentric_rsketch",
|
|
"constrain_connect_rsketch",
|
|
"constrain_diameter_rsketch",
|
|
"constrain_distance_rsketch",
|
|
"constrain_distance_x_rsketch",
|
|
"constrain_distance_y_rsketch",
|
|
"constrain_equal_length_rsketch",
|
|
"constrain_equal_radius_rsketch",
|
|
"constrain_fix_rsketch",
|
|
"constrain_horizontal_rsketch",
|
|
"constrain_length_rsketch",
|
|
"constrain_midpoint_rsketch",
|
|
"constrain_parallel_rsketch",
|
|
"constrain_perpendicular_rsketch",
|
|
"constrain_point_on_rsketch",
|
|
"constrain_radius_rsketch",
|
|
"constrain_symmetric_rsketch",
|
|
"constrain_tangent_rsketch",
|
|
"constrain_vertical_rsketch",
|
|
"get_sketch_entity_rsketchref",
|
|
"get_sketch_point_rsketchref",
|
|
"inspect_sketch_rsketchresult",
|
|
# 变换操作
|
|
"mirror_shape",
|
|
"rotate_shape",
|
|
"translate_shape",
|
|
# 3D操作
|
|
"extrude_rsolid",
|
|
"helical_sweep_rsolid",
|
|
"loft_rsolid",
|
|
"revolve_rsolid",
|
|
"sweep_rsolid",
|
|
"twisted_sweep_rsolid",
|
|
# 标签和选择
|
|
"apply_tag",
|
|
"apply_tag_rselection",
|
|
"explain_tag",
|
|
"list_tags",
|
|
"select_edges_by_tag",
|
|
"select_faces_by_tag",
|
|
# 布尔运算
|
|
"cut_rsolid",
|
|
"make_2d_cut_rface",
|
|
"intersect_rsolid",
|
|
"make_2d_intersect_rface",
|
|
"union_rsolid",
|
|
"make_2d_union_rface",
|
|
# 导出
|
|
"replay_model_json",
|
|
"render_screenshot_rpath",
|
|
# 高级特征操作
|
|
"chamfer_rsolid",
|
|
"fillet_rsolid",
|
|
"shell_rsolid",
|
|
# 其他
|
|
"linear_pattern_rsolidlist",
|
|
"inspect",
|
|
"math",
|
|
"radial_pattern_rsolidlist",
|
|
"ql",
|
|
"std",
|
|
"translator",
|
|
"GraphSession",
|
|
"get_active_session",
|
|
"assemble",
|
|
"AssemblyBuildResult",
|
|
"AssemblySolveReport",
|
|
"ComponentSolveResult",
|
|
"part",
|
|
"file_input",
|
|
"PartBuildResult",
|
|
"CacheReport",
|
|
"suspend_graph_recording",
|
|
"export_graph_json",
|
|
"import_graph_json",
|
|
"replay_graph",
|
|
"export_session_json",
|
|
"import_session_json",
|
|
"CaptureResult",
|
|
"capture",
|
|
"PRODUCT_PACKAGE_SCHEMA_VERSION",
|
|
"ProductPackage",
|
|
"ProductPackageError",
|
|
"build_product_package",
|
|
"encode_product_package",
|
|
"read_product_package",
|
|
"validate_product_package",
|
|
"load_product_package",
|
|
"export_model_json",
|
|
"AssemblyDefinition",
|
|
"ArtifactLimits",
|
|
"ArtifactValidationError",
|
|
"BlobRef",
|
|
"ConnectorInterface",
|
|
"FileInput",
|
|
"FileInputSnapshot",
|
|
"InterfaceHashes",
|
|
"FeatureGraphArtifact",
|
|
"SourceFileSnapshot",
|
|
"encode_feature_graph_artifact",
|
|
"load_feature_graph_artifact",
|
|
"MaterialRef",
|
|
"PartInterfaceDiff",
|
|
"PartInterfaceSnapshot",
|
|
"PartDefinition",
|
|
"PartInstance",
|
|
"PartRef",
|
|
"CacheEntry",
|
|
"decode_assembly_definition",
|
|
"encode_assembly_definition",
|
|
"export_assembly_definition",
|
|
"load_assembly_definition",
|
|
"materialize_definition",
|
|
"validate_assembly_definition_graph",
|
|
"encode_part_definition",
|
|
"export_part_definition",
|
|
"load_part_definition",
|
|
"diff_part_interfaces",
|
|
"geometry_interface_descriptor",
|
|
"geometry_interface_fingerprint",
|
|
"load_latest_part_state",
|
|
"update_latest_part_state",
|
|
"write_latest_part_state",
|
|
"CacheLockTimeout",
|
|
"CacheMode",
|
|
"CachePolicy",
|
|
"CacheRecord",
|
|
"CacheStats",
|
|
"ContentAddressedStore",
|
|
"resolve_cache_policy",
|
|
"import_model_json",
|
|
"Expr",
|
|
"Var",
|
|
"Const",
|
|
"ExpressionGraph",
|
|
"DimensionTolerance",
|
|
"Dimension",
|
|
"Unit",
|
|
"UnitLike",
|
|
"UnitValidationError",
|
|
"DIMENSIONLESS",
|
|
"LENGTH",
|
|
"AREA",
|
|
"VOLUME",
|
|
"ANGLE",
|
|
"ONE",
|
|
"PERCENT",
|
|
"MM",
|
|
"CM",
|
|
"M",
|
|
"INCH",
|
|
"FOOT",
|
|
"DEGREE",
|
|
"RADIAN",
|
|
"SQUARE_MM",
|
|
"SQUARE_CM",
|
|
"SQUARE_M",
|
|
"SQUARE_INCH",
|
|
"SQUARE_FOOT",
|
|
"CUBIC_MM",
|
|
"CUBIC_CM",
|
|
"CUBIC_M",
|
|
"CUBIC_INCH",
|
|
"CUBIC_FOOT",
|
|
"ToleranceAnalysis",
|
|
"ToleranceAnalysisError",
|
|
"ToleranceCheck",
|
|
"ToleranceContribution",
|
|
"ToleranceGraph",
|
|
"ToleranceMethod",
|
|
"ToleranceReport",
|
|
"ToleranceRequirement",
|
|
"ToleranceValidationError",
|
|
"BSplineFitResult",
|
|
"acos",
|
|
"asin",
|
|
"atan",
|
|
"atan2",
|
|
"const",
|
|
"analyze_tolerance",
|
|
"check_tolerance",
|
|
"canonical_unit_for_dimension",
|
|
"convert_value",
|
|
"expression_uses_units",
|
|
"get_unit",
|
|
"infer_dimension",
|
|
"cos",
|
|
"sin",
|
|
"sqrt",
|
|
"tan",
|
|
"var",
|
|
"fit_cubic_bspline_control_points",
|
|
"Sketch",
|
|
"SketchConstraint",
|
|
"SketchConstraintDiagnostic",
|
|
"SketchRef",
|
|
"SketchSolveResult",
|
|
"SketchSolverBackend",
|
|
"SketchSolverOptions",
|
|
"get_default_sketch_solver_backend",
|
|
"get_sketch_solver_backend",
|
|
"register_sketch_solver_backend",
|
|
"set_default_sketch_solver_backend",
|
|
"sketch_solver_backend",
|
|
"LineageDerivation",
|
|
"LineagePolicy",
|
|
"TagAttachment",
|
|
"TagBinding",
|
|
"TagBindingScope",
|
|
"TagCertainty",
|
|
"TagEvidence",
|
|
"TagEvidenceKind",
|
|
"TagLifecycle",
|
|
"TagLineageWitness",
|
|
"TagProducer",
|
|
"TagProducerKind",
|
|
"TagPropagation",
|
|
"TagScope",
|
|
"TagTarget",
|
|
"TagTargetKind",
|
|
"TopologyPropagation",
|
|
"TrackingPolicy",
|
|
"SemanticRef",
|
|
"SemanticDelta",
|
|
"SimpleCADError",
|
|
"Assembly",
|
|
"Component",
|
|
"PublicConnectorRef",
|
|
"Connector",
|
|
"ConnectorAnchor",
|
|
"ConnectorRef",
|
|
"Constraint",
|
|
"ConstraintReport",
|
|
"ConstraintResidual",
|
|
"GeometryRef",
|
|
"Material",
|
|
"Part",
|
|
"Placement",
|
|
"ScalarLimit",
|
|
# 别名
|
|
"create_angle_arc",
|
|
"create_angle_arc_wire",
|
|
"create_arc",
|
|
"create_arc_wire",
|
|
"create_box",
|
|
"create_circle_edge",
|
|
"create_circle_face",
|
|
"create_circle_wire",
|
|
"create_cylinder",
|
|
"create_face_from_wire",
|
|
"create_face_from_wires",
|
|
"create_helix",
|
|
"create_helix_wire",
|
|
"create_interpolated_spline",
|
|
"create_interpolated_spline_wire",
|
|
"create_line",
|
|
"create_periodic_spline_wire",
|
|
"create_point",
|
|
"create_polyline_wire",
|
|
"create_rectangle_face",
|
|
"create_rectangle_wire",
|
|
"create_segment",
|
|
"create_segment_wire",
|
|
"create_sphere",
|
|
"create_spline",
|
|
"create_spline_wire",
|
|
"create_wire_from_edges",
|
|
"cut",
|
|
"extrude",
|
|
"intersect",
|
|
"revolve",
|
|
"rotate",
|
|
"translate",
|
|
"union",
|
|
]
|