Commit Graph

30 Commits

Author SHA1 Message Date
Zheng, Lei
eb6519ff8c Refactor undo/redo with FreeCAD.setActiveTransaction() 2017-12-24 18:43:34 +08:00
Zheng, Lei
a812c4f352 assembly: add CTRL key to bypass auto-solve 2017-12-11 10:31:32 +08:00
Zheng, Lei
d76902b215 Add support of origin and datum feature 2017-12-10 18:49:06 +08:00
Zheng, Lei
4ad32a084f assembly: change OnTopWhenSelected behavior
Now only whole object (AsmElement, AsmElementLink) selection activates
OnTopWhenSelected.
2017-12-10 18:48:14 +08:00
Zheng, Lei
176817a635 Migrate to new style FC module 2017-12-07 03:14:13 +08:00
Zheng, Lei
7c2ebac386 assembly: auto recompute on undo/redo while dragging 2017-12-04 21:02:40 +08:00
Zheng, Lei
eb06ef8fbd solver: solver rollback on failure while dragging 2017-12-04 20:25:35 +08:00
Zheng, Lei
5ac1dd7971 assembly: material override in ElementLink
Original override point is ViewProviderAsmConstraint, which will
override any material setting in ViewProviderAsmElementLink. It's
better to default override at the bottom hierarchy.
2017-12-04 16:12:53 +08:00
Zheng, Lei
c738d24b7d assembly: fixed linked part moving 2017-12-04 11:55:11 +08:00
Zheng, Lei
1960144ef2 assembly: support label based element link 2017-12-02 17:02:10 +08:00
luzpaz
9ae710b154 misc. trivial typos
Decided to quickly run `codespell` on the repo.
2017-11-19 19:11:56 -05:00
Zheng, Lei
9e2037a13b Disable linked properties in AsmElement and AsmElementLink 2017-11-16 18:31:08 +08:00
Zheng, Lei
8999ca6015 assembly: enable OnTopWhenSelected feature 2017-11-16 18:31:08 +08:00
Zheng, Lei
8383b20308 assembly: hide view object 'Visibility' property
The visibility property is incompatible with sub object visibility
control, so hide it to avoid confusion
2017-11-16 18:31:08 +08:00
Zheng, Lei
3c8e211b49 Enable undo in creating assembly command 2017-11-16 18:31:08 +08:00
Zheng, Lei
d69e5c8f88 assembly: make Group property readonly 2017-11-16 18:31:03 +08:00
Zheng, Lei
73238087c1 Add AsmWorkPlane 2017-11-11 03:34:43 +08:00
Zheng, Lei
2274fec363 Complete support for drag and drop 2017-11-11 03:34:38 +08:00
Zheng, Lei
6b91e11daf Select newly created constraint 2017-10-31 12:06:58 +08:00
Zheng, Lei
f16fbf52a8 Refactor part move command 2017-10-31 04:09:14 +08:00
Zheng, Lei
fbbb1ab567 Add item move up/down commands 2017-10-31 04:08:23 +08:00
Zheng, Lei
c263aaa94e Add auto recompute command 2017-10-31 04:08:23 +08:00
Zheng, Lei
da2b81312b Add trace part movement command 2017-10-31 04:08:23 +08:00
Zheng, Lei
ccc6a89165 Add part move command 2017-10-31 04:08:23 +08:00
Zheng, Lei
80c89ef0a2 Rename self.obj attribute to self.Object 2017-10-31 04:08:23 +08:00
Zheng, Lei
caca713d8d Create workbench 2017-10-31 04:08:23 +08:00
Zheng, Lei
59c2c7a35d Code refactor to prepare for multiple backend solvers 2017-10-31 04:08:16 +08:00
Zheng, Lei
9402201a5e More constraints working, and a few new ones
Working constraints:

PointPlaneDistance
PointInPlane
Angle
Perpendicular
Parallel

New constraints, which are composite of slvs native constraints:

PlaneCoincident
PlaneAlignment
AxialAlignment
MultiParallel
2017-10-31 04:06:36 +08:00
Zheng, Lei
d26b6286e2 Added icons, SameOrientation constraint working 2017-10-31 04:06:36 +08:00
Zheng, Lei
b5a91ec889 Basic function working
Tested PointsCoincident constraint
2017-10-31 04:05:01 +08:00