Bernhard
|
fd4a76bce0
|
fix mis-alignment
|
2023-03-20 08:57:16 +01:00 |
|
Roger Maitland
|
98acfc9ead
|
Updated with _get_context
|
2023-03-19 21:11:44 -04:00 |
|
Roger Maitland
|
ffc11acd90
|
Refactored with a more robust _get_context
|
2023-03-19 20:15:40 -04:00 |
|
Bernhard
|
83da9b9ddf
|
added all parts
|
2023-03-19 21:24:15 +01:00 |
|
Bernhard
|
7d18354736
|
use validate_input function
|
2023-03-19 21:23:57 +01:00 |
|
Bernhard
|
3d61d4bef3
|
Merge branch 'algebra' of github.com:gumyr/build123d into algebra
|
2023-03-19 19:38:52 +01:00 |
|
Bernhard
|
083e84991c
|
added location tests
|
2023-03-19 19:38:18 +01:00 |
|
Bernhard
|
8eb0fdc4d3
|
ensure dim is set after bool ops
|
2023-03-19 19:38:04 +01:00 |
|
Roger Maitland
|
2bbf02b8c6
|
Moving ahead with algebra for lines
|
2023-03-19 14:29:54 -04:00 |
|
Bernhard
|
ee1dc62c1f
|
empty compound algebra tests
|
2023-03-19 18:43:05 +01:00 |
|
Bernhard
|
bc0eecd313
|
support algebra with empty compounds Part(), Sketch()
|
2023-03-19 18:42:40 +01:00 |
|
Bernhard
|
7f3be88e0c
|
Use AlmostEqual to work on M1 Mac
|
2023-03-19 18:05:03 +01:00 |
|
Bernhard
|
b79c65707a
|
change checked error type
|
2023-03-19 18:00:09 +01:00 |
|
Bernhard
|
53deae9a01
|
removed unused dump_class function
|
2023-03-19 17:56:26 +01:00 |
|
Bernhard
|
d200828d00
|
fix copy/paste error
|
2023-03-19 17:56:02 +01:00 |
|
Bernhard
|
0a278f1284
|
use center of mass for center calculation
|
2023-03-19 17:55:32 +01:00 |
|
Bernhard
|
f9856cbb07
|
fixed wrong function name
|
2023-03-19 17:54:44 +01:00 |
|
Bernhard
|
7ff1915c59
|
add unwrapped_shapetype
|
2023-03-19 17:54:11 +01:00 |
|
Bernhard
|
cb21390341
|
initial set of tests
|
2023-03-19 14:31:07 +01:00 |
|
Bernhard
|
849c691b8d
|
move align correction into align condition
|
2023-03-19 14:30:27 +01:00 |
|
Bernhard
|
23277e729c
|
added __sub__ to ShapeList
|
2023-03-19 14:29:38 +01:00 |
|
Bernhard
|
c59e94c963
|
removed second time setting of _dim
|
2023-03-19 14:29:07 +01:00 |
|
Roger Maitland
|
5b87abd403
|
Generalized algebra to work on all Shapes
|
2023-03-18 19:09:40 -04:00 |
|
Roger Maitland
|
1908e3d923
|
Removed potentially dangerous shallow copy and if None
|
2023-03-16 11:38:00 -04:00 |
|
Roger Maitland
|
16cb1f3512
|
Add check for empty Part
|
2023-03-15 16:13:34 -04:00 |
|
Roger Maitland
|
91fb56dcd6
|
Misc algebra related fixes
|
2023-03-15 16:02:42 -04:00 |
|
Roger Maitland
|
cff6d9ff06
|
Removed algebra.py
|
2023-03-15 15:31:21 -04:00 |
|
Roger Maitland
|
365ec71be1
|
Ported remaining algebra.py objects
|
2023-03-15 11:02:45 -04:00 |
|
Roger Maitland
|
7ff65f4eb0
|
Relocated Part, Sketch to topology.py
|
2023-03-14 19:33:58 -04:00 |
|
Roger Maitland
|
0525cd1d98
|
Fixed BuildPart._add_to_context & compounds
|
2023-03-14 16:19:55 -04:00 |
|
Bernhard
|
2fddfab789
|
fix validate context
|
2023-03-14 19:24:21 +01:00 |
|
Bernhard
|
432dac3ac8
|
fix unwrapping in _add_to_context
|
2023-03-14 19:23:15 +01:00 |
|
Roger Maitland
|
1bac5b1f91
|
Allowing Compound.get_type to work on Compound of Compounds
|
2023-03-14 14:05:19 -04:00 |
|
Bernhard
|
89a89851f6
|
renamed AlgPart and AlgSketch to PArt and Sketch
|
2023-03-13 21:57:13 +01:00 |
|
Bernhard
|
9fe2b5df52
|
separate example files for part and sketch
|
2023-03-13 21:55:50 +01:00 |
|
Bernhard
|
f1b7b4d18a
|
remove not needed classes
|
2023-03-13 21:53:10 +01:00 |
|
Bernhard
|
650f47bd2e
|
introduce algebra mode for sketches
|
2023-03-13 21:52:46 +01:00 |
|
Bernhard
|
32b8e7adbb
|
extend validate_inputs
|
2023-03-13 21:50:05 +01:00 |
|
Bernhard
|
e911cd4783
|
restructure AlgPart and add wrapper_class
|
2023-03-13 21:49:22 +01:00 |
|
Roger Maitland
|
e93d19a105
|
Added BaseLineObject
|
2023-03-12 20:20:05 -04:00 |
|
Bernhard
|
a259988e02
|
added some more examples
|
2023-03-12 21:32:18 +01:00 |
|
Bernhard
|
7a577e27f4
|
use class name in __repr__ instead of string 'Compound'
|
2023-03-12 21:31:54 +01:00 |
|
Bernhard
|
da658e78af
|
added Compound as import
|
2023-03-12 21:31:11 +01:00 |
|
Bernhard
|
4151158dc2
|
prevent algebraic functions in contexts
|
2023-03-12 21:30:48 +01:00 |
|
Bernhard
|
1f763bc3e6
|
wrap build_part.part into AlgPart
|
2023-03-12 21:28:54 +01:00 |
|
Bernhard
|
4d5aa642e4
|
introduced AlgPart et. al.
|
2023-03-12 21:27:33 +01:00 |
|
Bernhard
|
1e1d93f00c
|
add examples for algebra and context mode
|
2023-03-12 15:46:14 +01:00 |
|
Bernhard
|
945125519f
|
enable both context and algebra mode
|
2023-03-12 15:45:20 +01:00 |
|
Bernhard
|
50a22626bb
|
Do not raise exception when context is None
|
2023-03-12 15:44:45 +01:00 |
|
Bernhard
|
b508717979
|
add the AlgebraMixin
|
2023-03-12 15:44:20 +01:00 |
|