Myp писал(а):
дай пример кода, т.к. описываемой ситуации ни разу не встречал.
Я посмотрел разные g-code (в т.ч. и созданные не в Simplify) - там везде это есть.
Вот из Simplify3D:
Код:
; G-Code generated by Simplify3D(R) Version 4.0.1
; Feb 4, 2018 at 2:53:36 PM
; Settings Summary
; processName,Process1
; applyToModels,test_1_Q20x5
; profileName,S-0.6 L-0.1
; profileVersion,2018-02-01 19:34:12
; baseProfile,Default
; printMaterial,PLA
; printQuality,High
; printExtruders,
; extruderName,Extruder 1
; extruderToolheadNumber,0
; extruderDiameter,0.4
; extruderAutoWidth,0
; extruderWidth,0.4
; extrusionMultiplier,0.9
; extruderUseRetract,1
; extruderRetractionDistance,4
; extruderExtraRestartDistance,0
; extruderRetractionZLift,0
; extruderRetractionSpeed,3000
; extruderUseCoasting,0
; extruderCoastingDistance,0.2
; extruderUseWipe,0
; extruderWipeDistance,5
; primaryExtruder,0
; layerHeight,0.1
; topSolidLayers,4
; bottomSolidLayers,4
; perimeterOutlines,3
; printPerimetersInsideOut,1
; startPointOption,2
; startPointOriginX,0
; startPointOriginY,0
; sequentialIslands,0
; spiralVaseMode,0
; firstLayerHeightPercentage,50
; firstLayerWidthPercentage,115
; firstLayerUnderspeed,0.5
; useRaft,1
; raftExtruder,0
; raftTopLayers,1
; raftBaseLayers,1
; raftOffset,2
; raftSeparationDistance,0.16
; raftTopInfill,100
; aboveRaftSpeedMultiplier,0.5
; useSkirt,0
; skirtExtruder,0
; skirtLayers,1
; skirtOutlines,5
; skirtOffset,0
; usePrimePillar,0
; primePillarExtruder,999
; primePillarWidth,12
; primePillarLocation,7
; primePillarSpeedMultiplier,1
; useOozeShield,0
; oozeShieldExtruder,999
; oozeShieldOffset,2
; oozeShieldOutlines,1
; oozeShieldSidewallShape,1
; oozeShieldSidewallAngle,30
; oozeShieldSpeedMultiplier,1
; infillExtruder,0
; internalInfillPattern,Rectilinear
; externalInfillPattern,Rectilinear
; infillPercentage,25
; outlineOverlapPercentage,15
; infillExtrusionWidthPercentage,100
; minInfillLength,2.5
; infillLayerInterval,1
; internalInfillAngles,45,-45
; overlapInternalInfillAngles,0
; externalInfillAngles,45,-45
; generateSupport,1
; supportExtruder,0
; supportInfillPercentage,25
; supportExtraInflation,0
; supportBaseLayers,0
; denseSupportExtruder,0
; denseSupportLayers,0
; denseSupportInfillPercentage,50
; supportLayerInterval,1
; supportHorizontalPartOffset,0.5
; supportUpperSeparationLayers,1
; supportLowerSeparationLayers,1
; supportType,0
; supportGridSpacing,1.5
; maxOverhangAngle,45
; supportAngles,45,-45
; temperatureName,Extruder 1,Heated Bed
; temperatureNumber,0,0
; temperatureSetpointCount,1,1
; temperatureSetpointLayers,1,1
; temperatureSetpointTemperatures,205,60
; temperatureStabilizeAtStartup,1,1
; temperatureHeatedBed,0,1
; temperatureRelayBetweenLayers,0,0
; temperatureRelayBetweenLoops,0,0
; fanLayers,1,2
; fanSpeeds,0,100
; blipFanToFullPower,0
; adjustSpeedForCooling,1
; minSpeedLayerTime,10
; minCoolingSpeedSlowdown,20
; increaseFanForCooling,0
; minFanLayerTime,45
; maxCoolingFanSpeed,100
; increaseFanForBridging,1
; bridgingFanSpeed,100
; use5D,1
; relativeEdistances,0
; allowEaxisZeroing,1
; independentExtruderAxes,0
; includeM10123,0
; stickySupport,1
; applyToolheadOffsets,0
; gcodeXoffset,0
; gcodeYoffset,0
; gcodeZoffset,0
; overrideMachineDefinition,1
; machineTypeOverride,0
; strokeXoverride,220
; strokeYoverride,220
; strokeZoverride,280
; originOffsetXoverride,0
; originOffsetYoverride,0
; originOffsetZoverride,0
; homeXdirOverride,-1
; homeYdirOverride,-1
; homeZdirOverride,-1
; flipXoverride,1
; flipYoverride,-1
; flipZoverride,1
; toolheadOffsets,0,0|0,0|0,0|0,0|0,0|0,0
; overrideFirmwareConfiguration,1
; firmwareTypeOverride,RepRap (Marlin/Repetier/Sprinter)
; GPXconfigOverride,r2
; baudRateOverride,250000
; overridePrinterModels,0
; printerModelsOverride
; startingGcode,G21,G28 ; home all axes,G29 S0; load MBL from EEPROM,M420 S1; use MBL
; layerChangeGcode,
; retractionGcode,
; toolChangeGcode,
; endingGcode,M104 S0 ; turn off extruder,M140 S0 ; turn off bed,G91 ; use relative coordinates,G1 Z0.6 F5000 ; lift nozzle by 0.6mm,G90 ; use absolute coordinates,G28 X0 ; home X axis,G28 Y0 ; home X axis,M84 ; disable motors,M107 ; turn off fan
; exportFileFormat,gcode
; celebration,0
; celebrationSong,Random Song
; postProcessing,
; defaultSpeed,4200
; outlineUnderspeed,0.8
; solidInfillUnderspeed,0.9
; supportUnderspeed,0.7
; rapidXYspeed,4200
; rapidZspeed,1002
; minBridgingArea,50
; bridgingExtraInflation,0.1
; bridgingExtrusionMultiplier,1
; bridgingSpeedMultiplier,1
; useFixedBridgingAngle,0
; fixedBridgingAngle,0
; applyBridgingToPerimeters,1
; filamentDiameters,1.7|1.75|1.75|1.75|1.75|1.75
; filamentPricesPerKg,678|46|46|46|46|46
; filamentDensities,1.24|1.25|1.25|1.25|1.25|1.25
; useMinPrintHeight,0
; minPrintHeight,0
; useMaxPrintHeight,0
; maxPrintHeight,0
; useDiaphragm,0
; diaphragmLayerInterval,20
; robustSlicing,1
; mergeAllIntoSolid,0
; onlyRetractWhenCrossingOutline,1
; retractBetweenLayers,1
; useRetractionMinTravel,0
; retractionMinTravel,3
; retractWhileWiping,0
; onlyWipeOutlines,1
; avoidCrossingOutline,1
; maxMovementDetourFactor,3
; toolChangeRetractionDistance,12
; toolChangeExtraRestartDistance,-0.5
; toolChangeRetractionSpeed,600
; externalThinWallType,1
; internalThinWallType,1
; thinWallAllowedOverlapPercentage,10
; singleExtrusionMinLength,1
; singleExtrusionMinPrintingWidthPercentage,50
; singleExtrusionMaxPrintingWidthPercentage,200
; singleExtrusionEndpointExtension,0.2
; horizontalSizeCompensation,0
G90
M82
M106 S0
M140 S60
M190 S60
M104 S205 T0
M109 S205 T0
G21
G28 ; home all axes
G29 S0; load MBL from EEPROM
M420 S1; use MBL
G92 E0
G1 E-4.0000 F3000
G1 Z0.250 F1002
; process Process1
; layer 1, Z = 0.250
T0
; tool H0.500 W0.920
; raft
G1 X98.400 Y99.337 F4200
G1 E0.0000 F900
G92 E0
G1 X99.337 Y98.400 E0.2418 F525
G1 X120.663 Y98.400 E4.1314
G1 X121.600 Y99.337 E4.3732
G1 X121.600 Y120.663 E8.2628
G1 X120.663 Y121.600 E8.5046
G1 X99.337 Y121.600 E12.3943
G1 X98.400 Y120.663 E12.6360
G1 X98.400 Y99.337 E16.5257
......
А вот кусок из Slic3r (код не мой):
Код:
; generated by Slic3r 1.2.9 on 2016-07-07 at 10:16:45
; external perimeters extrusion width = 0.40mm
; perimeters extrusion width = 0.30mm
; infill extrusion width = 0.20mm
; solid infill extrusion width = 0.50mm
; top infill extrusion width = 0.40mm
M107
M190 S65 ; set bed temperature
M104 S205 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M109 S205 ; wait for temperature to be reached
G21 ; set units to millimeters
G90 ; use absolute coordinates
M82 ; use absolute distances for extrusion
G92 E0
G1 Z0.300 F9000.000
G1 E-3.00000 F2400.00000
G92 E0
G1 X96.791 Y92.891 F9000.000
G1 E3.00000 F2400.00000
G1 X98.000 Y91.631 E3.11940 F1500.000
.........