Jump to content

Construct a plane on the CAD from a dialog


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

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

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

 

  • 5 months later...
×
×
  • Create New...