- CONTRIBUTING.md: build, the test layers, golden policy, format, error, GIL, thread-safety and parity rules. - docs/READING_ORDER.md and docs/LANDING_PLAN.md (+ tools/landing_plan.py): how to read the tree, and 10 PRs that account for every file of the port (a plan: the stacked branches were not created or built one by one). - README.md replaced; ARCHITECTURE.md and NATIVE_PROGRESS.md corrected; AGENTS.md and HANDOFF.md removed (what was still true moved into the human docs); PORTING_STATUS.md marked as a stale snapshot. - tests/python/ref.py no longer hard-codes the maintainer's home: SCAD_REF_PYTHON, else the checkout next to this one. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
17 KiB
Porting status (snapshot, not maintained)
Generated by python tools/gen_status.py --cpp-names <json> --out PORTING_STATUS.md (see the docstring of
tools/gen_status.py) from the 2.2.6 reference package on OCP; it lists every public operator of simplecadapi.operators
and whether simplecadapi._cpp exports the name. This copy is from the first port and is stale: the three todo rows
(raise_open_wire_failure, render_failure_evidence, render_screenshot_rpath) are provided today by the Python adapter
(src/simplecadapi/_glue, _cpp/screenshot.py) and src/ops/geometry/diagnostics.cpp. done means "the name is
exported", not "aligned": alignment is decided by the golden parity tests and the old SDK suite (see CONTRIBUTING.md,
section "Status and other generated files"). Do not edit the table by hand.
Operators: 156, done: 153
| Python operator | Python module | Area | Status |
|---|---|---|---|
add_arc_rsketch |
sketch | sketch | done |
add_belt_constraint_rassembly |
product | product | done |
add_bspline_rsketch |
sketch | sketch | done |
add_circle_rsketch |
sketch | sketch | done |
add_component_rassembly |
product | product | done |
add_connector_rpart |
product | product | done |
add_ellipse_rsketch |
sketch | sketch | done |
add_fixed_constraint_rassembly |
product | product | done |
add_gear_constraint_rassembly |
product | product | done |
add_line_rsketch |
sketch | sketch | done |
add_point_rsketch |
sketch | sketch | done |
add_prismatic_constraint_rassembly |
product | product | done |
add_rack_pinion_constraint_rassembly |
product | product | done |
add_revolute_constraint_rassembly |
product | product | done |
apply_tag |
selection | semantic | done |
apply_tag_rselection |
selection | semantic | done |
assert_blend_volume_monotonic |
_diagnostics | _diagnostics | done |
assign_material_rpart |
product | product | done |
boolean_rsolidlist |
boolean | ops-features | done |
chamfer_rsolid |
features | ops-features | done |
constrain_angle_rsketch |
sketch | sketch | done |
constrain_coincident_rsketch |
sketch | sketch | done |
constrain_collinear_rsketch |
sketch | sketch | done |
constrain_concentric_rsketch |
sketch | sketch | done |
constrain_connect_rsketch |
sketch | sketch | done |
constrain_diameter_rsketch |
sketch | sketch | done |
constrain_distance_rsketch |
sketch | sketch | done |
constrain_distance_x_rsketch |
sketch | sketch | done |
constrain_distance_y_rsketch |
sketch | sketch | done |
constrain_equal_length_rsketch |
sketch | sketch | done |
constrain_equal_radius_rsketch |
sketch | sketch | done |
constrain_fix_rsketch |
sketch | sketch | done |
constrain_horizontal_rsketch |
sketch | sketch | done |
constrain_length_rsketch |
sketch | sketch | done |
constrain_line_distance_rsketch |
sketch | sketch | done |
constrain_major_radius_rsketch |
sketch | sketch | done |
constrain_midpoint_points_rsketch |
sketch | sketch | done |
constrain_midpoint_rsketch |
sketch | sketch | done |
constrain_minor_radius_rsketch |
sketch | sketch | done |
constrain_mirror_rsketch |
sketch | sketch | done |
constrain_normal_rsketch |
sketch | sketch | done |
constrain_parallel_rsketch |
sketch | sketch | done |
constrain_perpendicular_rsketch |
sketch | sketch | done |
constrain_point_on_rsketch |
sketch | sketch | done |
constrain_points_horizontal_rsketch |
sketch | sketch | done |
constrain_points_vertical_rsketch |
sketch | sketch | done |
constrain_radius_rsketch |
sketch | sketch | done |
constrain_symmetric_rsketch |
sketch | sketch | done |
constrain_tangent_rsketch |
sketch | sketch | done |
constrain_vertical_rsketch |
sketch | sketch | done |
cut_rsolid |
boolean | ops-features | done |
diagnose_blend_failure |
_diagnostics | _diagnostics | done |
diagnose_boolean_failure |
_diagnostics | _diagnostics | done |
draft_rsolid |
features | ops-features | done |
explain_tag |
selection | semantic | done |
extrude_rsolid |
features | ops-features | done |
extrude_taper_rsolid |
features | ops-features | done |
extrude_until_rsolid |
features | ops-features | done |
fill_holes_rshell |
geometry | surface | done |
fillet_rsolid |
features | ops-features | done |
fit_point_grid_rface |
geometry | surface | done |
free_boundaries_rwirelist |
geometry | surface | done |
get_sketch_entity_rsketchref |
sketch | sketch | done |
get_sketch_point_rsketchref |
sketch | sketch | done |
ground_component_rassembly |
product | product | done |
helical_sweep_rsolid |
features | ops-features | done |
identity_placement_rplacement |
product | product | done |
inspect_assembly_constraints_rconstraintreport |
product | product | done |
inspect_sketch_rsketchresult |
sketch | sketch | done |
intersect_rsolid |
boolean | ops-features | done |
linear_pattern_rsolidlist |
transform | ops-features | done |
list_tags |
selection | semantic | done |
load_brep_region_rshell |
geometry | ops-geometry | done |
load_brep_region_rsolid |
geometry | ops-geometry | done |
loft_rshell |
geometry | surface | done |
loft_rsolid |
features | ops-features | done |
make_2d_cut_rface |
boolean | ops-features | done |
make_2d_intersect_rface |
boolean | ops-features | done |
make_2d_union_rface |
boolean | ops-features | done |
make_angle_arc_redge |
geometry | ops-geometry | done |
make_angle_arc_rwire |
geometry | ops-geometry | done |
make_assembly_rassembly |
product | product | done |
make_bezier_surface_rface |
geometry | surface | done |
make_box_rsolid |
geometry | ops-geometry | done |
make_circle_redge |
geometry | ops-geometry | done |
make_circle_rface |
geometry | ops-geometry | done |
make_circle_rwire |
geometry | ops-geometry | done |
make_compound_from_assembly_rcompound |
product | product | done |
make_cone_rsolid |
geometry | ops-geometry | done |
make_connector_ref_rconnectorref |
product | product | done |
make_cylinder_rsolid |
geometry | ops-geometry | done |
make_cylindrical_surface_rface |
geometry | surface | done |
make_edge_connector_rconnector |
product | product | done |
make_ellipse_redge |
geometry | ops-geometry | done |
make_ellipse_rface |
geometry | ops-geometry | done |
make_ellipse_rwire |
geometry | ops-geometry | done |
make_face_connector_rconnector |
product | product | done |
make_face_from_sketch_rface |
sketch | sketch | done |
make_face_from_wire_rface |
geometry | ops-geometry | done |
make_face_from_wires_rface |
geometry | ops-geometry | done |
make_gordon_surface_rface |
geometry | surface | done |
make_helix_redge |
geometry | ops-geometry | done |
make_helix_rwire |
geometry | ops-geometry | done |
make_interpolated_spline_redge |
geometry | ops-geometry | done |
make_interpolated_spline_rwire |
geometry | ops-geometry | done |
make_line_redge |
geometry | ops-geometry | done |
make_material_rmaterial |
product | product | done |
make_part_rpart |
product | product | done |
make_periodic_spline_rwire |
geometry | ops-geometry | done |
make_placement_connector_rconnector |
product | product | done |
make_placement_rplacement |
product | product | done |
make_point_rvertex |
geometry | ops-geometry | done |
make_polyline_rwire |
geometry | ops-geometry | done |
make_rectangle_rface |
geometry | ops-geometry | done |
make_rectangle_rwire |
geometry | ops-geometry | done |
make_ruled_surface_rface |
geometry | surface | done |
make_scalar_limit_rscalarlimit |
product | product | done |
make_segment_redge |
geometry | ops-geometry | done |
make_segment_rwire |
geometry | ops-geometry | done |
make_sketch_rsketch |
sketch | sketch | done |
make_solid_from_shell_rsolid |
geometry | surface | done |
make_sphere_rsolid |
geometry | ops-geometry | done |
make_spline_redge |
geometry | ops-geometry | done |
make_spline_rwire |
geometry | ops-geometry | done |
make_surface_patch_rface |
geometry | surface | done |
make_three_point_arc_redge |
geometry | ops-geometry | done |
make_three_point_arc_rwire |
geometry | ops-geometry | done |
make_vertex_connector_rconnector |
product | product | done |
make_wire_from_edges_rwire |
geometry | ops-geometry | done |
make_wire_from_sketch_rwire |
sketch | sketch | done |
measure_constraint_residual_rconstraintresidual |
product | product | done |
mirror_shape |
transform | ops-features | done |
offset_rsolid |
features | ops-features | done |
place_component_rassembly |
product | product | done |
radial_pattern_rsolidlist |
transform | ops-features | done |
raise_loft_failure_if_diagnosed |
_diagnostics | _diagnostics | done |
raise_open_wire_failure |
_diagnostics | _diagnostics | todo |
render_failure_evidence |
_diagnostics | _diagnostics | todo |
render_screenshot_rpath |
features | ops-features | todo |
revolve_rsolid |
features | ops-features | done |
rotate_shape |
transform | ops-features | done |
scale_rsolid |
transform | ops-features | done |
select_edges_by_tag |
selection | semantic | done |
select_faces_by_tag |
selection | semantic | done |
set_public_connector_rassembly |
product | product | done |
sew_faces_rshell |
geometry | surface | done |
shell_rsolid |
features | ops-features | done |
solve_assembly_constraints_rassembly |
product | product | done |
sweep_multisection_rsolid |
features | ops-features | done |
sweep_rsolid |
features | ops-features | done |
transform_rsolid |
transform | ops-features | done |
translate_shape |
transform | ops-features | done |
trim_surface_rface |
geometry | surface | done |
twisted_sweep_rsolid |
features | ops-features | done |
unground_component_rassembly |
product | product | done |
union_rsolid |
boolean | ops-features | done |
Other public names of simplecadapi
| Name | Kind |
|---|---|
ANGLE |
value |
AREA |
value |
Any |
function |
AnyShape |
function |
ArtifactLimits |
class |
ArtifactValidationError |
class |
Assembly |
class |
AssemblyBuildResult |
class |
AssemblyDefinition |
class |
BSplineFitResult |
class |
BlobRef |
class |
CM |
value |
CUBIC_CM |
value |
CUBIC_FOOT |
value |
CUBIC_INCH |
value |
CUBIC_M |
value |
CUBIC_MM |
value |
CaptureResult |
class |
Component |
class |
Compound |
class |
Connector |
class |
ConnectorAnchor |
class |
ConnectorInterface |
class |
ConnectorRef |
class |
Const |
class |
Constraint |
class |
ConstraintReport |
class |
ConstraintResidual |
class |
CoordinateSystem |
class |
DEGREE |
value |
DIMENSIONLESS |
value |
Dimension |
class |
DimensionTolerance |
class |
Edge |
class |
Expr |
class |
ExpressionGraph |
class |
FOOT |
value |
Face |
class |
FeatureGraphArtifact |
class |
FileInput |
class |
FileInputSnapshot |
class |
GeometryRef |
class |
GraphSession |
class |
INCH |
value |
InterfaceHashes |
class |
LENGTH |
value |
LineageDerivation |
class |
LineagePolicy |
class |
M |
value |
MM |
value |
Material |
class |
MaterialRef |
class |
ONE |
value |
PERCENT |
value |
PRODUCT_PACKAGE_SCHEMA_VERSION |
value |
Part |
class |
PartBuildResult |
class |
PartDefinition |
class |
PartInstance |
class |
PartRef |
class |
Path |
class |
Placement |
class |
ProductPackage |
class |
ProductPackageError |
class |
PublicConnectorRef |
class |
RADIAN |
value |
SQUARE_CM |
value |
SQUARE_FOOT |
value |
SQUARE_INCH |
value |
SQUARE_M |
value |
SQUARE_MM |
value |
ScalarLimit |
class |
SemanticDelta |
class |
SemanticRef |
class |
Shell |
class |
SimpleCADError |
class |
SimpleWorkplane |
class |
Sketch |
class |
SketchConstraint |
class |
SketchConstraintDiagnostic |
class |
SketchRef |
class |
SketchSolveResult |
class |
SketchSolverBackend |
class |
SketchSolverOptions |
class |
Solid |
class |
SourceFileSnapshot |
class |
SurfaceBoundary |
class |
SurfaceFillingSettings |
class |
TagAttachment |
class |
TagBinding |
class |
TagBindingScope |
class |
TagCertainty |
class |
TagEvidence |
class |
TagEvidenceKind |
class |
TagLifecycle |
class |
TagLineageWitness |
class |
TagProducer |
class |
TagProducerKind |
class |
TagPropagation |
class |
TagScope |
class |
TagTarget |
class |
TagTargetKind |
class |
TaggedMixin |
class |
ToleranceAnalysis |
class |
ToleranceAnalysisError |
class |
ToleranceCheck |
class |
ToleranceContribution |
class |
ToleranceGraph |
class |
ToleranceMethod |
function |
ToleranceReport |
class |
ToleranceRequirement |
class |
ToleranceValidationError |
class |
TopologyPropagation |
class |
TrackingPolicy |
class |
Unit |
class |
UnitLike |
function |
UnitValidationError |
class |
VOLUME |
value |
Var |
class |
Vertex |
class |
WORLD_CS |
value |
Wire |
class |
Workplane |
class |
acos |
function |
analyze_tolerance |
function |
artifacts |
value |
asin |
function |
assemble |
function |
atan |
function |
atan2 |
function |
build |
value |
build_product_package |
function |
canonical_unit_for_dimension |
function |
capture |
function |
check_tolerance |
function |
const |
function |
convert_value |
function |
core |
value |
cos |
function |
create_angle_arc |
function |
create_angle_arc_wire |
function |
create_arc |
function |
create_arc_wire |
function |
create_box |
function |
create_circle_edge |
function |
create_circle_face |
function |
create_circle_wire |
function |
create_cylinder |
function |
create_face_from_wire |
function |
create_face_from_wires |
function |
create_helix |
function |
create_helix_wire |
function |
create_interpolated_spline |
function |
create_interpolated_spline_wire |
function |
create_line |
function |
create_periodic_spline_wire |
function |
create_point |
function |
create_polyline_wire |
function |
create_rectangle_face |
function |
create_rectangle_wire |
function |
create_segment |
function |
create_segment_wire |
function |
create_sphere |
function |
create_spline |
function |
create_spline_wire |
function |
create_wire_from_edges |
function |
cut |
function |
decode_assembly_definition |
function |
encode_assembly_definition |
function |
encode_feature_graph_artifact |
function |
encode_part_definition |
function |
encode_product_package |
function |
errors |
value |
export_assembly_definition |
function |
export_graph_json |
function |
export_model_json |
function |
export_part_definition |
function |
export_session_json |
function |
exporter |
value |
expression_uses_units |
function |
extrude |
function |
file_input |
function |
fit_cubic_bspline_control_points |
function |
geometry_interface_descriptor |
function |
geometry_interface_fingerprint |
function |
get_active_session |
function |
get_current_cs |
function |
get_default_sketch_solver_backend |
function |
get_sketch_solver_backend |
function |
get_unit |
function |
harden_console_streams |
function |
import_graph_json |
function |
import_model_json |
function |
import_session_json |
function |
infer_dimension |
function |
inspect |
value |
install_mapping_proxy_pickle |
function |
intersect |
function |
kernel |
value |
load_assembly_definition |
function |
load_feature_graph_artifact |
function |
load_part_definition |
function |
load_product_package |
function |
materialize_definition |
function |
math |
value |
notebook_id |
function |
operators |
value |
part |
function |
ql |
value |
read_product_package |
function |
register_sketch_solver_backend |
function |
replay_graph |
function |
replay_model_json |
function |
revolve |
function |
rotate |
function |
scene |
value |
set_default_sketch_solver_backend |
function |
sin |
function |
sketch |
value |
sketch_solver |
value |
sketch_solver_backend |
function |
sqrt |
function |
std |
value |
surface |
value |
suspend_graph_recording |
function |
sys |
value |
tagging |
value |
tan |
function |
translate |
function |
translator |
value |
union |
function |
use |
function |
validate_assembly_definition_graph |
function |
validate_product_package |
function |
var |
function |