the PAFTest _step_changed method does not need to call my_context.solve nor my_context.update_display. The magic of PAF is that if a Parameters attribute is changed, that all is automagically updated...
r909 | jelleferinga | 2010-03-03 12:15:57 +0100 (Mer, 03 mar 2010) | 1 line
extending geomplate example, still trimming outer edges to do... gave OCCViewer.DisplayShape an additional angle argument, such that shape can be displayed with higher resolution. Added a check in IGESReader such that it is checked whether a file exists before trying to read it ( which can cause segfaults )
r918 | tpaviot | 2010-03-09 17:31:25 +0100 (Mar, 09 mar 2010) | 1 line
Enabling mesh traversing: the SMDS_Mesh class now have nodeValue(index), edgeValue(index) and faceValue(index) overcoming the boost::shared_ptr wrapper issue
r926 | jelleferinga | 2010-03-16 11:33:56 +0100 (Mar, 16 mar 2010) | 1 line
rounding did not use an argument. so when building a box of say, 1.5, 0.5, 0.5 the box would be truncated to 1,1,1 which will segfault the ode module, since it cannot allow to create a body without mass
tried to update the dyn_demo as good as I can, but for instance domino fails ( or it looks different for sure ) rotating box is not visible, display_cog_traj does not show its trajectory.
File "/Users/localadmin/Documents/workspace/pyocc/src/unittest/hashing_unittest.py", line 28, in testGP
self.assertEqual(p1,p3)
AssertionError: <OCC.gp.gp_Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x105d4c950> > != <OCC.gp.gp_Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x105d4c990> >
AssertionError: <OCC.gp.gp_Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x105cb8950> > != <OCC.gp.gp_Pnt; proxy of <Swig Object of type 'gp_Pnt *' at 0x105cb8990> >
File "hashing_unittest.py", line 41, in testTopoDS
self.assertEqual(box1,box2)
AssertionError: <OCC.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x100c6be18> > != <OCC.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x100c68018> >
# Thomas moved this code to OCC.Topology.Explorer ( a little reckless ;) many modules still follow this path, so let me keep it while not duplicating the code