Changes between Version 7 and Version 8 of PythonOcc


Ignore:
Timestamp:
Dec 12, 2011, 2:58:10 PM (13 years ago)
Author:
skulovec
Comment:

dodan komentar

Legend:

Unmodified
Added
Removed
Modified
  • PythonOcc

    v7 v8  
    543543mkFillet = BRepFilletAPI_MakeFillet(myBody.Shape())
    544544topology_traverser = Topo(myBody.Shape())
    545 for aEdge in topology_traverser.edges():
    546     mkFillet.Add(myThickness / 12. , aEdge)
    547 myBody = mkFillet.Shape()
     545for 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.
     547myBody = mkFillet.Shape() #vse zaokrožitve priključimo k prvotni obliki myBody
    548548
    549549# Dodajanje grla na steklenico (valj)