-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy documentation of '2022-new-headings-intros' to GitHub Pages
- Loading branch information
Showing
318 changed files
with
24,486 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: a993c5e0d01798df43d8af81ea796674 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file added
BIN
+42.4 KB
...tros/.doctrees/howtos/adding_workspaces_to_packages/adding_workspaces_to_packages.doctree
Binary file not shown.
Binary file added
BIN
+24.2 KB
.../.doctrees/howtos/environments_for_python_scripts/environments_for_python_scripts.doctree
Binary file not shown.
Binary file added
BIN
+27.6 KB
2022-new-headings-intros/.doctrees/howtos/localization/localization.doctree
Binary file not shown.
Binary file added
BIN
+35.7 KB
...-headings-intros/.doctrees/howtos/python_api_introduction/creating_wizard_dialogs.doctree
Binary file not shown.
Binary file added
BIN
+60.8 KB
...-headings-intros/.doctrees/howtos/python_api_introduction/python_api_introduction.doctree
Binary file not shown.
Binary file added
BIN
+404 KB
...dings-intros/.doctrees/howtos/python_api_introduction/script_dialogs_introduction.doctree
Binary file not shown.
Binary file added
BIN
+10.6 KB
...w-headings-intros/.doctrees/howtos/python_api_introduction/using_script_resources.doctree
Binary file not shown.
Binary file added
BIN
+25.7 KB
2022-new-headings-intros/.doctrees/howtos/scripted_elements/scripted_actuals.doctree
Binary file not shown.
Binary file added
BIN
+14.7 KB
2022-new-headings-intros/.doctrees/howtos/scripted_elements/scripted_checks.doctree
Binary file not shown.
Binary file added
BIN
+19.8 KB
...headings-intros/.doctrees/howtos/scripted_elements/scripted_elements_introduction.doctree
Binary file not shown.
Binary file added
BIN
+3.74 KB
2022-new-headings-intros/.doctrees/howtos/scripted_elements/scripted_elements_toc.doctree
Binary file not shown.
Binary file added
BIN
+16.8 KB
...ew-headings-intros/.doctrees/howtos/scripted_elements/tokens_on_scripted_elements.doctree
Binary file not shown.
Binary file added
BIN
+19.1 KB
2022-new-headings-intros/.doctrees/howtos/testing_addons/testing_addons.doctree
Binary file not shown.
Binary file added
BIN
+46 KB
2022-new-headings-intros/.doctrees/howtos/using_vscode_editor/using_vscode_editor.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+89.9 KB
2022-new-headings-intros/.doctrees/python_api/scripted_elements_api.doctree
Binary file not shown.
Binary file added
BIN
+4.34 KB
2022-new-headings-intros/.doctrees/python_examples/data_interfaces.doctree
Binary file not shown.
Binary file added
BIN
+8.89 KB
...eadings-intros/.doctrees/python_examples/data_interfaces/check_results_data_array.doctree
Binary file not shown.
Binary file added
BIN
+8.02 KB
...adings-intros/.doctrees/python_examples/data_interfaces/volume_section_image_data.doctree
Binary file not shown.
Binary file added
BIN
+4.37 KB
2022-new-headings-intros/.doctrees/python_examples/dialog_widgets.doctree
Binary file not shown.
Binary file added
BIN
+6.02 KB
2022-new-headings-intros/.doctrees/python_examples/dialog_widgets/dropdown_widget.doctree
Binary file not shown.
Binary file added
BIN
+9.34 KB
...ros/.doctrees/python_examples/dialog_widgets/explorer_selected_elements_in_dialog.doctree
Binary file not shown.
Binary file added
BIN
+8.9 KB
...eadings-intros/.doctrees/python_examples/dialog_widgets/unit_dialog_event_handler.doctree
Binary file not shown.
Binary file added
BIN
+6.18 KB
2022-new-headings-intros/.doctrees/python_examples/dialog_widgets/widget_visibility.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.48 KB
2022-new-headings-intros/.doctrees/python_examples/misc/dialog_reopen_example.doctree
Binary file not shown.
Binary file added
BIN
+3.35 KB
2022-new-headings-intros/.doctrees/python_examples/script_icons.doctree
Binary file not shown.
Binary file added
BIN
+8.61 KB
...-new-headings-intros/.doctrees/python_examples/script_icons/script_icon_from_file.doctree
Binary file not shown.
Binary file added
BIN
+3.47 KB
2022-new-headings-intros/.doctrees/python_examples/script_resources.doctree
Binary file not shown.
Binary file added
BIN
+7.68 KB
...w-headings-intros/.doctrees/python_examples/script_resources/resource_api_example.doctree
Binary file not shown.
Binary file added
BIN
+5.04 KB
2022-new-headings-intros/.doctrees/python_examples/scripted_actuals.doctree
Binary file not shown.
Binary file added
BIN
+5.46 KB
...ew-headings-intros/.doctrees/python_examples/scripted_actuals/offset_point_simple.doctree
Binary file not shown.
Binary file added
BIN
+26.5 KB
2022-new-headings-intros/.doctrees/python_examples/scripted_actuals/offset_point_v2.doctree
Binary file not shown.
Binary file added
BIN
+8.06 KB
...dings-intros/.doctrees/python_examples/scripted_actuals/scripted_element_progress.doctree
Binary file not shown.
Binary file added
BIN
+12.9 KB
...ew-headings-intros/.doctrees/python_examples/scripted_actuals/trimesh_deform_mesh.doctree
Binary file not shown.
Binary file added
BIN
+4.36 KB
2022-new-headings-intros/.doctrees/python_examples/scripted_checks.doctree
Binary file not shown.
Binary file added
BIN
+14.2 KB
...ew-headings-intros/.doctrees/python_examples/scripted_checks/scripted_curve_check.doctree
Binary file not shown.
Binary file added
BIN
+11.9 KB
...w-headings-intros/.doctrees/python_examples/scripted_checks/scripted_scalar_check.doctree
Binary file not shown.
Binary file added
BIN
+10.4 KB
...-headings-intros/.doctrees/python_examples/scripted_checks/scripted_surface_check.doctree
Binary file not shown.
Empty file.
127 changes: 127 additions & 0 deletions
127
2022-new-headings-intros/_downloads/548b76d0a411422a7f2f34c1ce30ecab/dialog_yes_no.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import gom | ||
|
||
DIALOG=gom.script.sys.create_user_defined_dialog (dialog={ | ||
"content": [ | ||
[ | ||
{ | ||
"columns": 2, | ||
"name": "label", | ||
"rows": 1, | ||
"text": { | ||
"id": "", | ||
"text": "Choose a button. Any button.", | ||
"translatable": True | ||
}, | ||
"tooltip": { | ||
"id": "", | ||
"text": "", | ||
"translatable": True | ||
}, | ||
"type": "label", | ||
"word_wrap": False | ||
}, | ||
{ | ||
} | ||
], | ||
[ | ||
{ | ||
"button_type": "push", | ||
"columns": 1, | ||
"icon": "AAAAAA==", | ||
"icon_file_name": "", | ||
"icon_size": { | ||
"value": "icon" | ||
}, | ||
"icon_system_size": { | ||
"value": "default" | ||
}, | ||
"icon_system_type": { | ||
"value": "ok" | ||
}, | ||
"icon_type": { | ||
"value": "none" | ||
}, | ||
"name": "button_yes", | ||
"rows": 1, | ||
"text": { | ||
"id": "", | ||
"text": "Yes", | ||
"translatable": True | ||
}, | ||
"tooltip": { | ||
"id": "", | ||
"text": "", | ||
"translatable": True | ||
}, | ||
"type": "button::pushbutton" | ||
}, | ||
{ | ||
"button_type": "push", | ||
"columns": 1, | ||
"icon": "AAAAAA==", | ||
"icon_file_name": "", | ||
"icon_size": { | ||
"value": "icon" | ||
}, | ||
"icon_system_size": { | ||
"value": "default" | ||
}, | ||
"icon_system_type": { | ||
"value": "ok" | ||
}, | ||
"icon_type": { | ||
"value": "none" | ||
}, | ||
"name": "button_no", | ||
"rows": 1, | ||
"text": { | ||
"id": "", | ||
"text": "No", | ||
"translatable": True | ||
}, | ||
"tooltip": { | ||
"id": "", | ||
"text": "", | ||
"translatable": True | ||
}, | ||
"type": "button::pushbutton" | ||
} | ||
] | ||
], | ||
"control": { | ||
"id": "Empty" | ||
}, | ||
"embedding": "", | ||
"position": "", | ||
"size": { | ||
"height": 121, | ||
"width": 230 | ||
}, | ||
"sizemode": "", | ||
"style": "", | ||
"title": { | ||
"id": "", | ||
"text": "Push a button", | ||
"translatable": True | ||
} | ||
}) | ||
|
||
# | ||
# Event handler function called if anything happens inside of the dialog | ||
# | ||
def dialog_event_handler (widget): | ||
if widget == DIALOG.button_yes: | ||
gom.script.sys.close_user_defined_dialog( dialog = DIALOG, result = 'Yes' ) | ||
if widget == DIALOG.button_no: | ||
gom.script.sys.close_user_defined_dialog( dialog = DIALOG, result = 'No' ) | ||
|
||
DIALOG.handler = dialog_event_handler | ||
|
||
try: | ||
RESULT=gom.script.sys.show_user_defined_dialog (dialog=DIALOG) | ||
except gom.BreakError as e: | ||
RESULT = 'Cheater' | ||
|
||
print('RESULT', RESULT) |
644 changes: 644 additions & 0 deletions
644
2022-new-headings-intros/_downloads/7358cc5321d10932c3b63f88db9dc229/SingleLayoutWizard.py
Large diffs are not rendered by default.
Oops, something went wrong.
459 changes: 459 additions & 0 deletions
459
2022-new-headings-intros/_downloads/80984896c0fd765493602c64d84d4d35/MultiLayoutWizard.py
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.