Commit Graph

1629 Commits

Author SHA1 Message Date
1fe46ba177 Make the Assy API fluent 2020-09-04 13:07:47 +02:00
6c2840a446 Py3.6 fix 2020-09-04 12:49:25 +02:00
fbf6a54a0e Fixed format mismatch 2020-09-04 11:53:26 +02:00
58899208e0 Test assembly.save 2020-09-04 11:48:28 +02:00
9693f5e357 Better format definition 2020-09-04 11:48:15 +02:00
2029e40a7b Implemented save 2020-09-04 11:47:53 +02:00
cc4dd03e54 Test additional Loc ctor 2020-09-04 10:18:11 +02:00
40a214e467 Better interpretable assy test 2020-09-04 10:17:53 +02:00
834e23052e Simplify setName 2020-09-04 10:00:00 +02:00
46f90110ef Added tests 2020-09-03 21:54:19 +02:00
af5f213fb8 Rewokred OCAF structure generation 2020-09-01 17:40:02 +02:00
63bf354224 Added export to native CAF format 2020-09-01 15:13:14 +02:00
0c19653af1 Reorganized assemblies 2020-08-31 15:31:47 +02:00
2d721d0ff8 add the choice to not import all dxf layers (#442)
* add the choice to not import all dxf layers

this is especially useful for ignoring layers in drawings containing note text or dimensions

* remove a blank line

* Rework layer exclusion in dxf import

* add dxf for layer tests

* add tests for dxf import layer filtering and extrusion

fix edges/wires mixup

remove extra `)`

fix var name typo

fix lint

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-08-31 09:26:26 +02:00
b3d089f9f1 Merge pull request #445 from CadQuery/selectors-fix
Allow spaces in a vector literal
2020-08-30 20:20:35 -04:00
a8d13c969e Get rid of libstdc++6 apt install 2020-08-30 15:04:24 +02:00
44498cdad1 Test the grammar extension 2020-08-30 14:11:39 +02:00
75be3e655d Allow spaces in a vector literal 2020-08-30 14:07:25 +02:00
52097fcee3 Reworked exportAssembly 2020-08-26 22:55:46 +02:00
07e0de9f73 Initialize children 2020-08-26 22:52:39 +02:00
ba55fd1e29 Disable mypy check for numpy and nptyping 2020-08-24 21:51:17 +02:00
d4f443d9c6 Another Location constructor overload 2020-08-24 21:23:42 +02:00
458c1eadc7 Ignore missing scipy stubs 2020-08-24 20:08:46 +02:00
39e247a856 Started implementing assy export 2020-08-24 20:07:00 +02:00
1efbef755a Dummy __init__ 2020-08-19 17:39:34 +02:00
6f5ed87804 Add objects to the Constraint type 2020-08-19 17:38:57 +02:00
16c3d28c7d Implemented cost function 2020-08-19 16:38:57 +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
f08d9adc6a Added dummy solver class 2020-08-18 17:24:34 +02:00
f879254240 Initial version of the assembly API 2020-08-17 17:39:03 +02:00
5ad5fdfa3d Merge pull request #436 from CadQuery/dev-version
Mark dev version in setup.py
2020-08-15 09:40:01 -04:00
1a6651d67d Add py.typed file to make CQ PEP-561 compatibile (#435)
* Add PEP-561 compatibility

This change signals to mypy that there is type annotations in the files
and they should be used to validate type information for cadquery.

See: https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages

* Add py.typed to MANIFEST.in

* Delete MANIFEST

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-08-14 23:48:43 +02:00
5b4ca98247 Update .gitignore (#437)
Ignore MANIFEST, cadquery.egg-info directory and files generated by
running pytest out.* and res?.* ,
2020-08-14 19:07:45 +02:00
02ca901cae Mark dev version in setup.py 2020-08-13 17:49:59 +02:00
c6e922eb02 Updated the installation to reference OCP and pointed people to the master installation option. (#434) 2020-08-12 21:53:54 +02:00
83ad6ebd19 Fix type annotation for selectors (#430) 2020-08-12 08:58:35 +02:00
7a15fc84a5 Merge pull request #429 from CadQuery/py38-build
Build for python 3.8 on azure
2020-08-11 17:12:58 -04:00
6312153212 Do not specify IPython version 2020-08-11 22:51:43 +02:00
4414e850f8 Use Python 3.8 in travis 2020-08-11 22:04:17 +02:00
a0297e6469 Fix CQGI for py38 2020-08-11 18:38:38 +02:00
65edb68099 Unpin ipython version 2020-08-11 08:55:20 +02:00
89eacc3be5 Use conda bld 3.19.2 2020-08-10 23:30:00 +02:00
44bc293dd5 Use newer conda-build 2020-08-10 20:51:09 +02:00
af6ea1fe99 Update selectors.rst (#427)
Fix a couple of counterintuitive description of Faces selectors.
2020-08-10 20:34:12 +02:00
25bc0a9a56 Build for 3.8 on azure 2020-08-10 20:21:11 +02:00
727f0e1b34 Merge pull request #424 from winksaville/add-angularPrecision
Add angular precision
2020-08-07 23:38:35 -04:00
5b1cd24788 Update the tests accordingly 2020-08-07 08:50:53 +02:00
056f626bdb Make tolerance naming convention self-consistent 2020-08-07 08:49:16 +02:00
35dee903c7 Changed naming convention. 2020-08-07 08:44:28 +02:00
2945673d46 Fix deprecation warning about assertAlmostEquals (#423) 2020-08-07 08:30:03 +02:00