Classes | |
| struct | ShapeMetrics |
Variables | |
| std::string | g_sock_path |
| struct Slic3r::GUI::anonymous_namespace{McpControl.cpp}::ShapeMetrics |
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_axis | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_axis(), Slic3r::CadDocument::add_axis(), Slic3r::AlongEdge, Slic3r::CadDocument::checkpoint(), Slic3r::CylinderCenterline, Slic3r::CadDocument::error, Slic3r::f(), Slic3r::FaceNormal, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::PlaneIntersection, Slic3r::CadDocument::recompute(), Slic3r::CadDocument::resolve_datum_axes(), and Slic3r::TwoPoints.
Referenced by action_axis(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_boolean | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_boolean(), Slic3r::CadDocument::add_boolean(), Slic3r::CadDocument::bodies, bool_from(), Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::New, Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_boolean(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_bridge | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_bridge(), Slic3r::CadDocument::add_bridge(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_bridge(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_chamfer | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_chamfer(), Slic3r::CadDocument::add_chamfer(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::Geometry::dist(), edge_ids_arg(), Slic3r::CadDocument::error, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_chamfer(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_check_interference | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_check_interference(), Slic3r::CadDocument::check_interference(), and Slic3r::GUI::DesignPanel::mcp_doc().
Referenced by action_check_interference(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_coordsys | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_coordsys(), Slic3r::CadDocument::add_coordsys(), Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::f(), Slic3r::FaceAndDirection, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::PointWorld, Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::resolve_datum_coordsys().
Referenced by action_coordsys(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_delete_face | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_delete_face(), Slic3r::CadDocument::add_delete_face(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_delete_face(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_draft | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_draft(), Slic3r::CadDocument::add_draft(), Slic3r::angle(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_draft(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_extrude | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_extrude(), Slic3r::CadDocument::add_extrude(), Slic3r::CadDocument::add_sketch(), Slic3r::CadDocument::add_sketch_profile(), Slic3r::Blind, Slic3r::CadDocument::bodies, bool_from(), Slic3r::CadDocument::checkpoint(), Slic3r::CadFeature::distance2, Slic3r::CadDocument::error, Slic3r::CadFeature::extrude_end, Slic3r::CadDocument::features, Slic3r::CadFeature::flip, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), profile_from(), Slic3r::CadDocument::recompute(), Slic3r::Rectangle, Slic3r::Symmetric, Slic3r::CadFeature::taper_deg, Slic3r::ThroughAll, Slic3r::TwoSided, Slic3r::CadDocument::undo(), Slic3r::CadFeature::up_to_face, and Slic3r::UpToFace.
Referenced by action_extrude(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_fillet | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_fillet(), Slic3r::CadDocument::add_fillet(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), edge_ids_arg(), Slic3r::CadDocument::error, Slic3r::f(), Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_fillet(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_helix | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_helix(), Slic3r::CadDocument::add_helix(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), and plane_from().
Referenced by action_helix(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_hole | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_hole(), Slic3r::CadDocument::add_hole(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_hole(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_hole_standard | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_hole_standard(), Slic3r::CadDocument::add_hole_standard(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), Slic3r::CadDocument::recompute(), style, and Slic3r::CadDocument::undo().
Referenced by action_hole_standard(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_hole_styled | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_hole_styled(), Slic3r::CadDocument::add_hole_styled(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), Slic3r::CadDocument::recompute(), style, and Slic3r::CadDocument::undo().
Referenced by action_hole_styled(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_list_verbs | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::GUI::OfferVerb::accepts, Slic3r::GUI::OfferVerb::action, action_list_verbs(), Slic3r::GUI::OfferVerb::hint, Slic3r::GUI::OfferVerb::id, Slic3r::GUI::OfferVerb::key, Slic3r::GUI::kOfferRowNames, Slic3r::GUI::kOfferVerbCount, Slic3r::GUI::kOfferVerbs, Slic3r::GUI::DesignPanel::mcp_offer_selection_kind(), Slic3r::GUI::OfferVerb::name, Slic3r::GUI::offer_bit(), Slic3r::GUI::OfferVerb::row, Slic3r::GUI::OfferVerb::sketch_mode, and verb_is_modal().
Referenced by action_list_verbs(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_mate | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_mate(), Slic3r::CadDocument::add_mate(), Slic3r::angle(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::offset(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_mate(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_mirror | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_mirror(), Slic3r::Add, Slic3r::CadDocument::add_mirror(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::New, plane_from(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_mirror(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_pattern | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_pattern(), Slic3r::CadDocument::add_pattern(), Slic3r::angle(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), count, Slic3r::CadDocument::error, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_pattern(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_pattern_on_curve | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_pattern_on_curve(), count, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), and target_body_arg().
Referenced by action_pattern_on_curve(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_project | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_project(), Slic3r::CadDocument::add_project_edges(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_project(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_revolve | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_revolve(), Slic3r::CadDocument::add_revolve(), Slic3r::CadDocument::add_sketch(), Slic3r::CadDocument::add_sketch_profile(), Slic3r::angle(), Slic3r::CadDocument::bodies, bool_from(), Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), plane_from(), profile_from(), Slic3r::CadDocument::recompute(), Slic3r::Rectangle, and Slic3r::CadDocument::undo().
Referenced by action_revolve(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_rib | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_rib(), Slic3r::CadDocument::add_rib(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_rib(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_run_verb | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_run_verb(), Slic3r::GUI::kOfferVerbCount, Slic3r::GUI::kOfferVerbs, Slic3r::GUI::DesignPanel::mcp_offer_selection_kind(), Slic3r::GUI::DesignPanel::mcp_run_verb(), Slic3r::GUI::offer_bit(), and verb_is_modal().
Referenced by action_run_verb(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_set_feature_expr | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_set_feature_expr(), Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::CadDocument::features, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_set_feature_expr(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_set_variable | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_set_variable(), Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), Slic3r::CadDocument::undo(), and Slic3r::CadDocument::variables.
Referenced by action_set_variable(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_shell | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_shell(), Slic3r::CadDocument::add_shell(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_shell(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_add | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_add(), Slic3r::GUI::DesignSketchTool::add_entities_scripted(), Slic3r::SketchEntity::construction, Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::entities(), Slic3r::SketchEntity::Line, mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::GUI::DesignCanvas::request_repaint(), sketch_entity_from(), and Slic3r::SketchEntity::type.
Referenced by action_sketch_add(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_begin | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_begin(), Slic3r::GUI::DesignCanvas::begin_sketch(), Slic3r::GUI::DesignCanvas::is_sketching(), Slic3r::GUI::DesignPanel::mcp_set_sketch_mode(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignSketchTool::Select, Slic3r::SketchPlane::XY(), Slic3r::SketchPlane::XZ(), and Slic3r::SketchPlane::YZ().
Referenced by action_sketch_begin(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_cancel | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_cancel(), Slic3r::GUI::DesignCanvas::cancel_sketch(), Slic3r::GUI::DesignCanvas::is_sketching(), Slic3r::GUI::DesignPanel::mcp_set_sketch_mode(), and Slic3r::GUI::DesignPanel::mcp_viewport().
Referenced by action_sketch_cancel(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_commit | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_commit(), Slic3r::CadDocument::features, Slic3r::GUI::DesignCanvas::finish_sketch(), Slic3r::GUI::DesignCanvas::is_sketching(), Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::GUI::DesignPanel::mcp_set_sketch_mode(), and Slic3r::GUI::DesignPanel::mcp_viewport().
Referenced by action_sketch_commit(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_construction | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_construction(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignCanvas::request_repaint(), Slic3r::GUI::DesignSketchTool::select_indices(), sketch_targets(), and Slic3r::GUI::DesignSketchTool::toggle_selection_construction().
Referenced by action_sketch_construction(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_delete | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_delete(), Slic3r::GUI::DesignSketchTool::delete_selected(), Slic3r::GUI::DesignSketchTool::entities(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignCanvas::request_repaint(), Slic3r::GUI::DesignSketchTool::select_indices(), and sketch_targets().
Referenced by action_sketch_delete(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_describe | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_describe(), Slic3r::GUI::DesignSketchTool::constraints(), Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::entities(), mcp_sketch(), Slic3r::GUI::DesignSketchTool::mode(), Slic3r::GUI::DesignSketchTool::pending_points(), Slic3r::GUI::DesignSketchTool::selection(), sketch_entity_to(), sketch_report(), Slic3r::GUI::DesignSketchTool::solve_ok(), and Slic3r::GUI::DesignSketchTool::value_field_open().
Referenced by action_sketch_describe(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_heal | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_heal(), Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::heal_coincidences(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignCanvas::request_repaint(), sketch_report(), and Slic3r::GUI::DesignSketchTool::solve_ok().
Referenced by action_sketch_heal(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_mirror | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_mirror(), Slic3r::GUI::DesignSketchTool::add_entities_scripted(), Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::entities(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::SketchEngine::mirror_entities(), Slic3r::GUI::DesignCanvas::request_repaint(), and sketch_targets().
Referenced by action_sketch_mirror(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_offset | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_offset(), Slic3r::GUI::DesignSketchTool::add_entities_scripted(), Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::entities(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::SketchEngine::offset_entities(), Slic3r::GUI::DesignCanvas::request_repaint(), and sketch_targets().
Referenced by action_sketch_offset(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_select | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_select(), mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignCanvas::request_repaint(), Slic3r::GUI::DesignSketchTool::select_indices(), and Slic3r::GUI::DesignSketchTool::selection().
Referenced by action_sketch_select(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_set_value | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_set_value(), Slic3r::GUI::DesignSketchTool::Angle, Slic3r::GUI::DesignSketchTool::apply_dimension(), Slic3r::GUI::DesignSketchTool::Diameter, Slic3r::GUI::DesignSketchTool::dimension_current(), Slic3r::GUI::DesignSketchTool::dimension_kind(), Slic3r::GUI::DesignSketchTool::Distance, Slic3r::GUI::DesignSketchTool::DistanceToLine, Slic3r::GUI::DesignSketchTool::dof(), Slic3r::GUI::DesignSketchTool::Length, mcp_sketch(), Slic3r::GUI::DesignPanel::mcp_viewport(), Slic3r::GUI::DesignSketchTool::None, Slic3r::GUI::DesignSketchTool::Radius, Slic3r::GUI::DesignCanvas::request_repaint(), sketch_report(), and Slic3r::GUI::DesignSketchTool::solve_ok().
Referenced by action_sketch_set_value(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_sketch_validate | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_sketch_validate(), Slic3r::GUI::DesignSketchTool::dof(), mcp_sketch(), sketch_report(), and Slic3r::GUI::DesignSketchTool::solve_ok().
Referenced by action_sketch_validate(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_split | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_split(), Slic3r::CadDocument::add_split_by_face(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_split(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_surface_extrude | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_surface_extrude(), Slic3r::CadDocument::add_surface_extrude(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_surface_extrude(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_surface_fill | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_surface_fill(), Slic3r::CadDocument::add_surface_fill(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_surface_fill(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_surface_loft | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_surface_loft(), Slic3r::CadDocument::add_surface_loft(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_surface_loft(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_surface_offset | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_surface_offset(), Slic3r::CadDocument::add_surface_offset(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::offset(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_surface_offset(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_surface_revolve | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_surface_revolve(), Slic3r::CadDocument::add_surface_revolve(), Slic3r::angle(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by action_surface_revolve(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_thicken | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_thicken(), Slic3r::CadDocument::add_thicken(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_thicken(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_thicken_surface | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_thicken_surface(), Slic3r::CadDocument::add_thicken_surface(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), and Slic3r::CadDocument::undo().
Referenced by action_thicken_surface(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_transform | ( | DesignPanel * | panel, |
| const json & | params ) |
References action_transform(), Slic3r::CadDocument::add_transform(), Slic3r::angle(), Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::CadDocument::recompute(), target_body_arg(), Slic3r::translate(), and Slic3r::CadDocument::undo().
Referenced by action_transform(), and handle_on_main().
| const TopoDS_Shape & Slic3r::GUI::anonymous_namespace{McpControl.cpp}::body_shape | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::CadDocument::bodies, body_shape(), and Slic3r::GUI::DesignPanel::mcp_doc().
Referenced by body_shape(), mass_properties(), measure(), query_topology(), slice_body(), and validate_against().
| BooleanMode Slic3r::GUI::anonymous_namespace{McpControl.cpp}::bool_from | ( | const std::string & | s | ) |
References Slic3r::Add, bool_from(), Slic3r::Cut, Slic3r::Intersect, and Slic3r::New.
Referenced by action_boolean(), action_extrude(), action_revolve(), and bool_from().
| std::vector< std::pair< std::vector< Vec3d >, bool > > Slic3r::GUI::anonymous_namespace{McpControl.cpp}::chain_segments | ( | std::vector< std::vector< Vec3d > > | segs, |
| double | tol ) |
References chain_segments().
Referenced by chain_segments(), and slice_body().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::describe_scene | ( | DesignPanel * | panel | ) |
References Slic3r::CadDocument::bodies, Slic3r::BoundingBox3Base< PointType >::center(), describe_scene(), Slic3r::CadDocument::display_body_meshes, Slic3r::CadDocument::error, Slic3r::f(), feature_type_name(), Slic3r::CadDocument::features, Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::max, Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::BoundingBoxBase< PointType, std::vector< PointType > >::min, Slic3r::CadDocument::modeling_origin, and Slic3r::CadDocument::topo_generation.
Referenced by describe_scene(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::describe_tools | ( | ) |
References describe_tools().
Referenced by describe_tools(), and handle_on_main().
| std::string Slic3r::GUI::anonymous_namespace{McpControl.cpp}::dispatch_request | ( | const std::string & | line | ) |
References dispatch_request(), handle_on_main(), and rpc_error().
Referenced by dispatch_request(), and serve_client().
| std::vector< int > Slic3r::GUI::anonymous_namespace{McpControl.cpp}::edge_ids_arg | ( | const json & | params, |
| const char * | verb ) |
References edge_ids_arg().
Referenced by action_chamfer(), action_fillet(), and edge_ids_arg().
| const char * Slic3r::GUI::anonymous_namespace{McpControl.cpp}::feature_type_name | ( | CadFeatureType | t | ) |
References Slic3r::Axis, Slic3r::Boolean, Slic3r::Chamfer, Slic3r::CoordSys, Slic3r::Cut, Slic3r::DeleteFace, Slic3r::Draft, Slic3r::Extrude, feature_type_name(), Slic3r::Fillet, Slic3r::Helix, Slic3r::Hole, Slic3r::Import, Slic3r::Loft, Slic3r::Mate, Slic3r::Mirror, Slic3r::Pattern, Slic3r::Plane, Slic3r::Project, Slic3r::Revolve, Slic3r::Rib, Slic3r::Shell, Slic3r::Sketch, Slic3r::SurfaceExtrude, Slic3r::SurfaceFill, Slic3r::SurfaceLoft, Slic3r::SurfaceOffset, Slic3r::SurfaceRevolve, Slic3r::Sweep, Slic3r::Thicken, Slic3r::ThickenSurface, Slic3r::Thread, and Slic3r::Transform.
Referenced by describe_scene(), and feature_type_name().
| std::string Slic3r::GUI::anonymous_namespace{McpControl.cpp}::handle_on_main | ( | const std::string & | method, |
| const json & | params, | ||
| const json & | id ) |
References action_axis(), action_boolean(), action_bridge(), action_chamfer(), action_check_interference(), action_coordsys(), action_delete_face(), action_draft(), action_extrude(), action_fillet(), action_helix(), action_hole(), action_hole_standard(), action_hole_styled(), action_list_verbs(), action_mate(), action_mirror(), action_pattern(), action_pattern_on_curve(), action_project(), action_revolve(), action_rib(), action_run_verb(), action_set_feature_expr(), action_set_variable(), action_shell(), action_sketch_add(), action_sketch_begin(), action_sketch_cancel(), action_sketch_commit(), action_sketch_construction(), action_sketch_delete(), action_sketch_describe(), action_sketch_heal(), action_sketch_mirror(), action_sketch_offset(), action_sketch_select(), action_sketch_set_value(), action_sketch_validate(), action_split(), action_surface_extrude(), action_surface_fill(), action_surface_loft(), action_surface_offset(), action_surface_revolve(), action_thicken(), action_thicken_surface(), action_transform(), describe_scene(), describe_tools(), Slic3r::GUI::LazyInstance< DesignPanel >::ensure(), handle_on_main(), Slic3r::GUI::DesignPanel::hydrate_from_model(), import_mesh(), import_step(), mass_properties(), Slic3r::GUI::DesignPanel::mcp_busy(), Slic3r::GUI::DesignPanel::mcp_doc(), measure(), query_topology(), rpc_error(), rpc_result(), slice_body(), Slic3r::CadDocument::topo_generation, and validate_against().
Referenced by dispatch_request(), and handle_on_main().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::import_mesh | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::CadDocument::bodies, Slic3r::GeometryEngine::MeshBrepStats::boundary_edges, Slic3r::CadDocument::checkpoint(), Slic3r::GeometryEngine::MeshBrepStats::degenerate_collapsed, Slic3r::GeometryEngine::MeshBrepStats::degenerate_sliver, Slic3r::CadDocument::error, Slic3r::f(), Slic3r::GeometryEngine::MeshBrepStats::faces_built, Slic3r::GeometryEngine::MeshBrepStats::faces_failed, Slic3r::GeometryEngine::MeshBrepStats::faces_final, Slic3r::CadDocument::features, Slic3r::Import, import_mesh(), Slic3r::GeometryEngine::MeshBrepStats::input_tris, Slic3r::GeometryEngine::MeshBrepStats::is_solid, Slic3r::TriangleMesh::its, Slic3r::GeometryEngine::MeshBrepStats::kept_tris, Slic3r::load_obj(), Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::GeometryEngine::mesh_to_brep(), Slic3r::New, Slic3r::GeometryEngine::MeshBrepStats::nonmanifold_edges, Slic3r::TriangleMesh::ReadSTLFile(), Slic3r::CadDocument::recompute(), Slic3r::CadDocument::undo(), Slic3r::GeometryEngine::MeshBrepStats::unique_edges, Slic3r::GeometryEngine::MeshBrepStats::volume, and Slic3r::GeometryEngine::MeshBrepStats::watertight.
Referenced by handle_on_main(), and import_mesh().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::import_step | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::CadDocument::bodies, Slic3r::CadDocument::checkpoint(), Slic3r::CadDocument::error, Slic3r::f(), Slic3r::CadDocument::features, Slic3r::Import, import_step(), Slic3r::GUI::DesignPanel::mcp_after_change(), Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::New, Slic3r::GeometryEngine::read_step_solids(), Slic3r::CadDocument::recompute(), and Slic3r::CadDocument::undo().
Referenced by handle_on_main(), and import_step().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::mass_properties | ( | DesignPanel * | panel, |
| const json & | params ) |
References body_shape(), Slic3r::GeometryEngine::mass_properties(), and mass_properties().
Referenced by handle_on_main(), and mass_properties().
| DesignSketchTool & Slic3r::GUI::anonymous_namespace{McpControl.cpp}::mcp_sketch | ( | DesignPanel * | panel | ) |
References Slic3r::GUI::DesignCanvas::is_sketching(), mcp_sketch(), Slic3r::GUI::DesignCanvas::mcp_sketch_tool(), and Slic3r::GUI::DesignPanel::mcp_viewport().
Referenced by action_sketch_add(), action_sketch_construction(), action_sketch_delete(), action_sketch_describe(), action_sketch_heal(), action_sketch_mirror(), action_sketch_offset(), action_sketch_select(), action_sketch_set_value(), action_sketch_validate(), and mcp_sketch().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::measure | ( | DesignPanel * | panel, |
| const json & | params ) |
References body_shape(), M_PI, measure(), resolve_ref(), and vec3().
Referenced by handle_on_main(), and measure().
| SketchPlane Slic3r::GUI::anonymous_namespace{McpControl.cpp}::plane_from | ( | const json & | params, |
| const CadDocument & | doc ) |
References Slic3r::CadDocument::modeling_origin, Slic3r::SketchPlane::origin, plane_from(), Slic3r::SketchPlane::XY(), Slic3r::SketchPlane::XZ(), and Slic3r::SketchPlane::YZ().
Referenced by action_extrude(), action_helix(), action_hole(), action_hole_standard(), action_hole_styled(), action_mirror(), action_pattern(), action_project(), action_revolve(), and plane_from().
| bool Slic3r::GUI::anonymous_namespace{McpControl.cpp}::profile_from | ( | const json & | params, |
| SketchProfile & | out ) |
References Slic3r::SketchProfile::closed, Slic3r::SketchProfile::points, and profile_from().
Referenced by action_extrude(), action_revolve(), and profile_from().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::query_topology | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::GeometryEngine::CylinderFace::axis, Slic3r::GeometryEngine::CylinderFace::base, body_shape(), Slic3r::GeometryEngine::circle_of_edge(), Slic3r::GeometryEngine::cylinder_of_face(), Slic3r::GeometryEngine::edges_of(), Slic3r::f(), Slic3r::GeometryEngine::face_centroid_world(), Slic3r::GeometryEngine::face_normal_world(), Slic3r::GeometryEngine::faces_of(), Slic3r::GeometryEngine::CylinderFace::internal, Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::GeometryEngine::CylinderFace::ok, query_topology(), Slic3r::GeometryEngine::CylinderFace::radius, Slic3r::GeometryEngine::sample_edge_world(), Slic3r::CadDocument::topo_generation, and vec3().
Referenced by handle_on_main(), and query_topology().
| void Slic3r::GUI::anonymous_namespace{McpControl.cpp}::remove_socket_at_exit | ( | ) |
References g_sock_path, and remove_socket_at_exit().
Referenced by remove_socket_at_exit(), and server_thread().
| bool Slic3r::GUI::anonymous_namespace{McpControl.cpp}::resolve_ref | ( | const TopoDS_Shape & | shape, |
| const json & | ref, | ||
| Vec3d & | point, | ||
| Vec3d & | dir, | ||
| bool & | has_dir ) |
References Slic3r::GeometryEngine::edge_by_index(), Slic3r::f(), Slic3r::GeometryEngine::face_by_index(), Slic3r::GeometryEngine::face_centroid_world(), Slic3r::GeometryEngine::face_normal_world(), resolve_ref(), and Slic3r::GeometryEngine::sample_edge_world().
Referenced by measure(), and resolve_ref().
| std::string Slic3r::GUI::anonymous_namespace{McpControl.cpp}::rpc_error | ( | const json & | id, |
| int | code, | ||
| const std::string & | msg ) |
References rpc_error().
Referenced by dispatch_request(), handle_on_main(), and rpc_error().
| std::string Slic3r::GUI::anonymous_namespace{McpControl.cpp}::rpc_result | ( | const json & | id, |
| const json & | result ) |
References rpc_result().
Referenced by handle_on_main(), and rpc_result().
| void Slic3r::GUI::anonymous_namespace{McpControl.cpp}::serve_client | ( | int | cfd | ) |
References dispatch_request(), and serve_client().
Referenced by serve_client(), and server_thread().
| void Slic3r::GUI::anonymous_namespace{McpControl.cpp}::server_thread | ( | std::string | sock_path | ) |
References g_sock_path, remove_socket_at_exit(), serve_client(), and server_thread().
Referenced by server_thread().
| ShapeMetrics Slic3r::GUI::anonymous_namespace{McpControl.cpp}::shape_metrics | ( | const TopoDS_Shape & | s | ) |
References shape_metrics().
Referenced by shape_metrics(), and validate_against().
| SketchEntity Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_entity_from | ( | const json & | j | ) |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::end_angle, Slic3r::SketchEntity::Line, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, Slic3r::SketchEntity::radius, sketch_entity_from(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by action_sketch_add(), and sketch_entity_from().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_entity_to | ( | const SketchEntity & | e, |
| int | index ) |
References Slic3r::SketchEntity::Arc, Slic3r::SketchEntity::BSpline, Slic3r::SketchEntity::center, Slic3r::SketchEntity::Circle, Slic3r::SketchEntity::construction, Slic3r::SketchEntity::ctrl, Slic3r::SketchEntity::Ellipse, Slic3r::SketchEntity::EllipseArc, Slic3r::SketchEntity::end_angle, Slic3r::SketchEntity::Line, Slic3r::SketchEntity::p0, Slic3r::SketchEntity::p1, Slic3r::SketchEntity::Point, Slic3r::SketchEntity::radius, Slic3r::SketchEntity::rminor, Slic3r::SketchEntity::rotation, sketch_entity_to(), Slic3r::SketchEntity::start_angle, and Slic3r::SketchEntity::type.
Referenced by action_sketch_describe(), and sketch_entity_to().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_report | ( | DesignSketchTool & | t | ) |
References Slic3r::holes(), Slic3r::GUI::DesignSketchTool::loop_report(), and sketch_report().
Referenced by action_sketch_describe(), action_sketch_heal(), action_sketch_set_value(), action_sketch_validate(), and sketch_report().
| std::vector< int > Slic3r::GUI::anonymous_namespace{McpControl.cpp}::sketch_targets | ( | const json & | params, |
| DesignSketchTool & | t, | ||
| bool | all_if_empty ) |
References Slic3r::GUI::DesignSketchTool::entities(), Slic3r::GUI::DesignSketchTool::selection(), and sketch_targets().
Referenced by action_sketch_construction(), action_sketch_delete(), action_sketch_mirror(), action_sketch_offset(), and sketch_targets().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::slice_body | ( | DesignPanel * | panel, |
| const json & | params ) |
References body_shape(), chain_segments(), Slic3r::offset(), Slic3r::GeometryEngine::sample_edge_world(), slice_body(), and vec3().
Referenced by handle_on_main(), and slice_body().
| int Slic3r::GUI::anonymous_namespace{McpControl.cpp}::target_body_arg | ( | const json & | params, |
| const CadDocument & | doc ) |
References Slic3r::CadDocument::bodies, and target_body_arg().
Referenced by action_chamfer(), action_delete_face(), action_draft(), action_fillet(), action_mirror(), action_pattern(), action_pattern_on_curve(), action_rib(), action_shell(), action_split(), action_surface_offset(), action_thicken(), action_thicken_surface(), action_transform(), and target_body_arg().
| json Slic3r::GUI::anonymous_namespace{McpControl.cpp}::validate_against | ( | DesignPanel * | panel, |
| const json & | params ) |
References Slic3r::GUI::anonymous_namespace{McpControl.cpp}::ShapeMetrics::bmax, Slic3r::GUI::anonymous_namespace{McpControl.cpp}::ShapeMetrics::bmin, Slic3r::CadDocument::bodies, body_shape(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::ShapeMetrics::centroid, Slic3r::GeometryEngine::Deviation::max_mm, Slic3r::GUI::DesignPanel::mcp_doc(), Slic3r::GeometryEngine::Deviation::mean_mm, Slic3r::GeometryEngine::read_step_solids(), Slic3r::GeometryEngine::Deviation::rms_mm, Slic3r::GeometryEngine::Deviation::sample_count, shape_metrics(), Slic3r::GeometryEngine::surface_deviation(), validate_against(), vec3(), and Slic3r::GUI::anonymous_namespace{McpControl.cpp}::ShapeMetrics::volume.
Referenced by handle_on_main(), and validate_against().
References vec3().
Referenced by measure(), query_topology(), slice_body(), validate_against(), and vec3().
| bool Slic3r::GUI::anonymous_namespace{McpControl.cpp}::verb_is_modal | ( | const char * | id | ) |
References verb_is_modal().
Referenced by action_list_verbs(), action_run_verb(), and verb_is_modal().
| std::string Slic3r::GUI::anonymous_namespace{McpControl.cpp}::g_sock_path |
Referenced by remove_socket_at_exit(), and server_thread().