nx_gcode_emit.nx
buildroot/runtime/nx_gcode_emit.nx
about
dependencies 10 imports · 40 importers
diagram shows first 10 each side; +0 more imports, +30 more importers in the complete lists below.
imports: nx_syscalls.nxnx_abs.nxnx_polygon.nxnx_slice_contour.nxnx_machine_graph.nxnx_material_profile.nxnx_gcode_extrude.nxnx_gcode_manifest.nxnx_q14_format.nxnx_bed_mesh.nx
imported by: nx_bedmesh_emit_test.nxnx_cad_exceed.nxnx_cad_page.nxnx_cad_prims2_test.nxnx_cad_test.nxnx_christus_integration_test.nxnx_csg_fillet_test.nxnx_csg_test.nxnx_csg_torus_test.nxnx_cube_to_gcode_test.nxnx_dcc_slice_probe.nxnx_dcc_to_print_test.nxnx_gcode_arc_test.nxnx_gcode_brim_test.nxnx_gcode_emit_test.nxnx_klipper_gcode_validator_test.nxnx_mushroom_overhang_test.nxnx_print_e2e_test.nxnx_print_exceed_compose_test.nxnx_print_session.nxnx_print_session_test.nxnx_slice_auto_supports_test.nxnx_slice_pipe_v2_real_test.nxnx_slice_pipe_v2_test.nxnx_slice_pipeline.nxnx_slice_pipeline_test.nxnx_slicer.nxnx_slicer_gate.nxnx_slicer_lib.nxnx_stl_to_gcode_real_test.nxnx_supports.nxnx_supports_physics_test.nxnx_supports_v2_test.nxnx_underridge_gcode_gate.nxnx_underridge_hook_gcode_gate.nxnx_underridge_hook_petg_gate.nxnx_underridge_master_gate.nxnx_vessel_emit_gcode.nxnx_vessel_gcode.nxnx_vessel_gcode_test.nx
structs
| 80 | struct NxGcodeEmitter |
consts
| 56 | const NX_MAGIC_16384: i64 = 16384 |
| 58 | const NX_GEMIT_Q14: i64 = 16384 |
| 59 | const NX_GEMIT_SAFE_Z_Q14: i64 = 81920 // 5mm = 5 * Q14 |
| 60 | const NX_GEMIT_END_Z_Q14: i64 = 1638400 // 100mm raise at end |
| 64 | const NX_GEMIT_OK: i64 = 0 |
| 65 | const NX_GEMIT_ERR_CAPACITY: i64 = 1 |
| 66 | const NX_GEMIT_ERR_BAD_MACHINE: i64 = 2 |
| 67 | const NX_GEMIT_ERR_BAD_MATERIAL: i64 = 3 |
| 68 | const NX_GEMIT_N_VERDICTS: i64 = 4 |
| 99 | const NX_GEMIT_BYTES: i64 = 128 |
| 669 | const NX_GEMIT_DEFAULT_BEDMESH_SEG_Q14: i64 = 81920 // 5.0 mm in Q14 |
functions
| 70 | func nx_gemit_verdict_name(v: i64) -> *u8 |
| 103 | func nx_gemit_new(machine: *NxMachineGraph, material: *NxMaterialProfile, called by 33: mainnx_cad_measure_integrated_bytesmainprintsmainmain+27 calls 2: sys_mmapnx_gcex_filament_xsect_q14 |
| 131 | func nx_gemit_set_brim(e: *NxGcodeEmitter, n_loops: i64) -> i64 |
| 142 | func nx_gemit_set_arc_fitting(e: *NxGcodeEmitter, enabled: i64, called by 1: main |
| 156 | func nx_gemit_set_z_hop(e: *NxGcodeEmitter, hop_q14: i64) -> i64 |
| 165 | func nx_gemit_set_perimeters(e: *NxGcodeEmitter, n: i64) -> i64 |
| 174 | func nx_gemit_byte(e: *NxGcodeEmitter, b: i64) -> i64 |
| 184 | func nx_gemit_cstr(e: *NxGcodeEmitter, s: *u8) -> i64 |
| 193 | func nx_gemit_bytes(e: *NxGcodeEmitter, src: *u8, n: i64) -> i64 |
| 202 | func nx_gemit_int(e: *NxGcodeEmitter, value: i64) -> i64 |
| 209 | func nx_gemit_q14(e: *NxGcodeEmitter, value_q14: i64, frac_digits: i64) -> i64 |
| 222 | func nx_gemit_provenance(e: *NxGcodeEmitter, m: *NxGcodeManifest) -> i64 calls 1: nx_gemit_bytes |
| 230 | func nx_gemit_preamble(e: *NxGcodeEmitter) -> i64 called by 26: nx_cad_measure_integrated_bytesmainprintsmainmainmain+20 calls 3: nx_gemit_cstrnx_gemit_intnx_gemit_q14 |
| 271 | func nx_gemit_retract(e: *NxGcodeEmitter) -> i64 |
| 287 | func nx_gemit_unretract(e: *NxGcodeEmitter) -> i64 |
| 303 | func nx_gemit_travel_to(e: *NxGcodeEmitter, x_q14: i64, y_q14: i64, |
| 345 | func nx_gemit_extrude_to(e: *NxGcodeEmitter, from_x: i64, from_y: i64, |
| 376 | func nx_gemit_skirt(e: *NxGcodeEmitter, called by 2: nx_slice_pipe_runnx_slice_pipe_run_v2 calls 3: nx_gemit_cstrnx_gemit_travel_tonx_gemit_extrude_to |
| 411 | func nx_gemit_arc(e: *NxGcodeEmitter, |
| 446 | func nx_gemit_polygon(e: *NxGcodeEmitter, p: *NxPolygon, |
| 548 | func nx_gemit_brim(e: *NxGcodeEmitter, contour: *NxPolygon, called by 3: mainmainnx_slice_pipe_one_layer calls 3: nx_gemit_cstrnx_polygon_offsetnx_gemit_polygon |
| 577 | func nx_gemit_layer(e: *NxGcodeEmitter, contours: *NxSliceContours, |
| 644 | func nx_gemit_postamble(e: *NxGcodeEmitter) -> i64 |
| 671 | func nx_gemit_extrude_to_bedmesh(e: *NxGcodeEmitter, called by 2: mainmain calls 7: nx_absnx_bed_mesh_z_at_layernx_gcex_E_delta_for_movenx_gemit_cstrnx_gemit_q14nx_gemit_int+1 |