Commit Graph

15 Commits

Author SHA1 Message Date
AU
6d7d1d640d Sketch and Workplane improvements (#1633)
* Add special methods to Sketch a clean up

* Sketch support in DXF exporter

* Use the new __iter__ interface

* Fix failing tests

* Add some exporter tests

* More tests

* Typo fix

* Fix test

* Bool ops for Sketch

* Use else

* Better annotations

* Implement add/subtract/replace

* Extend _getFaces()

* Annotation tweaks

* Additional operators

* Add deprecations

* Allow 0 spacing

* Implement __iter__

* Decouple exporters and Workplane

* Export methods

* Solve circular import

* More args for export

* Add brep

* Add some tests

* Fix stack searching

* Some tests

* Implement moved overloads for Sketch

* extract get_arity to utils

* Workplane __iter__ tests and tweaks

* Assy export tests

* Fix test

* Coverage tweaks

* Coverage tweaks 2

* Test for Sketch additions

* Black fix

* Make _selection optional

* More tests

* More sketch coverage

* Some doc improvements

* More docs

* Mention special methods for Sketch

* Doc fixes

* Coverage tweaks

* Doc tweaks

* Typo fix

* Spelling

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>

* Rework cq.py

* Rework sketch.py

* Rephrase

* Set spacing to 0

---------

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
2024-08-21 06:07:30 +02:00
9ee703da34 filter/map/apply/sort/[]/invoke (#1514)
* PoC commit for discussion

* Rework

Remove group
Rename
More generic []
Add apply / change map

* Iterable check fix

* typing fix

* Add docstrings

* Add tests

* Black fix

* fix test

* Another fix

* Test fix

* Add invoke

* Support builtins

* Add test for invoke

* Better coverage

* Add some docs on ad-hoc selection

* Mention special methods for extending

* Typo fix

* Better docstring and typos

Co-authored-by: Matti Eiden <snaipperi@gmail.com>

* Typo fix

Co-authored-by: Matti Eiden <snaipperi@gmail.com>

---------

Co-authored-by: AU <adam-urbanczyk@users.noreply.github.com>
2024-07-03 18:48:31 +02:00
e323a219c1 Format documentation code blocks with blacken-docs 2023-07-22 14:45:06 +12:00
0d50ea946e Fix syntax errors in documentation code blocks
* Fix syntax errors that would cause an error when running blacken-docs.
* If default language code blocks are not Python, or are Python
  fragments, make them explicit with `.. code-block::`.
2023-07-22 14:44:38 +12:00
e623d063af Fix inconsistent 2D and 3D spellings 2021-08-20 15:50:27 +03:00
43e8377eb3 Docs update 2020-09-30 18:18:40 +02:00
c7b7e9592f Integrate sphinxcadquery to visualize 3D parts (#111)
* Integrate `sphinxcadquery` to visualize 3D parts

* Try different default export tolerance

* Change the tolerance for toString too

* Tighter angularTolerance for toString

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-08-18 17:27:51 +02:00
c82e908e61 Documentation update 2020-06-22 08:42:16 +02:00
00bbb34f17 Used spell checker to find several other mis-spellings. 2019-01-30 06:32:37 -05:00
b99ac29a4f Went through and updated the docs source to change FreeCAD and CQFM content and references to PythonOCC and CQ-editor. 2019-01-17 13:25:51 -05:00
142a5c88d8 workable version of cqgi version 2015-12-09 21:01:14 -05:00
a967e1f0b9 Tried to get documentation Into Shape 2015-11-28 21:05:20 -05:00
37e78284ad added missing rst files. published 0.1.7 2014-10-25 12:57:46 -04:00
5c763c8f9e make pip installer 2013-04-23 21:31:56 -04:00
8943b8dd10 renamed folders to standard ones 2013-04-15 21:22:54 -04:00