Changes between Version 54 and Version 55 of PythonOcc


Ignore:
Timestamp:
Nov 4, 2015, 9:57:50 AM (5 years ago)
Author:
dpenko
Comment:

Pri "bottle" primeru oopravil syntax za bottle primer (mirror) in dodal sliko.

Legend:

Unmodified
Added
Removed
Modified
  • PythonOcc

    v54 v55  
    280280aBRepTrsf = BRepBuilderAPI_Transform(aWire.Shape() , aTrsf)
    281281aMirroredShape = aBRepTrsf.Shape()
    282 aMirroredWire = TopoDS_wire(aMirroredShape)
     282aMirroredWire = topods_Wire(aMirroredShape)
    283283mkWire = BRepBuilderAPI_MakeWire()
    284284mkWire.Add(aWire.Wire())
     
    308308=== Izdelava primera Bottle z uporabo programskega jezika Python in knjižnice OCC ===
    309309Naslednji primer prikazuje izdelavo primera BottleCAD. Podrobnejši razdelek posameznih delov programske kode dobimo na [[http://trac.lecad.si/vaje/wiki/OpenCascade|MakeBottleCAD(C++)]].
     310[[Image(bottle.png, width=480px, right)]]
    310311{{{
    311312#!python