Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4b44975
Set position on load
5axes Jul 25, 2023
c14e818
Change to qml_qt6
5axes Jul 25, 2023
8768be7
Translate French
5axes Jul 25, 2023
2bba8cf
Update meshtools.mo
5axes Jul 25, 2023
9c299f1
Update SettingsDialog.qml
5axes Jul 25, 2023
bffc71f
update Menu
5axes Jul 25, 2023
c076536
Update README.md
5axes Jul 25, 2023
6113579
Update Workflow action
5axes Jul 25, 2023
f0bbb68
Update i18n template for meshtools.pot
5axes Jul 25, 2023
f359977
Update French translation
5axes Jul 25, 2023
908204a
Update i18n template for meshtools.pot
5axes Jul 25, 2023
b40583e
Update MeshTools translation
5axes Jul 25, 2023
8c0d837
Update i18n template for meshtools.pot
5axes Jul 25, 2023
61b3730
Update update_pot.yaml
5axes Jul 25, 2023
35dbcb4
Update i18n template for meshtools.pot
5axes Jul 25, 2023
8b8b537
Add Message for Mesh Tools Location
5axes Jul 25, 2023
cda27e7
Merge branch 'release' of https://github.com/5axes/Cura-MeshTools int…
5axes Jul 25, 2023
4611f3d
Update i18n template for meshtools.pot
5axes Jul 25, 2023
12041a9
update mesh tools french
5axes Jul 25, 2023
9ae90e1
Update i18n template for meshtools.pot
5axes Jul 25, 2023
90e1a5e
Update copyright
5axes Jul 25, 2023
b4e7914
Merge branch 'release' of https://github.com/5axes/Cura-MeshTools int…
5axes Jul 25, 2023
3740f91
Update i18n template for meshtools.pot
5axes Jul 25, 2023
7892164
Update MeshTools.py
5axes Jul 25, 2023
f3f6dea
Update i18n template for meshtools.pot
5axes Jul 25, 2023
cd4bcd4
check french translation
5axes Jul 25, 2023
edc58b2
Update i18n template for meshtools.pot
5axes Jul 25, 2023
f7cd092
Add validator
5axes Jul 26, 2023
a378fe7
Update i18n template for meshtools.pot
5axes Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/translation.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Autmatically update i18n files"
name: "Automatically update i18n files"

on:
push:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/update_pot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Update i18n template"

on:
[push]

jobs:
update-pot:
name: "Update i18n template"
runs-on: "ubuntu-latest"

steps:
- uses: ConorMacBride/install-package@v1
with:
apt: gettext
- uses: actions/checkout@v3
with:
submodules: "recursive"

- run: mkdir -p i18n
- name: Find strings in Python files
run: xgettext --package-name='Mesh Tools' -o resources/i18n/meshtools.pot --language=python --from-code=UTF-8 -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 $(find -L . -name \*.py)
- name: Find strings in QML files
run: xgettext --package-name='Mesh Tools' -o resources/i18n/meshtools.pot --join-existing --language=javascript --from-code=UTF-8 -ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 $(find -L . -name \*.qml)
- run: git add --intent-to-add i18n
- name: Check diff
id: git_diff
run: echo "##[set-output name=numstat;]$(git diff --numstat i18n)"

- if: ${{steps.git_diff.outputs.numstat != '1 1 resources/i18n/meshtools.pot'}}
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update i18n template for meshtools.pot
148 changes: 93 additions & 55 deletions MeshTools.py

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ When printing with a consumable build plate surface, it can be beneficial to
print have each print on a different location on the build plate to make sure
it wears down evenly.

### Fixed location
Allows you to position parts at a specific position defined in the plugin settings.
The position can be set in the settings dialog which can be found via
`Extensions -> Mesh Tools -> Mesh Tools Settings`

### Apply transformations to mesh
This function applies the rotation and scale to the mesh coordinates, and
resets the model rotation and scale to upright and 100%. This can make it
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Mesh Tools",
"author": "fieldOfView",
"version": "3.7.1",
"version": "3.7.2",
"description": "Adds several mesh analysis and manipulation tools",
"api": 5,
"supported_sdk_versions": ["5.0.0", "6.0.0", "7.0.0", "8.0.0"],
Expand Down
Binary file modified resources/i18n/fr_FR/LC_MESSAGES/meshtools.mo
Binary file not shown.
Loading