Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Construct a plane on the CAD from a dialog


---
 Share

Recommended Posts

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

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

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

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

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

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

 Share

×
×
  • Create New...