Changes between Version 7 and Version 8 of PythonOcc
- Timestamp:
- Dec 12, 2011, 2:58:10 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PythonOcc
v7 v8 543 543 mkFillet = BRepFilletAPI_MakeFillet(myBody.Shape()) 544 544 topology_traverser = Topo(myBody.Shape()) 545 for aEdge in topology_traverser.edges(): 546 mkFillet.Add(myThickness / 12. , aEdge) 547 myBody = mkFillet.Shape() 545 for aEdge in topology_traverser.edges(): #z uporabo for zanke iščemo robove na CAD modelu in jih zaokrožujemo s funkcijo mkFillet in združujemo z .Add 546 mkFillet.Add(myThickness / 12. , aEdge) #velikost zaokrožitve myThickness / 12. 547 myBody = mkFillet.Shape() #vse zaokrožitve priključimo k prvotni obliki myBody 548 548 549 549 # Dodajanje grla na steklenico (valj)