Commit Graph

356 Commits

Author SHA1 Message Date
Zheng, Lei
e63118d6b5 assembly: support freezing assembly
New property 'Freeze' added to assembly container to freeze any update
of the assembly.

AsmPartGroup and AsmElement has been change to bind to
Part::FeaturePython instead of App::FeaturePython, in order to be able
to hold its own shape when frozen. The new ChildViewProvider feature in
ViewProviderLink is used to display the native shape.
2018-07-13 11:25:56 +08:00
Zheng, Lei
9513b774a8 assembly: add some icons 2018-07-13 11:25:47 +08:00
Zheng, Lei
e6bb489990 assembly: fix parts tracking for auto solving 2018-07-05 08:22:55 +08:00
Zheng, Lei
f77de1de6f assembly: deprecate AsmSeketchElement 2018-07-04 07:39:25 +08:00
Zheng, Lei
007254681d assembly: shorten some code 2018-07-04 07:39:00 +08:00
Zheng, Lei
e3bdfffec7 assembly: add 'Offset' property to AsmElement 2018-07-03 17:38:57 +08:00
Zheng, Lei
fba1254627 assembly: enable auto solve on active transaction 2018-07-03 17:37:37 +08:00
Zheng, Lei
5c35ad78f0 Add six python module 2018-07-02 16:53:30 +08:00
realthunder
2ac3d2db98
Merge pull request #15 from looooo/master
py3-fixes
2018-07-02 16:52:08 +08:00
looooo
9a2e1e17b8 py3: exception has not attr message
assuming e.message is the same as str(e)
2018-07-01 23:08:34 +02:00
looooo
1ffc7b96e9 py3: basestring is not defined 2018-07-01 21:00:14 +02:00
looooo
7fb8cf48ad py3-fixes:
- use six.with_metaclas(metaclass, baseclass)
- some imports must be handled in a different way if py_solve is a external package (conda)
2018-07-01 20:42:59 +02:00
Zheng, Lei
f5dd9d42f2 assembly: sync getSubObjects() API changes 2018-06-30 13:47:09 +08:00
Zheng, Lei
735d6ac260 assembly: fix adding constraint in sub-assembly 2018-06-23 07:52:21 +08:00
realthunder
3427dc0461
Merge pull request #13 from maidenone/master
Fixed typo in solver log output
2018-06-12 18:13:34 +08:00
Anton Fosselius
bdaa7c1e23
#10 fix typo in readme
- Infrustracture -> infrastructure
2018-06-12 07:58:05 +02:00
Anton Fosselius
6d34ad00e9
Fixed typo in solver log output
- fixed typo in log message
2018-06-12 07:02:20 +02:00
Zheng, Lei
053517e6e2 system: fix offset in PlaneAlignment 2018-06-10 09:17:40 +08:00
Zheng, Lei
042c43ddd2 assembly: prevent deleting constraint group 2018-06-04 12:03:41 +08:00
realthunder
857bbd6c48
Merge pull request #12 from Patola/patch-1
small typo to the design wiki link.
2018-06-04 10:32:53 +08:00
Patola
b91cd7d41a
small typo to the design wiki link.
Changed "|" back to "/". Then it works.
2018-06-03 22:49:08 -03:00
Zheng, Lei
35385866aa gui: add command to lock mover for fixed parts 2018-06-03 13:14:58 +08:00
Zheng, Lei
939f571aa8 solver: do not raise error when no assembly is found 2018-06-03 12:39:02 +08:00
Zheng, Lei
4b1a3b9de6 assembly: add support for Origin 2018-06-03 12:37:32 +08:00
Zheng, Lei
200ad8795f assembly: support color and visibility override 2018-05-24 15:27:20 +08:00
Zheng, Lei
81cbd0412f Fix typo in Readme 2018-05-22 06:43:17 +08:00
Zheng, Lei
f11acae52e mover: add quick move command 2018-05-21 19:07:47 +08:00
Zheng, Lei
ccdc989539 Add quick mover icon 2018-05-21 19:07:47 +08:00
Zheng, Lei
31f1f2b849 constraint: support cylindrical plane in AxialAlignment and Colinear 2018-05-21 19:07:47 +08:00
Zheng, Lei
fe7a1757cb constraint: add OffsetX and offsetY to PlaneCoincident 2018-05-21 19:07:47 +08:00
Zheng, Lei
094828561b constraint: extend Angle locking to yaw-pitch-roll
Angle locking applies to PlaneCoincident, PlaneAlignment,
AxialAlignment, and MultiParallel
2018-05-21 19:07:44 +08:00
Zheng, Lei
61ccdf5bac assembly: fix Part.getShape() for Assembly container 2018-05-21 19:07:18 +08:00
Zheng, Lei
ce6b13bdd1 gui: eliminate unnecssary warning in auto element vis 2018-05-03 18:13:44 +08:00
Zheng, Lei
61466dce67 util: optimize getElementShape() 2018-04-23 12:55:18 +08:00
Zheng, Lei
f1e6ce4425 gui: reset visiblity on activate auto element visibility 2018-04-22 07:03:14 +08:00
Zheng, Lei
f9ed2eb880 Improve warning on solver backend not found 2018-04-20 14:14:56 +08:00
Zheng, Lei
287642d34a assembly: fix workplane command activation 2018-04-19 18:01:12 +08:00
Zheng, Lei
fec914d62f Update readme 2018-04-17 21:10:57 +08:00
Zheng, Lei
0017c2c7c3 Add support for MacOS 2018-04-11 18:13:06 +08:00
Zheng, Lei
90fc3e368c gui: make AutoElementVis feature active by default 2018-04-11 18:09:26 +08:00
Zheng, Lei
bcaded5b43 system: fix AxialAlignment redundancy handling 2018-04-08 17:11:24 +08:00
Zheng, Lei
b5489b8a9b system: change auto relax behavior
New property is added to Assembly container named 'AutoRelax' to let
user decide. It is by default off. PlaneCoincident auto relax will be
always on regardless of this setting.
2018-03-31 07:56:41 +08:00
Zheng, Lei
6b98f8c7b6 utils: fix getElementShape()
The mover can now support whole object selection
2018-03-26 15:35:51 +08:00
Zheng, Lei
508fcd7713 assembly: support dropObjectEx API changes 2018-03-26 11:50:01 +08:00
Zheng, Lei
80bceefcc6 system: auto relax some redundant composit constraints
The order of appearance of the constraints determines how redundancies
are handled.

PlaneCoincident: the second PlaneCoincident of the same pair or parts is
relax to a 2d point horizontal or vertical constraint. The third and
onwards are ignored.  Any PlaneCoincident constraint will be ignored if
there are any existing PlaneCoincident or AxialAlignment.

PlaneAlignment: the second one is relaxed to two PointInPlane or
PointPlaneDistance constraint. The third one is relaxed to one
PointInPlane or PointPlaneDistance. The forth and onwards are ignored.
Any PlaneCoincident constraint will be ignored if there are any existing
PlaneCoincident or AxialAlignment.

AxialAlignment: ignored if there are any existing PlaneAlignment or
PlaneCoincident constraints
2018-03-24 12:12:22 +08:00
Zheng, Lei
91638cce8d mover: clear selection before activate mover 2018-03-24 12:12:22 +08:00
Zheng, Lei
78da480d56 py_slvs: allow redundant constraints 2018-03-24 12:12:22 +08:00
Zheng, Lei
10ca2f7710 gui: support tree view mouse over preselection 2018-03-24 12:12:17 +08:00
Zheng, Lei
8cf3c3f48b constraint: fix negative distance in composite constraints 2018-03-21 15:43:48 +08:00
Zheng, Lei
55ba2c2b3c constraint: tolerate empty lock constraint 2018-03-21 15:43:28 +08:00