Zheng, Lei
4aa3261e96
assembly: fix warning on partial loading
2019-01-01 07:27:19 +08:00
Zheng, Lei
faf13ee502
assembly: fix assembly freeze
2018-12-30 13:04:37 +08:00
Zheng, Lei
cfb6934ecc
assembly: cancel auto solve on undo/redo
2018-12-22 17:05:09 +08:00
Zheng, Lei
8f4d39e126
assembly: fix make constraint on linked assembly
...
Related #159
2018-12-10 13:45:46 +08:00
Zheng, Lei
69544199fd
assembly: fix gotoRelation() on Element and ElementLink
2018-12-08 10:56:30 +08:00
Zheng, Lei
94c34d22ec
assembly: improve auto solve
2018-11-27 07:11:33 +08:00
Zheng, Lei
85d224a1f0
assembly: enforce no '.' rule in AsmElement re-labeling
2018-11-22 09:10:57 +08:00
Zheng, Lei
60638074b9
assembly: imporove initial placement of constraint multiply
2018-10-11 06:33:15 +08:00
Zheng, Lei
59b9b41628
assembly: support getDropPrefix() API
2018-10-11 06:32:47 +08:00
Zheng, Lei
2bb2afd651
assembly: fix AsmElementLink onChanged()
2018-10-10 19:22:47 +08:00
Zheng, Lei
2b206d3b0e
FCADLogger: add support for lazy string evaluation
2018-10-10 19:01:25 +08:00
Zheng, Lei
d9bef09d1c
assembly: add version based recomputation
2018-10-10 18:20:14 +08:00
Zheng, Lei
1fa9fc673a
assembly: more optimization for constraint multiplication
2018-10-10 18:19:14 +08:00
Zheng, Lei
c66f782e65
assembly: change AsmElement linking behvaior
...
Instead of link to PartGroup, which causes over dependency, AsmElement
now links directly the part object. Note that this breaks forward
compatibility.
2018-10-09 16:05:57 +08:00
Zheng, Lei
6cff9d111b
Fix constraint multiplication
2018-10-08 21:30:57 +08:00
Zheng, Lei
cb84709871
assembly: fix support of draft LinkArray
...
Fixes #58
2018-09-26 16:03:08 +08:00
Zheng, Lei
78904d5b40
constraint: add measurement pseudo constraint
...
Closes #52
2018-09-22 13:42:46 +08:00
Zheng, Lei
af5789c4f8
gui: add QuickSolve command
...
Related to #118
2018-09-18 21:06:15 +08:00
Zheng, Lei
5e0a23903e
assembly: recompute when multiplying constraint
2018-09-17 21:26:06 +08:00
Zheng, Lei
1b9c948f0e
assembly: fix getSubObjects()
2018-09-15 10:45:43 +08:00
Zheng, Lei
c83fbce99c
assembly: added a few context menu actions
...
* ElementGroup: sort elements by label
* Constraint: toggle disable
* Assembly: toggle freeze
Closes #80
2018-09-11 17:48:52 +08:00
Zheng, Lei
ed4b92ad23
assembly: sync label between Element and ElementLink
2018-09-07 17:48:43 +08:00
Zheng, Lei
5b2f28c38b
assembly: fix element duplicate label checking
2018-09-07 14:47:12 +08:00
Zheng, Lei
59c8fa186f
assembly: support dropObjectEx() core change
2018-09-05 12:32:23 +08:00
Zheng, Lei
6dfd63db6b
assembly: support sync placement on drag and drop
2018-09-03 14:43:02 +08:00
Zheng, Lei
821d7194fc
gui: add New Element command
2018-08-24 17:27:29 +08:00
luz.paz
e9fe377f7b
Misc typos and whitespace fixes
...
Found via `codespell`
2018-08-19 09:46:06 +08:00
Zheng, Lei
7adcf54874
assembly: fix feature double clicking
2018-08-19 09:10:35 +08:00
Zheng, Lei
c67bf962de
assembly: obsolete sechdule delete
2018-08-18 09:11:28 +08:00
Zheng, Lei
e16f2ad36d
constraint: fix constraint multiplication
2018-08-18 09:11:04 +08:00
Zheng, Lei
7d4b184394
constraint: optimize constraint multiplication
2018-08-17 19:10:03 +08:00
Zheng, Lei
677ba607f1
assembly: move implementation of setPlacement()
2018-08-17 19:07:54 +08:00
Zheng, Lei
13d6f1e651
assembly: fix AsmElement.getElementSubName()
2018-08-17 19:07:22 +08:00
Zheng, Lei
46783ce484
assembly: silence exception when deleting
2018-08-15 18:25:34 +08:00
Zheng, Lei
c6fa2c0931
assembly: reduce auto recompute transaction
2018-08-15 10:58:30 +08:00
Zheng, Lei
c1be4f263c
assembly: fix getElementInfo()
2018-08-15 10:58:15 +08:00
Zheng, Lei
8f3fdf13fd
assembly: fix AsmElement link behavior
2018-08-15 10:54:55 +08:00
Zheng, Lei
b678c360cf
assembly: auto reload partial document on unfreeze
2018-08-06 00:39:00 +08:00
Zheng, Lei
bbab50a66b
assembly: fix auto recompute transaction name
2018-08-03 19:09:01 +08:00
Zheng, Lei
a1506a1d67
assembly: fix element group drag and drop
2018-08-03 19:08:57 +08:00
Zheng, Lei
58a6ad6752
Copy constraint properties when multiply and expand
2018-08-02 21:05:18 +08:00
Zheng, Lei
81df569c4d
Fix solver fixed part finding
2018-08-02 18:57:52 +08:00
Zheng, Lei
f84f5b47d2
assembly: fix handling of link array placement
2018-08-02 18:57:48 +08:00
Zheng, Lei
49625d3b0c
assembly: fix element link offset
2018-08-02 17:43:05 +08:00
Zheng, Lei
03d9121351
assembly: fix drag and drop of AsmElementLink
2018-08-01 17:54:47 +08:00
Zheng, Lei
03a336480f
assembly: improve selection of collpased link array
2018-07-30 13:03:55 +08:00
Zheng, Lei
d3c8ab7ed1
assembly: fix assembly freezing function
2018-07-30 13:03:55 +08:00
Zheng, Lei
33629eecff
assembly: add Offset property to AsmElementLink
2018-07-30 13:03:55 +08:00
Zheng, Lei
05f476c9e4
assembly: fix object deletion
2018-07-30 13:03:55 +08:00
Zheng, Lei
e0939d1ec2
assembly: support for derived assembly
...
Deriving assembly directly contains all parts from derived assembly.
And all derived parts are added as fixed part. The intention is mostly
for user to customize visibilities of the derived parts as a way of
controling the level of details.
2018-07-30 13:03:55 +08:00
Zheng, Lei
91cc933ec9
assembly: fix ViewProviderAsmElement default color
2018-07-30 13:03:55 +08:00
Zheng, Lei
1e4db01ff5
assembly: auto solve on constraint group change
2018-07-30 13:03:54 +08:00
Zheng, Lei
ad35683c87
Add support for constraint multiplication
2018-07-30 13:03:54 +08:00
Zheng, Lei
a6251981f4
assembly: make relation group optional
2018-07-30 13:03:54 +08:00
Zheng, Lei
0a24b81bde
assembly: fix origin object selection in array
2018-07-30 13:03:54 +08:00
Zheng, Lei
5dacdb4fde
gui: change auto element visibility command behavior
2018-07-30 13:03:54 +08:00
Zheng, Lei
2dcbb2e1fb
assembly: remove logic of making AsmElementSketch
2018-07-30 13:03:54 +08:00
Zheng, Lei
548c784f65
assembly: fix canAutoSolve()
2018-07-30 13:03:54 +08:00
Zheng, Lei
58ecba3ca7
assembly: various fix of Assembly freezing feature
2018-07-30 13:03:54 +08:00
Zheng, Lei
3e06e1212f
assembly: explicit copy shape in AsmElement
2018-07-30 13:03:54 +08:00
Zheng, Lei
4eb9910b02
assembly: fix support of link to a link array
2018-07-30 13:03:54 +08:00
Zheng, Lei
871b945cf6
assembly: use new API canAddToSceneGraph()
2018-07-30 13:03:54 +08:00
Zheng, Lei
c359f07870
gui: add GotoRelation command
...
Can either go from part or constraint to their corresponding relation
item.
2018-07-30 13:03:50 +08:00
Zheng, Lei
8cf599ec15
assembly: new relationGroup for part-constraint-relationship
2018-07-13 16:04:32 +08:00
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
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
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
Zheng, Lei
042c43ddd2
assembly: prevent deleting constraint group
2018-06-04 12:03:41 +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
61ccdf5bac
assembly: fix Part.getShape() for Assembly container
2018-05-21 19:07:18 +08:00
Zheng, Lei
287642d34a
assembly: fix workplane command activation
2018-04-19 18:01:12 +08:00
Zheng, Lei
508fcd7713
assembly: support dropObjectEx API changes
2018-03-26 11:50:01 +08:00
Zheng, Lei
951a1f5b81
assembly: support sketch object internal geometries
2018-02-18 12:50:40 +08:00
Zheng, Lei
458022bba4
assembly: enhance workplane function
...
New toolbar command to create workplane in XZ and ZY direction. Allow
workplane to be created based on all type of elements. The same
AsmWorkplane object can now also represent a line or a point.
2018-02-07 17:39:00 +08:00
luz.paz
fd1851a38b
Misc. typo fixes
2018-02-05 05:28:09 -05:00
Zheng, Lei
d4992a4706
mover: support tracing any geometry element
2018-01-29 17:16:21 +08:00
Zheng, Lei
a2d639200f
constraint: init constraint parameter
...
Add init() api to calculate the some of the constraints' parameter
(e.g. angle, distance, length, etc.) based on the existing elements.
This can reduce excessive movement when auto recompute is on.
2018-01-29 17:16:15 +08:00
Zheng, Lei
708668ed0b
assembly: add missing transaction on auto recompute
2018-01-29 17:05:18 +08:00
Zheng, Lei
d2b3d8260d
assembly: fix cases where property status is saved
2018-01-29 17:02:18 +08:00
Zheng, Lei
ac5194a013
constraint: auto label constraint object with type name
2018-01-28 06:14:17 +08:00
Zheng, Lei
a9b302c0ac
assembly: no doc touch when auto changing element visibility
2018-01-27 18:01:55 +08:00
Zheng, Lei
a8f11a4a50
Add "Auto element visibility" command
...
When enabled, it will hide all AsmElement, and AsmElementLink, and only
shown then when they are selected, or a AsmConstraint object is
selected in the tree view
2018-01-27 12:15:05 +08:00
Zheng, Lei
363a8cfeba
Fix constraint toolbar active checking
2018-01-24 18:08:20 +08:00
Zheng, Lei
cc412bdc22
Add SketchPlane constraint for easy 2D sketch
...
The SketchPlane expects the first element to be a planar face/edge to
define a work plane for any following draft wire/circle/arc elements.
The 2D constrainted elements can either be inside the defining
SketchPlane constraint, or other constrains following the SketchPlane
in the constraint group.
Add a new SketchPlane to define a new work plane for any following
draft elements. Add an empty SketchPlane to undefine the work plane,
effectively making any following draft elements free in 3D space.
2018-01-23 17:32:20 +08:00
Zheng, Lei
c56a9d85d7
Add mover support for draft wire and circle
...
* Draft wire points can be dragged individually.
* Draft wire individual edge can be moved and rotated.
* Draft circle/arc can be moved and rotated by dragging edge or face.
* Draft circle/arc radius can be changed by dragging vertex
* Draft arc first/last angle can be changed by dragging end points
2018-01-21 10:07:38 +08:00
Zheng, Lei
b087200e50
Add support for draft circle/arc
...
When added to an assembly, a normal part object has six degrees of
freedom, three positional and three rotational. A draft circle has one
additional dof, its radius. And a draft arc has three additional dof,
radius, first angle and last angle.
2018-01-20 16:36:51 +08:00
Zheng, Lei
05595e3f41
Add support for draft wire
...
Special treatment for non-closed-or-subdivided draft wire object
directly added into part group. Instead of constraining on the object
placement, we shall constraint on individual points. In other word,
instead of making the draft wire's placement as free parameters, we
make the cooridnates of indvidual points as free parameters.
2018-01-20 16:36:38 +08:00
Zheng, Lei
12f1670925
assembly: fix trace command
2018-01-08 15:31:19 +08:00
Zheng, Lei
92b42d2f71
assembly: improve autoSolve function
2018-01-08 11:53:41 +08:00
Zheng, Lei
fb9ad1609d
gui: fix assembly solve command
...
Fix selection detection, and undo/redo setup
2018-01-07 19:05:29 +08:00
Zheng, Lei
882faf9d53
assembly: improve auto recompute
2018-01-03 12:01:44 +08:00
Zheng, Lei
d2f88b969d
assembly: change fixed part move behavior
2017-12-25 13:00:05 +08:00
Zheng, Lei
9dfc07a7a0
assembly: allow moving part by element
2017-12-25 12:59:46 +08:00
Zheng, Lei
eb6519ff8c
Refactor undo/redo with FreeCAD.setActiveTransaction()
2017-12-24 18:43:34 +08:00