Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boundary of the body #246

Open
lxy-mini opened this issue Jan 23, 2025 · 1 comment
Open

boundary of the body #246

lxy-mini opened this issue Jan 23, 2025 · 1 comment

Comments

@lxy-mini
Copy link

I want to get the boundary of the body. Can you give me some ideas? I want to get the boundary of the body to calculate whether it is contained by other parts. I saw related functions to obtain the boundary, but a label is required. Is the label here pre-generated?

   def get_boundary(self, i_label: str) -> Boundary:
        """
        .. note::
            :class: toggle

            CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
                | o Func GetBoundary(CATBSTR iLabel) As Boundary
                | 
                |     Returns a boundary using its label.
                | 
                |     Parameters:
                | 
                |         iLabel
                |             Identification of the 
                | 
                |         Boundary object. See Reference.DisplayName. 
                |     Returns:
                |         The retrieved boundary

        :param str i_label:
        :rtype: Boundary
        """
        return Boundary(self.shapes.GetBoundary(i_label))
@lxy-mini
Copy link
Author

In addition, the body has been encapsulated and no more details can be seen in CATIA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant