lorensen / VTKExamples

The VTK examples, formerly hosted on media wiki
Apache License 2.0
342 stars 157 forks source link

ENH: Add Python solid clip example #659

Closed jhlegarreta closed 4 years ago

jhlegarreta commented 4 years ago

Add Python solid clip example.

ajpmaclean commented 4 years ago

An image is needed for Testing/Baseline/Python/Meshes.

ajpmaclean commented 4 years ago

One further comment! Could you please add a background to the image, once again using vtkNamedColors. I'll backport your changes to the C++ example. So it will also look nicer!

jhlegarreta commented 4 years ago

An image is needed for Testing/Baseline/Python/Meshes.

Added in b6ca8de. I had not realized (or forgot) that examples get testes. It is awesome !

One further comment! Could you please add a background to the image, once again using vtkNamedColors

Done in b6ca8de.

I'll backport your changes to the C++ example. So it will also look nicer!

Thanks Andrew.

ajpmaclean commented 4 years ago

Thanks for the work. I'll add it to the menu and do a couple of little changes and backport these changes to the C++ code. It looks good.

jhlegarreta commented 4 years ago

Sounds good. Thanks Andrew.

ajpmaclean commented 4 years ago

I have just finished, here is the new image: TestSolidClip I hope you like the ghost of what has been clipped away. The C++ code and indexes have also been updated. Thanks for all your efforts.

jhlegarreta commented 4 years ago

Awesome. I love it !! Thanks for having done that @ajpmaclean !