tune
This commit is contained in:
parent
bbfca46bd1
commit
763d499456
106
Main.hincproj
106
Main.hincproj
@ -24,6 +24,97 @@
|
||||
</SpindleSpeedToTorque--RPM-to-Nm>
|
||||
</SpindleCapability>
|
||||
</SpindleCapability>
|
||||
<StickMachiningTool>
|
||||
<Note>T1</Note>
|
||||
<Holder>
|
||||
<StickHolder>
|
||||
<Cylindroid LongitudeNum="12">
|
||||
<PairZr>(0,10)</PairZr>
|
||||
<PairZr>(50,10)</PairZr>
|
||||
</Cylindroid>
|
||||
<Note></Note>
|
||||
</StickHolder>
|
||||
</Holder>
|
||||
<Cutter>
|
||||
<MillingCutter>
|
||||
<ShaperProfile>
|
||||
<AptProfile>
|
||||
<Apt>
|
||||
<ColumnApt>
|
||||
<D>12</D>
|
||||
<Rc>0.5</Rc>
|
||||
<FluteH>40</FluteH>
|
||||
</ColumnApt>
|
||||
</Apt>
|
||||
</AptProfile>
|
||||
</ShaperProfile>
|
||||
<InnerBeamProfile>
|
||||
<FluteDependentRatioProfile>
|
||||
<!--<ConstRatioProfile>
|
||||
<RadiusRatio />
|
||||
</ConstRatioProfile>-->
|
||||
</FluteDependentRatioProfile>
|
||||
</InnerBeamProfile>
|
||||
<UpperBeamGeom>
|
||||
<TransformationGeom>
|
||||
<Transformer />
|
||||
<Geom>
|
||||
<Cylindroid LongitudeNum="12">
|
||||
<PairZr>(40,6)</PairZr>
|
||||
<PairZr>(80,6)</PairZr>
|
||||
</Cylindroid>
|
||||
</Geom>
|
||||
</TransformationGeom>
|
||||
</UpperBeamGeom>
|
||||
<LinearResolution_mm>0.5</LinearResolution_mm>
|
||||
<AngleResolution_deg>15</AngleResolution_deg>
|
||||
<FluteContourTray>
|
||||
<UniformContourTray>
|
||||
<TrackNum>3</TrackNum>
|
||||
<BaselineOneContour>
|
||||
<FluteContour>
|
||||
<SetupAngle_deg>0</SetupAngle_deg>
|
||||
<BaseSideContour>
|
||||
<ConstHelixSideContour>
|
||||
<Helix_deg>50</Helix_deg>
|
||||
<RadialRakeAngle_deg>15</RadialRakeAngle_deg>
|
||||
<RadialReliefAngle_deg>5</RadialReliefAngle_deg>
|
||||
</ConstHelixSideContour>
|
||||
</BaseSideContour>
|
||||
<BaseBottomContour>
|
||||
<SlideBottomContour>
|
||||
<AxialRakeAngle_deg>50</AxialRakeAngle_deg>
|
||||
<DiskAngle_deg>1.5</DiskAngle_deg>
|
||||
<EccentricAngle_deg>15</EccentricAngle_deg>
|
||||
<CutterLengthOnBottomProjection_mm>5</CutterLengthOnBottomProjection_mm>
|
||||
<OuterRadius_mm>5.5</OuterRadius_mm>
|
||||
</SlideBottomContour>
|
||||
</BaseBottomContour>
|
||||
</FluteContour>
|
||||
</BaselineOneContour>
|
||||
</UniformContourTray>
|
||||
</FluteContourTray>
|
||||
<BodyMaterial>
|
||||
<XmlSource>WC-Co6-800nm.CutterMaterial</XmlSource>
|
||||
</BodyMaterial>
|
||||
<CoatingMaterial />
|
||||
<HoneRadius_um>20</HoneRadius_um>
|
||||
<MillingCutterOptLimit>
|
||||
<MillingCutterOptLimit>
|
||||
<EnableOpt>true</EnableOpt>
|
||||
<YieldingSafetyFactor>3</YieldingSafetyFactor>
|
||||
<EnableLimitByMinimumUncutChipThickness>true</EnableLimitByMinimumUncutChipThickness>
|
||||
<MinFeedPerTooth_mm>0</MinFeedPerTooth_mm>
|
||||
<MaxFeedPerTooth_mm>999</MaxFeedPerTooth_mm>
|
||||
</MillingCutterOptLimit>
|
||||
</MillingCutterOptLimit>
|
||||
</MillingCutter>
|
||||
</Cutter>
|
||||
<PreservedDistanceBetweenFluteAndSpindleNose_mm>8</PreservedDistanceBetweenFluteAndSpindleNose_mm>
|
||||
<ObservationAnchorReference>HolderAnc</ObservationAnchorReference>
|
||||
<RelativeHeightFromObservationAnchor_mm>0</RelativeHeightFromObservationAnchor_mm>
|
||||
<ObservationRingRadius_mm>0</ObservationRingRadius_mm>
|
||||
</StickMachiningTool>
|
||||
<Fixture>
|
||||
<Fixture>
|
||||
<Solid>
|
||||
@ -123,8 +214,8 @@
|
||||
</Geom>
|
||||
</TransformationGeom>
|
||||
</UpperBeamGeom>
|
||||
<LinearResolution_mm>0.1</LinearResolution_mm>
|
||||
<AngleResolution_deg>5</AngleResolution_deg>
|
||||
<LinearResolution_mm>0.5</LinearResolution_mm>
|
||||
<AngleResolution_deg>15</AngleResolution_deg>
|
||||
<FluteContourTray>
|
||||
<UniformContourTray>
|
||||
<TrackNum>3</TrackNum>
|
||||
@ -263,7 +354,7 @@
|
||||
<!--Available options: NormalizedPositiveErf, NormalizedErf, Linear-->
|
||||
<RatioRgbFuncEnum>Linear</RatioRgbFuncEnum>
|
||||
<Floor>0</Floor>
|
||||
<Ceiling>1</Ceiling>
|
||||
<Ceiling>2000</Ceiling>
|
||||
</RangeColorRule>
|
||||
</FuncRangeColorGuide>
|
||||
</Entry>
|
||||
@ -354,12 +445,5 @@
|
||||
<RakeFaceCuttingPara />
|
||||
</ResultParaTemplate>
|
||||
</MillingTraining>
|
||||
<CsScriptText>IEnumerable<Action> Run(){
|
||||
foreach(var action in RunNcFile("NC/circle.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("NC/drill_slot.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("NC/side.ptp")) yield return action;
|
||||
foreach(var action in RunNcFile("NC/slide.ptp")) yield return action;
|
||||
yield return null;
|
||||
}
|
||||
return Run();</CsScriptText>
|
||||
<CsScriptRelFile>Script/Run-CSV.cs</CsScriptRelFile>
|
||||
</MillingCourse>
|
@ -5,10 +5,10 @@
|
||||
<ChainCode>[O][Y][X][C][w];[O][Z][B][S][t]</ChainCode>
|
||||
<IsVertical>true</IsVertical>
|
||||
<TransformerX>
|
||||
<DynamicTranslation Axis="(-1, 0, 0)" Len="0" />
|
||||
<DynamicTranslation Axis="(-1, 0, 0)" Len="29.596000000000004" />
|
||||
</TransformerX>
|
||||
<TransformerY>
|
||||
<DynamicTranslation Axis="(0, -1, 0)" Len="0" />
|
||||
<DynamicTranslation Axis="(0, -1, 0)" Len="-37.400000000000006" />
|
||||
</TransformerY>
|
||||
<TransformerZ>
|
||||
<DynamicTranslation Axis="(0, 0, 1)" Len="0" />
|
||||
|
13
Script/Run-CSV.cs
Normal file
13
Script/Run-CSV.cs
Normal file
@ -0,0 +1,13 @@
|
||||
IEnumerable<Action> Run(){
|
||||
// foreach(var action in RunNcFile("NC/circle.ptp")) yield return action;
|
||||
// foreach(var action in RunNcFile("NC/drill_slot.ptp")) yield return action;
|
||||
// foreach(var action in RunNcFile("NC/side.ptp")) yield return action;
|
||||
// foreach(var action in RunNcFile("NC/slide.ptp")) yield return action;
|
||||
|
||||
// WriteStepFile("Cache/[NcName].step.csv");
|
||||
RegisterStepVariable("TestData","TestData",null,"G");
|
||||
ReadCsv("Cache/side.demo.csv");
|
||||
|
||||
yield return null;
|
||||
}
|
||||
return Run();
|
Loading…
x
Reference in New Issue
Block a user