From 4868a17a3b9c62ebf8200101a1ce49b998fb232d Mon Sep 17 00:00:00 2001 From: mprinkezs <131883374+mprinkezs@users.noreply.github.com> Date: Mon, 5 Feb 2024 09:48:59 +0100 Subject: [PATCH 1/3] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index cc8514d..1c8d7d8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 ZEISS Industry Quality Solutions +Copyright (c) 2024 ZEISS Industrial Quality Solutions Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 3eee3cf1bbf6b37ca21f8a5d67138173921582de Mon Sep 17 00:00:00 2001 From: mprinkezs <131883374+mprinkezs@users.noreply.github.com> Date: Tue, 9 Apr 2024 09:30:27 +0200 Subject: [PATCH 2/3] Update documentation.yaml --- .github/workflows/documentation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index c70858d..7bfa09b 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -25,7 +25,7 @@ jobs: run: echo "SUBDIR_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV - name: Deploy if: ${{ github.event_name != 'pull_request' }} - uses: peaceiris/actions-gh-pages@v3.9.3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _build/ From eecaec8bffa4a8d1a34daf8ab8879a1db4d393aa Mon Sep 17 00:00:00 2001 From: mprinkezs <131883374+mprinkezs@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:20:44 +0200 Subject: [PATCH 3/3] Fix gom.Vec3d --- doc/python_api/scripted_elements_api.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/python_api/scripted_elements_api.md b/doc/python_api/scripted_elements_api.md index 3aa0f24..c38fd09 100644 --- a/doc/python_api/scripted_elements_api.md +++ b/doc/python_api/scripted_elements_api.md @@ -119,7 +119,7 @@ On success the function must return True, otherwise False. ```{code-block} python result = (x,y,z) -result = gom.Vec3D +result = gom.Vec3d ``` ### Distance @@ -129,7 +129,7 @@ result = gom.Vec3D ```{code-block} python result = { 'point1': (x,y,z), 'point2': (x,y,z) } -result = { 'point1': gom.Vec3D, 'point2': gom.Vec3D } +result = { 'point1': gom.Vec3d, 'point2': gom.Vec3d } ``` ### Value Element @@ -147,7 +147,7 @@ result = x :Result: A center point, direction vector and radius (double) ```{code-block} python -result = { 'center' : gom.Vec3D, 'direction' : gom.Vec3D, 'radius' : double } +result = { 'center' : gom.Vec3d, 'direction' : gom.Vec3d, 'radius' : double } ``` ### Curve @@ -156,7 +156,7 @@ result = { 'center' : gom.Vec3D, 'direction' : gom.Vec3D, 'radius' : double } :Result: A curve can be made up by an array of subcurves. Each subcurve is a polyline. A closed curve will be created, if first point = last point. ```{code-block} python -result = [ { 'points': [gom.Vec3D, gom.Vec3D, ...] } ] +result = [ { 'points': [gom.Vec3d, gom.Vec3d, ...] } ] ``` ### Surface Curve @@ -166,7 +166,7 @@ result = [ { 'points': [gom.Vec3D, gom.Vec3D, ...] } ] % ```{code-block} python % # This does not work! -% result = [ { 'points': [ gom.Vec3D, gom.Vec3D, ... ], 'normals': [(x,y,z)] } ] +% result = [ { 'points': [ gom.Vec3d, gom.Vec3d, ... ], 'normals': [(x,y,z)] } ] % ``` % :::{caution} @@ -202,7 +202,7 @@ result = { :Result: A set of points. The 'normals 'attribute is optional. ```{code-block} python -result = { 'points' : [ gom.Vec3D, gom.Vec3D, ... ] , 'normals' : [ gom.Vec3D, gom.Vec3D, ... ] } +result = { 'points' : [ gom.Vec3d, gom.Vec3d, ... ] , 'normals' : [ gom.Vec3d, gom.Vec3d, ... ] } ``` ### Surface