[Er...] Posted January 18 Share Posted January 18 Hi everyone, I would like to create a script that prompts the user to select a planar patch on the CAD. Then the script regain take control and create a plane on the patch programmatically. Or, as an alternative, if would you to build a generalized Construct > Auto Plane (Nominal)... dialog in a script, in such a way that the user can do the point selection on the CAD. Any help would be appreciated! Thanks a lot in advance. regards, Erik Link to comment Share on other sites More sharing options...
[De...] Posted January 21 Share Posted January 21 Hey Erik, They have a similar workflow on the github page. The wizard dialogs can get a bit confusing, so if you get stuck don't hesitate to ask for help. not sure what version you're using, the link below is for 2025. If 2023 --> replace 2025 with 2023 in URL. https://zeissiqs.github.io/zeiss-inspect-addon-api/2025/howtos/python_api_introduction/creating_wizard_dialogs.html Link to comment Share on other sites More sharing options...
[Er...] Posted January 27 Author Share Posted January 27 Hi Devon, Thanks, I'll look into it. It looks quite complicated but I'll just give it a try!😃 Link to comment Share on other sites More sharing options...
[Ja...] Posted January 27 Share Posted January 27 May i ask why you are looking to do this? It is a curious thing to want to code. Perhaps with an understanding of the end goal there may be less complex solutions. Link to comment Share on other sites More sharing options...
[Er...] Posted February 3 Author Share Posted February 3 Hi James, Thank you for asking! I would like to let the script construct the midplane between two side surfaces of a gear. So the script asks the user to select surface #1, then surface #2 and then the script takes control again and constructs the midplane. I need the midplane to construct a section on the involute surfaces of the teeth. Best regards, Erik Link to comment Share on other sites More sharing options...
[Na...] Posted February 4 Share Posted February 4 Hi Eri, maybe you could misuse the GD&T quick creation for a linear size for this? It should be possible to create and copy clusters with the needed elements on a gear, too. Nanno Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in