Skip to content

Instantly share code, notes, and snippets.

@capsulecorplab
Last active November 26, 2020 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save capsulecorplab/b804f247f2e52d90c2290189707ad97e to your computer and use it in GitHub Desktop.
Save capsulecorplab/b804f247f2e52d90c2290189707ad97e to your computer and use it in GitHub Desktop.
bash script for installing Chitubox
#!/usr/bin/env bash
# Chitubox
if [ ! -r ~/CHITUBOX\ V1.7.0 ]; then
curl -L "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v1.7.0&fileName=CHITUBOX_V1.7.0.tar.gz" -o ~/CHITUBOX_V1.7.0.tar.gz
tar -xvf ~/CHITUBOX_V1.7.0.tar.gz -C ~/
rm -rf ~/CHITUBOX_V1.7.0.tar.gz
fi
__resin:normal
antiAliasLevel:4
bAntiAliasLevelEditable:1
bAntiAliasing:0
bBottomInnerOutterCircleOffsetEnable:0
bBuildAreaOffsetEnable:0
bDisplayCorrectEnable:0
bImageBlur:0
bImageBlurPixelEditable:1
bImageMask:0
bInnerOutterCircleOffsetEnable:0
bLockXYSizeRatio:1
bSurfaceRoughEditable:0
bottomEdgeExposureMM:0
bottomEdgeExposureTimeS:4
bottomExposureTimeStrategy:0
bottomInnerCircleOffset:0
bottomLayerCount:8
bottomLayerDropHeight2:
bottomLayerDropSpeed:
bottomLayerDropSpeed2:
bottomLayerExposureTime:130
bottomLayerLiftHeight:5
bottomLayerLiftHeight2:0
bottomLayerLiftSpeed:65
bottomLayerLiftSpeed2:0
bottomLightIntensityPWM:255
bottomLightOffTime:0
bottomOutterCircleOffset:0
bottomRestTimeAfterLift:0
bottomRestTimeAfterRetract:0
bottomRestTimeBeforeLift:0
buildAreaOffsetBottom:0
buildAreaOffsetLeft:0
buildAreaOffsetRight:0
buildAreaOffsetTop:0
circleParityDifference:0
displayCorrectLeftBottomX:0
displayCorrectLeftBottomY:0
displayCorrectLeftTopX:0
displayCorrectLeftTopY:0
displayCorrectRightBottomX:0
displayCorrectRightBottomY:0
displayCorrectRightTopX:0
displayCorrectRightTopY:0
edgeExposureMM:0
edgeExposureTimeS:4
endGcode:M106 S0;\nG1 Z{machine_height} F25;\nM18;\n
fillDensity:30
fillPattern:None
imageBlurPixel:2
imageMaskFile:
innerCircleOffset:0
layerGcode:M6054 {image};show Image\nG0 Z{rise_pos} F{rise_speed};\nG0 Z{fall_pos} F{fall_speed};\nG4 P{light_delay};\nM106 S{light_pwm};light on\nG4 P{exposure_time};\nM106 S0; light off\n
layerHeight:0.05
lightOffTime:0
machineDepth:120.96
machineHeight:150
machineType:default
machineWidth:68.04
maskGrayScaleUnit:4
maxGreyLevel:255
minGreyLevel:0
normalExposureTime:24
normalLayerDropHeight2:0
normalLayerDropSpeed:150
normalLayerDropSpeed2:0
normalLayerLiftHeight:5
normalLayerLiftHeight2:0
normalLayerLiftSpeed:65
normalLayerLiftSpeed2:0
normalLightIntensityPWM:255
normalRestTimeAfterLift:0
normalRestTimeAfterRetract:0
normalRestTimeBeforeLift:0
outterCircleOffset:0
projectType:LCD_mirror
resinDensity:1.1
resinPrice:30
resinUnit:$/L
resolutionX:1440
resolutionY:2560
shellThickness:1.2
sliceExportPart:0
startGcode:G21;\nG90;\nM106 S0;\nG28 Z0;\n
surfaceRoughLevel:1
transitionLayerCount:0
transitionLayerType:0
zSlowUpDistance:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment