Skip to content

Commit

Permalink
Merge branch 'main' into anker_nozzles
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftFever authored Mar 1, 2024
2 parents 0b7122c + ad9779f commit 6df68eb
Show file tree
Hide file tree
Showing 75 changed files with 2,940 additions and 173 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/build_orca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,16 @@ jobs:
./BuildLinux.sh -isr
mv -n ./build/OrcaSlicer_Linux_V${{ env.ver_pure }}.AppImage ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage
chmod +x ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage
- name: Build orca_custom_preset_tests
if: github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04'
working-directory: ${{ github.workspace }}/build/src
shell: bash
run: |
OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -g 1
cd ${{ github.workspace }}/resources/profiles
zip -r orca_custom_preset_tests.zip user/
- name: Upload artifacts Ubuntu
if: inputs.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v3
Expand All @@ -262,3 +271,14 @@ jobs:
asset_name: OrcaSlicer_Linux_${{ env.ver }}.AppImage
asset_content_type: application/octet-stream
max_releases: 1 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted

- name: Deploy orca_custom_preset_tests
if: github.ref == 'refs/heads/main' && inputs.os == 'ubuntu-20.04'
uses: WebFreak001/[email protected]
with:
upload_url: https://uploads.github.com/repos/SoftFever/OrcaSlicer/releases/137995723/assets{?name,label}
release_id: 137995723
asset_path: ${{ github.workspace }}/resources/profiles/orca_custom_preset_tests.zip
asset_name: orca_custom_preset_tests
asset_content_type: application/octet-stream
max_releases: 1
19 changes: 14 additions & 5 deletions .github/workflows/check_profiles.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check locale
name: Check profiles
on:
pull_request:
branches:
Expand All @@ -19,12 +19,21 @@ jobs:
- name: Download
working-directory: ${{ github.workspace }}
run: |
curl -LJO https://github.com/SoftFever/Orca_tools/releases/download/1/OrcaSlicer_profile_validator_ubuntu
chmod +x ./OrcaSlicer_profile_validator_ubuntu
curl -LJO https://github.com/SoftFever/Orca_tools/releases/download/1/OrcaSlicer_profile_validator
chmod +x ./OrcaSlicer_profile_validator
# validate profiles
- name: validate profiles
- name: validate system profiles
run: |
./OrcaSlicer_profile_validator_ubuntu -p ${{ github.workspace }}/resources/profiles -l 2
./OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -l 2
- name: validate custom presets
working-directory: ${{ github.workspace }}
run: |
curl -LJO https://github.com/SoftFever/OrcaSlicer/releases/download/nightly-builds/orca_custom_preset_tests.zip
unzip ./orca_custom_preset_tests.zip -d ${{ github.workspace }}/resources/profiles
./OrcaSlicer_profile_validator -p ${{ github.workspace }}/resources/profiles -l 2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ src/OrcaSlicer-doc/
**/filament_full/
/deps/DL_CACHE/
/deps/DL_CACHE
resources/profiles/user/default
7 changes: 5 additions & 2 deletions BuildLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,16 @@ then

# cmake
pushd build
echo -e "cmake .. -DCMAKE_PREFIX_PATH=\"$PWD/../deps/build/destdir/usr/local\" -DSLIC3R_STATIC=1 ${BUILD_ARGS}"
cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DSLIC3R_STATIC=1 ${BUILD_ARGS}
echo -e "cmake .. -DCMAKE_PREFIX_PATH=\"$PWD/../deps/build/destdir/usr/local\" -DSLIC3R_STATIC=1 -DORCA_TOOLS=ON ${BUILD_ARGS}"
cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DSLIC3R_STATIC=1 ${BUILD_ARGS} -DORCA_TOOLS=ON
echo "done"

# make Slic3r
echo "[8/9] Building Slic3r..."
make -j$NCORES OrcaSlicer # Slic3r

# make OrcaSlicer_profile_validator
make -j$NCORES OrcaSlicer_profile_validator
popd
./run_gettext.sh
echo "done"
Expand Down
94 changes: 94 additions & 0 deletions resources/profiles/CONSTRUCT3D.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"name": "CONSTRUCT3D",
"version": "01.09.00.02",
"force_update": "0",
"description": "Construct3D configurations",
"machine_model_list": [
{
"name": "Construct 1 XL",
"sub_path": "machine/Construct 1 XL.json"
},
{
"name": "Construct 1",
"sub_path": "machine/Construct 1.json"
}
],
"process_list": [
{
"name": "fdm_process_common",
"sub_path": "process/fdm_process_common.json"
},
{
"name": "0.20mm Quality @Construct 1 XL",
"sub_path": "process/0.20mm Quality @Construct 1 XL.json"
},
{
"name": "0.30mm Industrial @Construct 1 XL",
"sub_path": "process/0.30mm Industrial @Construct 1 XL.json"
},
{
"name": "0.30mm Standard @Construct 1 XL",
"sub_path": "process/0.30mm Standard @Construct 1 XL.json"
},
{
"name": "0.38mm Draft @Construct 1 XL",
"sub_path": "process/0.38mm Draft @Construct 1 XL.json"
},
{
"name": "0.14mm Quality @Construct 1",
"sub_path": "process/0.14mm Quality @Construct 1.json"
},
{
"name": "0.25mm Industrial @Construct 1",
"sub_path": "process/0.25mm Industrial @Construct 1.json"
},
{
"name": "0.22mm Standard @Construct 1",
"sub_path": "process/0.22mm Standard @Construct 1.json"
},
{
"name": "0.30mm Draft @Construct 1 XL",
"sub_path": "process/0.30mm Draft @Construct 1.json"
}
],
"filament_list": [
{
"name": "fdm_filament_common",
"sub_path": "filament/fdm_filament_common.json"
},
{
"name": "fdm_filament_pet",
"sub_path": "filament/fdm_filament_pet.json"
},
{
"name": "fdm_filament_pla",
"sub_path": "filament/fdm_filament_pla.json"
},
{
"name": "C1 Generic PLA",
"sub_path": "filament/C1 Generic PLA.json"
},
{
"name": "C1 Generic PETG",
"sub_path": "filament/C1 Generic PETG.json"
},
{
"name": "C1 Generic High Flow PETG",
"sub_path": "filament/C1 Generic High Flow PETG.json"
}
],
"machine_list": [
{
"name": "fdm_machine_common",
"sub_path": "machine/fdm_machine_common.json"
},
{
"name": "Construct 1 XL 0.6 nozzle",
"sub_path": "machine/Construct 1 XL 0.6 nozzle.json"
},
{
"name": "Construct 1 0.4 nozzle",
"sub_path": "machine/Construct 1 0.4 nozzle.json"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"type": "filament",
"filament_id": "GFG99",
"setting_id": "GFSG99",
"name": "C1 Generic High Flow PETG",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pet",
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_cooling_layer_time": [
"20"
],
"overhang_fan_speed": [
"100"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"30"
],
"slow_down_min_speed": [
"15"
],
"slow_down_layer_time": [
"6"
],
"filament_flow_ratio": [
"0.98"
],
"filament_max_volumetric_speed": [
"43"
],
"nozzle_temperature": [
"270"
],
"nozzle_temperature_initial_layer": [
"270"
],
"nozzle_temperature_range_high": [
"275"
],
"nozzle_temperature_range_low": [
"230"
],
"filament_start_gcode": [
"; filament start gcode\n"
],
"compatible_printers": [
"Construct 1 0.4 nozzle",
"Construct 1 XL 0.6 nozzle"
]
}
46 changes: 46 additions & 0 deletions resources/profiles/CONSTRUCT3D/filament/C1 Generic PETG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"type": "filament",
"filament_id": "GFG99",
"setting_id": "GFSG99",
"name": "C1 Generic PETG",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pet",
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_cooling_layer_time": [
"20"
],
"overhang_fan_speed": [
"80"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"30"
],
"slow_down_min_speed": [
"15"
],
"slow_down_layer_time": [
"6"
],
"filament_flow_ratio": [
"0.98"
],
"filament_max_volumetric_speed": [
"35"
],
"filament_start_gcode": [
"; filament start gcode\n"
],
"compatible_printers": [
"Construct 1 0.4 nozzle",
"Construct 1 XL 0.6 nozzle"
]
}
28 changes: 28 additions & 0 deletions resources/profiles/CONSTRUCT3D/filament/C1 Generic PLA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "filament",
"filament_id": "GFL99",
"setting_id": "GFSL99",
"name": "C1 Generic PLA",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pla",
"filament_flow_ratio": [
"0.98"
],
"filament_max_volumetric_speed": [
"30"
],
"slow_down_layer_time": [
"4"
],
"hot_plate_temp": [
"62"
],
"hot_plate_temp_initial_layer": [
"68"
],
"compatible_printers": [
"Construct 1 0.4 nozzle",
"Construct 1 XL 0.6 nozzle"
]
}
Loading

0 comments on commit 6df68eb

Please sign in to comment.