Commit Graph

15 Commits

Author SHA1 Message Date
6f52d88cfa More tests + fixes 2021-08-31 18:35:01 +02:00
3337b81ff9 Add tests 2021-08-31 08:58:51 +02:00
e00ac83f98 Implement importBrep and vtkPolyData export (#735)
* Implement importBrep

* Implement rw to/from stream

* Implement toVtkPolyData

* Implemented VTP export

* Added normals calculation

* use VTK for rendering in jupyter

* Added orientation marker

* Assy rendering in notebooks

* Implement export to vtkjs

* Store the env in the cqgi result

* VTK-based cq directive

* Support show_object and assy

* assy vrml export via vtk

* Use vtk in the docs

* Add slot dxf file

* Add vtk.js to the static files

* Use single renderer

* Ignore cq_directive code coverage

* Ignore missing docutils stubs

* Implement select

* Disable interaction dynamically

* Mention VTP in the docs

* Add path to the test reqs
2021-06-22 17:36:50 +09:30
36d4178024 Expose SVG Export Options and Add Some Useful Extras (#596)
* Exposed getSVG opt parameter and added project dir

* Added additional options based on feedback

* Lint updates

* Added docstring for getSVG

* Fix strange black formatting suggestion.

Co-authored-by: Marcus Boyd <50230945+marcus7070@users.noreply.github.com>

* Fixed another Lint error that I did not see locally

* Added test for STL options

* Trying to get codecov to see that line 260 is covered

* Fixed copy-paste error of the wrong test

* Mention opt in the docstring

Co-authored-by: Marcus Boyd <50230945+marcus7070@users.noreply.github.com>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2021-01-28 22:04:35 +01:00
5ec49c6cd1 Cover all code paths in VRML export 2020-11-19 08:22:35 +01:00
d43ed8f665 Added test 2020-10-14 19:07:47 +02:00
c819dfca48 Fix dxf arc export for some partial circles (#455)
* Fix dxf arc export for some partial circles

* Fix dxf export formatting, add test

* Black related update

Co-authored-by: Scott Nagy <i@sna.gy>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-09-27 15:33:59 +02:00
5b1cd24788 Update the tests accordingly 2020-08-07 08:50:53 +02:00
3756a243c8 Fix lint bug I introduced. 2020-08-06 14:34:22 -07:00
462dcea6c4 Add angularPrecision to export, exportShape and toString
Add tolerance and angularPrecision to TestExporters._exportBox and in
the call to exportShape.
2020-08-06 12:20:12 -07:00
4f0f333ad8 Fix deprecation warning about assertAlmostEquals 2020-08-06 12:02:12 -07:00
8ec3b2fed8 Additional tests 2020-07-29 09:02:58 +02:00
da1b984a81 DXF export test 2020-07-28 22:23:13 +02:00
102c16c14e Add Black formatting check to CI (#255)
* Add Black formatting check to CI
* Add some documentation for code contributors
* Use uncompromised code formatting
2020-01-20 20:52:12 +01:00
5069483aef Use pytest to run the test suite 2019-12-12 20:58:47 +01:00