Hi everyone,

I've been tinkering with this nurbs surface (looped, but open at 2 ends) for a 
while now, but I couldn't manage to make a solid out of it.
BRepBuilderAPI_MakeSolid needs a closed volume, which the surface isn't. I've 
tried to use BRepOffsetAPI_MakeFilling, but unfortunately the filling is quite 
rough and I didn't manage to make it match the loop hole.
It's already been done with CATIA, so it is possible to fill the hole. Which 
pythonocc tools could I use? I'm running out of ideas...
Any hints would be appreciated!

Balint
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone
# -*- coding: utf-8 -*-
from OCC.Utils.DataExchange.STEP import *
from OCC.Display.SimpleGui import *
set_backend('qt')
display, start_display, add_menu, add_function_to_menu = init_display()

BladeImporter = STEPImporter("blade.stp")
BladeImporter.ReadFile()
shapeList = BladeImporter.GetShapes()
bladeSurface = shapeList[0]

display.DisplayShape(bladeSurface)
start_display()

Attachment: blade.stp
Description: Binary data

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to