Skip to content

How can i get Geom_Surface's UV parametric surface function? #1429

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

Open
NFYG opened this issue Apr 29, 2025 · 0 comments
Open

How can i get Geom_Surface's UV parametric surface function? #1429

NFYG opened this issue Apr 29, 2025 · 0 comments

Comments

@NFYG
Copy link

NFYG commented Apr 29, 2025

def read_step(filepath):

    compound = read_step_file(filepath)
   
    topo = TopologyExplorer(compound)

    
    for i,face in enumerate( topo.faces() ):

        geom_surface = BRep_Tool().Surface(face)

        print(geom_surface.Bounds())

I use such code to access every face of my *.STEP file.

How can i get geom_surface's UV parametric surface function?

And why the surface is infinite while my *.STEP file is finite and bounded? (geom_surface.Bounds() return infinite U1 U2 V1 V2)

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